Skip to content

Introduce Exponential mechanism to Budget Accounting#539

Open
dvadym wants to merge 3 commits intoOpenMined:mainfrom
dvadym:budget_accountant_aexponential
Open

Introduce Exponential mechanism to Budget Accounting#539
dvadym wants to merge 3 commits intoOpenMined:mainfrom
dvadym:budget_accountant_aexponential

Conversation

@dvadym
Copy link
Collaborator

@dvadym dvadym commented Mar 28, 2025

Atm dp_accounting doesn't support yet Exponential mechanism natively, so for PLD accounting PLD from eps-DP mechanism (which is actually eps-randomzed response) is used. eps-Randomized response is dominating any eps-DP so it's safe from privacy perspective, but it results in slightly higher noise.

@dvadym dvadym requested a review from RamSaw March 28, 2025 10:29
Copy link
Collaborator

@RamSaw RamSaw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How does it work? Shouldn't change any mechanism specific code?

self.assertEqual(budget1.eps, 0.4)
self.assertEqual(budget1.delta,
0) # Delta should be 0 if mechanism is Laplace.
self.assertEqual(budget1.eps, 0.2)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe write a formula, not trivial

weight=8,
sensitivity=3),
],
expected_pipeline_noise_std=40.02)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we write/point to the formulas in the class definition?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we should write documentation on PLD accountant. In this case, there is no simple formula anyway :)

Copy link
Collaborator Author

@dvadym dvadym left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for review!

weight=8,
sensitivity=3),
],
expected_pipeline_noise_std=40.02)
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, we should write documentation on PLD accountant. In this case, there is no simple formula anyway :)

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

Successfully merging this pull request may close these issues.

2 participants