Introduction
In reinforcement learning, the "bandit problem" serves as a fundamental metaphor for the exploration-exploitation tradeoff. Whether optimizing slot machine payouts or digital ad placements, a learner must decide between testing new options (exploration) and sticking with the best-known option (exploitation). Classically, the cumulative regret—the difference between the learner's earnings and the maximum possible earnings—is fundamentally limited to a "square-root" growth rate, $\Omega(\sqrt{T})$, over a time horizon $T$. This paper introduces the first quantum algorithms for Multi-Armed Bandits (MAB) and Stochastic Linear Bandits (SLB) that break this barrier, achieving logarithmic regret ($O(\text{poly}(\log T))$).
The Quantum Advantage in Exploration-Exploitation
While previous quantum research in this domain focused on pure exploration (best-arm identification), this work tackles the more difficult challenge of minimizing cumulative regret during the learning process itself. The core of the proposed quantum advantage lies in Quantum Monte Carlo (QMC) estimation.
In a classical setting, estimating a mean reward with precision $\epsilon$ requires $1/\epsilon^2$ samples. QMC provides a quadratic speedup, requiring only $1/\epsilon$ queries. The authors demonstrate that this quadratic speedup in estimation precision translates into an exponential reduction in regret over time. By narrowing confidence intervals faster, quantum algorithms can identify and commit to the optimal arm much earlier than their classical counterparts.
Algorithmic Framework: QUCB and QLinUCB
The authors propose two primary algorithms: QUCB (Quantum Upper Confidence Bound) for multi-armed bandits and QLinUCB for stochastic linear bandits. These methods are built on three pillars:
- Fair Quantum Reward Oracles: The learner accesses a quantum unitary oracle that encodes reward distributions into quantum states. Crucially, the model is "fair," allowing only one arm to be queried at a time, mirroring the classical constraint.
- The Doubling Trick: A significant hurdle in quantum learning is that measuring a state causes it to collapse, destroying information. To circumvent this, the authors divide the time horizon into stages and use a doubling trick: they double the number of quantum queries for a chosen arm in each stage to increase accuracy before performing a measurement to update the strategy.
- Batching Feedback: By batching pulls into stages, the algorithms maintain the benefits of quantum speedup despite the destructive nature of quantum measurements, proving that feedback is not required every single round to optimize regret.
Theoretical and Numerical Results
The theoretical results, summarized in the table below, highlight the exponential improvement in regret across different reward assumptions.
Numerical simulations using Bernoulli rewards validated these findings. In scenarios with a small "reward gap" (where the best and second-best arms have similar payouts), classical UCB algorithms often suffer near-linear regret. In contrast, QUCB identifies the optimal arm rapidly and maintains low regret. Furthermore, the algorithms showed resilience against depolarizing noise levels typical of modern quantum hardware, such as Google’s Sycamore processor.
Discussion and Future Directions
While the dependence on time ($T$) is exponentially improved, the current quantum algorithms exhibit a higher dependence on the number of arms ($n$) or dimensions ($d$) compared to classical methods. The authors note that an $\Omega(n)$ factor is likely inevitable in this framework, as pulling every arm at least once is a prerequisite for learning.
Future work will explore whether "T-independent" regret is achievable—where regret stops growing entirely after a certain point—and seek matching quantum lower bounds to determine if $O(\log T)$ represents the ultimate limit of quantum bandit optimization. Additionally, implementing these high-depth quantum circuits on Noisy Intermediate-Scale Quantum (NISQ) devices remains a significant engineering challenge.
Summary updated