Differentially Private Confidence Intervals

Wenxin Du, Canyon Foot, Monica Moniot, Andrew Bray, Adam GrocearXiv 2020

Abstract

In statistical analysis, point estimates are insufficient without a measure of uncertainty, typically expressed as a confidence interval (CI). However, when dealing with sensitive individual-level data, standard CI formulas can inadvertently leak private information. While Differential Privacy (DP) provides a framework to mitigate these risks, early DP confidence intervals were often too wide for practical application. This paper introduces five new algorithms that significantly narrow these intervals while maintaining rigorous privacy guarantees. By leveraging quantile-based estimation and simulation-based noise accounting, the proposed methods achieve up to a 96% reduction in interval width compared to previous state-of-the-art techniques.

1. Introduction

Confidence intervals are fundamental to data science, providing a range of values that likely contain a population parameter. When these intervals are calculated on sensitive datasets—such as medical records or financial disclosures—the resulting bounds can be sensitive to the presence or absence of a single individual, potentially compromising privacy.

Differential Privacy (DP) offers a mathematical standard for privacy protection by adding controlled noise to computations. The central challenge in creating DP confidence intervals is "noise accounting": the interval must be wide enough to account for both sampling variability (the randomness of the data sample) and privacy noise (the randomness added by the DP mechanism). Prior work in this area often resulted in intervals that were over 30 times wider than their non-private counterparts, rendering them useless for most practical research. This paper addresses this "utility gap" by introducing algorithms that produce tight, valid confidence intervals for the mean of normally distributed data.

2. Methodology

The researchers propose five algorithms categorized into two primary strategies, all designed to estimate the mean of a normal distribution under DP constraints.

2.1 Laplace-Based Methods

The first strategy involves adding Laplace noise directly to the sample mean and a measure of dispersion.

  • NOISYVAR: This method adds noise to the sample variance.
  • NOISYMAD: This method utilizes the Mean Absolute Deviation (MAD) instead of variance. The authors identify MAD as a superior choice because it has lower sensitivity than variance, meaning less noise is required to achieve the same level of privacy protection.

2.2 Quantile-Based Methods

The second strategy employs the Exponential Mechanism to privately estimate quantiles.

  • SYMQ (Symmetric Quantiles): This emerged as the most effective algorithm. It estimates two symmetric quantiles (e.g., the 35th and 65th percentiles) to derive both the mean and the standard deviation. This approach is notably robust to the user-specified data range, a common bottleneck in DP applications.

2.3 The Simulation-Based Approach (SIM)

A critical innovation of this work is the use of a simulation-based method to determine the interval bounds. Because the addition of DP noise transforms the standard t-distribution into a more complex, non-standard distribution, traditional formulas fail. The SIM algorithm runs thousands of internal simulations using the private estimates of the mean and spread to empirically determine the correct confidence bounds, ensuring the intervals maintain valid coverage.

3. Experimental Evaluation

The algorithms were tested using synthetic datasets generated from normal distributions. This allowed for precise control over sample size ($n$), the privacy budget ($\epsilon$), and the data range ($[x_{min}, x_{max}]$). The primary metrics for evaluation were:

  1. Coverage: The frequency with which the calculated interval actually contains the true population mean.
  2. Utility: The width of the interval (narrower intervals provide more information).

4. Key Results and Discussion

The study demonstrates that the "privacy tax" on statistical utility is much lower than previously thought.

  • Superiority of SYMQ: For datasets where $n > 100/\epsilon$, the SYMQ algorithm consistently outperformed other methods. It proved particularly resilient to "range inflation"—even when the user-specified data bounds were much larger than the actual data, SYMQ maintained high accuracy.
  • Efficiency Gains: In head-to-head comparisons with prior state-of-the-art methods (at $\epsilon = 0.1, n = 2782$), the new algorithms produced intervals 1/15th the size of previous benchmarks. This represents a shift from intervals that were 37 times wider than non-private versions to just 2.4 times wider.
  • Statistical Validity: All five algorithms successfully maintained the target confidence level (e.g., 95%), proving that the simulation-based noise accounting correctly handles the complexity of DP-injected randomness.

5. Limitations and Future Work

While these algorithms represent a significant leap forward, they rely on the assumption that the underlying data is normally distributed. While the privacy guarantees remain intact regardless of the distribution, the statistical coverage (the 95% guarantee) may falter if the data is heavily skewed. Additionally, for very small sample sizes ($n < 100$), intervals remain relatively wide, with NOISYMAD generally providing more stable results than quantile-based methods in these regimes.

Future research directions include extending these simulation-based techniques to non-normal distributions and more complex statistical outputs, such as regression coefficients and multi-variate analyses.

6. Conclusion

By optimizing the allocation of the privacy budget and employing simulation-based inference, this work demonstrates that differentially private statistics can be both rigorous and useful. The 96% reduction in interval width compared to previous methods marks a turning point for the practical adoption of DP in social science and medical research.

Reference: Du, W., Foot, C., Moniot, M., Bray, A., & Groce, A. (2020). Differentially Private Confidence Intervals. arXiv:2001.02285v1 [stat.ME].

Summary updated

BibTeX
@misc{du2020differentially,
  author = {Wenxin Du and Canyon Foot and Monica Moniot and Andrew Bray and Adam Groce},
  title = {{Differentially Private Confidence Intervals}},
  year = {2020},
  eprint = {2001.02285},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2001.02285},
}
Figure