Modeling quantum neural network gradient with reinforcement learning
Nhan Luu, Trung D Luu, Ngoc Nam Pham, Thang C Truong
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: AI for Molecules, Materials & Genomics › Quantum Optimization and Control · Type: new method · Keywords: quantum neural networks, reinforcement learning optimizer, barren plateaus, gradient variance, quantum circuit differentiation
Summary
RLQ-Grad is a reinforcement-learning optimizer that proposes parameter updates for quantum neural networks without differentiating through the circuit, mitigating barren plateaus and reducing time-memory cost.
Explained to a 5-year-old
A quantum computer can be thought of as a tiny brain that learns from examples. When we try to teach it, the signals that tell it how to improve become really small, making learning hard. The researchers made a robot that watches the brain and suggests new instructions without copying them. This helps the brain learn faster. It also uses less memory.
Explained to a 5-year-old, longer
A quantum computer can be thought of as a tiny brain that learns from examples. When we try to teach it, the signals that tell it how to improve become very weak, which makes learning difficult. In addition, the computer needs a lot of time and memory to figure out how to change its own instructions. The researchers built a helper that watches the brain’s performance and suggests new instructions without having to copy every step of the brain’s calculations. This helper learns from the brain’s results and gives advice that keeps the learning signals strong. Because the helper does not need to copy the brain’s internal calculations, it works much faster and can be used on smaller quantum computers. The experiments show that this new way of teaching the brain works better, learns quicker, and uses less memory than the old methods. This makes quantum computers more useful for solving real problems. It also opens the door for more people to work with quantum technology. The new approach could help scientists discover new materials and medicines. It also helps researchers understand how quantum systems behave. Overall, the helper makes quantum learning easier and more efficient.
For a technical reader
The paper introduces a classical reinforcement-learning policy that directly proposes parameter updates for a quantum neural network, avoiding the need to differentiate through the quantum circuit. This surrogate gradient is generated by a spectrally-normalized PPO agent, which keeps gradient variance from collapsing due to barren plateaus and reduces per-step computational cost. Empirical results on four supervised benchmarks demonstrate near-flat gradient variance, large wall-clock speedups (128×-1841×), low memory usage (~0.1 MB at 12 qubits), and up to 10% accuracy improvement over strong gradient-based baselines.
Problem
Training quantum neural networks (QNNs) is hindered by the exponential vanishing of gradient variance (barren plateaus) and the high computational cost of differentiating through deep quantum circuits, which scales as O(L·2n).
Method
The approach uses a classical reinforcement-learning agent that receives feedback from the QNN and directly suggests parameter updates, bypassing the need to differentiate through the quantum circuit. This surrogate gradient is produced by a spectrally-normalized PPO policy, keeping its variance independent of the barren-plateau bound and its per-step cost independent of the Hilbert-space dimension.
Results
The approach maintains a near-flat gradient-variance curve while backpropagation, parameter-shift, and adjoint methods decay by 1-2 orders of magnitude, achieves 128×-1841× wall-clock speedups with ~0.1 MB memory at 12 qubits, and raises top-1 validation accuracy by up to 10% over the best gradient-based baseline across all circuit sizes.
Contributions
A reinforcement-learning optimizer that proposes parameter updates without differentiating through the quantum circuit, proofs that its gradient variance avoids the barren-plateau bound and that computational cost per step is independent of Hilbert-space dimension, and empirical validation on multiple benchmarks showing speedups and accuracy gains.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction