Lune

NeurIPS2023Top-tier venue

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

Trung Dang, Jasper C. H. Lee, Maoyuan Raymond Song, Paul Valiant

Abstract

There is growing interest in improving our algorithmic understanding of fundamental statistical problems such as mean estimation, driven by the goal of understanding the fundamental limits of what we can extract from limited and valuable data. The state of the art results for mean estimation in R are 1) the optimal sub-Gaussian mean estimator by [Lee and Valiant, 2022] , attaining the optimal sub-Gaussian error constant for all distributions with finite but unknown variance, and 2) the analysis of the median-of-means algorithm by [Bubeck, Cesa-Bianchi and Lugosi, 2013] and a matching lower bound by [Devroye, Lerasle, Lugosi, and Oliveira, 2016] , characterizing the big-O optimal errors for distributions that have tails heavy enough that only a 1 + α moment exists for some α ∈ (0, 1). Both of these results, however, are optimal only in the worst case. Motivated by the recent effort in the community to go "beyond the worst-case analysis" of algorithms, we initiate the fine-grained study of the mean estimation problem: Is it possible for algorithms to leverage beneficial features/quirks of their input distribution to beat the sub-Gaussian rate, without explicit knowledge of these features? We resolve this question, finding an unexpectedly nuanced answer: "Yes in limited regimes, but in general no". Given a distribution p, assuming only that it has a finite mean and absent any additional assumptions, we show how to construct a distribution q n,δ such that the means of p and q are well-separated, yet p and q are impossible to distinguish with n samples with probability 1δ, and q further preserves the finiteness of moments of p. Moreover, the variance of q is at most twice the variance of p if it exists. The main consequence of our result is that, no reasonable estimator can asymptotically achieve better than the sub-Gaussian error rate for any distribution, up to constant factors, which matches the worst-case result of [Lee and Valiant, 2022] . More generally, we introduce a new definitional framework to analyze the fine-grained optimality of algorithms, which we call "neighborhood optimality", interpolating between the unattainably strong "instance optimality" and the trivially weak admissibility/Pareto optimality definitions. As an application of the new framework, we show that the median-of-means algorithm is neighborhood optimal, up to constant factors. It is an open question to find a neighborhood-optimal estimator without constant factor slackness. The classic median-of-means estimator [e.g., NY83; JVV86; AMS99], independently invented several times in the literature, was proposed to mitigate the sensitivity of the sample mean. Its accuracy on any distribution p with finite variance is-up to constant factors-as good as the accuracy of the sample mean on a Gaussian with the same mean and variance as p. In other words, the error is of sub-Gaussian rate. The past decade has seen renewed interest across computer science and statistics in understanding the limits of the mean estimation problem. In one dimension, the current state of the art is 1) for distributions p with finite variance σ 2 p , the recent mean estimator proposed by Lee and Valiant [LV22] has sub-Gaussian rate σ p • ( √ 2 + o(1)) log 1 δ /n, which is tight even in its constants, up to a 1 + o(1) factor, and 2) the work of Bubeck, Cesa-Bianchi and Lugosi [BCL13] showing upper bounds matching the lower bounds of Devroye, Lerasle, Lugosi and Oliveira [DLLO16], which show that for heavy-tailed distributions having only a 1 + α th moment for some α ∈ (0, 1), the median-of-means algorithm in fact still achieves the optimal accuracy up to a constant factor. Both of these results, however, are optimal only in the worst case, meaning that [LV22; DLLO16] have optimal performance with respect to the class of distributions with the same 2 nd or 1 + α th moments respectively; but estimators may do better than these bounds on particular input distributions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Instance-optimal Mean Estimation Under Differential Privacy cites Instance-optimality in differential privacy via approximate inverse sensitivity mechanisms
  • All-Purpose Mean Estimation over R: Optimal Sub-Gaussianity with Outlier Robustness and Low Moments Performance cites Instance-optimal Mean Estimation Under Differential Privacy
  • All-Purpose Mean Estimation over R: Optimal Sub-Gaussianity with Outlier Robustness and Low Moments Performance cites Instance-optimality in differential privacy via approximate inverse sensitivity mechanisms
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Revisiting Active Sequential Prediction-Powered Mean EstimationMaria-Eleni Sfyraki, Jun-Kun WangICLR 2026 · 4 citations
  2. Simple and Optimal Sublinear Algorithms for Mean EstimationBeatrice Bertolotti, Matteo Russo, Chris Schwiegelshohn, Sudarshan ShyamNeurIPS 2025 · 2 citations
  3. All-Purpose Mean Estimation over R: Optimal Sub-Gaussianity with Outlier Robustness and Low Moments PerformanceJasper C. H. Lee, Walter McKelvie, Maoyuan Song, Paul ValiantICML 2025
  4. Instance-Optimality in I/O-Efficient Sampling and Sequential EstimationShyam Narayanan, Václav Rozhon, Jakub Tetek, Mikkel ThorupFOCS 2024

Builds on2

  1. Instance-optimal Mean Estimation Under Differential PrivacyZiyue Huang, Yuting Liang, Ke YiNeurIPS 2021 · 74 citations
  2. Instance-optimality in differential privacy via approximate inverse sensitivity mechanismsHilal Asi, John C. DuchiNeurIPS 2020 · 72 citations

Related papers

  1. Optimal Sub-Gaussian Mean Estimation in R\mathbb{R}Jasper C. H. Lee, Paul ValiantFOCS 2021 · 5 citations
  2. Optimal Private Median Estimation under Minimal Distributional AssumptionsChristos Tzamos, Emmanouil V. Vlatakis-Gkaragkounis, Ilias ZadikNeurIPS 2020 · 25 citations
  3. On the Optimality of the Median-of-Means Estimator under Adversarial ContaminationXabier de Juan, Santiago MazuelasNeurIPS 2025
  4. Beyond the Best: Distribution Functional Estimation in Infinite-Armed BanditsYifei Wang, Tavor Z. Baharav, Yanjun Han, Jiantao Jiao et al.NeurIPS 2022 · 2 citations
  5. Robust Mean Estimation Without Moments for Symmetric DistributionsGleb Novikov, David Steurer, Stefan TiegelNeurIPS 2023
Dusk over the sea between two cliffs drawn in fine vertical lines