Gambling-Based Confidence Sequences for Bounded Random Vectors

Jongha Jon Ryu, Gregory W. Wornell

Introduction

In classical statistical inference, a confidence interval is valid only for a fixed, pre-specified sample size. If a researcher "peeks" at the data and decides to stop early because the results appear significant, they risk the "p-hacking" problem, which significantly inflates false positive rates. Confidence Sequences (CSs) address this by providing "anytime-valid" guarantees: the true parameter is guaranteed to remain within the sequence of sets at every time step with high probability, regardless of the stopping rule used.

While CSs for scalar values (such as a single coin flip) are well-established, many real-world applications involve multivariate data. For instance, in an election audit, researchers track a categorical distribution across multiple candidates rather than a single binary outcome. Existing multivariate methods often rely on loose approximations, such as Bonferroni corrections, or are restricted to specific data types. This paper introduces a general, mathematically elegant framework for constructing tight CSs for any bounded random vector by leveraging information-theoretic tools and a gambling metaphor.

The Gambling Framework for Multivariate Data

The authors build upon the deep connection between martingales and gambling. In this framework, a gambler bets on the outcome of a stochastic process. If the game is "fair"—meaning the gambler is betting against the true mean—their wealth process is a martingale and should not grow indefinitely. By inverting this logic, one can define a confidence set as the collection of all candidate means that prevent a gambler from becoming excessively wealthy. If a candidate mean allows a gambler to accumulate wealth beyond a certain threshold, that mean is rejected from the confidence set.

Core Innovations

  1. Multivariate Mapping: The framework maps vector observations to "odds vectors" in a horse race. To manage the uncertainty of which betting strategy is optimal, the authors employ mixture portfolios.
  2. Krichevsky–Trofimov (KT) CS: For categorical data, the authors utilize the KT estimator—a Dirichlet mixture with a Jeffreys prior—to create a universal betting strategy that adapts to the data.
  3. Universal Portfolio (UP) CS: For data existing as probability vectors, the authors adapt Thomas Cover’s Universal Portfolio algorithm. This approach ensures that if any constant betting strategy could have made money against a false mean, the mixture strategy will eventually identify and exclude it.
  4. The Reduction Trick: A significant theoretical contribution is the proof that any general bounded vector (e.g., values within $[0, 1]^d$) can be mathematically reduced to a probability vector, allowing the UP framework to be applied to a wide range of multivariate problems.

Experimental Validation

The paper validates the theoretical tightness of these new sequences through several synthetic simulations:

  • i.i.d. Categorical Data: Testing the KT CS on distributions with dimensions $K \in \{3, 4, 5\}$.
  • i.i.d. Dirichlet Observations: Evaluating the UP CS on continuous probability vectors.
  • Finite Population Sampling: A simulated "urn" of 1,000 balls (representing different categories) to mimic "Sampling Without Replacement" (WoR), a standard scenario in election auditing.

Key Results and Insights

The gambling-based approach demonstrates several advantages over traditional methods:

  • Efficiency in Audits: In simulated election audits using sampling without replacement, the KT CS reached a "stopping time" (the point where a winner is statistically certain) approximately 26% faster than the previous state-of-the-art "Posterior-Prior Ratio" (PPR) martingale.
  • Small-Sample Performance: Unlike asymptotic methods like Sanov’s theorem, these gambling-based sets are non-vacuous even after a single observation and remain significantly tighter in the small-sample regime.
  • Dimensionality: The performance gap between this approach and traditional baselines like Bonferroni corrections grows as the dimensionality ($K$) of the data increases. The multivariate gambling approach effectively captures dependencies between coordinates that simpler methods overlook.
  • Convexity: The resulting confidence sets are naturally convex, which simplifies their application in downstream optimization and decision-making tasks.

Limitations and Future Directions

Despite its theoretical elegance, the Universal Portfolio (UP) approach faces computational challenges. Its complexity is $O(T^{K-1})$, where $T$ is time and $K$ is the dimension, making it computationally prohibitive for very high-dimensional data or extremely long sequences.

Future research directions include integrating efficient approximation algorithms, such as Markov Chain Monte Carlo (MCMC) or Newton-step portfolios, to make these CSs practical for high-dimensional machine learning. Additionally, while the current framework requires bounded vectors, extending these principles to sub-Gaussian or heavy-tailed distributions remains an important open challenge.

Summary updated

BibTeX
@inproceedings{ryu2024gambling,
  author = {Jongha Jon Ryu and Gregory W. Wornell},
  title = {{Gambling-Based Confidence Sequences for Bounded Random Vectors}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=mu7Er7f9NQ},
}
Figure