Abstract: We study sequential mean estimation in $\mathbb{R}^d$. In particular, we derive time-uniform confidence spheres—confidence sphere sequences (CSSs)—which contain the mean of random vectors with high probability simultaneously across all sample sizes. Our results include a dimension-free CSS for log-concave random vectors, a dimension-free CSS for sub-Gaussian random vectors, and CSSs for sub-$\psi$ random vectors (which includes sub-gamma, and sub-exponential distributions). Many of our results are optimal. For sub-Gaussian distributions we also provide a CSS which tracks a time-varying mean, generalizing Robbins' mixture approach to the multivariate setting. Finally, we provide several CSSs for heavy-tailed random vectors (two moments only). Our bounds hold under a martingale assumption on the mean and do not require that the observations be iid. Our work is based on PAC-Bayesian theory and inspired by an approach of Catoni and Giulini.
The Challenge of Sequential Estimation
In classical statistics, a confidence interval (CI) is typically designed for a fixed sample size $n$ determined before an experiment begins. However, in modern applications like A/B testing, clinical trials, or sensor monitoring, data arrives in a continuous stream. If a researcher "peeks" at the data and stops early because the result looks significant, the statistical guarantees of the fixed-time CI vanish—a phenomenon often called p-hacking.
To address this, we need Confidence Sequences (CSs): sets that contain the true mean with high probability at every time step $t=1, 2, 3, \dots$ simultaneously. While well-studied for scalar values ($d=1$), extending this to high-dimensional vectors ($d > 1$) is challenging. Existing methods often scale poorly with the dimension $d$ or require strict iid assumptions. This work provides "dimension-free" bounds that depend on the intrinsic structure of the data (like the trace of the covariance matrix) rather than the ambient dimension of the space.
Methodology: PAC-Bayesian Synthesis
Our approach synthesizes two powerful mathematical tools to create "anytime-valid" confidence regions:
- PAC-Bayesian Theory: Traditionally used to bound generalization error in machine learning, we use it here as a variational principle. By placing a "prior" and "posterior" over the space of possible directions in $\mathbb{R}^d$, we can transform a bound that holds for a single direction into a "sphere" that holds for all directions simultaneously.
- Non-negative Supermartingales: To ensure the bounds hold at any time $t$, we construct specific processes that, on average, do not increase over time. This allows the use of Ville’s Inequality, a sequential version of Markov’s Inequality.
A Taxonomy of Confidence Spheres
We derive a wide array of CSSs for different distributional assumptions, ranging from light-tailed sub-Gaussian to heavy-tailed distributions where only the second moment exists. A key feature of these results is "dimension-freedom": for sub-Gaussian and log-concave data, the width of the confidence sphere depends on the trace and operator norm of the covariance matrix, not the dimension $d$. This is crucial for high-dimensional data that actually lies on a lower-dimensional manifold.
Empirical Performance and Optimality
Our derived CSSs for sub-Gaussian distributions shrink at the rate of $\sqrt{\log \log t / t}$, which is the best possible rate allowed by the Law of the Iterated Logarithm (LIL). In simulations, these proposed CSSs consistently outperform "naive" sequential methods, such as applying a union bound to fixed-time intervals, and provide tighter, smoother bounds than the common "doubling trick."
Key Insights
- Beyond iid: The bounds hold under a martingale assumption, meaning the data can be dependent provided the conditional mean remains constant.
- Sequential Catoni-Giulini: We successfully adapt a sophisticated fixed-time estimator for heavy-tailed data into a sequential one, providing a robust alternative to the sample mean in "messy" data environments.
- Practical Implementation: Unlike some PAC-Bayesian bounds that require complex optimization, many of our results are provided in closed-form, making them easy to implement in real-world monitoring systems.
Limitations and Future Work
While the sub-Gaussian bounds are dimension-free, more general sub-$\psi$ bounds (e.g., for sub-gamma data) still show a dependence on $d$. Achieving dimension-free concentration for general sub-$\psi$ processes remains an open problem. Additionally, for heavy-tailed data, current techniques require a bound on the raw second moment rather than the centered variance. Developing a dimension-free "Empirical Bernstein" bound that adapts to observed variance is a promising future direction.
Summary updated