Skip to main content
QUICK REVIEW

[Paper Review] Quantum Policy Gradient Algorithms

Sofiène Jerbi, Arjan Cornelissen|arXiv (Cornell University)|Dec 19, 2022
Quantum Computing Algorithms and ArchitectureComputer Science7 citations
TL;DR

This paper presents quantum policy gradient algorithms that achieve up to quadratic speed-ups in sample complexity for training parametrized quantum policies in reinforcement learning environments with quantum access. By leveraging quantum oracular access to trajectories and applying quantum multivariate Monte Carlo and numerical gradient estimation, the algorithms provide full quadratic speed-ups when policies satisfy smoothness conditions—conditions met by common parametrized quantum circuits such as raw-PQC and softmax1-PQC policies.

ABSTRACT

Understanding the power and limitations of quantum access to data in machine learning tasks is primordial to assess the potential of quantum computing in artificial intelligence. Previous works have already shown that speed-ups in learning are possible when given quantum access to reinforcement learning environments. Yet, the applicability of quantum algorithms in this setting remains very limited, notably in environments with large state and action spaces. In this work, we design quantum algorithms to train state-of-the-art reinforcement learning policies by exploiting quantum interactions with an environment. However, these algorithms only offer full quadratic speed-ups in sample complexity over their classical analogs when the trained policies satisfy some regularity conditions. Interestingly, we find that reinforcement learning policies derived from parametrized quantum circuits are well-behaved with respect to these conditions, which showcases the benefit of a fully-quantum reinforcement learning framework.

Motivation & Objective

  • To design quantum algorithms that accelerate policy gradient training in reinforcement learning with quantum-accessible environments.
  • To identify conditions under which quantum algorithms can achieve full quadratic speed-ups over classical counterparts in sample complexity.
  • To demonstrate that parametrized quantum circuits (PQCs) naturally satisfy these smoothness conditions, enabling efficient quantum training.
  • To provide quantum speed-ups for both numerical and analytical gradient estimation in policy gradient methods.
  • To establish theoretical query complexity bounds for quantum and classical policy gradient estimators under realistic MDP assumptions.

Proposed method

  • Utilizes oracular quantum access to Markov Decision Processes (MDPs), enabling superposition over trajectories via unitaries UP and UR.
  • Applies quantum numerical gradient estimation using quantum subroutines from [25, 26], requiring bounded derivative smoothness (D ≤ 1) for quadratic speed-up.
  • Employs quantum multivariate Monte Carlo estimation from [27, 28] for analytical gradient estimation, requiring bounded ℓp-norm of log-policy gradient (Bp).
  • Constructs quantum access to the gradient estimator using unitary implementations of policy and reward oracles, with amplitude estimation for precision.
  • Derives query complexity bounds in terms of policy parameters d, horizon T, discount factor γ, maximum return |R|max, and smoothness parameters D or Bp.
  • Analyzes both numerical and analytical gradient estimation, showing that quantum versions achieve eO(√d) and eO(d^{ξ(p)}) scaling respectively, compared to classical eO(d) and eO(Bp^2) scaling.

Experimental results

Research questions

  • RQ1Under what conditions can quantum algorithms achieve quadratic speed-ups in sample complexity for policy gradient reinforcement learning?
  • RQ2Can parametrized quantum circuits (PQCs) be shown to satisfy the smoothness conditions required for quantum speed-ups in policy gradient estimation?
  • RQ3How do the quantum and classical query complexities scale with respect to key parameters such as policy dimension d, horizon T, and return magnitude |R|max?
  • RQ4Can quantum access to environments enable superposition over multiple trajectories to accelerate gradient estimation in both numerical and analytical settings?
  • RQ5What is the role of the discount factor γ and horizon T in the performance of quantum policy gradient algorithms?

Key findings

  • Quantum numerical gradient estimation achieves a full quadratic speed-up over classical methods when the value function has bounded derivative smoothness (D ≤ 1), which is satisfied by raw-PQC policies.
  • Quantum analytical gradient estimation achieves a full quadratic speed-up for p ∈ [1, 2] when the ℓp-norm of the log-policy gradient is bounded (Bp ≤ 2), which holds for softmax1-PQC policies.
  • The quantum query complexity for numerical gradient estimation is eO(√d DT³|R|max / (ε(1−γ))), while the classical version scales as eO(d D²T⁵|R|²max / (ε²(1−γ)²)).
  • For analytical gradient estimation, the quantum complexity is eO(d^{ξ(p)} BpT|R|max / (ε(1−γ))) with ξ(p) = max{0, 1/2 − 1/p}, and the classical version scales as eO((BpT|R|max / (ε(1−γ)))²).
  • The results show that quantum policy gradient algorithms can achieve quadratic speed-ups in sample complexity for well-behaved quantum policies, particularly those derived from PQCs.
  • The analysis identifies a potential improvement by a factor of T in the numerical gradient algorithm if the Gevrey condition formulation were relaxed, which could align its T-scaling with that of the analytical method.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.