Thompson Sampling for Real-Valued Combinatorial Pure Exploration of Multi-Armed Bandit

Shintaro Nakamura, Masashi Sugiyama

Overview

In the field of Multi-Armed Bandits (MAB), "Pure Exploration" focuses on identifying the optimal arm or combination of arms as efficiently as possible. While traditional Combinatorial Pure Exploration (CPE) assumes binary actions (e.g., selecting or not selecting an item), many real-world scenarios require real-valued actions. This paper introduces GenTS-Explore, the first algorithm designed for Real-Valued Combinatorial Pure Exploration (R-CPE-MAB) that circumvents the need to enumerate exponentially large action sets.

The Challenge of Real-Valued Actions

Most existing CPE research handles discrete choices, such as finding the shortest path in a graph. However, problems like Optimal Transport or Production Planning involve deciding how much of a resource to allocate. In these cases, the action space is not just combinatorial but real-valued.

Optimal transport problems serve as a primary motivation for real-valued combinatorial actions, where quantities (supply and demand) must be optimized across routes.

Previous algorithms for these problems suffered from a significant scalability flaw: they required the player to list every possible action. Because combinatorial problems often scale exponentially with the number of variables, these methods become computationally infeasible for large-scale tasks. GenTS-Explore addresses this by integrating an "offline oracle" to solve the underlying optimization problem without explicit enumeration.

The GenTS-Explore Algorithm

GenTS-Explore generalizes Thompson Sampling to the pure exploration setting. The algorithm operates through a five-step iterative process:

  1. Empirical Estimation: Identify the current empirical best action based on observed average rewards.
  2. Posterior Sampling: Draw multiple random reward vectors from a Gaussian posterior distribution centered on current means.
  3. Oracle Optimization: For each sampled vector, use an external solver (the "offline oracle") to find the optimal action. This allows the algorithm to handle complex constraints without listing all possibilities.
  4. Stopping Criterion: The algorithm terminates when the sampled optimal actions consistently match the empirical best.
  5. Strategic Arm Selection: If the stopping criterion is not met, the algorithm employs a specialized R-CPE-MAB strategy. This strategy prioritizes arms based on how their uncertainty contributes to the "gap" between the best and second-best actions.

Theoretical Innovation: The G-Gap

A key contribution of this work is the introduction of the G-gap ($\Delta_{(s)}$) hardness measure. Standard gap measures in MAB only consider the difference in expected rewards. However, in real-valued settings, a small estimation error in a reward can be significantly amplified if the associated action involves a large magnitude. The G-gap accounts for these magnitudes, providing a more accurate measure of problem difficulty and enabling the authors to prove that GenTS-Explore is information-theoretically sample-optimal.

Empirical Performance

The authors evaluated GenTS-Explore against state-of-the-art baselines like RAGE and Peace using simulated environments, including the Knapsack and Production Planning problems.

A comparison of sample complexity shows that GenTS-Explore significantly outperforms existing baselines like RAGE and Peace in efficiency.

As shown in the results, GenTS-Explore demonstrates superior sample efficiency. Baselines like RAGE and Peace often require thousands of times more samples or become entirely unusable as problem sizes increase due to their reliance on action enumeration. Furthermore, the specialized arm selection strategy in GenTS-Explore was found to be 2 to 3 times more efficient than naive sampling approaches.

Conclusion and Future Directions

GenTS-Explore represents a significant step forward in combinatorial bandits by breaking the enumeration barrier for real-valued actions. While the algorithm currently assumes the existence of an efficient offline oracle and a finite action set, future work may extend these principles to truly continuous action spaces and adapt to unknown noise levels in reward distributions.

Summary updated

BibTeX
@inproceedings{nakamura2024thompson,
  author = {Shintaro Nakamura and Masashi Sugiyama},
  title = {{Thompson Sampling for Real-Valued Combinatorial Pure Exploration of Multi-Armed Bandit}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i13.29355},
}
Figure