Thompson Sampling for (Combinatorial) Pure Exploration

Siwei Wang, Jun Zhu

Introduction

In the field of Multi-Armed Bandits (MAB), the "pure exploration" task focuses on identifying the optimal arm—or set of arms—as quickly as possible while maintaining a specific success probability ($1-\delta$). While this problem is well-understood for single-arm selection, it becomes significantly more complex in Combinatorial Multi-Armed Bandits (CMAB). In CMAB, an agent pulls "base arms" (such as edges in a graph) to identify the best "super arm" (such as the shortest path). Because the number of potential super arms can grow exponentially with the number of base arms, traditional exploration strategies often struggle with efficiency.

Historically, efficient solutions for CMAB have relied on Upper Confidence Bound (UCB) algorithms. However, to remain computationally feasible, these methods typically sum the individual confidence bounds of all base arms within a set to estimate total uncertainty. This approach is inherently pessimistic; because base arms are independent, their errors often cancel out in practice. Consequently, UCB-based methods suffer from a sample complexity inflated by the "width" (the number of base arms) of the super arm. This paper introduces TS-Explore, the first Thompson Sampling-based algorithm designed to overcome these limitations in combinatorial pure exploration.

The TS-Explore Algorithm

TS-Explore shifts the paradigm from rigid upper bounds to Thompson Sampling (TS), drawing random samples from the posterior distribution of each arm's mean. This approach allows the algorithm to exploit the fact that the sum of independent random samples concentrates more tightly around the true mean of a super arm than the sum of individual UCBs.

Key Technical Innovations

  1. Multiple Sample Sets ($M$): Unlike standard Thompson Sampling used for regret minimization, which typically uses one sample per arm, TS-Explore draws $M$ independent sets of samples at each time step. This "committee" of samples serves two purposes: it determines when to terminate the search (if all sample sets agree on the best arm) and identifies which arm requires further exploration.
  2. Gaussian Sampling: Samples are drawn from a Gaussian distribution centered at the empirical mean, with variance inversely proportional to the number of times a base arm has been observed.
  3. Reward Gap Mechanism: If the sample sets do not agree with the current empirically best super arm, the algorithm calculates a "reward gap." It then identifies the sample set with the largest gap and pulls the least-observed base arm within that set's "exchange set."
  4. Offline Oracle Integration: To maintain computational efficiency despite the exponential number of super arms, TS-Explore assumes access to an offline oracle. This oracle computes the best super arm for any given set of parameters, ensuring the algorithm remains polynomial-time relative to the problem structure.

Theoretical and Experimental Results

Complexity and Optimality

The authors demonstrate that TS-Explore achieves a sample complexity of $O(H_{1,c} \log(1/\delta))$. This is a significant improvement over the popular CLUCB algorithm, which is bounded by $H_{2,c}$. The $H_{1,c}$ bound is "width-lower," meaning it does not suffer the same penalty as the problem size increases. Furthermore, in the classic single-arm MAB setting, TS-Explore is asymptotically optimal, matching known lower bounds as the error probability $\delta$ approaches zero.

Empirical Performance

The algorithm was evaluated using synthetic problem instances (e.g., Problem 5.1), where $2n$ base arms are divided into "good" and "bad" super arms. As the problem size ($n$) increased, the complexity of CLUCB grew linearly, whereas TS-Explore's complexity remained nearly constant. This demonstrates that TS-Explore is uniquely robust to large-scale combinatorial structures where UCB-based methods become prohibitively expensive.

Discussion and Future Work

TS-Explore highlights a critical trade-off between Efficiency and Optimality. While there remains a gap between the algorithm's upper bound ($H_{1,c}$) and the absolute theoretical lower bound ($H_{0,c}$), the authors argue that reaching $H_{0,c}$ typically requires an exponential-time search. TS-Explore provides a practical middle ground: it is significantly more efficient than previous UCB methods while remaining computationally tractable via the offline oracle.

Future research directions include adapting these Thompson Sampling techniques to the "fixed budget" setting—where the agent must find the best arm within a pre-defined number of pulls—and developing more sophisticated oracles that might further bridge the gap to the absolute combinatorial lower bound.

Summary updated

BibTeX
@inproceedings{wang2022thompson,
  author = {Siwei Wang and Jun Zhu},
  title = {{Thompson Sampling for (Combinatorial) Pure Exploration}},
  booktitle = {International Conference on Machine Learning},
  year = {2022},
  url = {https://openreview.net/forum?id=nPBlxjyEkpp},
}
Figure