Comments (2)
First of all, it is important to note that neither PoissonSampledDpEvent
nor SampledWithoutReplacementDpEvent
accurately describe the training procedure of looping over the (perhaps shuffled) dataset and forming batches. SampledWithoutReplacementDpEvent
would be correct if you were sampling fixed-sized batches uniformly at random and independently across rounds. There is no known tight analysis of the shuffle and iterate style training that is most commonly used.
So the choice between PoissonSampledDpEvent
nor SampledWithoutReplacementDpEvent
comes down to other considerations. The main argument in favor of PoissonSampledDpEvent
is that the privacy guarantee you derive from it is under the "add/remove-one" notion of dataset adjacency. SampledWithoutReplacementDpEvent
gives you a guarantee under "replace-one" adjacency, which it is believed produces epsilon values about a factor of two larger.
For a formally correct guarantee under "add/remove-one" adjacency, in the case where each example is visited at most once, you could analyze a single (not composed) application of the unamplified Gaussian mechanism, corresponding to the scenario where the adversary knows in which round the targeted example appears. However, this is probably a pessimistic estimate of epsilon, since it does not take into account shuffling.
For a better estimate of the true privacy loss, you could apply empirical privacy estimation techniques.
from privacy.
Thank you for your detailed explanation! That clarifies it :)
from privacy.
Related Issues (20)
- from tensorflow_privacy.privacy.analysis import privacy_ledger HOT 3
- How can we specify to install it on tensorflow-gpu==2.4.0
- A Question about Research mi_lira_2021: why set training=True at Inference
- Inconsistency in released Versions between GitHub and PyPI HOT 1
- Privacy?
- cannot import name 'dp_event' from 'tensorflow_privacy.privacy.analysis' HOT 2
- Python version restricted to >=3.9, inability to use official docker containers of tensorflow HOT 1
- AttributeError: module 'tensorflow_privacy.privacy.analysis.compute_dp_sgd_privacy' has no attribute 'compute_dp_sgd_privacy' HOT 2
- Question about rdp_accountant.py HOT 1
- question about "tensorflow_privacy.privacy.dp_query.gaussian_query" HOT 2
- Privacy guarantees of of privacy amplification by iteration example
- Federated DPFTRL and Adaptive Clipping noise injection. HOT 1
- Fresh install doesn't work (incompatible versions of tensorflow and tensorflow_privacy)
- Incompatible with hub.KerasLayer HOT 1
- Module Not Found Error
- import tensorflow_privacy -> AttributeError
- Any recommended way to save a tf privacy model?
- Is this project abandoned? HOT 2
- Ibrahim Mohamad Attalla Alsalamin
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from privacy.