Liwei Song
a41d6aace7
add threshold-entropy attack
2020-10-21 16:41:20 -04:00
David Marn
1981ebe2f2
Adds the TF Privacy Report codelab.
...
PiperOrigin-RevId: 338222024
2020-10-21 01:52:53 -07:00
Vadym Doroshenko
4143957701
Fixed train/test_size calculation.
...
PiperOrigin-RevId: 337886488
2020-10-19 10:38:11 -07:00
Yurii Sushko
19ae5c9669
Fix broken codelab link
...
PiperOrigin-RevId: 337095513
2020-10-14 08:28:17 -07:00
David Marn
d1a8a6cfda
Multiple small changes to the TF Privacy Report:
...
- Fix the legend to the bottom right
- Manually set the size of the plot figure.
- Fix a typo in the subplot title.
PiperOrigin-RevId: 337064528
2020-10-14 04:41:35 -07:00
Steve Chien
a8aa0d5d96
Update main README.md with pip installation directions and TF 2 announcement.
...
PiperOrigin-RevId: 336957862
2020-10-13 14:36:36 -07:00
David Marn
1281d0c63e
Adds an option to balance train and test AttackInputData and stratifies the train-test split.
...
PiperOrigin-RevId: 336609893
2020-10-12 00:43:16 -07:00
Steve Chien
d703168de2
Add TF1-compatible version of DP canned estimators, and some small cleanup..
...
PiperOrigin-RevId: 335954269
2020-10-07 14:31:53 -07:00
David Marn
703cd413c6
Introduces an AttackResultsCollection class for the ML Privacy report.
...
PiperOrigin-RevId: 335858822
2020-10-07 06:59:26 -07:00
Peter Kairouz
e19c53a78c
Add a function to compute RDP under heterogeneous applications of the subsampled Gaussian mechanism.
...
PiperOrigin-RevId: 335706732
2020-10-06 13:20:34 -07:00
David Marn
ab1090717c
Internal change.
...
PiperOrigin-RevId: 335385162
2020-10-05 03:54:20 -07:00
Vadym Doroshenko
9a56402c0d
Removing leftovers from the old API.
...
PiperOrigin-RevId: 334792006
2020-10-01 05:13:33 -07:00
A. Unique TensorFlower
a579cc4afc
BUILD cleanups
...
PiperOrigin-RevId: 334666492
2020-09-30 13:27:37 -07:00
Shuang Song
20d0b884ba
Move to new API.
...
PiperOrigin-RevId: 334434385
2020-09-29 12:16:06 -07:00
Shuang Song
bca2baae8d
Remove old API.
...
PiperOrigin-RevId: 334406920
2020-09-29 10:19:37 -07:00
David Marn
78d30a0424
Refactors the pd_dataframe calculation to avoid hard-coded strings.
...
PiperOrigin-RevId: 334334080
2020-09-29 02:15:34 -07:00
David Marn
c30c3fcb7a
Adds plots for multiple model labels to the ML Privacy Report.
...
PiperOrigin-RevId: 334179759
2020-09-28 09:59:37 -07:00
Steve Chien
837e014107
For DP Keras optimizers, add assertion that one of the DP-modified gradients methods has been called before apply_gradients(). In particular, this helps catch cases where the user has not yet upgraded to TF 2.4.
...
PiperOrigin-RevId: 333620379
2020-09-24 16:14:49 -07:00
Shuang Song
7c53757250
Option for plotting attack results in the same figure.
...
PiperOrigin-RevId: 333225502
2020-09-22 22:12:00 -07:00
Yurii Sushko
677b3d9e9a
Quick docs fix.
...
PiperOrigin-RevId: 332061086
2020-09-16 12:21:44 -07:00
Yurii Sushko
78f76fac31
Add a note about API update to the docs.
...
PiperOrigin-RevId: 332057406
2020-09-16 12:04:27 -07:00
David Marn
942ad89da7
Adds the feedback from to the readme.
...
PiperOrigin-RevId: 331956759
2020-09-16 01:42:25 -07:00
David Marn
70f9585a24
Adds Privacy vs Utility charts to the Privacy Report for a single model.
...
PiperOrigin-RevId: 331720083
2020-09-15 01:30:21 -07:00
David Marn
fc38e3f733
Modifies Privacy Report metadata and adds an epoch chart.
...
PiperOrigin-RevId: 331326000
2020-09-12 09:11:45 -07:00
Vadym Doroshenko
f44b63eb78
Add probabilities to AttackInputData.
...
PiperOrigin-RevId: 330723370
2020-09-09 08:05:52 -07:00
A. Unique TensorFlower
6312a853d8
Merge pull request #119 from lwsong:master
...
PiperOrigin-RevId: 330658958
2020-09-08 22:44:06 -07:00
Vadym Doroshenko
8f3a61b50d
Fixing calculating loss on logits.
...
PiperOrigin-RevId: 329966058
2020-09-03 12:06:29 -07:00
Vadym Doroshenko
f4fc9b2623
Updating comments to run_attack() and making non-API functions to be private.
...
PiperOrigin-RevId: 329951618
2020-09-03 10:56:31 -07:00
A. Unique TensorFlower
2f0a078dd9
Adds Privacy Report metadata to AttackResults.
...
PiperOrigin-RevId: 329871255
2020-09-03 01:05:12 -07:00
Steve Chien
8d89ef0a4b
Update version to 0.5.1, and add dependence on tensorflow-estimator.
...
PiperOrigin-RevId: 329822203
2020-09-02 17:31:32 -07:00
Liwei Song
0e1c1eeef3
add entropy tests
2020-09-02 11:37:12 -04:00
Liwei Song
9b2e6a55b6
add entropy feature
2020-08-31 16:17:19 -04:00
Liwei Song
e547a10eec
fix softmax issue
2020-08-31 15:24:46 -04:00
A. Unique TensorFlower
f677c9c440
Adding contribution guidelines to TF Privacy
...
PiperOrigin-RevId: 328740117
2020-08-27 08:21:03 -07:00
Shuang Song
f90c78bd54
Update tf_estimator_evaluation and keras_evaluation to new API.
...
PiperOrigin-RevId: 328195220
2020-08-24 13:03:28 -07:00
A. Unique TensorFlower
7a77d5d92c
Modify Colab to use the new membership inference API.
...
PiperOrigin-RevId: 327805944
2020-08-21 07:21:38 -07:00
Shuang Song
d23772e163
Returns attack results as a Pandas data frame.
...
PiperOrigin-RevId: 327675978
2020-08-20 12:27:43 -07:00
A. Unique TensorFlower
52c1f8fdfe
Overrides default __str__ methods.
...
PiperOrigin-RevId: 327423772
2020-08-19 06:49:14 -07:00
Steve Chien
6dccd9b537
Fix bug in keras optimizers where tape was not being used with tensor (as opposed to callable) losses.
...
PiperOrigin-RevId: 327276721
2020-08-18 12:00:20 -07:00
A. Unique TensorFlower
193ac3b1c8
Adds more validation checks for AttackInputData.
...
PiperOrigin-RevId: 327191245
2020-08-18 02:34:58 -07:00
Steve Chien
a69b013390
Add head for multi-label estimators in TF estimator framework.
...
PiperOrigin-RevId: 327048185
2020-08-17 10:28:45 -07:00
Galen Andrew
d939b22463
Bump version number.
...
PiperOrigin-RevId: 326927560
2020-08-16 15:12:13 -07:00
Steve Chien
d72e3400b7
Add DP-enabled version of DNNClassifier.
...
PiperOrigin-RevId: 326482309
2020-08-13 11:03:46 -07:00
Steve Chien
3240a71965
Update Keras tutorial in light of recent changes to Keras Optimizer.
...
PiperOrigin-RevId: 326346140
2020-08-12 17:13:28 -07:00
A. Unique TensorFlower
f8515dfd71
Replaces predict with predict_proba.
...
PiperOrigin-RevId: 326227257
2020-08-12 07:24:29 -07:00
A. Unique TensorFlower
59192e6f5c
Make validation that labels are integers.
...
PiperOrigin-RevId: 326216555
2020-08-12 06:00:31 -07:00
A. Unique TensorFlower
0fd06493cc
Make sklearn classifiers in parallel.
...
It's done only for those classifiers that run a significant amount of time.
PiperOrigin-RevId: 326215987
2020-08-12 05:53:46 -07:00
Galen Andrew
37ff5d502e
Add derive_metrics function to DPQuery.
...
derive_metrics is a new function in the public API so customers can query aspects of the global state that change, such as the clip when using adaptive clipping.
PiperOrigin-RevId: 326174158
2020-08-11 22:58:59 -07:00
A. Unique TensorFlower
06bb047525
Consistent string formatting.
...
PiperOrigin-RevId: 326007570
2020-08-11 06:17:36 -07:00
A. Unique TensorFlower
680aaa4499
Simple ROC curve plotting for membership inference attack results.
...
PiperOrigin-RevId: 325982344
2020-08-11 02:29:15 -07:00