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

Support exactly adding differential privacy to functions with square root irrational sensitivity #694

Open
ooovi opened this issue Aug 22, 2023 · 0 comments

Comments

@ooovi
Copy link
Contributor

ooovi commented Aug 22, 2023

As discussed in these PR comments, it may be desirable to allow adding differential privacy to functions with a sensitivity that is an irrational square root of a rational number.

This will require computing the floor of the square root of a rational number exactly, as well as providing a way to create a distribution for a DifferentialPrivacyStrategy from the square of the sensitivity instead of the sensitivity itself.

This can be worked around by rounding the sensitivity up, which will retain the privacy guarantee. We might want to analyse the loss of accuracy depending on the magnitude of the sensitivity and rational number precision.

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

1 participant