English

Quantum Algorithms for Reinforcement Learning with a Generative Model

Quantum Physics 2021-12-21 v1 Machine Learning

Abstract

Reinforcement learning studies how an agent should interact with an environment to maximize its cumulative reward. A standard way to study this question abstractly is to ask how many samples an agent needs from the environment to learn an optimal policy for a γ\gamma-discounted Markov decision process (MDP). For such an MDP, we design quantum algorithms that approximate an optimal policy (π\pi^*), the optimal value function (vv^*), and the optimal QQ-function (qq^*), assuming the algorithms can access samples from the environment in quantum superposition. This assumption is justified whenever there exists a simulator for the environment; for example, if the environment is a video game or some other program. Our quantum algorithms, inspired by value iteration, achieve quadratic speedups over the best-possible classical sample complexities in the approximation accuracy (ϵ\epsilon) and two main parameters of the MDP: the effective time horizon (11γ\frac{1}{1-\gamma}) and the size of the action space (AA). Moreover, we show that our quantum algorithm for computing qq^* is optimal by proving a matching quantum lower bound.

Keywords

Cite

@article{arxiv.2112.08451,
  title  = {Quantum Algorithms for Reinforcement Learning with a Generative Model},
  author = {Daochen Wang and Aarthi Sundaram and Robin Kothari and Ashish Kapoor and Martin Roetteler},
  journal= {arXiv preprint arXiv:2112.08451},
  year   = {2021}
}

Comments

26 pages

R2 v1 2026-06-24T08:19:16.338Z