Steve Chien
b892d650cf
Tests for Eager mode.
...
PiperOrigin-RevId: 236382269
2019-03-01 14:48:29 -08:00
Nicolas Papernot
0c691085e1
missing reduce_mean
...
PiperOrigin-RevId: 235858614
2019-02-26 22:56:29 -08:00
Nicolas Papernot
c2d4b17881
Add support for the Eager mode
...
PiperOrigin-RevId: 235733975
2019-02-26 09:20:28 -08:00
Steve Chien
f37c9d1ea1
Use mean loss within each microbatch.
...
PiperOrigin-RevId: 233832864
2019-02-13 14:42:12 -08:00
Eugene Brevdo
72305bcb10
Update use of tf.CriticalSection.
...
PiperOrigin-RevId: 233168852
2019-02-08 20:08:35 -08:00
Steve Chien
d75f1b80ba
Fix copybara to limit some transformations to the beginning of the line.
...
PiperOrigin-RevId: 233151293
2019-02-08 16:55:57 -08:00
A. Unique TensorFlower
4d0ab48c35
Add privacy ledger.
...
The privacy ledger keeps a record of all sampling and query events for analysis post hoc by the privacy accountant.
PiperOrigin-RevId: 233094012
2019-02-08 11:21:43 -08:00
A. Unique TensorFlower
36d9959c19
internal change
...
PiperOrigin-RevId: 233093203
2019-02-08 11:17:09 -08:00
A. Unique TensorFlower
098c5220b5
Remove test broken by upstream tf changes.
...
tf.nest.map_structure_up_to has changed so that map_structure_up_to(x, func, x, y) no longer raises an error when y is longer than x, for example x=[1,2], y=[1,2,3]. This broke one of our tests for nested query. Remove the test until (if and when) the old, more reasonable, behavior is restored.
PiperOrigin-RevId: 232057385
2019-02-01 16:22:05 -08:00
A. Unique TensorFlower
4f9cc8ef3e
1. Adding a CLI script for computing privacy loss for DP-SGD.
...
2. Fixing typos in the MNIST tutorial.
PiperOrigin-RevId: 230608908
2019-01-23 14:56:27 -08:00
Galen Andrew
c8cb3c6b70
General cleanup.
...
1. Rename PrivateQuery to DPQuery.
2. Move construction of DPQuery to outside of optimizer.
3. Remove PrivateAverageQuery and PrivateSumQuery, and rename DPQuery's 'get_query_result' method to 'get_noised_result'. Rename private_queries.py to dp_query.py.
4. Remove thrice-replicated run_query function from the test classes and replace with a single function in new test_utils.py.
5. Add functions gaussian_sum_query_from_noise_multplier and gaussian_average_query_from_noise_multplier.
PiperOrigin-RevId: 230595991
2019-01-23 14:41:44 -08:00
Steve Chien
7e2d796bde
Minor fixes for Python 2/3 compatibility.
...
PiperOrigin-RevId: 230022543
2019-01-18 17:33:22 -08:00
Peter Kairouz
0b56f7c016
Add optional argument for weighted sum and weighted average queries.
...
PiperOrigin-RevId: 230021515
2019-01-18 17:25:58 -08:00
Alex Pine
6c5c39c4f2
Created the optional unroll_microbatches parameter for the DpOptimizerClass as a workaround for b/122613513.
...
PiperOrigin-RevId: 229955297
2019-01-18 11:51:44 -08:00
Peter Kairouz
5ee12803f3
Create NoPrivacySumQuery and NoPrivacyAverageQuery.
...
PiperOrigin-RevId: 229273971
2019-01-14 17:39:36 -08:00
Nicolas Papernot
398d1d052f
Closes #4
...
PiperOrigin-RevId: 229212766
2019-01-14 10:55:15 -08:00
Steve Chien
c30f6d776e
Add test to ensure DP optimizers work with tf.estimator Estimators.
...
PiperOrigin-RevId: 228920704
2019-01-11 15:50:56 -08:00
schien
251d6298c6
Fix Python 3 compatibility issues
...
PiperOrigin-RevId: 228232503
2019-01-07 14:09:31 -08:00
Steve Chien
1689cf3a77
Revert "Fix Python 3 compatibility issues"
2019-01-07 13:44:35 -08:00
Steve Chien
8c53cf8f75
Merge pull request #1 from cclauss/python3-fixes
...
Fix Python 3 compatibility issues
2019-01-07 13:43:22 -08:00
A. Unique TensorFlower
29fac758af
- Fixing dependencies in setup.py and requirements.txt.
...
PiperOrigin-RevId: 227742524
2019-01-04 15:58:19 -08:00
A. Unique TensorFlower
01ab549902
Renaming stddev_to_sensitivity_ratio to noise_multiplier in rdp_accountant.
...
PiperOrigin-RevId: 227552068
2019-01-04 15:57:52 -08:00
A. Unique TensorFlower
da79d522c6
Project import generated by Copybara.
...
PiperOrigin-RevId: 226991741
2018-12-26 23:31:59 -08:00
cclauss
d72378f913
Fix Python 3 compatibility issues
2018-12-24 03:55:12 +01:00
A. Unique TensorFlower
b4188446e0
Project import generated by Copybara.
...
PiperOrigin-RevId: 226345615
2018-12-20 09:17:59 -08:00
Steve Chien
1595ed3cd1
Project import generated by Copybara.
...
PiperOrigin-RevId: 226056146
2018-12-18 15:44:04 -08:00
A. Unique TensorFlower
ceee90b1ac
Add GaussianSumQuery and express GaussianAverageQuery in terms of it.
...
Also:
1. Add unit tests for both types of query.
2. Add function "get_query_result" to PrivateQuery. (The utility of having this function is made clear in the test class, where the function _run_query operates on either GaussianSum- or GaussianAverageQueries.)
PiperOrigin-RevId: 225609398
2018-12-18 15:41:38 -08:00
Steve Chien
0af76c7b3d
Update to allow bazel on tensorflow_privacy to work out of the box.
...
PiperOrigin-RevId: 225605386
2018-12-18 15:41:26 -08:00
Steve Chien
b8418b0523
PiperOrigin-RevId: 224078477
2018-12-05 14:03:22 -08:00
Steve Chien
afb8189dba
PiperOrigin-RevId: 224061027
2018-12-04 17:01:39 -08:00
A. Unique TensorFlower
e9169a724e
Project import generated by Copybara.
...
FolderOrigin-RevId: /google/src/cloud/papernot/os_privacy
2018-12-02 13:07:04 -08:00