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

Negative Epsilons at high deltas #585

Open
tudorcebere opened this issue May 4, 2023 · 2 comments
Open

Negative Epsilons at high deltas #585

tudorcebere opened this issue May 4, 2023 · 2 comments
Labels
bug Something isn't working

Comments

@tudorcebere
Copy link

tudorcebere commented May 4, 2023

🐛 Bug

Hello!

Probably an edge case, but some warning/error could be raised. The issue is that at high values of delta, the accountant gives negative epsilon values. Script to reproduce the error:
https://colab.research.google.com/drive/1t7jhg_Np6UUZcJLNfBV1wNZHIZ71nVw7?usp=sharing

@nhianK
Copy link

nhianK commented Mar 4, 2024

Looking for a solution to this. Having the same issue

@HuanyuZhang
Copy link
Contributor

I agree with you that we might need some warning messages. But could you please tell in which scenario you need this (sampling rate \approx delta), just for my own understanding of use cases.

Here is an extreme example when sampling_rate = delta. Consider the following algorithm:
Randomly subsample one data point from the dataset (with probability delta), then output its true value.

This algorithm satisfies (0,delta)-DP, but it definitely leaks a lot of information and should be of trivial interest.

@HuanyuZhang HuanyuZhang added the bug Something isn't working label Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants