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

Fix bug in DP README.md #1236

Merged
merged 2 commits into from
Aug 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions ipa-core/src/protocol/dp/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ introduces Binomials for DP.
considers their use for d-dimension queries (such as we will need for WALR).


To achieve a desired $(\varepsilon, \delta)$-DP guarantee, we generate $num_bernoulli$ secret shared samples of a
To achieve a desired $(\varepsilon, \delta)$-DP guarantee, we generate $num\\_bernoulli$ secret shared samples of a
Bernoulli having probability $0.5$ using PRSS. Next we aggregate them to get a Binomial sample. The result of the 2018
paper above is that for small epsilon (TODO, how small required?), we require the following number of samples
$$ num_bernoulli \geq 8 \log(2/\delta) /\varepsilon^2$$
paper above is that for small epsilon.

This [spreadsheet](https://docs.google.com/spreadsheets/d/1sMgqkMw3-yNBp6f8ctyv4Hdfx9Ei7muj0ZhP9i1DHrw/edit#gid=0)
looks at the calculation for different parameter choices and confirms that this approach does lead to a better final
Expand All @@ -22,4 +21,4 @@ Gaussians but the 2018 paper's analysis shows this).

## Binomial Noise for d-dimensional queries
For WALR we will be adding noise to a d-dimensional query, to add binomial noise we have to look
simulatenously at the sensitivity under three different norms, $\ell_1, \ell_2, \ell_\infty$. TODO.
simulatenously at the sensitivity under three different norms, $\ell_1, \ell_2, \ell_\infty$. TODO.