NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Quantum Computing Provides Exponential Regret Improvement in Episodic Reinforcement Learning

Bhargav Ganguly, Yulian Wu, Di Wang, Vaneet AggarwalarXiv 2023 · DOI

Abstract

Reinforcement learning (RL) agents typically face a fundamental trade-off between exploration and exploitation, with classical algorithms achieving a regret that grows with the square root of the number of episodes ($\tilde{O}(\sqrt{K})$). This paper introduces QUCB-VI, a quantum RL algorithm that leverages Quantum Mean Estimation to achieve an exponential improvement in regret. By reducing the cost of learning to a near-constant level ($\tilde{O}(1)$), the proposed method allows agents to master environments almost instantaneously, provided they have access to a quantum environment.

Introduction

In Reinforcement Learning, an agent interacts with an environment to maximize cumulative rewards. The efficiency of this process is measured by regret—the cumulative difference between the rewards obtained by an optimal policy and those obtained by the learning agent. In episodic settings, where tasks reset after a fixed horizon $H$, classical algorithms are bound by a regret growth of $\tilde{O}(\sqrt{K})$ over $K$ episodes. This implies that the "cost of learning" continues to accumulate significantly as the agent gains more experience. This research explores whether quantum computing can break this fundamental barrier, moving from polynomial to exponential efficiency in regret reduction.

The QUCB-VI Algorithm

The authors propose QUCB-VI (Quantum Upper Confidence Bound - Value Iteration), a model-based algorithm designed to exploit quantum speedups in statistical estimation.

Architecture of the QUCB-VI algorithm, illustrating the interaction between the Agent, the Q-Environment, and the Quantum Mean Estimation module.

The core innovation lies in the integration of Quantum Mean Estimation (QME) within the standard RL loop. The algorithm operates through several key mechanisms:

  1. Quantum Oracles: The model assumes a "Q-Environment" capable of providing quantum signals. Instead of observing a single deterministic or stochastic next state, the agent accesses a quantum oracle that yields a superposition of possible next states.
  2. Quadratic Sample Speedup: While classical mean estimation error decreases at a rate of $1/\sqrt{n}$, quantum sub-Gaussian estimators achieve a rate of $1/n$. This quadratic improvement in sample complexity for estimating transition probabilities is the engine behind the algorithm's performance.
  3. Sharper Optimism: By learning the environment's transition model $\hat{P}_h$ quadratically faster, the agent can employ a significantly smaller "exploration bonus." This allows for a more aggressive convergence toward the optimal policy without the risk of premature exploitation typical in classical settings.

Results and Key Insights

The theoretical analysis of QUCB-VI reveals a striking result: a quadratic improvement in mean estimation leads to an exponential improvement in regret.

Theoretical Bounds

The authors prove that QUCB-VI incurs a regret of $\tilde{O}(1)$, specifically $O(H^2 S^2 A \log^2(K))$. In contrast, the best classical counterparts remain constrained to $\tilde{O}(\sqrt{K})$. This shift suggests that the "cost of learning" in a quantum-enabled environment is effectively constant after a brief initial phase.

Empirical Performance

The algorithm was benchmarked against classical UCB-VI in three environments: RiverSwim-6, RiverSwim-12, and a $7 \times 7$ Grid-world. In all cases, the classical agent's regret continued to climb linearly on a log-scale, while the QUCB-VI regret curve flattened almost immediately. In the complex RiverSwim-12 and Grid-world tasks, the quantum agent identified the optimal strategy within a handful of episodes, demonstrating the practical power of the $\tilde{O}(1)$ bound.

Discussion and Future Work

While the results are transformative, they rely on the assumption of a Quantum Environment. Currently, most real-world RL applications involve classical environments. Realizing these gains requires either "quantumizing" classical state transitions or applying the framework to natively quantum systems, such as quantum circuit control.

Furthermore, this work focuses on the tabular setting with discrete states and actions. Extending these proofs to function approximation (e.g., Deep RL) for continuous state spaces remains a significant challenge. Future research may also investigate whether similar exponential speedups can be achieved in model-free settings like Q-learning or in non-episodic, continual learning scenarios.

Summary updated

BibTeX
@misc{ganguly2023quantum,
  author = {Bhargav Ganguly and Yulian Wu and Di Wang and Vaneet Aggarwal},
  title = {{Quantum Computing Provides Exponential Regret Improvement in Episodic Reinforcement Learning}},
  year = {2023},
  eprint = {2302.08617},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.08617},
}
Figure