Thompson Sampling-like Algorithms for Stochastic Rising Bandits

Marco Fiandri, Alberto Maria Metelli, Francesco Trovò · DOI

Abstract

Stochastic Rising Rested Bandits (SRRBs) model scenarios where pulling an arm improves its future rewards, such as in online machine learning model training. While UCB-based approaches exist, Thompson Sampling (TS) has lacked theoretical guarantees in this non-stationary setting. This paper introduces two TS variants, ET-Beta-SWTS and γ-ET-SWGTS, incorporating forced exploration and sliding windows. We provide the first frequentist regret bounds for TS in SRRBs and demonstrate their empirical superiority over state-of-the-art UCB methods.

The Stochastic Rising Rested Bandit Problem

Traditional Multi-Armed Bandit (MAB) models assume static reward distributions. However, many real-world applications involve environments where the act of selecting an option improves its future performance. This is formalized as the Stochastic Rising Rested Bandit (SRRB). In this setting, an arm is "rested" (its state only changes when pulled) and "rising" (its expected reward is non-decreasing over time).

A primary motivation for this work is online model selection. When a specific neural network architecture is selected (an arm), it undergoes further training, which typically increases its accuracy (reward). While Upper Confidence Bound (UCB) algorithms have been adapted for SRRBs, Thompson Sampling—frequently preferred in practice for its empirical performance—has lacked a rigorous theoretical foundation for rising rewards until now.

Proposed Algorithms: ET-Beta-SWTS and γ-ET-SWGTS

To address the challenges of rising rewards, the authors propose two modifications to the standard Thompson Sampling framework: Explore-Then (ET) and Sliding Window (SW).

  1. Explore-Then (ET): A forced exploration phase pulls every arm a fixed number of times ($\Gamma$) initially. This prevents the algorithm from prematurely discarding an arm that may have a slow initial learning curve but high long-term potential.
  2. Sliding Window (SW): Posterior updates are restricted to the most recent $\tau$ observations. This allows the algorithm to "forget" the lower rewards obtained during an arm's early training stages, reducing bias in the posterior mean.
Algorithm definitions for ET-Beta-SWTS and γ-ET-SWGTS.

Theoretical Innovations

Proving regret bounds for TS in dynamic environments is difficult because rewards are not identically distributed. The authors introduce two key theoretical tools:

  • Complexity Index ($\sigma_\mu(T)$): This index quantifies the difficulty of an SRRB instance. It represents the number of pulls required for the optimal arm's average reward to definitively exceed those of suboptimal arms. The authors prove a lower bound showing that regret's dependence on this index is fundamental.
  • Poisson-Binomial Dominance: The sum of successes for a rising arm follows a Poisson-Binomial distribution. The authors utilize a novel technical lemma involving discrete log-convexity to prove that the "worst-case" underestimation of the optimal arm occurs when rewards are identically distributed (Binomial). This allows them to bridge the gap to standard frequentist regret analysis.

Empirical Performance

The proposed algorithms were evaluated against R-ed-UCB, the previous state-of-the-art for SRRBs, across two main benchmarks:

  • Synthetic Environments: A 15-arm setup with various exponential and polynomial growth curves.
  • IMDB Dataset: A real-world online model selection task where arms represent different classifiers (e.g., Logistic Regression, Neural Networks) being trained incrementally.

In both cases, the TS variants—particularly those utilizing sliding windows—achieved significantly lower cumulative regret. The sliding window mechanism proved especially robust, acting as a safety net when the forced exploration parameter $\Gamma$ was not perfectly tuned to the environment's complexity.

Conclusion and Future Work

This work provides the first theoretical and empirical validation for Thompson Sampling in the context of rising rewards. While the algorithms show strong performance, they currently rely on hyperparameters ($\Gamma$ and $\tau$) that require prior knowledge of the environment's complexity. Future research will focus on developing adaptive mechanisms to estimate these parameters on the fly, further enhancing the robustness of TS in non-stationary bandit settings.

Summary updated

BibTeX
@inproceedings{fiandri2024thompson,
  author = {Marco Fiandri and Alberto Maria Metelli and Francesco Trovò},
  title = {{Thompson Sampling-like Algorithms for Stochastic Rising Bandits}},
  booktitle = {EWRL17},
  year = {2024},
  url = {https://openreview.net/forum?id=jaFhipqjxR},
}
Figure