Optimality in Mean Estimation: Beyond Worst-Case, Beyond Sub-Gaussian, and Beyond $1+\alpha$ Moments

Trung Dang, Jasper C.h. Lee, Maoyuan Song, Paul Valiant

Introduction

Mean estimation—calculating the average of a population from a sample—is arguably the most fundamental problem in statistics. For decades, the statistical limits of this problem have been understood through a worst-case lens: if a distribution has a finite variance $\sigma^2$, the best possible error rate is the "sub-Gaussian" rate, scaling roughly as $\sigma \sqrt{\log(1/\delta)/n}$.

However, modern algorithm design increasingly seeks to go "beyond the worst-case." A natural question arises: if a specific input distribution isn't a worst-case scenario (e.g., it has exceptionally light tails or specific asymmetries), can an algorithm implicitly detect these features and achieve a significantly better error rate without prior knowledge? This paper provides a nuanced answer: "mostly no." It establishes a fundamental limit on fine-grained performance and introduces a novel framework called neighborhood optimality to prove that classic robust estimators are already nearly as good as theoretically possible.

The Challenge of Instance Optimality

The gold standard for beyond-worst-case analysis is instance-optimality, where an algorithm performs optimally for every specific input distribution. In mean estimation, however, strict instance-optimality is impossible. A trivial "hardcoded" estimator that always outputs a specific constant will perfectly estimate the mean of one specific distribution while failing catastrophically everywhere else.

Because instance-optimality is too strong and standard statistical "admissibility" is too weak, researchers needed a new way to evaluate whether an algorithm is truly making the most of a specific distribution's "easy" features.

Methodology: Neighborhood Optimality and Indistinguishability

To resolve this, the authors combine high-probability analysis with a new definitional framework:

  • Neighborhood Optimality: The authors propose a middle ground between instance-optimality and admissibility. They define a "neighborhood" of similar distributions around a target distribution $p$. An algorithm is considered "neighborhood optimal" if it performs as well on $p$ as any competing algorithm could, subject to the constraint that the competitor must also perform reasonably well on all other distributions in that neighborhood.
  • Indistinguishability Construction: The core technical barrier to beating the sub-Gaussian rate is the "outlier" barrier. The authors demonstrate how to take any distribution $p$ and construct a "partner" distribution $q$. This partner $q$ is close enough to $p$ (in Hellinger distance) that $n$ samples cannot reliably distinguish between them with probability $1-\delta$. Yet, the means of $p$ and $q$ are significantly far apart.
  • Conservative Construction: To ensure the partner distribution $q$ isn't "cheating" by introducing wild, heavy tails, the authors prove that the density ratio $dq/dp \leq 2$. This means $q$ is structurally very similar to $p$ and preserves its finite moments.
  • Trimming Analysis: The fundamental error limit is quantified using a "t-trimming" operation, defining an error function $\epsilon_{n,\delta}(p)$. This function calculates the mean and variance of the distribution after ignoring extreme outliers that $n$ samples are highly unlikely to observe.

Key Findings and Theoretical Results

As a purely theoretical work, the paper relies on mathematical proofs over the space of all probability distributions on the real line ($\mathbb{R}$) with a finite mean, yielding several major insights:

  • A Universal Lower Bound: For any distribution $p$, no estimator can achieve an error significantly better than $\epsilon_{n,\delta}(p)$ without failing on a neighboring distribution $q$. The secret presence of a tiny bit of probability mass (an asymmetric tail) far away fundamentally shifts the true mean, even if $n$ samples never reveal it.
  • Sub-Gaussian Asymptotics: As the sample size $n$ grows, the fundamental error limit $\epsilon_{n,\delta}(p)$ converges to the standard sub-Gaussian rate for all distributions with finite variance. This proves that asymptotically, no reasonable estimator can beat the sub-Gaussian error rate up to constant factors.
  • The Power of Median-of-Means: In a surprising validation of a classic technique, the authors formally prove that the decades-old median-of-means algorithm achieves the neighborhood Pareto bound up to constant factors. We do not need complex new algorithms to handle "easy" distributions; this classic robust estimator is already neighborhood optimal.

Limitations and Future Work

The paper opens several avenues for future theoretical exploration:

  • Closing the Constant Gap: While the median-of-means algorithm is optimal up to constant factors, finding an estimator that achieves neighborhood optimality with exact constants (zero slackness) remains an open question.
  • High-Dimensional Estimation: The current work focuses on one-dimensional mean estimation ($\mathbb{R}$). The authors conjecture that similar fundamental limits exist in high-dimensional settings, where the sub-Gaussian rate depends on the covariance matrix $\Sigma$, but the mathematical construction becomes significantly more complex.
  • Symmetry as an Escape Hatch: The lower bounds established in this paper rely on asymmetric outlier mass. The authors note that these limits can be bypassed if the underlying distribution is assumed to be symmetric, suggesting that exploring other structural assumptions could yield pathways to finally beating the sub-Gaussian rate.

Summary updated

BibTeX
@inproceedings{dang2023optimality,
  author = {Trung Dang and Jasper C.H. Lee and Maoyuan Song and Paul Valiant},
  title = {{Optimality in Mean Estimation: Beyond Worst-Case, Beyond Sub-Gaussian, and Beyond $1+\textbackslash\{\}alpha$ Moments}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=mvSDs51eqQ},
}
Figure