Steve Chien
5ad8676d38
Automated rollback of commit 5433436b86
...
PiperOrigin-RevId: 325308999
2020-08-06 14:19:46 -07:00
Steve Chien
5433436b86
Change GaussianSumQuery to not convert hyperparameters from Python numbers to Tensors.
...
PiperOrigin-RevId: 325251302
2020-08-06 09:56:40 -07:00
A. Unique TensorFlower
efca03b593
Internal change.
...
PiperOrigin-RevId: 325249654
2020-08-06 09:48:25 -07:00
A. Unique TensorFlower
08f960a1af
Internal change.
...
PiperOrigin-RevId: 325210305
2020-08-06 05:25:58 -07:00
Steve Chien
e91c820b2a
Adds a Keras optimizer version of DP-SGD. New optimizers are subclasses of tf.keras.optimizers.Optimizer and override both _compute_gradients and get_gradients.
...
PiperOrigin-RevId: 325124698
2020-08-05 21:20:59 -07:00
A. Unique TensorFlower
191f2461c5
[tfds] Fix tfds.as_numpy which now returns a reusable iterable.
...
`next(ds)` -> `next(iter(ds))`
Context: https://github.com/tensorflow/datasets/issues/2270
PiperOrigin-RevId: 324951455
2020-08-04 22:06:20 -07:00
A. Unique TensorFlower
29651216cd
Internal change.
...
PiperOrigin-RevId: 324591262
2020-08-03 12:08:41 -07:00
A. Unique TensorFlower
0a1cbb5b7b
Internal change.
...
PiperOrigin-RevId: 324574332
2020-08-03 12:08:33 -07:00
Thomas O'Malley
d5e34b77c8
Allow loss to be passed as a Tensor to Optimizer.minimize
...
PiperOrigin-RevId: 323895500
2020-07-29 22:24:02 -07:00
Shuang Song
cea9e01670
A callback and a function to be called in the end of training for keras to perform membership inference attack.
...
PiperOrigin-RevId: 323805663
2020-07-29 22:23:53 -07:00
A. Unique TensorFlower
dcbfaa3f5e
Internal change.
...
PiperOrigin-RevId: 323529635
2020-07-29 22:23:38 -07:00
A. Unique TensorFlower
f318fbb140
Internal change.
...
PiperOrigin-RevId: 322996754
2020-07-24 08:03:51 -07:00
Shuang Song
267ea7f90d
A separate tensorboard function.
...
PiperOrigin-RevId: 322820408
2020-07-23 10:55:49 -07:00
A. Unique TensorFlower
2ec0f36d1e
Added support for Keras optimizers and serialization.
...
PiperOrigin-RevId: 322603030
2020-07-22 10:29:03 -07:00
Steve Chien
87c01eb2f5
Enable optimizers to handle variables whose gradients are None.
...
PiperOrigin-RevId: 322193798
2020-07-20 11:59:20 -07:00
Steve Chien
1a959eec34
Fix import of tutorials common module.
...
PiperOrigin-RevId: 321789833
2020-07-17 09:07:30 -07:00
A. Unique TensorFlower
8ec709e3d7
Internal change.
...
PiperOrigin-RevId: 321768596
2020-07-17 06:37:46 -07:00
A. Unique TensorFlower
3549d23da3
Internal change.
...
PiperOrigin-RevId: 321765113
2020-07-17 06:07:53 -07:00
A. Unique TensorFlower
510dd207d5
Internal change.
...
PiperOrigin-RevId: 321742857
2020-07-17 02:43:53 -07:00
Shuang Song
a0e1b72838
A training hook and a function to be called in the end of training for tf estimator to perform membership inference attack.
...
PiperOrigin-RevId: 321648371
2020-07-16 14:39:09 -07:00
Galen Andrew
51eb7c3712
Add SumAggregationDPQuery to top-level symbols.
...
PiperOrigin-RevId: 321185486
2020-07-14 10:31:25 -07:00
Galen Andrew
78f29a8990
Add a version number to TF Privacy package.
...
PiperOrigin-RevId: 321023649
2020-07-13 13:37:28 -07:00
A. Unique TensorFlower
cad41f8f52
Automated rollback of commit 9408e0fca5
...
PiperOrigin-RevId: 320726123
2020-07-10 21:42:08 -07:00
Galen Andrew
9408e0fca5
Add a version number to TF Privacy package.
...
PiperOrigin-RevId: 320713287
2020-07-10 18:40:11 -07:00
Galen Andrew
4e5b2ae3e5
Add NoPrivacyQuantileEstimatorQuery to top level symbols.
...
PiperOrigin-RevId: 320675305
2020-07-10 14:21:59 -07:00
Galen Andrew
2f51adac89
Allow exact denominator for below estimate fraction used by quantile estimator.
...
Also:
1) Check that records for quantile estimator query are scalars.
2) Add tests of quantile estimator with noise.
3) Add privacy ledger to no-privacy queries.
PiperOrigin-RevId: 320633937
2020-07-10 10:56:06 -07:00
Galen Andrew
d1e2cc1930
Add NestedSumQuery for nested queries with sum aggregation.
...
PiperOrigin-RevId: 320303703
2020-07-08 18:05:04 -07:00
Timon Van Overveldt
c948e2fe7c
Automated rollback of commit 3c2fbb2f63
...
PiperOrigin-RevId: 318110878
2020-06-24 12:00:46 -07:00
Galen Andrew
3c2fbb2f63
Add a version number to TF Privacy package.
...
PiperOrigin-RevId: 318096109
2020-06-24 10:50:48 -07:00
A. Unique TensorFlower
4b6a60dfdb
Mention codelab in the README file.
...
PiperOrigin-RevId: 318069426
2020-06-24 08:35:01 -07:00
A. Unique TensorFlower
e38c351e8d
Small fix in output of run_all_attack_summary
...
PiperOrigin-RevId: 318064829
2020-06-24 08:05:28 -07:00
A. Unique TensorFlower
06765f69f0
Minor documentation improvements.
...
PiperOrigin-RevId: 318063707
2020-06-24 07:57:52 -07:00
A. Unique TensorFlower
3658ef5dbc
Updates to the membership inference codelab.
...
PiperOrigin-RevId: 318061869
2020-06-24 07:44:45 -07:00
A. Unique TensorFlower
18fe9eb3aa
Updates to the codelab.
...
PiperOrigin-RevId: 318054616
2020-06-24 06:40:49 -07:00
A. Unique TensorFlower
74bd89d754
Updates to the codelab.
...
PiperOrigin-RevId: 318051333
2020-06-24 06:13:20 -07:00
A. Unique TensorFlower
c01e7b71ab
Drop an old example of usage of membership infererence attack.
...
PiperOrigin-RevId: 318051280
2020-06-24 06:12:49 -07:00
A. Unique TensorFlower
e40a35f9c0
Updates to the membership inference codelab.
...
PiperOrigin-RevId: 318049409
2020-06-24 05:57:39 -07:00
A. Unique TensorFlower
c07e87d0b5
Adds an end-to-end codelab that trains a model and evaluates it for privacy risks.
...
PiperOrigin-RevId: 318032025
2020-06-24 03:00:24 -07:00
A. Unique TensorFlower
88dd8771bf
Open sourcing membership inference attack.
...
PiperOrigin-RevId: 317958055
2020-06-23 16:12:08 -07:00
A. Unique TensorFlower
1fb9b80d90
Internal refactor
...
PiperOrigin-RevId: 317955791
2020-06-23 16:07:05 -07:00
Galen Andrew
8efc44b395
Remove initial_sample_state from GaussianSumQuery. It is the same in the base class.
...
PiperOrigin-RevId: 315303883
2020-06-08 10:34:09 -07:00
Galen Andrew
cec011e2a7
Refactor quantile estimation logic from QuantileAdaptiveClipSumQuery so it can be used for other purposes.
...
PiperOrigin-RevId: 315297665
2020-06-08 10:07:01 -07:00
Steve Chien
261ab4f28e
Change another copyright year for internal test.
...
PiperOrigin-RevId: 315032489
2020-06-05 18:38:26 -07:00
Steve Chien
35c4b4678e
Update copyright year as part of internal test.
...
PiperOrigin-RevId: 315027483
2020-06-05 18:36:03 -07:00
A. Unique TensorFlower
da9fb28b37
Expose differentially private RMSPropOptimizer.
...
PiperOrigin-RevId: 311072544
2020-05-12 00:09:29 -07:00
Steve Chien
10335f6177
Refactor MNIST tutorials and create new TPU tutorial:
...
1. Move common code to new file mnist_dpsgd_tutorial_common.py.
2. Move epsilon computation function out of binary into its own library.
3. Create new TPU tutorial.
PiperOrigin-RevId: 310409308
2020-05-07 12:05:50 -07:00
Steve Chien
164a57546a
Update version to 0.3.0.
...
PiperOrigin-RevId: 309496629
2020-05-01 16:38:32 -07:00
A. Unique TensorFlower
319bf81bb1
Setting correct argument in super() call in DPOptimizerClass.
...
PiperOrigin-RevId: 308776729
2020-04-28 00:37:59 -07:00
A. Unique TensorFlower
9259ccb3d8
Do not record gradient_tape on gradient calculation.
...
PiperOrigin-RevId: 308772699
2020-04-27 23:57:23 -07:00
Steve Chien
5bc76d2e13
Update README with note about TensorFlow 2.x.
...
PiperOrigin-RevId: 308322055
2020-04-24 14:09:08 -07:00