Abstract
This paper presents a hybrid framework that bridges the gap between model-free Reinforcement Learning (RL) and classical control theory. By embedding a differentiable Model Predictive Control (MPC) module—initialized with incomplete or inaccurate physics—into an RL agent, the authors achieve significantly faster learning and better generalization than standard RL or pure control methods alone. The architecture allows for simultaneous parameter identification and bias compensation, effectively using physics as a prior rather than a rigid constraint.
Introduction
Reinforcement Learning (RL) has demonstrated remarkable success in complex decision-making tasks but remains notoriously "data-hungry." Most model-free RL agents operate as a tabula rasa, learning system dynamics from scratch through trial and error. This approach is often inefficient for physical systems where fundamental laws (e.g., gravity, kinematics) are already well-understood.
Conversely, classical controllers like the Linear Quadratic Regulator (LQR) are highly efficient but require near-perfect mathematical models. Small discrepancies in parameters such as mass or friction can lead to catastrophic failure. This research addresses the "intermediate" scenario: situations where the mathematical structure of the physics is known, but specific parameters are uncertain or the model contains inherent biases.
Methodology
The authors propose a novel policy architecture that decouples known physical structures from unknown system variations through a multi-layered approach.
1. Partial Model Representation
The system dynamics are decomposed into an approximate model ($f_{app}$) containing unknown parameters ($\psi$) and a bias term ($f_{bias}$) representing unmodeled effects. This allows the agent to start with a structural understanding of the task while remaining flexible to environmental specifics.
2. Differentiable MPC Layer
At the core of the RL policy is a control module that linearizes the partial model and solves the Discrete Algebraic Riccati Equation (DARE) to determine an optimal control gain. Crucially, this entire process is differentiable. This enables the RL agent to backpropagate errors through the physics equations, directly updating and refining the unknown physical parameters ($\psi$) based on observed data.
3. Corrective Control Structure
The final control action ($u$) is formulated as the sum of two distinct components:
- $\hat{u}$ (Baseline): A suggested action derived from the physics-based MPC module.
- $\delta u$ (Correction): A corrective action generated by a standard neural network to compensate for model bias, linearization errors, and external disturbances.
During training, known physical constants remain fixed while the unknown parameters and the neural network weights are updated simultaneously, ensuring the model remains grounded in physical reality while adapting to empirical observations.
Experimental Evaluation
The framework was evaluated across three distinct benchmarks to test efficiency, robustness, and real-world applicability:
- Modified CartPole: A continuous-action version of the classic task. To test robustness, the model was intentionally initialized with parameters that would render a standard LQR controller unstable.
- Inverted Double Pendulum (IDP): A complex MuJoCo-based task. The authors removed the standard "alive bonus" and utilized a pure quadratic cost, a configuration where standard RL algorithms typically struggle to converge.
- Real-World Mecanum Robot: A four-wheeled ground vehicle tasked with following a sinusoidal path. This experiment tested the framework's ability to handle real-world complexities like wheel slippage and sensor noise.
Key Insights and Results
Sample Efficiency and Stability
The proposed method, termed Partial Knowledge (PK) RL (e.g., PK-SAC, PK-TD3), demonstrated a massive leap in sample efficiency. In the Inverted Double Pendulum task, the PK-enhanced agents achieved high returns within just a few hundred steps. In stark contrast, standard SAC and TD3 failed to converge even after 80,000 steps. In the CartPole task, while standard LQR failed due to parameter mismatch, the PK agents reached maximum performance scores rapidly.
Physics as a Prior
Rather than forcing the RL agent to adhere strictly to a potentially flawed model, the model acts as a "guide." The agent learns the physical parameters that best fit the observed data, while the neural network component "mops up" the remaining errors. This synergy allows the agent to learn which physical parameter likely caused an error, rather than just learning that an action was suboptimal.
Sim-to-Real Robustness
In real-world robot tracking, the PK-SAC method reduced accumulated tracking error by 27.3% to 39.9% compared to standard SAC. The resulting control actions were significantly smoother and less jittery, as the physics-aware baseline provided a stable foundation that the neural network only needed to refine.
Limitations and Future Work
While the framework is highly effective for regulation and tracking problems, it currently relies on differentiable models. This poses challenges for systems with discontinuous forces, such as the impact forces encountered in legged locomotion. Future research will explore integrating partial knowledge into the Value Network and extending the architecture to handle complex, vision-based control tasks where the underlying physics are not immediately apparent from the raw input.
Summary updated