Skip to content

Poisson subsampling on Gaussian DP #715

Open
@kwunhangwong

Description

Description

Hello there, I have been trying to reimplement Gaussian Differential Privacy by myself.

In your code of Gaussian accountant, I saw the subsampling amplification for computing mu, which is default adopted in your gdp accountant.
However, I could not find this equation from the original paper.

def compute_mu_poisson(
    *, steps: int, noise_multiplier: float, sample_rate: float
) -> float:
    """
    Compute mu from uniform subsampling.
    """
    return np.sqrt(np.exp(noise_multiplier ** (-2)) - 1) * np.sqrt(steps) * sample_rate

I only saw another one in original paper shown in the below, may you kindly cite the reference of the above equation?

return (
      np.sqrt(2)
              * c
              * np.sqrt(
                  np.exp(noise_multiplier ** (-2)) * norm.cdf(1.5 / noise_multiplier)
                  + 3 * norm.cdf(-0.5 / noise_multiplier)
                  - 2
              )
          )

Many thanks !!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions