Thompson Sampling for m-top Exploration

Pieter Libin, Timothy Verstraeten, Diederik M. Roijers, Wenjia Wang, Kristof Theys, Ann NowéBNAIC/BENELEARN 2019

Introduction

In the field of multi-armed bandits, the problem of "best-arm identification" typically falls into two categories: fixed confidence, where the goal is to minimize the samples needed to reach a specific certainty level, or fixed budget, where the goal is to maximize accuracy within a set number of trials. However, many real-world applications—such as crowdsourcing ratings for creative content or simulating policy outcomes during an evolving epidemic—require an anytime solution. In these scenarios, an algorithm must be able to provide its best estimate of the top $m$ items at any moment, with the accuracy of that estimate improving continuously as more data is collected.

While frequentist approaches like the AT-LUCB (AnyTime Lower and Upper Confidence Bound) algorithm have been developed for this purpose, Bayesian methods have remained under-explored in the anytime $m$-top context. This paper introduces Boundary Focused Thompson Sampling (BFTS), the first Bayesian algorithm specifically designed for anytime $m$-top exploration.

Methodology: Boundary Focused Thompson Sampling

Standard Thompson Sampling is traditionally used to maximize cumulative rewards (exploitation). To adapt it for pure exploration, the authors propose a focus on the decision boundary.

In an $m$-top identification problem, the critical task is not to perfectly estimate the value of every arm, but to distinguish the $m$-th best arm from the $(m+1)$-th arm. If an algorithm can confidently place an arm on the correct side of this "frontier," it has succeeded. BFTS is a non-parametric Bayesian algorithm that maintains posterior distributions for all arms but concentrates its sampling efforts on the arms most likely to fluctuate across that $m / m+1$ boundary. By focusing resources on these ambiguous cases rather than arms that are clearly winners or losers, BFTS achieves significantly higher sample efficiency.

Experimental Evaluation

The researchers evaluated BFTS against the state-of-the-art AT-LUCB across three distinct environments:

  1. Artificial Gaussian Environment: A benchmark using fixed-variance Gaussian reward distributions to establish baseline performance.
  2. New Yorker Cartoon Caption Contest: A real-world dataset representing a crowdsourcing task. The goal is to identify the funniest captions based on noisy user ratings.
  3. The Organic Bandit: A new benchmark introduced in this paper based on agricultural data (maximizing beneficial insect prevalence). This environment uses Poisson reward distributions, where variance scales with the mean. This creates a "hard" problem because the highest-performing arms also exhibit the highest noise, making them difficult to rank accurately.

Key Insights and Results

Superior Performance in High-Variance Settings

BFTS consistently outperformed AT-LUCB across all tested environments. The most significant advantage was observed in the Organic Bandit (Poisson) setting. In this high-variance scenario, frequentist confidence bounds often become sluggish or overly conservative. BFTS, by contrast, handled the scaling noise of the Poisson distribution much more gracefully, showing a "vast improvement" in identification accuracy over time.

The Power of the Boundary

The success of BFTS validates the idea that identifying the top $m$ set does not require knowing the exact value of every arm. By prioritizing the frontier between "winners" and "losers," the algorithm saves computational and sampling resources that would otherwise be wasted on refining estimates for arms that are already clearly categorized.

Practical Bayesian Advantages

As a Bayesian method, BFTS offers the flexibility to incorporate prior knowledge—such as historical data or expert intuition—into the exploration process. This is particularly valuable in societal decision-making contexts where some information about the options is often available before sampling begins.

Limitations and Future Work

While the empirical results for BFTS are robust, the authors note several areas for further development:

  • Theoretical Framework: As an extended abstract, this work focuses on empirical success; future research is needed to establish the rigorous theoretical convergence bounds typical of UCB-style algorithms.
  • Computational Scaling: Thompson Sampling requires drawing samples from posterior distributions. In environments with thousands of arms, the computational cost per step may be higher than simpler frequentist bounds, necessitating further optimization.
  • Informative Priors: While the algorithm supports them, this study focused primarily on non-parametric performance. Exploring how specific, informative priors accelerate discovery in the $m$-top setting remains an open research path.

Summary updated

BibTeX
@inproceedings{libin2019thompson,
  author = {Pieter Libin and Timothy Verstraeten and Diederik M. Roijers and Wenjia Wang and Kristof Theys and Ann Nowé},
  title = {{Thompson Sampling for m-top Exploration}},
  booktitle = {BNAIC/BENELEARN},
  year = {2019},
  url = {https://openreview.net/forum?id=pkbzu_I6Z2V},
}
Figure