Super-polynomial separations for quantum-enhanced reinforcement learning

Vedran Dunjko, Yi-Kai Liu, Xingyao Wu, Jacob M. TaylorarXiv 2017

Abstract

Quantum computing has long promised speedups in data processing, but its impact on interactive learning has been less clear. This work proves that quantum agents can achieve an exponential speedup in learning efficiency over classical counterparts in reinforcement learning (RL) environments that allow quantum access. By constructing specific Markov Decision Processes (MDPs) based on quantum oracle problems, the authors demonstrate separations that far exceed the quadratic limits previously theorized.

Introduction

Reinforcement Learning (RL) is a cornerstone of modern artificial intelligence, enabling agents to learn optimal behaviors through trial and error. While Quantum Machine Learning (QML) has primarily focused on supervised and unsupervised tasks, this research explores the potential for quantum advantage in the interactive domain of RL. The authors prove that when an agent can interact with an environment in superposition—a process termed "oraculization"—the efficiency gains can be super-polynomial.

The Reinforcement Learning Framework

In a standard RL setting, an agent interacts with an environment defined as a Markov Decision Process (MDP). The agent observes a state, takes an action, and receives a reward and a new state.

The standard Reinforcement Learning (RL) interaction loop between an agent and its environment.

The challenge addressed here is whether this classical loop can be enhanced by quantum mechanics to provide more than just incremental speedups. The authors had to ensure their proof wasn't just a disguised mathematical puzzle but a genuine RL task where rewards are delayed and actions have long-term consequences.

Methods: Oraculization and Naturalness

To bridge the gap between theoretical quantum query complexity and practical RL, the authors developed a rigorous framework:

  1. Oraculization: They define how a classical MDP can be promoted to a "quantum-accessible" one. This allows a quantum agent to query the environment's transition and reward functions in superposition.
  2. Defining "Naturalness": To ensure the tasks remain genuine RL problems rather than simple mathematical puzzles, the authors established three criteria:
  3. Delayed Rewards: The "diameter" of the task (steps between rewards) must grow with the problem size.
  4. State Influence: Every action must influence future states and rewards.
  5. State-Dependent Policy: The optimal action must depend on the current state, preventing the agent from simply memorizing a fixed sequence of moves.
  6. MDP Construction: Using structures from Simon’s Problem and Recursive Fourier Sampling, the authors designed scalable MDPs that satisfy these criteria while embedding hidden mathematical structures that only a quantum agent can efficiently exploit.

Key Insights

The Self-Play Loophole

A common critique of quantum RL is the classical nature of the physical world. However, the authors highlight that many state-of-the-art RL systems (e.g., AlphaGo Zero) rely on simulated self-play. If these simulations are executed on quantum hardware, the agent can query its internal world model in superposition, making these theoretical speedups practically relevant for AI training.

Beyond Quadratic Limits

Previous literature often suggested that RL speedups might be limited to quadratic improvements (similar to Grover's algorithm). This paper breaks that ceiling by showing that embedding recursive or hidden-shift structures into the environment's transitions allows for exponential separations.

Key Results

The study provides formal proofs for two major types of separation:

  • Exponential Speedup: In an environment based on Simon’s Problem ($M_2$), a classical agent requires at least $\Omega(2^{n/4})$ interaction steps to learn an efficient policy. In contrast, a quantum agent can achieve the same result in $O(n^2)$ steps.
  • Super-Polynomial Separation: Using Recursive Fourier Sampling, the authors constructed a hierarchical task where the quantum agent is super-polynomially more efficient, mimicking the structure of complex, nested sub-tasks in real-world games.

Limitations and Future Outlook

While these results are groundbreaking, they currently assume a model-based approach where the agent has coherent quantum access to the environment. Applying this to "model-free" RL in a noisy, classical world remains a challenge. Future research may explore how these quantum advantages translate to hierarchical skill learning and transfer learning in complex, multi-layered environments.

Summary updated

BibTeX
@misc{dunjko2017super,
  author = {Vedran Dunjko and Yi-Kai Liu and Xingyao Wu and Jacob M. Taylor},
  title = {{Super-polynomial separations for quantum-enhanced reinforcement learning}},
  year = {2017},
  eprint = {1710.11160},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.11160},
}
Figure