Quantum Exploration Algorithms for Multi-Armed Bandits

Daochen Wang, Xuchen You, Tongyang Li, Andrew M. Childs

Abstract

Multi-armed bandit (MAB) problems represent a fundamental challenge in balancing exploration and exploitation. This research addresses the "best-arm identification" task in a quantum setting, where an agent can query arms in superposition. The authors present a quantum algorithm that achieves a quadratic speedup over classical counterparts, reducing the query complexity from $\tilde{O}(H)$ to $\tilde{O}(\sqrt{H})$. By proving a matching lower bound, the work establishes the near-optimal quantum complexity for this core reinforcement learning problem.

The Multi-Armed Bandit Challenge

The Multi-Armed Bandit (MAB) problem is a cornerstone of reinforcement learning, modeling the trade-off between exploring new options and exploiting known rewards. In the "best-arm identification" task—specifically the fixed-confidence setting—an agent must identify the arm with the highest expected reward with a success probability of at least $1-\delta$.

Classically, the difficulty of this task is characterized by the parameter $H = \sum_{i=2}^n \Delta_i^{-2}$, where $\Delta_i$ represents the gap between the best arm's reward and the $i$-th arm's reward. Classical algorithms require roughly $\tilde{O}(H)$ queries. While quantum speedups are common in search problems, applying them to MAB is complex because rewards are probabilistic and the "gaps" between arms vary, making some arms significantly harder to distinguish than others.

Algorithmic Architecture

The proposed quantum algorithm assumes a quantum multi-armed bandit oracle, allowing the agent to query arms in superposition. The core contribution is a sophisticated framework that utilizes variable-time quantum techniques to handle the varying difficulty of different arms.

Flowchart of the Quantum Best-Arm Identification algorithm (Algorithm 4), illustrating the interplay between the Shrink procedure and subroutines for estimation and amplification.

As shown in the figure above, the algorithm (Algorithm 4) is built on several key components:

  1. Variable-Time Amplitude Amplification (VTAA) and Estimation (VTAE): Unlike standard Grover search, these techniques allow the algorithm to stop early on "easy" arms, which is critical for achieving the $\sqrt{H}$ complexity.
  2. The Locate Subroutine: This acts as a quantum binary search, using VTAE to count arms with rewards above specific thresholds and narrowing confidence intervals.
  3. The Shrink Procedure: To manage the cost of distinguishing arms with very close rewards, the Shrink method (Algorithm 3) efficiently refines the search space by calling estimation subroutines (Algorithm 2) and final amplification steps (Algorithm 1).

Theoretical Bounds and Optimality

The paper establishes two major theoretical results:

  • Upper Bound: The proposed algorithm finds the best arm with probability $\ge 1-\delta$ using $\tilde{O}(\sqrt{H})$ queries. This represents a quadratic speedup over the classical $\tilde{O}(H)$ requirement.
  • Lower Bound: Using the quantum adversary method, the authors prove a lower bound of $\Omega(\sqrt{H})$, demonstrating that their approach is near-optimal.

Additionally, the authors provide a corollary for the "Probably Approximately Correct" (PAC) setting, where the goal is to find an $\epsilon$-optimal arm. They demonstrate a complexity of $\tilde{O}(\min\{\frac{\sqrt{n}}{\epsilon}, \sqrt{H}\})$.

Future Outlook

While this work provides a theoretical breakthrough, several challenges remain for future research. The current algorithm involves high polylogarithmic factors (roughly $\log^6$), which could be tightened for practical implementation. Furthermore, while this paper focuses on exploration, a significant open question is whether similar quadratic speedups can be achieved for regret minimization, where the agent must balance exploration and exploitation online. Extending these bounds to more complex reward structures, such as contextual or adversarial bandits, remains a promising frontier in quantum reinforcement learning.

Summary updated

BibTeX
@inproceedings{wang2021quantum,
  author = {Daochen Wang and Xuchen You and Tongyang Li and Andrew M. Childs},
  title = {{Quantum Exploration Algorithms for Multi-Armed Bandits}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i11.17212},
}
Figure