Locally Private Mean Estimation: Z-test and Tight Confidence Intervals

Marco Gaboardi, Ryan Rogers, Or Sheffet

Introduction

In the landscape of data privacy, Local Differential Privacy (LDP) has emerged as the gold standard for "trust-free" data collection. Unlike the centralized model, where a trusted curator aggregates raw data before adding noise, LDP requires users to perturb their own data locally before transmission. While this provides superior privacy—ensuring that even the data collector never sees raw values—it introduces significant statistical challenges. This paper addresses the fundamental problem of mean estimation and hypothesis testing under LDP, establishing tight bounds for confidence intervals and developing private versions of classic statistical tools like the Z-test and T-test.

The Statistical Cost of Privacy

A central theme of this research is the quantification of the "LDP Tax." Estimating a population mean with high confidence requires significantly more data in the local model than in non-private or centralized DP models. The authors demonstrate that the privacy requirement necessitates a massive increase in sample size; for instance, a difference between means that a non-private test could detect with 100 samples might require 10,000 or even 100,000 samples under LDP, depending on the privacy budget ($\epsilon$).

Methodological Framework

The authors propose a suite of "one-shot" algorithms—where each user communicates with the server only once—to handle varying levels of knowledge about the population variance. This one-shot constraint is critical for practical deployments where users cannot be expected to remain online for multiple rounds of interaction.

1. Known Variance: Bit Flipping and Discretization

For scenarios where the variance is known, the algorithm divides the potential range of the mean into discrete "bins." Users report which bin their data falls into using a private bit-flipping mechanism. This allows the curator to identify a rough neighborhood for the mean with high probability.

2. Unknown Variance: The BinQuant Algorithm

A key innovation of this work is the use of private quantile estimation to handle unknown variance. In the local model, variance cannot be easily calculated from individual perturbed points because the curator never sees pairs of raw data points. The authors developed BinQuant, a private binary search algorithm that estimates the median (approximately $\mu$) and the 81.4th percentile (approximately $\mu + \sigma$). By using these quantiles as proxies, the curator can infer the distribution's scale and mean simultaneously.

Tight Bounds and Optimality

A major contribution of this research is the derivation of matching upper and lower bounds for the length of $(1-\beta)$-confidence intervals in the LDP setting. The authors prove that the interval length is:

$$O\left(\frac{\sigma \sqrt{\log(1/\beta)}}{\epsilon \sqrt{n}}\right)$$

Crucially, they establish a matching lower bound of $\Omega\left(\frac{\sigma \sqrt{\log(1/\beta)}}{\epsilon \sqrt{n}}\right)$ for one-shot algorithms. This confirms that their proposed methods are near-optimal; no other one-shot LDP algorithm can produce a tighter confidence interval (up to logarithmic factors).

Empirical Observations

Through Gaussian simulations, the paper validates the LDP Z-test. The experiments confirm that while the test maintains its validity (correctly controlling for Type I error), its statistical power is highly sensitive to the privacy budget $\epsilon$. When $\epsilon$ is small (indicating high privacy), even very large sample sizes may be insufficient to reject a null hypothesis that a non-private test would have rejected instantly. This highlights the importance of choosing $\epsilon$ carefully based on the required utility.

Limitations and Future Directions

While this work provides a rigorous foundation for LDP mean estimation, it identifies several avenues for future research:

  • The One-Shot Constraint: The lower bounds are specific to one-shot algorithms. Multi-round interactive algorithms might achieve better results, though they are more difficult to implement in practice.
  • Distributional Assumptions: While the privacy guarantees are universal, the utility (the tightness of the intervals) relies on the assumption that the underlying data follows a Gaussian distribution. Extending these tight bounds to heavy-tailed or non-parametric distributions remains an open challenge.
  • Dimensionality: This work focuses on univariate mean estimation. Future work is needed to determine if these tight confidence intervals can be efficiently extended to high-dimensional vectors.

Summary updated

BibTeX
@inproceedings{gaboardi2019locally,
  author = {Marco Gaboardi and Ryan Rogers and Or Sheffet},
  title = {{Locally Private Mean Estimation: Z-test and Tight Confidence Intervals}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
}
Figure