Peter Kairouz
89de03e0db
Adds DistributedSkellamQuery
to public TF Privacy.
...
PiperOrigin-RevId: 429664212
2022-02-18 15:48:20 -08:00
Michael Reneer
ffc29e1d82
Merge pull request #154 from jagielski:audit_pr
...
PiperOrigin-RevId: 429646031
2022-02-18 22:15:25 +00:00
Michael Reneer
7e0b193393
Merge pull request #185 from carlini:neuracrypt
...
PiperOrigin-RevId: 429632517
2022-02-18 21:10:54 +00:00
Michael Reneer
81949efda6
Merge pull request #184 from carlini:instahide
...
PiperOrigin-RevId: 429629817
2022-02-18 20:56:47 +00:00
Michael Reneer
661edb5214
Merge pull request #183 from carlini:better-mi
...
PiperOrigin-RevId: 429626329
2022-02-18 20:42:22 +00:00
Michael Reneer
69d84d1892
Add TensorFlow Privacy BUILD and WORKSPACE files.
...
PiperOrigin-RevId: 429141704
2022-02-16 23:30:06 +00:00
Michael Reneer
2d692bbf73
Update the direct scipy
dependency to ~=1.5.0
.
...
PiperOrigin-RevId: 429122811
2022-02-16 23:27:57 +00:00
Michael Reneer
8544af2500
Update the Python dependency for sklearn
package.
...
PiperOrigin-RevId: 428896276
2022-02-16 23:27:43 +00:00
Shuang Song
11b4c318a2
Add links to secret sharer colab.
...
PiperOrigin-RevId: 428844473
2022-02-16 23:27:32 +00:00
Michael Reneer
c8a49e1039
Update the direct TensorFlow dependency to ~=2.4
.
...
This means that we would accept a hot fix and a new minor version , but not accept major version changes without releasing TFP.
PiperOrigin-RevId: 428811702
2022-02-16 23:27:21 +00:00
Michael Reneer
8012d5b9c9
Internal
...
PiperOrigin-RevId: 428549678
2022-02-16 23:26:54 +00:00
Shuang Song
c8bba41059
Merge pull request #154 from jagielski/audit_pr
...
Add code for auditing DP-SGD
2022-02-14 13:25:50 -08:00
Shuang Song
48b3b6a51b
Merge pull request #185 from carlini/neuracrypt
...
Add NeuraCrypt attack code to research directory
2022-02-14 13:23:36 -08:00
Shuang Song
66338409b7
Merge pull request #184 from carlini/instahide
...
Add InstaHide attack code to research folder
2022-02-14 13:23:16 -08:00
Shuang Song
3d499e69ba
Merge pull request #183 from carlini/better-mi
...
Add research code to reproduce Membership Inference Attacks From First Principles
2022-02-14 13:21:40 -08:00
Francois Chollet
085b7ddfec
Remove deprecated TF1 Layer APIs apply()
, get_updates_for()
, get_losses_for()
, and remove the inputs
argument in the add_loss()
method.
...
PiperOrigin-RevId: 428134172
2022-02-11 18:35:49 -08:00
Shuang Song
560926ea22
Functions for advanced MIAs.
...
PiperOrigin-RevId: 428111799
2022-02-11 16:06:47 -08:00
Michael Reneer
13a79f419f
Update the direct tensorflow-probability
dependency to ~=0.15.0
.
...
This means that we would accept a hot fix, but not accept major or minor version changes without releasing TFP.
PiperOrigin-RevId: 428025242
2022-02-11 09:52:00 -08:00
Michael Reneer
8d20ae7c3b
Update the direct tensorflow-datasets
dependency to ~=4.5.2
.
...
This means that we would accept a hot fix, but not accept major or minor version changes without releasing TFP.
PiperOrigin-RevId: 428023939
2022-02-11 09:46:04 -08:00
Michael Reneer
f393322593
Automated rollback of commit 823aacb315
...
PiperOrigin-RevId: 428022174
2022-02-11 09:37:34 -08:00
Michael Reneer
823aacb315
Delete the direct tensorflow-probability
.
...
PiperOrigin-RevId: 428020273
2022-02-11 09:28:51 -08:00
Michael Reneer
9d59eabd40
Add direct sklearn
dependency.
...
PiperOrigin-RevId: 427925353
2022-02-10 22:33:02 -08:00
Michael Reneer
592ed995f1
Update the direct scipy
dependency to ~=1.2.1
.
...
This means that we would accept a hot fix, but not accept major or minor version changes without releasing TFP.
PiperOrigin-RevId: 427916084
2022-02-10 21:19:53 -08:00
Michael Reneer
93bd134947
Add direct pandas
dependency.
...
PiperOrigin-RevId: 427915591
2022-02-10 21:15:39 -08:00
Michael Reneer
28f8a5ff61
Add direct numpy
dependency.
...
PiperOrigin-RevId: 427915040
2022-02-10 21:10:52 -08:00
Michael Reneer
1f229dbaf5
Update the direct attrs
dependency to ~=21.2.0
.
...
This means that we would accept a hot fix, but not accept major or minor version changes without releasing TFP.
PiperOrigin-RevId: 427914787
2022-02-10 21:08:42 -08:00
Michael Reneer
6aa31d95dd
Add direct matplotlib
dependency.
...
PiperOrigin-RevId: 427914629
2022-02-10 21:06:59 -08:00
Michael Reneer
d1e045ed88
Add direct absl-py
dependency.
...
PiperOrigin-RevId: 427914169
2022-02-10 21:04:06 -08:00
Francois Chollet
cd38172f35
Remove usage of deprecated layer method.
...
PiperOrigin-RevId: 427339701
2022-02-08 17:45:45 -08:00
Michael Reneer
bb153c1f9d
Internal
...
PiperOrigin-RevId: 427327078
2022-02-08 16:44:37 -08:00
Michael Reneer
28db674240
Ensure that TF 1.0 API is referenced at the call site in TensorFlow Privacy.
...
This change makes it easy to search for usage of TF 1.0 API and updates the TF imports across TFP to be written consistently.
PiperOrigin-RevId: 427043028
2022-02-07 16:06:22 -08:00
Michael Reneer
5dc3475e17
Fix lint errors in tensorflow_privacy/tutorials/walkthrough/README.md
.
...
PiperOrigin-RevId: 427030504
2022-02-07 15:17:11 -08:00
Shuang Song
ceced43d0b
For seq2seq MIA test, call threshold attacker directly.
...
PiperOrigin-RevId: 426941426
2022-02-07 09:46:03 -08:00
Zheng Xu
2fe51d2eeb
Minor fix of tree aggregation accounting docstring.
...
PiperOrigin-RevId: 426398939
2022-02-04 07:32:22 -08:00
Michael Reneer
c3e7f08fa5
Update to import TF 2.0 in many TensorFlow Privacy Python modules.
...
PiperOrigin-RevId: 425901093
2022-02-02 09:17:30 -08:00
Michael Reneer
778c804d1b
Delete unused TF 1.0 API in TensorFlow Privacy.
...
PiperOrigin-RevId: 425900761
2022-02-02 09:16:06 -08:00
Zheng Xu
6fde7b0480
Add clearer connection of TFP tree aggregation query and accounting arguments.
...
PiperOrigin-RevId: 425790945
2022-02-01 21:34:37 -08:00
Michael Reneer
8a6827b27c
Update to use TF 2.0 API in TensorFlow Privacy:
...
tf.logging -> Removed for absl
tf.assert_type -> tf.debugging.assert_type
tf.assert_less_equal -> tf.debugging.assert_less_equal
tf.global_norm -> tf.linalg.global_norm
PiperOrigin-RevId: 425730344
2022-02-01 15:29:09 -08:00
Shuang Song
438da5a09b
For secret sharer exposures, allow more dictionary key types, and break ties for the same perplexities. Fix a bug in the test.
...
PiperOrigin-RevId: 425446829
2022-01-31 13:27:55 -08:00
Michael Reneer
fd242e76b9
Internal
...
PiperOrigin-RevId: 425430059
2022-01-31 12:17:02 -08:00
Michael Reneer
36b8ea34ef
Internal
...
PiperOrigin-RevId: 424965569
2022-01-28 15:01:34 -08:00
Michael Reneer
25571aaf87
Fix up remaining lint and format in TensorFlow Privacy.
...
PiperOrigin-RevId: 424948247
2022-01-28 13:44:12 -08:00
Michael Reneer
dd31737cb7
Update the setup.py
for TensorFlow Privacy.
...
* Removed stale documentation.
* Updated to read version from the `version.py` module.
* Remove test only dependency.
PiperOrigin-RevId: 424932559
2022-01-28 12:34:01 -08:00
Michael Reneer
b37aef1751
Fixed some lint errors in TensorFlow Privacy.
...
* Fixed `g-backslash-continuation`
* Fixed `g-generic-assert`
* Fixed `g-generic-assert`
* Fixed `raise-missing-from`
* Fixed `unused-argument`
PiperOrigin-RevId: 424931881
2022-01-28 12:31:00 -08:00
Michael Reneer
e6536597c5
Fixed some lint errors in TensorFlow Privacy.
...
* Fixed `g-importing-member`
* Fixed `g-bad-import-order`
PiperOrigin-RevId: 424926847
2022-01-28 12:10:05 -08:00
Michael Reneer
943ef91ee9
Format TensorFlow Privacy files.
...
PiperOrigin-RevId: 424923635
2022-01-28 11:57:24 -08:00
Michael Reneer
07230a161a
Internal
...
PiperOrigin-RevId: 424922009
2022-01-28 11:50:35 -08:00
Michael Reneer
7396ad62da
Update TensorFlow Privacy to use Python 3 super()
.
...
PiperOrigin-RevId: 424916118
2022-01-28 11:26:34 -08:00
Michael Reneer
9050f18b59
Update TensorFlow Privacy to use Python 3 metaclass
.
...
PiperOrigin-RevId: 424773127
2022-01-27 20:32:04 -08:00
Michael Reneer
b0803999ad
Add license and missing build targets to __init__.py
files in TensorFlow Privacy.
...
* Added license.
* Removed `.../membership_inference_attack/codelabs/__init__.py`, this code does not look like it needs to be part of the Python package.
* Removed `.../research/pate_2017/__init__.py`, this code does not look like it needs to be part of the Python package.
PiperOrigin-RevId: 424682641
2022-01-27 12:40:23 -08:00