TL;DR
Researchers have developed a model-based reinforcement learning (RL) algorithm that allows complex robots to learn high-performance control policies directly in the real world—no simulator required. By treating policy optimization as an online learning problem and using a learned dynamics model to provide "analytical" gradients, the system achieves extreme sample efficiency and adapts to changing physical conditions (like a heavier payload) in minutes.
What Problem Does This Paper Address?
The standard "Sim-to-Real" pipeline in robotics is hitting a wall. Typically, we train a robot in a physics simulator for thousands of hours and then try to transfer that knowledge to the real world. However, simulators often fail to capture the "nuanced" physics of complex hardware—think of the squishy dynamics of a soft robot or the nonlinear pressures in a 12-ton hydraulic excavator. This "sim-to-real gap" leads to policies that perform poorly or even dangerously when deployed.
While model-free RL (like PPO) can learn from scratch, it requires massive amounts of data, making it impractical to train directly on real hardware. Existing model-based methods often rely on "imagination"—using a learned model to simulate fake data for training—which can introduce its own biases and computational overhead. This paper asks: Can we learn a model and a policy simultaneously on the real robot, using only real interaction data, while maintaining theoretical guarantees?
Methods
The authors propose an Online Model-Based RL algorithm. Its workflow consists of two interleaved loops:
- Online Model Learning: As the robot moves, it stores state-action-next-state tuples in a buffer. It continuously updates a neural network dynamics model ($f_\theta$) to minimize one-step prediction errors.
- Policy Optimization via Online Learning: Instead of using the model to generate "fake" trajectories, the algorithm uses the Jacobian (gradients) of the learned model to calculate how to improve the policy ($\pi_\phi$) based on the actual trajectories just flown/driven.
Key Innovations: * Analytical Policy Gradients: By using the chain rule through the learned model's Jacobian, the algorithm calculates a "closed-loop sensitivity." This tells the robot exactly how a small change in its control parameters would have improved its performance on the real path it just took. * Pre-conditioned Gradient Descent: To prevent the policy from changing too drastically (which would make the learned model obsolete), they use a trust-region-like regularization. * Theoretical Rigor: The authors derive sublinear regret bounds. In plain English, they prove mathematically that the robot's performance will converge toward the optimal policy over time, even as the data distribution shifts during learning.
Datasets and Platforms
The algorithm was evaluated on two notoriously difficult-to-model robotic systems:
- HEAP (Hydraulic Excavator): A 12.5-ton autonomous excavator. Hydraulics are highly nonlinear and exhibit significant delays, making them a "worst-case scenario" for traditional modeling.
- Modular Soft Robot Arm: A cable-driven arm made of deformable helicoid segments. Because it is soft, its "state" is high-dimensional and changes based on gravity and internal tension.
- Simulation Baseline: A high-fidelity HEAP simulator was used to compare the method against model-free baselines like PPO.
Key Insights and Ideas
- The Model Doesn't Have to be Perfect: A surprising "aha" moment is that the dynamics model only needs to be "locally" accurate enough to provide a good gradient direction. As long as the model points the policy in the right direction, the policy improves, which in turn provides better data to refine the model.
- Bypassing the "Imagination" Bottleneck: Most model-based RL spends huge amounts of compute "dreaming" up trajectories. By calculating gradients directly on real rollout data, this method is computationally lean enough to run on a standard desktop while the robot is operating.
- Robustness through Adaptation: Because the model is constantly updating, the robot can handle "shifting dynamics." If you put a heavy rock in the excavator's bucket, the model sees the prediction error, updates its Jacobian, and the policy adjusts to the new weight almost immediately.
Key Results
- Sample Efficiency: On the HEAP platform, the algorithm reached high-performance control in just 2.5 hours of real-world interaction. For comparison, model-free PPO would require the equivalent of weeks of real-time data to reach the same level.
- Superior Accuracy: The excavator achieved a mean tracking error of 2.5 cm. It outperformed previous state-of-the-art (SOTA) sim-to-real methods, showing a 30% improvement in normalized accuracy while moving at double the speed.
- Rapid Adaptation: When the payload of the excavator was changed (from an empty bucket to a large rock), the controller loss spiked but returned to baseline levels within just 5 episodes (a few minutes).
- Soft Robot Success: The soft robot arm reached satisfactory tracking performance in about 30 episodes, successfully following complex circular and square trajectories.
Limitations and Future Work
- Task Scope: Currently, the method is optimized for trajectory tracking (continuous control with smooth costs). It hasn't yet been tested on "sparse reward" tasks like "pick up the red ball," which may require different exploration strategies.
- Latent States: For tasks involving vision or complex tactile sensing, the authors suggest extending the model to use latent state representations (similar to the Dreamer architecture) rather than raw joint positions.
- Stability Analysis: While they provide regret bounds, a more rigorous analysis of the joint stability of the model and policy (how they affect each other in a feedback loop) remains an open research question.
Reference: Nan, F., et al. "Efficient Model-Based Reinforcement Learning for Robot Control via Online Learning." arXiv:2510.18518v1, Oct 2025.
Summary updated