Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calculating epsilon budget for the federated model with DPquery #20

Closed
Henrique-Potter opened this issue Feb 8, 2021 · 1 comment
Closed
Assignees

Comments

@Henrique-Potter
Copy link

Hi is it possible to get the epsilon budget as an evaluation metric in the example from federated/differential_privacy/stackoverflow/run_federated.py? Or how can you calculate it given the parameters for this fed model using the rdp accountant from tensorflow_privacy.privacy.analysis.rdp_accountant?

@galenmandrew
Copy link
Contributor

Yes, the best way is to use the RDP accountant from tensorflow_privacy. Use whatever noise multiplier you ran with and a sampling fraction q=clients_per_round / n. The epsilon computation is not changed whether you are running DP-FedAvg for user-level DP or DP-SGD for example-level DP. Adaptive clipping also does not change the epsilon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants