Enhance the Safety in Reinforcement Learning by ADRC Lagrangian Methods
Mingxu Zhang, Huicheng Zhang, Jiaming Ji, Yaodong Yang, Ying Sun
TL;DR
This work tackles safety in reinforcement learning by integrating Active Disturbance Rejection Control (ADRC) with Lagrangian methods to regulate constraint satisfaction in CMDPs. By viewing Safe RL as a closed-loop system and introducing an Extended State Observer to estimate disturbances $\hat{f}$, the approach compensates for nonstationarity and noise, reducing phase lag and oscillations relative to classical integral or PID updates. The authors prove that classical and PID Lagrangian updates are special cases of the ADRC framework, derive a principled lower bound on the observer gain $\omega_o$, and provide frequency-domain guarantees of improved disturbance rejection. Empirically, ADRC-Lagrangian variants on OmniSafe benchmarks achieve substantial reductions in constraint violations (up to 74%), violation magnitudes (up to 89%), and average costs (up to 67%), while maintaining competitive rewards, highlighting its potential for robust Safe RL in complex environments.
Abstract
Safe reinforcement learning (Safe RL) seeks to maximize rewards while satisfying safety constraints, typically addressed through Lagrangian-based methods. However, existing approaches, including PID and classical Lagrangian methods, suffer from oscillations and frequent safety violations due to parameter sensitivity and inherent phase lag. To address these limitations, we propose ADRC-Lagrangian methods that leverage Active Disturbance Rejection Control (ADRC) for enhanced robustness and reduced oscillations. Our unified framework encompasses classical and PID Lagrangian methods as special cases while significantly improving safety performance. Extensive experiments demonstrate that our approach reduces safety violations by up to 74%, constraint violation magnitudes by 89%, and average costs by 67\%, establishing superior effectiveness for Safe RL in complex environments.
