Skip to content

Add support for discrete Gaussian DP-SGD accounting using zCDP.#435

Open
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_924002229
Open

Add support for discrete Gaussian DP-SGD accounting using zCDP.#435
copybara-service[bot] wants to merge 1 commit into
mainfrom
test_924002229

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Add support for discrete Gaussian DP-SGD accounting using zCDP.

Introduces discrete_gaussian_dpsgd_event in jax_privacy/experimental/accounting.py to model DP-SGD with discrete Gaussian noise using ZCDpEvent(rho=0.5/noise_multiplier**2). Updates dp_accounting/rdp/rdp_privacy_accountant.py to recognize ZCDpEvent with xi=0 as equivalent to a Gaussian mechanism when composing. Modifies jax_privacy/examples/secure_noise_example.py to use the new discrete Gaussian accounting with RdpAccountant.

Introduces `discrete_gaussian_dpsgd_event` in `jax_privacy/experimental/accounting.py` to model DP-SGD with discrete Gaussian noise using `ZCDpEvent(rho=0.5/noise_multiplier**2)`. Updates `dp_accounting/rdp/rdp_privacy_accountant.py` to recognize `ZCDpEvent` with `xi=0` as equivalent to a Gaussian mechanism when composing. Modifies `jax_privacy/examples/secure_noise_example.py` to use the new discrete Gaussian accounting with `RdpAccountant`.

PiperOrigin-RevId: 924002229
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.

1 participant