Enabling Efficient, Reliable Real-World Reinforcement Learning with Approximate Physics-Based Models

Tyler Westenbroek, Jacob Levy, David Fridovich-Keil

Abstract

We focus on developing efficient and reliable policy optimization strategies for robot learning with real-world data. In recent years, policy gradient methods have emerged as a promising paradigm for training control policies in simulation. However, these approaches often remain too data inefficient or unreliable to train on real robotic hardware. In this paper, we introduce a novel policy gradient-based policy optimization framework which systematically leverages a (possibly highly simplified) first-principles model and enables learning precise control policies with limited amounts of real-world data. Our approach 1) uses the derivatives of the model to produce sample-efficient estimates of the policy gradient and 2) uses the model to design a low-level tracking controller, which is embedded in the policy class. Theoretical analysis provides insight into how the presence of this feedback controller addresses key limitations of stand-alone policy gradient methods, while hardware experiments with a small car and quadruped demonstrate that our approach can learn precise control strategies reliably and with only minutes of real-world data.

Introduction

Reinforcement Learning (RL), particularly policy gradient methods, has achieved significant milestones in simulated environments. However, transitioning these successes to physical hardware remains a formidable challenge. Two primary obstacles hinder real-world deployment: extreme data inefficiency and the "exploding gradient" phenomenon. Physical robots cannot endure the millions of trials typically required by model-free RL, and unstable dynamics in systems like quadrupeds can cause small control variations to result in chaotic outcomes, leading to mathematically unstable gradients that derail the learning process.

While "sim-to-real" transfer is a common strategy, the "reality gap"—the discrepancy between simulated physics and real-world dynamics—often results in suboptimal performance. This work proposes a framework that bridges this gap by integrating simplified physics models directly into the learning loop.

Methodology: Stability-Aware Policy Optimization

The core of the proposed framework is the integration of first-principles physics with deep learning to create a structured policy class.

Model-Based Gradient Estimation

Rather than learning dynamics from scratch, the framework utilizes a simplified, approximate physics model (e.g., a basic kinematic model). It leverages the derivatives of this model to estimate policy gradients, but crucially, these estimates are computed using trajectories collected from the real world. This ensures the gradient signal is grounded in actual physical behavior while benefiting from the structural prior of the model.

Embedded Low-Level Feedback

The "secret sauce" of this approach is the embedding of a low-level tracking controller within the policy. Instead of the neural network directly outputting raw motor commands, it generates high-level goals, such as waypoints or spline parameters. These goals are processed by a stabilizing controller designed from the approximate model.

The proposed control architecture embedding a low-level controller within the policy.

This architecture ensures that the system remains "incrementally stable." Mathematically, the feedback loop bounds the growth of gradients, smoothing the optimization landscape and preventing the exponential growth of bias and variance that typically plagues model-based RL in unstable systems.

Experimental Evaluation

The framework was evaluated on both simulated benchmarks and real-world hardware, including an NVIDIA JetRacer (1/10th scale RC car) and a Unitree Go1 quadruped.

Real-World Performance

The results demonstrate remarkable sample efficiency. The NVIDIA JetRacer learned a precise figure-8 maneuver in just 2.2 minutes of real-world data, while the Unitree Go1 successfully mastered a similar task in 5.9 minutes.

Comparison with State-of-the-Art

In high-fidelity simulations, the proposed method significantly outperformed standard model-free (PPO, SAC) and model-based (MBPO, SVG) algorithms in both convergence speed and final reward.

Comparison of learning efficiency against state-of-the-art RL algorithms.

Key Insights and Conclusion

The primary takeaway is that stability is not merely a safety constraint but a fundamental requirement for efficient optimization. By enforcing stability through a feedback controller, the learning problem becomes significantly more tractable. Furthermore, the research shows that highly simplified models are sufficient to provide this stabilizing structure, allowing the neural network to focus on learning the "residuals" or corrections needed for high-precision tasks. This framework paves the way for practical, reliable RL on complex robotic systems using minimal real-world interaction.

Summary updated

BibTeX
@inproceedings{westenbroek2023enabling,
  author = {Tyler Westenbroek and Jacob Levy and David Fridovich-Keil},
  title = {{Enabling Efficient, Reliable Real-World Reinforcement Learning with Approximate Physics-Based Models}},
  booktitle = {Conference on Robot Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=TWgoGdubPN},
}
Figure