On the Privacy of Selection Mechanisms with Gaussian Noise

Jonathan Lebensold, Doina Precup, Borja Balle

Abstract

Report Noisy Max and Above Threshold are two classical differentially private (DP) selection mechanisms. Their output is obtained by adding noise to a sequence of low-sensitivity queries and reporting the identity of the query whose (noisy) answer satisfies a certain condition. Pure DP guarantees for these mechanisms are easy to obtain when Laplace noise is added to the queries. On the other hand, when instantiated using Gaussian noise, standard analyses only yield approximate DP guarantees despite the fact that the outputs of these mechanisms lie in a discrete space. In this work, we revisit the analysis of Report Noisy Max and Above Threshold with Gaussian noise and show that, under the additional assumption that the underlying queries are bounded, it is possible to provide pure ex-ante DP bounds for Report Noisy Max and pure ex-post DP bounds for Above Threshold. The resulting bounds are tight and depend on closed-form expressions that can be numerically evaluated using standard methods. Empirically we find these lead to tighter privacy accounting in the high privacy, low data regime. Further, we propose a simple privacy filter for composing pure ex-post DP guarantees, and use it to derive a fully adaptive Gaussian Sparse Vector Technique mechanism. Finally, we provide experiments on mobility and energy consumption datasets demonstrating that our Sparse Vector Technique is practically competitive with previous approaches and requires less hyper-parameter tuning.

Introduction

In Differential Privacy (DP), a long-standing trade-off exists between Laplace and Gaussian noise. Laplace noise provides "pure" $\epsilon$-DP, offering a strict upper bound on privacy loss. Gaussian noise is often preferred in practice due to its tighter concentration and superior behavior under composition, but it typically only provides "approximate" $(\epsilon, \delta)$-DP, which includes a small probability ($\delta$) of total privacy failure.

This paper addresses a gap in selection mechanisms—algorithms that identify the "best" or "first" query from a sequence. Standard Gaussian analyses are often loose because they fail to exploit the discrete nature of the output (e.g., an index). The authors demonstrate that if queries are bounded (e.g., scores between 0 and 1), Gaussian noise can provide the strict "pure" guarantees of Laplace noise while maintaining its inherent accuracy advantages.

Core Methodologies

The research revisits the mathematical foundations of selection mechanisms with three primary contributions:

  1. Pure DP for Gaussian Report Noisy Max (RNM): The authors derive a closed-form expression for privacy loss that incorporates the range of the queries, rather than just the noise-to-sensitivity ratio.
  2. Ex-Post Privacy for Above Threshold (AT): Unlike traditional worst-case analyses, this ex-post approach calculates the privacy cost based on the exact stopping time of the mechanism. This often results in a significantly lower privacy cost than predicted beforehand.
  3. Filtered Self-Reporting Composition (FSRC): A new privacy filter (Algorithm 2) tracks privacy spending in real-time. This allows analysts to query a dataset until a budget is exhausted without pre-specifying the number of expected "True" or "False" responses.
Privacy loss (ε) as a function of the threshold (ρ) for different halting times (t).

Key Insights: Boundedness and Ex-Post Efficiency

The critical "aha moment" is the realization that bounded queries ($q \in [a, b]$) prevent the privacy loss of Gaussian mechanisms from approaching infinity. This boundedness is what enables pure $\epsilon$-DP for Gaussian noise in this context.

Furthermore, the ex-post accounting method proves highly efficient. In the Sparse Vector Technique (SVT), users typically pay a high privacy price for every query checked. By using ex-post accounting, budget can be "saved" if the mechanism halts early or if the data at specific timesteps is less sensitive. This also eliminates the need for hyperparameter tuning, such as guessing the maximum number of releases ($k$) in advance.

Experimental Results

The methods were evaluated on sensitive time-series datasets, including the UCI Bikes dataset, LCL London Energy dataset, and NEAR Energy dataset. These datasets contain high-resolution behavioral data that pose significant re-identification risks.

Key findings include:

  • Tighter Accounting: In high-privacy regimes (low $\epsilon$), the new Gaussian bounds are significantly tighter than standard Rényi Differential Privacy (RDP) conversions.
  • Superior Accuracy: On the NEAR Energy dataset, the proposed method achieved 90% accuracy within a privacy budget that would have required double the budget using standard Gaussian techniques.
  • Operational Simplicity: FSRC matched or outperformed existing privacy filters while providing a simpler, "plug-and-play" implementation.
Heatmaps showing the relative difference in privacy accounting across different thresholds and noise multipliers.

Limitations and Future Work

While powerful, the approach has limitations. The bounds require sophisticated numerical integration (using libraries like mpmath), which may be computationally intensive for lightweight systems. Additionally, the "pure DP" result is strictly dependent on queries being bounded; unbounded data would require clipping. Future research may extend this ex-post analysis to other interactive mechanisms, potentially creating a broader framework for Gaussian-based DP.

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