Abstract
Differential privacy has become a widely accepted notion of privacy, leading to the introduction and deployment of numerous privatization mechanisms. However, ensuring the privacy guarantee is an error-prone process, both in designing mechanisms and in implementing those mechanisms. Both types of errors will be greatly reduced, if we have a data-driven approach to verify privacy guarantees, from a black-box access to a mechanism. We pose it as a property estimation problem, and study the fundamental trade-offs involved in the accuracy in estimated privacy guarantees and the number of samples required. We introduce a novel estimator that uses polynomial approximation of a carefully chosen degree to optimally trade-off bias and variance. With $n$ samples, we show that this estimator achieves performance of a straightforward plug-in estimator with $n \ln n$ samples, a phenomenon referred to as effective sample size amplification. The minimax optimality of the proposed estimator is proved by comparing it to a matching fundamental lower bound.
Introduction
Differential Privacy (DP) has emerged as the gold standard for privacy-preserving data analysis, adopted by major institutions including the U.S. Census Bureau, Google, and Apple. Despite its theoretical elegance, the transition from mathematical definition to practical implementation is fraught with risk. Writing DP-compliant code is notoriously difficult; even minor implementation bugs or subtle errors in analytical proofs can lead to significant information leakage.
This creates a critical need for independent verification. Specifically, can we audit a "black-box" mechanism—where we only observe its outputs—to determine if it truly satisfies its claimed $(\epsilon, \delta)$-DP parameters? This paper addresses the fundamental limits of this verification process, establishing the minimum number of samples required to estimate privacy guarantees with high confidence.
The Property Estimation Framework
The authors frame the auditing of DP as a property estimation problem. The goal is to estimate the "approximate DP divergence," a metric that quantifies the similarity between output distributions $P$ and $Q$ resulting from two neighboring databases.
A major hurdle in this estimation is the dimensionality of the output space ($S$). When the number of possible output symbols is large, traditional "plug-in" estimators—which simply use empirical frequencies—become highly biased. To achieve accurate results, a plug-in estimator typically requires a sample size $n$ that scales linearly with $S$. In many real-world applications, this requirement is prohibitively expensive.
Methodology: Polynomial Approximation and Sample Amplification
To overcome the limitations of empirical estimators, the researchers developed a novel estimator based on polynomial approximation. The core logic involves identifying "non-smooth" regimes where the privacy-loss function is most difficult to estimate and applying the following techniques:
- Chebyshev Polynomials: In the difficult regimes, the estimator replaces the standard privacy-loss function with a low-degree, uniformly best polynomial approximation.
- Bias-Variance Optimization: By carefully tuning the degree of the polynomial, the estimator achieves an optimal balance between approximation error (bias) and the noise inherent in finite sampling (variance).
Effective Sample Size Amplification
The most significant theoretical contribution is the discovery of effective sample size amplification. The authors prove that their estimator achieves an error rate of $S/(n \ln n)$, whereas the standard plug-in estimator scales at $S/n$. This means that the new method performs as well with $n$ samples as a standard method would with $n \ln n$ samples. This logarithmic boost is crucial for auditing complex mechanisms with large output spaces.
Experimental Results and Bug Detection
The estimator was validated through both synthetic simulations and tests on established privacy mechanisms:
- Synthetic Benchmarks: Using Uniform and Zipf distributions, the researchers confirmed that their estimator consistently maintained a lower Mean Square Error (MSE) than plug-in methods, matching the predicted theoretical gains.
- Auditing the Sparse Vector Technique (SVT): SVT is a famous DP mechanism that has seen several "buggy" versions published in peer-reviewed literature. The proposed estimator successfully flagged privacy violations in these variants (iSVT1, iSVT2), correctly identifying that they failed to meet pure DP requirements despite their authors' original claims.
- Mechanism Versatility: The method was also successfully applied to the Report Noisy Max and the Mixture of Truncated Geometric Mechanism (MTGM), demonstrating its utility across different noise-addition strategies.
Conclusion
This work establishes the minimax optimal rates for estimating approximate differential privacy, proving that the proposed polynomial-based estimator is fundamentally the best possible approach in a black-box setting. By providing a mathematically rigorous way to verify privacy claims without requiring access to source code, this research offers a vital tool for ensuring accountability in the deployment of privacy-preserving systems.
Future research directions include extending these techniques to continuous output spaces (such as Gaussian mechanisms) and integrating the estimator with heuristic search algorithms to automatically identify the "worst-case" neighboring databases that maximize privacy leakage.
Summary updated