Variance-adaptive confidence sequences by betting

Ian Waudby-Smith, Aaditya Ramdas

Abstract

This paper derives confidence intervals (CI) and time-uniform confidence sequences (CS) for an unknown mean based on bounded observations. Our methods are based on a new general approach for deriving concentration bounds, that can be seen as a generalization (and improvement) of the classical Chernoff method. At its heart, it is based on deriving a new class of composite nonnegative martingales with initial value one, with strong connections to betting and the method of mixtures. We show how to extend these ideas to sampling without replacement. In all cases considered, the bounds are adaptive to the unknown variance, and empirically outperform competing approaches based on Hoeffding's or empirical Bernstein's inequalities and their recent supermartingale generalizations.

Introduction

Estimating the mean of a distribution is a fundamental task in statistics. However, traditional confidence intervals (CIs) are designed for a fixed sample size $n$ determined before data collection. If a researcher monitors the data and stops early when a result looks promising—a practice known as "p-hacking"—the validity of the CI is compromised.

Ian Waudby-Smith and Aaditya Ramdas address this by introducing confidence sequences (CSs): intervals that remain valid at any point in time, allowing for continuous monitoring and optional stopping. Their framework leverages the intuitive concept of betting to derive bounds that are tighter and more adaptive than classical methods.

The Betting Framework

The core innovation is reframing mean estimation as a game. To test if the true mean $\mu$ equals a candidate value $m$, a statistician starts with $1 and places bets on subsequent observations $X_t$.

  • If $m$ is the true mean, the game is fair, and the wealth process is a nonnegative martingale with an expected value of $1.
  • If $m$ is incorrect, a strategic bettor can grow their wealth exponentially.

By applying Ville’s Inequality, the authors show that if the wealth ever exceeds $1/\alpha$, the hypothesis $\mu = m$ can be rejected at significance level $\alpha$. The $(1-\alpha)$ confidence set is the collection of all $m$ for which the betting wealth has not crossed this threshold.

Key Algorithmic Innovations

  1. Predictable Plug-ins: Instead of using complex "method of mixtures" integrals, the authors use past data to "plug in" optimal bets for future rounds. This results in closed-form bounds that are computationally efficient.
  2. Hedged Capital Process: To ensure the confidence set is always a single, convex interval, the authors developed a "hedged" strategy that simultaneously bets on the mean being both higher and lower than $m$.
  3. Sampling Without Replacement: The framework is extended to finite populations, adjusting the "fairness" of the game as the pool of observations is depleted.

Empirical Performance

The authors benchmarked their methods against classical bounds like Hoeffding’s and empirical Bernstein inequalities using various distributions, including Bernoulli and Beta.

Comparison of time-uniform confidence sequences and fixed-time confidence intervals for a Beta(10, 30) distribution.

As shown in the figure above, the "Hedged" betting sequences (solid green lines) are significantly narrower than competing approaches. Key results include:

  • Variance Adaptivity: Unlike Hoeffding's inequality, which assumes worst-case variance, the betting approach adapts to the actual variance of the data, providing much tighter bounds for low-variance distributions.
  • Computational Speed: The "Predictable Plug-in" method is over 500 times faster than previous mixture-based methods that required numerical root-finding.
  • Optimal Convergence: The sequences converge at the optimal rates defined by the law of the iterated logarithm.

Conclusion and Future Work

By moving from supermartingales to test martingales, the authors remove mathematical "looseness" inherent in classical bounds. While the current work focuses on scalar means, the betting framework offers a promising path for high-dimensional data and other parameters like quantiles. The "hedged" approach ensures practical utility by maintaining convex confidence sets, bridging the gap between game-theoretic probability and frequentist inference.

Summary updated

BibTeX
@article{waudbysmith2020variance,
  author = {Ian Waudby-Smith and Aaditya Ramdas},
  title = {{Variance-adaptive confidence sequences by betting}},
  journal = {Journal of the Royal Statistical Society Series B (Statistical Methodology)},
  year = {2020},
}
Figure