On the (Im)Possibility of Estimating Various Notions of Differential Privacy (short paper)

Daniele Gorla, Louis Jalouzot, Federica Granese, Catuscia Palamidessi, Pablo Piantanida

Abstract

Differential Privacy (DP) has emerged as the standard for privacy-preserving data analysis, yet verifying the privacy guarantees of a "black-box" mechanism remains a significant challenge. This paper explores the feasibility of estimating privacy parameters, specifically for Local Differential Privacy (LDP) and Rényi LDP (LRDP). We demonstrate that while universal estimation is theoretically impossible without prior assumptions, the introduction of a Lipschitz continuity (smoothness) constraint allows for the development of a robust histogram-based estimator. Empirical results indicate that this estimator is highly efficient, requiring orders of magnitude fewer samples in practice than theoretical bounds suggest.

1. Introduction

As tech giants like Apple and Google increasingly adopt Differential Privacy (DP), users are often forced to trust the provider's stated "privacy budget" ($\epsilon$). In a black-box scenario—where the internal obfuscation mechanism is unknown—independent verification of these claims is essential. This research investigates whether a user can estimate $\epsilon$ for two specific frameworks: Local Differential Privacy (LDP), where data is perturbed on the user's device, and Rényi LDP (LRDP), an information-theoretic variant.

The primary hurdle in estimating $\epsilon$ is its definition as a "worst-case" ratio of probabilities. If a mechanism exhibits extreme behavior in a small, unsampled region of the distribution, an estimator might fail to detect it, leading to a dangerous underestimation of privacy risk.

2. The Impossibility of General Estimation

The authors first establish a fundamental theoretical barrier. They prove that without any prior assumptions regarding the underlying probability distributions of the mechanism, no algorithm can guarantee an accurate estimate of $\epsilon$ using a finite number of samples. This "Impossibility Theorem" suggests that a truly universal black-box $\epsilon$-verifier cannot exist.

3. Overcoming Impossibility via Lipschitz Continuity

To move beyond this theoretical deadlock, the paper introduces a constraint: Lipschitzness. By assuming the probability densities of the mechanism are "smooth" (i.e., they do not change abruptly between points), it becomes possible to bound the mechanism's behavior in unsampled regions.

The Histogram-Based Estimator

The authors propose a method that partitions the output space into sub-intervals or "bins" (histograms). By counting sample frequencies within these bins for different inputs, the algorithm estimates probability ratios.

  • Algorithm 1 focuses on estimating the privacy loss between a specific pair of inputs.
  • Algorithm 2 scales this approach to estimate the global $\epsilon$ across the entire input domain.

This technique is also extended to Rényi DP. Despite RDP's use of averages (divergences) rather than pointwise maximums, the authors prove that the same fundamental impossibility applies, necessitating the Lipschitz assumption here as well.

4. Empirical Results and Practical Efficiency

The work validates these theoretical insights using synthetic Laplace distributions—the most common noise mechanism in DP. The experiments reveal a significant gap between theoretical sample complexity and practical performance:

  • LDP Estimation: The number of samples required in practice was approximately 400 times lower than the theoretical upper bounds.
  • LRDP Estimation: The practical efficiency was even more pronounced, requiring $10^5$ times fewer samples than the theory predicted.

These results suggest that while the mathematical proofs account for the most pathological cases, the estimator is highly effective for standard, well-behaved mechanisms used in the industry.

5. Discussion and Limitations

While the Lipschitz assumption is reasonable—as Laplace and Gaussian mechanisms are naturally Lipschitz—it still requires the user to know the Lipschitz constant ($C$) beforehand. In a true black-box scenario, this constant might be unknown. Furthermore, the current histogram-based approach is optimized for one-dimensional data. Extending this to high-dimensional datasets (e.g., images) remains a challenge due to the "curse of dimensionality," which would exponentially increase the number of required bins.

In conclusion, while perfect black-box verification is mathematically impossible in the general case, assuming a degree of smoothness in the privacy mechanism provides a viable path for practical privacy auditing.

Summary updated

BibTeX
@inproceedings{gorla2023im,
  author = {Daniele Gorla and Louis Jalouzot and Federica Granese and Catuscia Palamidessi and Pablo Piantanida},
  title = {{On the (Im)Possibility of Estimating Various Notions of Differential Privacy (short paper)}},
  booktitle = {ICTCS},
  year = {2023},
  url = {https://openreview.net/forum?id=doCMaK5uXE},
}
Figure