Abstract
Quantum Reinforcement Learning (QRL) faces significant challenges regarding policy fragility and overfitting, particularly in the Noisy Intermediate-Scale Quantum (NISQ) era. This paper introduces RegQPG (Regularized Quantum Policy Gradient), a novel approach that leverages Lipschitz regularization to improve the robustness and generalization of quantum agents. By penalizing large weights in the quantum circuit's encoding layer, RegQPG ensures that small input perturbations do not lead to catastrophic changes in agent behavior. Evaluated on the CartPole benchmark, RegQPG demonstrates superior performance in noisy environments and significantly better generalization to out-of-distribution initial states compared to standard quantum agents.
Introduction
Reinforcement Learning (RL) agents often struggle with fragility—where performance drops sharply due to sensor noise—and overfitting—where agents fail to generalize beyond their specific training conditions. In quantum computing, these issues are exacerbated by the inherent sensitivity of Variational Quantum Circuits (VQCs). To deploy quantum agents in real-world control systems, mathematical guarantees of stability are essential. This work addresses these gaps by bridging quantum machine learning with classical control theory through Lipschitz continuity.
Methodology: Lipschitz Regularization in QRL
The core innovation of this research is the application of Lipschitz Regularization to Parametrized Quantum Circuits (PQCs).
The Lipschitz Bound
A function is Lipschitz continuous if the change in its output is bounded by a constant multiple of the change in its input. The authors derived a specific Lipschitz bound for PQCs, identifying that the policy's sensitivity is primarily determined by the norm of the trainable encoding parameters ($\omega_j$).
RegQPG and CurrRegQPG
The standard policy gradient objective is modified to include a regularization term: $$\text{Objective} = \text{Reward} - \lambda \times (\text{Lipschitz Complexity})$$ Here, $\lambda$ serves as a hyperparameter balancing performance and stability. To further enhance learning, CurrRegQPG (Curriculum Regularized QPG) was introduced. This variant employs curriculum learning, starting the agent on narrow, simple initial conditions and gradually expanding to more difficult states as the agent demonstrates generalization capability.
Experimental Results
The algorithms were tested on the OpenAI Gym CartPole environment, modified with Gaussian noise to test robustness and expanded initial conditions to test generalization.
Robustness to Noise
RegQPG agents maintained significantly higher rewards in the presence of observation noise. While standard agents (where $\lambda=0$) saw performance collapse as noise increased, regularized agents remained stable.
Generalization Leap
Standard quantum agents often fail when tested on initial pole angles and velocities outside their training distribution. The curriculum-regularized version, CurrRegQPG, improved the success rate from a mere 3% to 41% in difficult settings.
Key Insights
- Encoding Sensitivity: The encoding layer is the primary driver of a quantum model's Lipschitz constant. Regularizing these weights directly controls policy "smoothness."
- Optimal Regularization: There is a "sweet spot" for $\lambda$ (typically between 0.1 and 0.3). Insufficient regularization leads to fragility, while excessive regularization ($\lambda \ge 0.5$) can make the agent too conservative.
- Inductive Bias: Lipschitz regularization acts as an inductive bias, preventing high-frequency responses to small input changes and forcing the agent to learn the underlying physics of the environment.
Conclusion and Future Work
RegQPG provides a robust framework for training quantum agents that generalize better and withstand noise. However, the current Lipschitz bounds are global and conservative, which may limit performance in tasks requiring highly non-linear control. Future research will explore scaling these methods to higher-dimensional environments and investigating less conservative stability conditions to further optimize the performance-robustness trade-off.
Summary updated