On Confidence Sequences for Bounded Random Processes via Universal Gambling Strategies

Jongha Jon Ryu, Alankrita BhattIEEE Trans. Information Theory 2022 · DOI

TL;DR

This paper introduces a computationally efficient way to build confidence sequences—confidence intervals that remain valid even if you "peek" at the data and stop early. By framing the problem as a "two-horse race" in a gambling setting, the authors develop a new algorithm (LBUP) that matches the state-of-the-art tightness of Cover’s Universal Portfolio but slashes per-round time complexity from $O(t)$ to $O(1)$.

What Problem Does This Paper Address?

In classical statistics, a 95% confidence interval is only guaranteed to be valid for a fixed, pre-determined sample size. If you monitor the data as it comes in and stop the experiment the moment the interval looks favorable (a common pitfall known as "p-hacking" or the "peeking problem"), the true error rate can be much higher than 5%.

Confidence sequences (CS) solve this by providing a sequence of intervals $(C_t)_{t=1}^\infty$ that hold uniformly over time. That is, the probability that the true parameter $\mu$ ever leaves the interval at any time step is bounded by $\delta$.

While recent research has shown that "gambling" strategies (where you build wealth by betting against a candidate mean) produce very tight confidence sequences, the most effective method—based on Thomas Cover’s Universal Portfolio (UP)—is computationally expensive. As the sequence length $T$ grows, the total time complexity scales quadratically ($O(T^2)$), making it impractical for long-running processes or real-time applications.

Methods

The authors build upon the "betting" framework: if you can construct a betting strategy that makes a lot of money whenever your hypothesized mean $m$ is wrong, you can reject that $m$ with high confidence.

  1. The Two-Horse Race Perspective: The authors simplify the gambling formalism by viewing the estimation of a bounded mean as a race between two "horses" (or stocks) with odds determined by the candidate mean $m$.
  2. Universal Portfolio (UP): They revisit Cover’s UP, which bets using a mixture of all possible constant betting strategies. While UP is "universal" (it performs almost as well as the best bettor in hindsight), calculating its wealth requires a summation that grows with time $t$.
  3. Lower Bound Universal Portfolio (LBUP): This is the paper's primary contribution. Instead of computing the full UP wealth, the authors use a mixture of lower bounds. They derive a new, higher-order polynomial lower bound for the logarithmic wealth function.
  4. Constant Complexity: By using empirical moments of the data, the LBUP wealth can be updated in $O(1)$ time per step. This turns a quadratic total complexity into a linear one ($O(T)$).
  5. Hybrid Approach: To get the "best of both worlds," the authors suggest a hybrid strategy: run the exact UP for a small "burn-in" period to ensure tightness, then switch to the efficient LBUP for the remainder of the process.
A summary of different gambling settings, showing how coin tosses, horse races, and stock investments relate to the multiplicative gain in wealth.

Datasets

The authors evaluated their algorithms using synthetic datasets to precisely control the underlying distributions:

  • Bernoulli processes: $\{0, 1\}$-valued sequences (e.g., Bern(0.25), Bern(0.5)).
  • Beta processes: Continuous $[0, 1]$-valued sequences (e.g., Beta(1, 3), Beta(10, 30)). These distributions were chosen to test the algorithms across different variances while maintaining a common mean.

Key Insights and Ideas

  • The Jensen Gap: For continuous-valued processes, simply treating them as discrete "horse races" leads to loose bounds due to Jensen's inequality. The authors' direct mixture approach avoids this "Jensen gap," resulting in significantly tighter intervals.
  • Higher-Order Matters: The authors generalized a known logarithmic lower bound (from Fan et al., 2015) to higher orders ($n > 1$). They found that using $n=3$ (third-order moments) provides a massive improvement in tightness over $n=1$, nearly reaching the performance of the computationally expensive UP.
  • Conjugate Priors for Complexity: The choice of a specific "exponential-family" prior for the mixture was a key mathematical move. It allowed them to use numerical integration to solve the normalization constant, keeping the per-step update cost constant regardless of how much data has been seen.

Key Results

  • Computational Efficiency: The LBUP and HybridUP methods demonstrated $O(t^{0.8})$ to $O(t^{1.0})$ empirical time complexity, whereas the standard UP and previous state-of-the-art (PRECiSE-CO96) scaled at $O(t^{1.5})$.
  • Tightness: In simulations (e.g., Beta(10, 30) processes), LBUP with $n=3$ produced confidence sequences that were nearly indistinguishable from the exact UP, especially after a short burn-in period.
  • Superiority over Baselines: The LBUP approach consistently outperformed previous constant-complexity methods (like PRECiSE-A-CO96) in terms of interval width, particularly in the small-to-medium sample regime.

Limitations and Future Work

  • Numerical Integration: While the per-step complexity is $O(1)$ in terms of data history, the algorithm requires numerical integration of an exponential function. For very high orders of $n$, this can become numerically unstable or slow. The authors suggest that specialized numerical methods could further optimize this.
  • High-Dimensionality: The current work focuses on scalar random processes (estimating a single mean). Extending this "two-horse race" logic to high-dimensional vectors is an open challenge.
  • Prior Selection: The choice of hyperparameters for the LBUP prior is currently somewhat heuristic (e.g., all-zero). A more principled way to choose these based on expected data properties could yield even better results.

Summary updated

BibTeX
@article{ryu2022confidence,
  author = {Jongha Jon Ryu and Alankrita Bhatt},
  title = {{On Confidence Sequences for Bounded Random Processes via Universal Gambling Strategies}},
  journal = {IEEE Transactions on Information Theory},
  year = {2022},
  doi = {10.1109/tit.2024.3448461},
}
Figure