Commit graph

304 commits

Author SHA1 Message Date
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
Keith Rush
463868e796 Relaxes dtype assumption in Gaussian DP sum query.
PiperOrigin-RevId: 307846823
2020-04-22 10:37:01 -07:00
A. Unique TensorFlower
c5c807807f Add assert that the training is private.
In Keras training in TF 2.0+, compute_gradients() is not called but apply_gradients() is called. W/o calling compute_gradients() dp gradient is not computed, and a normal gradient is used.

PiperOrigin-RevId: 307822742
2020-04-22 08:35:41 -07:00
A. Unique TensorFlower
f7b4a30120 Merge pull request #89 from woodyx218:GDPrivacy
PiperOrigin-RevId: 307695867
2020-04-21 15:48:54 -07:00
Steve Chien
264820cb3f Automated rollback of changelist 306513264
PiperOrigin-RevId: 307694393
2020-04-21 15:38:12 -07:00
A. Unique TensorFlower
9627cc0ed8 COPYBARA_INTEGRATE_REVIEW=https://github.com/tensorflow/privacy/pull/89 from woodyx218:GDPrivacy d06340e1cf
PiperOrigin-RevId: 306534693
2020-04-15 08:31:10 -07:00
Mark Daoust
ca25bde1f8 Remove %tensorflow_version and from __future__
PiperOrigin-RevId: 304645574
2020-04-03 10:36:16 -07:00
Steve Chien
7647c54a27 Minor fix regarding tf.compat.v1 in mnist_dpsgd_tutorial_vectorized.
PiperOrigin-RevId: 303379200
2020-03-27 12:07:57 -07:00
Shuang Song
0c2747462f Internal change.
PiperOrigin-RevId: 302557220
2020-03-23 17:41:25 -07:00
A. Unique TensorFlower
2301931725 Fix issue with importing tensorflow.compat.v1.
PiperOrigin-RevId: 300175680
2020-03-10 14:16:46 -07:00
A. Unique TensorFlower
6541960e79 Automated refactoring to make code Python 3 compatible.
PiperOrigin-RevId: 299961805
2020-03-09 16:19:53 -07:00
A. Unique TensorFlower
e002cc9a23 Automated refactoring to make code Python 3 compatible.
PiperOrigin-RevId: 299951850
2020-03-09 15:35:52 -07:00
A. Unique TensorFlower
fa9ed85f37 Automated refactoring to make code Python 3 compatible.
PiperOrigin-RevId: 299935369
2020-03-09 14:26:58 -07:00