On the Privacy of Selection Mechanisms with Gaussian Noise

Jonathan Lebensold, Doina Precup, Borja Balle

TL;DR

This paper bridges a long-standing gap in differential privacy (DP) by proving that Gaussian noise—typically associated with "approximate" $(\epsilon, \delta)$-DP—can actually provide "pure" $\epsilon$-DP for selection mechanisms like Report Noisy Max and Above Threshold. By assuming that queries have a bounded range, the authors derive tight, numerically evaluable privacy bounds and introduce a fully adaptive "Sparse Vector Technique" that outperforms standard methods in high-privacy, low-data scenarios.

What Problem Does This Paper Address?

In the world of differential privacy, two mechanisms are foundational for selecting "interesting" data points: Report Noisy Max (RNM) (finding the largest value in a set) and Above Threshold (AT) (finding the first value to cross a bar).

Historically, researchers faced a trade-off:

  1. Use Laplace noise to get "pure" DP ($\delta=0$), which offers the strongest mathematical guarantees but uses a "heavy-tailed" noise distribution that can hurt accuracy.
  2. Use Gaussian noise for better accuracy (due to its more concentrated "thin" tails), but settle for "approximate" DP ($\delta > 0$).

This $\delta > 0$ requirement for Gaussian noise was always a bit strange for selection mechanisms because their outputs are discrete (e.g., "the 5th query was the largest"), and discrete outputs usually allow for pure DP. The authors address this by asking: Can we get pure DP guarantees for Gaussian selection mechanisms? They find the answer is "yes," provided the queries themselves are bounded within a specific range.

Methods

The authors' primary contribution is a new privacy analysis that moves away from treating selection as a post-processing step of a continuous Gaussian mechanism. Instead, they analyze the discrete output space directly.

  • Pure DP for Gaussian RNM: They derive a new $\epsilon$ bound (Theorem 8) that depends not just on the noise level and sensitivity, but also on the range of the queries.
  • Ex-Post Analysis for Above Threshold: For the online setting, they provide an "ex-post" privacy guarantee. Unlike standard "ex-ante" bounds calculated before an algorithm runs, ex-post bounds are calculated after the mechanism halts, using the actual stopping time to provide a tighter privacy cost.
  • Filtered Self-Reporting Composition (FSRC): They propose a meta-algorithm (Algorithm 2) that allows analysts to adaptively compose multiple selection mechanisms. This acts as a "privacy odometer," stopping the process only when the accumulated ex-post privacy cost hits a pre-defined budget.
  • Numerical Computation: Because these new bounds involve complex expectations of Gaussian CDFs, the authors utilize high-precision numerical integration (via the mpmath library) rather than unstable Monte Carlo simulations.

Datasets

The authors evaluated their methods on three real-world datasets where privacy is critical:

  • UCI Bikes Dataset: Captures daily shared bike utilization over a year.
  • LCL London Energy Dataset: Contains smart-meter energy usage for 5,564 households over 829 days.
  • NEAR Energy Dataset: Annual energy consumption for 300 customers.

These datasets are typical of "periodic data collection" where a user's contribution (like daily energy use) needs to be protected across many repeated queries.

Key Insights and Ideas

  • Boundedness is the Key: The "aha moment" is realizing that if query answers are restricted to a range $[a, b]$, the privacy loss of Gaussian noise doesn't explode to infinity. This allows for $\delta=0$.
  • Ex-Post Efficiency: Figure 1 illustrates that ex-post analysis is significantly more beneficial when the mechanism halts early or when the threshold is high.
Privacy accounting comparison showing the benefit of ex-post analysis.
  • The "Discrete Space" Advantage: By focusing on the fact that the mechanism only outputs an index or a "Top/Bottom" flag, they can squeeze more utility out of the privacy budget than standard analyses that assume the mechanism might output any real number.
  • Stability through Integration: The paper highlights that while Monte Carlo methods are the "natural" way to estimate these bounds, they become incredibly high-variance as dimensions increase. Deterministic numerical integration is essential for practical deployment.

Key Results

  • Tighter Accounting: In the high-privacy regime (small $\epsilon$), the new bounds are significantly tighter than standard RDP-based Gaussian bounds. For the NEAR energy dataset, their method achieved 90% accuracy where previous methods would have required more than double the privacy budget (Figure 9).
  • Competitive SVT: Their FSRC algorithm (the adaptive Sparse Vector Technique) matches or outperforms state-of-the-art privacy filters while requiring less hyperparameter tuning (like pre-specifying the maximum number of queries).
  • Threshold Sensitivity: As shown in Figure 2 (labeled Figure 6 in the appendix), the privacy loss is sensitive to the public threshold $\rho$. As the stopping time $t$ increases, the privacy loss actually decreases as the threshold approaches the upper bound of the query range.
Figure 2: Ex-Post Above Threshold Privacy Loss (∆= 0.001, σX = 0.15). The ex-post privacy loss also changes as a function of the public threshold ρ. Note that if the mechanism halts after two timesteps, the minimum is observed when ρ = 0.5. As t increases, the privacy loss decreases as ρ →1.

Limitations and Future Work

  • Range Dependency: The pure DP guarantee relies on knowing the bounds $[a, b]$ of the queries. If the range is unknown or extremely large, the benefit over standard approximate DP diminishes.
  • Computational Overhead: Calculating these tight bounds requires high-precision numerical integration, which is more computationally intensive than the simple closed-form expressions used for Laplace noise.
  • Future Directions: The authors suggest applying these ex-post techniques to other sequential algorithms, such as private model selection or hyperparameter optimization, where identifying "good" candidates early can save significant privacy budget.

Summary updated

BibTeX
@inproceedings{lebensold2024privacy,
  author = {Jonathan Lebensold and Doina Precup and Borja Balle},
  title = {{On the Privacy of Selection Mechanisms with Gaussian Noise}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2024},
  url = {https://openreview.net/forum?id=GT7Uzb5CfF},
}
Figure