A General Theory of the Stochastic Linear Bandit and Its Applications

Nima Hamidi, Mohsen Bayati · DOI

TL;DR

This paper introduces Randomized OFUL (ROFUL), a unifying theoretical framework that bridges the gap between the two most popular bandit strategies: optimism-based (UCB/OFUL) and posterior sampling (Thompson Sampling). Using this framework, the authors debut Sieved Greedy (SG)—a new, rate-optimal algorithm that curbs the "overexploration" problem common in standard methods—and provide the first polylogarithmic regret bounds for OFUL and Thompson Sampling under specific probabilistic conditions.

What Problem Does This Paper Address?

In the world of online experimentation (like clinical trials or ad placement), the Multi-Armed Bandit (MAB) problem is the gold standard for balancing "exploration" (trying new things) and "exploitation" (sticking with what works). Specifically, this paper looks at Stochastic Linear Bandits, where the reward for an action is a linear function of its features.

Despite years of research, the field remained fragmented. Standard algorithms like OFUL (Optimism-in-the-Face-of-Uncertainty Linear Bandit) are theoretically sound but often "overexplore" in practice, wasting resources on actions that are clearly suboptimal. Conversely, "greedy" algorithms are fast but can fail catastrophically if they get stuck on a bad path. Furthermore, the theoretical analysis for these different styles of algorithms lived in separate silos. This paper seeks to unify these theories and create a more efficient, "data-driven" exploration strategy.

Methods

The authors introduce three major innovations:

  1. The ROFUL Framework: They propose a general family of algorithms called Randomized OFUL. By plugging different "worth functions" into this framework, they show that both the classic OFUL and Thompson Sampling (TS) emerge as special cases. This allows them to analyze both types of algorithms using a single set of tools.
  2. Optimism in Expectation: Traditional UCB-style algorithms require a "strict optimism" where the algorithm always assumes the best-case scenario for an action's reward. The authors relax this to "optimism in expectation," proving that an algorithm only needs to be optimistic on average to remain theoretically optimal.
  3. Sieved Greedy (SG) Algorithm: Leveraging "optimism in expectation," they created SG. At each step, the algorithm "sieves" (discards) actions that have very low uncertainty and low predicted rewards. It then chooses the best remaining action greedily. This prevents the algorithm from wasting time on high-uncertainty actions that are almost certainly bad.

Datasets

The paper evaluates the algorithms using controlled numerical simulations rather than static datasets, which is standard for testing interactive bandit policies:

  • Scenario I (Contextual Bandit): A 10-armed, 12-dimensional contextual bandit problem embedded in a 120-dimensional space. This simulates a scenario where features are shared across actions.
  • Scenario II (General Linear Bandit): Actions are chosen uniformly at random on a sphere in $\mathbb{R}^{120}$. This represents a more complex, high-dimensional decision space.

Key Insights and Ideas

  • The Unification "Aha!": The realization that Thompson Sampling is essentially a randomized version of the optimism principle allows for a much cleaner theoretical landscape.
  • Pruning is Powerful: The "Sieving" step is the key to practical performance. By using a threshold ($\alpha$) to prune the action set, SG inherits the safety of OFUL (it won't miss the optimal arm) but gains the speed of a greedy policy.
  • Breaking the $\sqrt{T}$ Barrier: Most bandit algorithms have regret that grows with the square root of time ($\sqrt{T}$). The authors show that if the problem has a "probabilistic gap" (a margin condition), standard algorithms like OFUL and TS actually achieve much better polylogarithmic regret ($O(\log^2 T)$), a result previously unproven for these specific algorithms.

Key Results

  • Theoretical Optimality: The authors prove that Sieved Greedy is "rate optimal," meaning its worst-case regret matches the best possible theoretical lower bounds.
  • Empirical Superiority: In simulations, Sieved Greedy outperformed both OFUL and Thompson Sampling.
    • In Scenario II, SG and Greedy converged much faster than standard methods.
  • In Scenario I, where pure Greedy failed significantly, SG matched the high performance of Thompson Sampling, proving it is robust where simple greedy methods are not.
  • Sharper Bounds: They improved regret bounds for $k$-armed contextual bandits by a factor of $\sqrt{k}$, providing a more precise understanding of how the number of arms impacts performance.

Limitations and Future Work

  • Parameter Sensitivity: Sieved Greedy introduces a "sieving rate" parameter ($\alpha$). While simulations showed the algorithm is relatively robust to this choice, finding an automated way to tune $\alpha$ in real-time remains an open question.
  • Margin Conditions: The polylogarithmic regret results rely on the "margin condition" (the probability of having a very small gap between the best and second-best action). While common in literature, this condition may not hold in all real-world environments.
  • High-Dimensional Scaling: While the paper touches on high dimensions, further research is needed to see how these "optimism in expectation" ideas scale to deep learning-based reward models (Neural Bandits).

Summary updated

Abstract

Recent growing adoption of experimentation in practice has led to a surge of attention to multiarmed bandits as a technique to reduce the opportunity cost of online experiments. In this setting, a decision-maker sequentially chooses among a set of given actions, observes their noisy rewards, and aims to maximize her cumulative expected reward (or minimize regret) over a horizon of length $T$. In this paper, we introduce a general analysis framework and a family of algorithms for the stochastic linear bandit problem that includes well-known algorithms such as the optimism-in-the-face-of-uncertainty-linear-bandit (OFUL) and Thompson sampling (TS) as special cases. Our analysis technique bridges several streams of prior literature and yields a number of new results. First, our new notion of optimism in expectation gives rise to a new algorithm, called sieved greedy (SG) that reduces the overexploration problem in OFUL. SG utilizes the data to discard actions with relatively low uncertainty and then choosing one among the remaining actions greedily. In addition to proving that SG is theoretically rate optimal, our empirical simulations show that SG outperforms existing benchmarks such as greedy, OFUL, and TS. The second application of our general framework is (to the best of our knowledge) the first polylogarithmic (in $T$) regret bounds for OFUL and TS, under similar conditions as the ones by Goldenshluger and Zeevi (2013). Finally, we obtain sharper regret bounds for the $k$-armed contextual MABs by a factor of $\sqrt{k}$.
BibTeX
@misc{hamidi2020general,
  author = {Nima Hamidi and Mohsen Bayati},
  title = {{A General Theory of the Stochastic Linear Bandit and Its Applications}},
  year = {2020},
  eprint = {2002.05152},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2002.05152},
}
Figure