Average-Case Averages: Private Algorithms for Smooth Sensitivity and Mean Estimation

Mark Bun, Thomas Steinke

Introduction

The "Gold Standard" of differential privacy (DP) typically involves adding noise to a query result proportional to its global sensitivity—the maximum possible change any single individual's data could cause. However, for a simple task like estimating the mean of a distribution, global sensitivity can be a nightmare. If the data is unbounded (like a Gaussian distribution), a single outlier could theoretically be at infinity, making the global sensitivity infinite and the resulting private estimate entirely useless.

Practitioners often circumvent this by "clipping" data to a fixed, predetermined range, but this introduces bias and requires prior knowledge of the data. A more elegant alternative is smooth sensitivity, which calibrates noise based on how much the result changes in the neighborhood of the actual dataset, rather than the worst-case universe. Yet, using smooth sensitivity is mathematically tricky; standard noise distributions (like Gaussian or Laplace) do not always provide strong privacy guarantees when scaled this way. This paper introduces a more surgical approach to DP by combining a robust trimmed mean estimator with three newly designed noise distributions to achieve high-accuracy, instance-dependent mean estimation.

Methods: Trimming and Tailored Noise

The authors propose a two-part solution to make smooth sensitivity practical and accurate:

1. The Trimmed Mean Estimator

Instead of the standard average, the authors utilize a trimmed mean, which discards the largest and smallest $m$ samples before averaging the remaining data. While statisticians traditionally use trimmed means to handle outliers, this paper demonstrates that they are exceptionally well-suited for differential privacy. Trimming prevents any single point from swinging the mean too wildly, naturally resulting in much lower smooth sensitivity.

Normalized variance of the trimmed mean for different distributions as the trim fraction increases.

2. New Noise Distributions for CDP

To make smooth sensitivity compatible with the modern framework of Concentrated Differential Privacy (CDP), the authors identified three new additive noise distributions:

  • Laplace Log-Normal (LLN): A product of a Laplace and a Log-Normal random variable.
  • Uniform Log-Normal (ULN): A product of a Uniform and a Log-Normal random variable.
  • Arsinh-Normal: Based on the inverse hyperbolic sine of a Gaussian.

These distributions feature "quasi-polynomial" tails. They are heavier than a Gaussian but lighter than a Cauchy distribution, allowing them to satisfy strict CDP requirements while remaining concentrated enough to preserve statistical accuracy.

Key Insights

  • Bridging the Gap in Noise: Pure DP requires heavy-tailed noise (like Cauchy), which is often too destructive for practical use. Approximate DP allows lighter noise (like Gaussian) but suffers from weaker composition properties. The new "Log-Normal" hybrids provide a "middle way" that works perfectly with the smooth sensitivity framework and CDP.
  • Instance-Optimality: The algorithm automatically performs better if the underlying data is well-behaved. If the dataset lacks extreme outliers, the smooth sensitivity will be low, and the algorithm will dynamically add less noise.

Experimental and Theoretical Results

The paper provides both theoretical bounds and empirical validation using synthetic Gaussian data and heavy-tailed distributions.

  • Theoretical Efficiency: For symmetric subgaussian distributions, the private estimator achieves an error of $\frac{\sigma^2}{n} + \text{lower order terms}$. This implies that as the dataset size $n$ grows, the "privacy cost" becomes negligible compared to the standard statistical error.
  • Experimental Performance: In simulations with $n=201$ and $\epsilon=1$, the private mean estimate had a variance only about two times higher than the non-private mean. As the dataset grew to $n=1001$, the "excess variance" from privacy dropped to just 10%.
Excess variance of DP smooth sensitivity on the trimmed mean (n=201). The Laplace Log-Normal (LLN) distribution shows superior performance.

Among the proposed distributions, the Laplace Log-Normal (LLN) consistently outperformed the others in terms of accuracy, proving comparable to the Student’s T distribution (which is limited to the more restrictive "pure" DP).

Limitations and Future Work

While highly effective, the approach has a few limitations:

  • Prior Bounds: The algorithm still requires a "crude" initial estimate of the range $[a, b]$ where the mean lies. While this can be found privately using other methods, it adds a necessary pre-processing step.
  • Hyperparameter Tuning: Performance heavily depends on the trimming parameter $m$ and the smoothing parameter $t$. Finding the absolute optimal values for a specific real-world dataset remains an engineering challenge.
  • Multivariate Extension: The current work focuses on univariate (one-dimensional) mean estimation. Extending these specific smooth sensitivity bounds to high-dimensional vectors is a logical and necessary next step for broader machine learning applications.

Summary updated

BibTeX
@inproceedings{bun2019average,
  author = {Mark Bun and Thomas Steinke},
  title = {{Average-Case Averages: Private Algorithms for Smooth Sensitivity and Mean Estimation}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2019},
  url = {https://openreview.net/forum?id=Lf_q9GC2OXB},
}
Figure