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

Need faster bisection when calculating privacy parameters #86

Open
grananqvist opened this issue Jul 3, 2024 · 0 comments
Open

Need faster bisection when calculating privacy parameters #86

grananqvist opened this issue Jul 3, 2024 · 0 comments

Comments

@grananqvist
Copy link
Member

bisection in https://github.com/apple/pfl-research/blob/develop/pfl/privacy/privacy_accountant.py#L431 is currently slow.
The UX running the CIFAR10 notebook interactively is bad. Looks like it gets stuck initializing PLDPrivacyAccountant
, but it just takes ~30sec.

Something like Brent’s method or golden section can be used to speed up initialization of moments accountants that must use bisection to find the right epsilon.

(120412225)

@grananqvist grananqvist changed the title Use faster bisection when calculating privacy parameters Need faster bisection when calculating privacy parameters Jul 3, 2024
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