A Thompson Sampling Algorithm for Cascading Bandits

Wang Chi Cheung, Vincent Y. F. Tan, Zixin Zhong

Abstract

Thompson Sampling (TS) is a popular heuristic for multi-armed bandit problems, often outperforming Upper Confidence Bound (UCB) methods in practice. However, providing theoretical regret guarantees for TS in complex combinatorial settings like cascading bandits has remained a challenge. This paper introduces TS-CASCADE, the first Thompson Sampling algorithm for cascading bandits with a proven theoretical regret bound. By employing univariate Gaussian sampling and incorporating empirical variance, TS-CASCADE achieves state-of-the-art performance, matching UCB-based theoretical bounds while delivering significant improvements in computational efficiency and empirical regret.

Introduction

In modern recommender systems, such as those used by Netflix or Expedia, users typically interact with lists of items in a cascading fashion. A user scans a list from top to bottom, clicks on the first attractive item, and then terminates the session. This behavior presents a "partial feedback" challenge: if a user clicks the $i$-th item, the system learns that the first $i-1$ items were unattractive and the $i$-th was attractive, but it receives no information about items beyond position $i$.

While UCB-based algorithms have established theoretical foundations for this problem, Thompson Sampling—which is often more computationally efficient—lacked a rigorous proof of effectiveness in this specific setting. TS-CASCADE fills this gap, providing both theoretical guarantees and practical advantages.

Methodology: The TS-CASCADE Algorithm

TS-CASCADE adapts the Thompson Sampling framework with two key innovations designed for the cascading bandit setting:

  1. Univariate Gaussian Sampling: Instead of sampling $L$ independent variables for each item, the algorithm samples a single one-dimensional standard Gaussian variable $Z_t$ at each time step. This $Z_t$ is used to construct Thompson samples for all items simultaneously. This reduction from an $L$-dimensional search space to a one-dimensional line "shaves off" a factor of $\sqrt{K}$ in the theoretical regret analysis.
  2. Empirical Variance Incorporation: Inspired by "UCB-Tuned" strategies, the algorithm integrates the empirical variance of each item's click probability into its Bayesian updates. This allows for more aggressive exploration when click probabilities are near 0 or 1, where standard estimates are often less precise.

The algorithm maintains a running mean $\hat{\mu}$ and observation count $N$ for each item, updating them only when an item is observed (i.e., it was at or before the user's click position).

Theoretical and Empirical Results

The authors prove that TS-CASCADE achieves an expected regret bound of $\tilde{O}(\sqrt{KLT})$, matching the best known bounds for UCB-based algorithms.

Cumulative regret comparison over $10^5$ steps. TS-CASCADE (blue) demonstrates superior performance compared to CascadeKL-UCB (red) and CascadeUCB1 (green).

Empirically, the algorithm was tested across 18 simulation settings with varying ground set sizes ($L$), list sizes ($K$), and click probability gaps ($\Delta$).

Numerical performance and runtime comparison across various parameters. TS-CASCADE consistently achieves the lowest regret and is orders of magnitude faster than CascadeKL-UCB.

As shown in the results, TS-CASCADE consistently achieves lower cumulative regret than CascadeUCB1 and CascadeKL-UCB. Crucially, it offers a massive computational advantage. For a large ground set ($L=256$), TS-CASCADE completed the simulation in approximately 8.35 seconds, whereas the high-performing CascadeKL-UCB required 816.52 seconds—a nearly 100x speedup. This efficiency stems from replacing complex optimization steps required by UCB methods with simple sampling and arithmetic.

Conclusion

TS-CASCADE provides a theoretically grounded and practically superior alternative to UCB algorithms for cascading bandits. Its use of Gaussian distributions not only facilitates efficient computation but also suggests a natural path toward contextual cascading bandits, where item probabilities depend on user features. Future work remains to establish a formal problem-independent lower bound for this setting and to explore non-Gaussian sampling distributions like Beta-Bernoulli.

Summary updated

BibTeX
@inproceedings{cheung2019thompson,
  author = {Wang Chi Cheung and Vincent Y. F. Tan and Zixin Zhong},
  title = {{A Thompson Sampling Algorithm for Cascading Bandits}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
}
Figure