Abstract
Reinforcement learning (RL) has demonstrated remarkable success in simulated environments, yet transitioning these policies to the real world remains a significant challenge due to the sim-to-real (S2R) gap. Discrepancies in physical parameters, environmental disturbances, and hardware degradation often lead to catastrophic failures of policies trained on nominal models. This paper introduces a robust "add-on" framework that wraps pre-trained RL policies with an $L_1$ adaptive controller ($L_1$AC). This architecture allows for real-time estimation and compensation of lumped disturbances, enabling agents to maintain stability and performance under significant environmental perturbations without the need for retraining or extensive domain randomization.
Introduction
The brittleness of reinforcement learning policies is a primary barrier to their deployment in safety-critical physical systems. A policy optimized for a "nominal" simulation—such as a drone operating with perfect motor efficiency in a vacuum—frequently fails when encountering real-world complexities like wind, payload shifts, or battery depletion. While techniques like Domain Randomization (DR) attempt to bridge this gap by training across a spectrum of environments, they often result in overly conservative policies that sacrifice average-case performance for worst-case survival.
This research proposes a different path: maintaining a high-performing nominal policy while providing fast, active compensation for dynamic variations as they occur. By integrating $L_1$ adaptive control, the system can react to changes at the control sampling rate, providing a layer of "plug-and-play" robustness that is agnostic to the underlying RL algorithm.
System Architecture and Methodology
The core of the proposed framework is the $L_1$ Adaptive Augmentation layer. Unlike Meta-RL, which requires a period of data collection to adapt a policy, the $L_1$AC monitors the system's state at high frequencies (e.g., every 2ms) to cancel out modeling errors and external forces.
As illustrated in the architecture above, the system operates in two distinct phases:
- Training: The RL agent is trained in a nominal environment to produce a control signal $u_{RL}$ that achieves the task goal.
- Execution: In the perturbed real-world environment, the $L_1$ Adaptive Controller intercepts the RL signal. It utilizes a State Predictor based on the nominal model, an Adaptive Law to estimate the difference between predicted and actual states, and a Control Law to generate a compensation signal $u_{L1}$. This signal is passed through a low-pass filter to ensure the compensation stays within the system's physical bandwidth.
Experimental Results
The researchers evaluated the framework across several benchmarks, including Cart-pole swing-up, a two-link Pendubot, and a 3D Quadrotor. The results consistently showed that the $L_1$ augmentation significantly expanded the operational envelope of the RL policies.
In the Cart-pole environment, the $L_1$-augmented policy remained successful even when the cart mass was increased by 600% or the pole length was reduced to 33% of its original size—conditions that caused vanilla RL policies to fail immediately. Similar results were observed on real Pendubot hardware, where the system compensated for a 50% loss in control effectiveness and a 100% increase in mass.
The quantitative benefits are most visible when comparing standard Soft Actor-Critic (SAC) and Domain Randomization (DR-SAC) against their $L_1$-augmented counterparts. As shown in the heatmaps above, as control effectiveness ($\Lambda$) drops from 1.0 to 0.3, standard SAC and even robustly trained DR-SAC3 variants see their success regions (yellow) shrink rapidly. In contrast, the $SAC+L_1$ and $DR-SAC3+L_1$ configurations maintain high cumulative rewards across nearly the entire parameter space.
Discussion and Key Insights
A critical insight from this work is the separation of concerns. By delegating low-level physics compensation to the $L_1$AC, the RL agent can focus on high-level strategy. This prevents the performance degradation typically seen in "robust" RL training. Furthermore, the $L_1$AC's ability to provide near-instantaneous adaptation via piecewise-constant adaptive laws offers a significant speed advantage over learning-based adaptation methods.
However, the authors note a distinction between matched and unmatched disturbances. $L_1$AC is exceptionally effective at canceling disturbances that act through the control inputs (like motor failure). It is less effective against unmatched disturbances, such as wind pushing against a drone's chassis, which do not directly align with the control actuators.
Conclusion
The $L_1$ adaptive control augmentation provides a powerful, model-agnostic tool for improving the reliability of RL in real-world applications. By bridging the sim-to-real gap through active compensation rather than just conservative training, this framework moves us closer to deploying autonomous systems that can safely navigate unpredictable, dynamic environments. Future work will focus on combining this approach with robust control techniques to better handle unmatched disturbances and integrating online model learning to update the nominal physics model over time.
Summary updated