Minimal Confidence Interval for heavy-tailed means

Abhik Rana, Sarvesh Ravichandran Iyer, Vikas Deep, Sandeep JunejaarXiv 2026

TL;DR

When estimating the mean of noisy, extreme-prone data—like online ad revenue or insurance claims—standard Gaussian confidence intervals break down, and existing rigorous alternatives pay an unnecessary "sample-size tax" that keeps them artificially wide. This paper strips away that penalty, deriving a clean, sample-size-free threshold for Kullback–Leibler-based confidence intervals at fixed sample sizes and shrinking the penalty for sequential monitoring from $O(\log n)$ down to $O(\log \log n)$. The result is provably optimal intervals that are significantly narrower in practice without sacrificing mathematical guarantees.

What Problem Does This Paper Address?

Suppose you are running an A/B test on user spending. Most people spend zero, a few spend \$10, and one person spends \$50,000. This data is heavy-tailed—its variance might even be infinite. Under these conditions, textbook Central Limit Theorem intervals can severely undercover the true mean at realistic sample sizes.

To get guaranteed finite-sample validity without assuming bounded data, statisticians assume a known bound $B$ on a $(1+\epsilon)$-th absolute moment: $\mathbb{E}|X|^{1+\epsilon} \le B$ (where $0 < \epsilon < 1$ allows infinite variance). Within this class, a natural way to build a confidence interval is by inverting a statistic called $\mathrm{KL}_{\inf}$. Intuitively, $\mathrm{KL}_{\inf}(\hat{\eta}_n, x)$ measures the minimum Kullback–Leibler divergence from your empirical data distribution $\hat{\eta}_n$ to any valid heavy-tailed distribution with mean $x$. You keep all candidate means $x$ where $n\mathrm{KL}_{\inf}(\hat{\eta}_n, x)$ falls below a calibrated threshold.

Previously, the only known finite-sample calibration for this statistic was designed for anytime-valid sequential settings (like multi-armed bandits), carrying a $2\log(n+1)$ penalty in the threshold. If you just want a confidence interval at a pre-specified sample size $n$, paying a penalty that grows with $n$ makes your interval unnecessarily wide. Can we eliminate this sample-size tax entirely?

Methods

The authors keep the standard $\mathrm{KL}_{\inf}$ interval construction—which relies on a convex dual representation involving two Lagrange multipliers (one for the mean, one for the moment bound)—and overhaul how its threshold is calibrated:

  • Random-Split Combinatorial Bound (Fixed $n$): Previous bounds averaged the dual "wealth" process over the 2D multiplier space; because the region around the optimal multiplier shrinks as $n$ grows, this introduced the $2\log(n+1)$ regret term. Instead, the authors compare the full-sample average to the average over a random subset $S$ of observations. Using convexity and a clean Jacobian scaling argument inside the proof (without actually splitting the data to compute the final interval!), they bound the moment-generating function $\mathbb{E}[e^{\theta n\mathrm{KL}_{\inf}}] \le (1-\theta)^{-2}$, completely independent of $n$.
  • Reverse-Submartingale Stitching (Anytime-Valid): When you do need sequential monitoring (a confidence sequence valid for all $n$ simultaneously, such as in bandits), the authors note that $\mathrm{KL}_{\inf}$ is convex in the empirical distribution, making it a reverse submartingale. Applying a maximal inequality across geometrically spaced epochs ("stitching") upgrades their fixed-$n$ bound into an anytime threshold that grows like $2\log \log n$ instead of $2\log n$.

Datasets

Because proving coverage and optimality requires knowing the true underlying mean and exact moment bounds, the authors evaluate their methods on 18 synthetic heavy-tailed distributions rather than static empirical benchmarks:

  • Families include Pareto, Student-$t$, lognormal, Lomax, Fréchet, Burr XII, and contaminated normal distributions.
  • Ten settings feature infinite variance ($1+\epsilon = 1.25$), and three have finite variance ($1+\epsilon = 2$), all rescaled so $\mathbb{E}|X|^{1+\epsilon} = 6$ (plus additional experiments testing loose moment bounds $2B, 5B,$ and $10B$).

Key Insights and Ideas

  • The exponent is purely geometric: In the core bound $\mathbb{E}[e^{\theta n\mathrm{KL}_{\inf}}] \le (1-\theta)^{-2}$, the exponent $2$ comes solely from the dimension of the dual multiplier space (mean + one moment). The authors prove this generalizes to $d$ arbitrary moment constraints, costing $(1-\theta)^{-(d+1)}$—meaning each extra constraint adds at most $\log\log(1/\delta)$ to the threshold, still with zero dependence on $n$.
  • Distribution-level adaptivity vs. worst-case estimators: Estimators like Catoni's M-estimator or median-of-means also avoid $\log n$ penalties, but their interval widths are dictated by the global moment bound $B$, shrinking at the worst-case rate everywhere. $\mathrm{KL}_{\inf}$ intervals automatically adapt to the shape and variance of the specific distribution generating your data.
  • Why asymptotic optimality wasn't enough: Earlier work showed the old $2\log(n+1)$ threshold was already "asymptotically optimal" when $\delta \to 0$. The authors show that this criterion was too coarse to notice finite-sample bloat: at a fixed confidence level $\delta$, the old interval's width lags behind the optimal minimax rate $( \log(1/\delta)/n )^{\min\{1/2, \epsilon/(1+\epsilon)\}}$ by a factor of $(\log n)^{\min\{1/2, \epsilon/(1+\epsilon)\}}$, which the new threshold fixes.

Key Results

Evaluated at 95% confidence ($\delta = 0.05$) across 500 sample paths up to $n = 10^4$ (and $10^5$ for sequences):

  • Consistent wins: At $n = 10^4$, both the new fixed-sample interval ($I_{n,\delta}$) and the new confidence sequence ($I^{\text{seq}}_{n,\delta}$) achieve the narrowest average width on 17 out of 18 distributions compared to Catoni-type, truncated mean, and median-of-means baselines.
  • Substantial width reductions: In the infinite-variance regime ($1+\epsilon = 1.25$) at $n = 10^4$, $I_{n,\delta}$ is 23% to 85% narrower than the best competing fixed-$n$ interval, while $I^{\text{seq}}_{n,\delta}$ is 20% to 81% narrower than competing Catoni-type confidence sequences (and 9% to 18% narrower than the old $\mathrm{KL}_{\inf}$ sequence).
  • Trade-offs in finite variance & compute: On one finite-variance test ($1+\sigma t_4$ with $p=2$), Catoni's interval is 25% narrower because its threshold constant ($\log(2/\delta) \approx 3.69$) beats the new 2D dual threshold ($b_{0.05} \approx 7.69$) when true variance is close to the cap $B$. Computationally, solving the 2D convex optimization takes ~6–19 ms per interval vs. ~0.3–1.4 ms for Catoni.

Limitations and Future Work

  • Compute overhead and moderate-$\delta$ constants: Computing each endpoint requires solving a 2D convex program, making it slower than closed-form estimators. Additionally, the $2\log\log(1/\delta)$ second-order term in the threshold makes it slightly conservative at moderate $\delta$ when variance is near the worst-case bound; whether that factor of 2 can be removed is an open question.
  • Unaddressed constraints and dependencies: Extending the dual framework to centered moment bounds (which are non-convex) and dependent martingale-difference sequences remains open.
  • Theoretical bandit guarantees: While the $O(\log \log n)$ threshold can be dropped directly into heavy-tailed bandit algorithms like $\mathrm{KL}_{\inf}$-UCB, a formal regret and sample-complexity proof using the new threshold is left for future work.

Summary updated

BibTeX
@misc{rana2026minimal,
  author = {Abhik Rana and Sarvesh Ravichandran Iyer and Vikas Deep and Sandeep Juneja},
  title = {{Minimal Confidence Interval for heavy-tailed means}},
  year = {2026},
  eprint = {2611.36050},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.36050},
}
Figure