Time-Uniform Confidence Spheres for Means of Random Vectors

Ben Chugg, Hongjian Wang, Aaditya Ramdas

TL;DR

This paper introduces Confidence Sphere Sequences (CSSs)—time-uniform confidence regions for estimating the mean of random vectors in high-dimensional spaces ($\mathbb{R}^d$). By leveraging PAC-Bayesian theory, the authors derive dimension-free and anytime-valid bounds that hold simultaneously across all sample sizes, even when data are dependent (martingale settings) or heavy-tailed.

What Problem Does This Paper Address?

In classical statistics, a confidence interval holds only for a fixed, pre-specified sample size $n$. If a data analyst continuously monitors incoming data and stops the experiment early based on the results, the statistical guarantees evaporate—a phenomenon often called p-hacking. To fix this, researchers use confidence sequences, which provide valid error bounds uniformly across all time steps $t \ge 1$.

While well-understood for scalar values, extending these anytime-valid bounds to high-dimensional random vectors ($\mathbb{R}^d$) introduces severe challenges. Standard approaches often suffer from a "curse of dimensionality," where the width of the confidence region scales poorly with the ambient dimension $d$. Furthermore, existing multivariate sequential bounds typically assume light-tailed (e.g., sub-Gaussian) and independent and identically distributed (i.i.d.) data, leaving a gap for real-world scenarios involving heavy tails or streaming, dependent data.

Methods

The authors tackle this problem using a novel synthesis of PAC-Bayesian analysis and time-uniform martingale theory.

  1. Variational Principle: Inspired by the fixed-time work of Catoni and Giulini, the authors use a PAC-Bayesian variational inequality. Instead of bounding the estimation error in a single direction, they place a prior and posterior distribution over the parameter space (such as the unit sphere $S^{d-1}$) to achieve uniformity over all possible directions simultaneously.
  2. Time-Uniform PAC-Bayes: They integrate this with recent techniques that make PAC-Bayesian bounds valid across all time steps without requiring a union bound over time.
  3. Stitching Method: To achieve the optimal Law of the Iterated Logarithm (LIL) rate—where the confidence sphere's radius shrinks at a rate of $O(\sqrt{\log \log t / t})$—the authors employ a geometric "stitching" technique, dividing time into geometrically spaced epochs and optimizing parameters within each epoch.

Datasets

The paper is primarily theoretical and does not introduce or evaluate real-world datasets. Instead, the authors validate their theoretical bounds using synthetic simulations (comparing the widths of their CSSs against alternative sequential methods like the "doubling trick" and standard median-of-means estimators).

Key Insights and Ideas

  • Dimension-Free Bounds: For sub-Gaussian and log-concave distributions, the authors derive bounds whose widths depend on the intrinsic geometry of the data (the trace and operator norm of the covariance matrix) rather than the ambient dimension $d$. This is incredibly powerful for high-dimensional data that actually lies on a low-dimensional manifold.
  • Martingale Dependence: The bounds do not require i.i.d. data. They hold under a much weaker martingale assumption (constant conditional mean), making them applicable to adversarial online learning and multi-armed bandit settings.
  • Taming Heavy Tails Sequentially: For data with only two finite moments, the authors design a sequential version of the Catoni-Giulini thresholded estimator. This shrinks outliers toward the origin dynamically, yielding tighter time-uniform bounds than standard geometric median-of-means estimators due to significantly smaller constants.

A comprehensive roadmap of these results is detailed in the paper's summary table:

Roadmap of the paper's theoretical results

Key Results

The paper provides a suite of closed-form, easily computable bounds across different distributional classes. A direct comparison with existing literature highlights their advantages:

Comparison of the proposed bounds with existing literature
  • Sub-Gaussian & Log-Concave CSS: Achieves optimal LIL rates. For fixed-time optimization, the bound is within a factor of two of the state-of-the-art fixed-time Hsu et al. (2012) bound, while gaining anytime-validity and handling martingale dependence.
  • Time-Varying Means: For sub-Gaussian distributions, the authors generalize Robbins’ classical mixture approach to track a mean that changes over time.
  • Heavy-Tailed Dominance: In simulations, the stitched Catoni-Giulini estimator (Theorem 3.8) uniformly dominates other time-uniform heavy-tailed estimators, outperforming tournament median-of-means methods which suffer from large practical constants.

Limitations and Future Work

  • Dimension Dependence in General Tails: While the sub-Gaussian and log-concave bounds are dimension-free, the bounds for more general sub-$\psi$ distributions (like sub-Poisson or sub-exponential) and the time-varying mean tracking bounds still explicitly depend on the dimension $d$ or $\sqrt{d}$.
  • Raw vs. Centered Moments: For the heavy-tailed setting, the current framework requires a known bound on the raw second moment ($\mathbb{E}[\|Xt\|^2]$) rather than the centered variance, which can be less intuitive in practice.
  • Open Question on Empirical Bernstein Bounds: The authors provide an empirical-Bernstein bound in the appendix, but its width is dimension-dependent. Whether a variational approach can yield a dimension-free empirical Bernstein bound remains an open challenge.

Summary updated

BibTeX
@article{chugg2025time,
  author = {Ben Chugg and Hongjian Wang and Aaditya Ramdas},
  title = {{Time-Uniform Confidence Spheres for Means of Random Vectors}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=2NSb3cJE03},
}
Figure