[Paper Review] Data Efficient Reinforcement Learning for Legged Robots
This paper presents a model-based reinforcement learning framework that enables a quadruped robot to learn robust, fast walking using only 4.5 minutes of real-world data—over an order of magnitude more sample-efficient than state-of-the-art model-free methods. By employing a multi-step loss for long-horizon dynamics modeling, latency-compensated model predictive control (MPC), and trajectory generator-based action regularization, the system achieves stable locomotion and generalizes to new tasks via reward function changes without retraining.
We present a model-based framework for robot locomotion that achieves walking based on only 4.5 minutes (45,000 control steps) of data collected on a quadruped robot. To accurately model the robot's dynamics over a long horizon, we introduce a loss function that tracks the model's prediction over multiple timesteps. We adapt model predictive control to account for planning latency, which allows the learned model to be used for real time control. Additionally, to ensure safe exploration during model learning, we embed prior knowledge of leg trajectories into the action space. The resulting system achieves fast and robust locomotion. Unlike model-free methods, which optimize for a particular task, our planner can use the same learned dynamics for various tasks, simply by changing the reward function. To the best of our knowledge, our approach is more than an order of magnitude more sample efficient than current model-free methods.
Motivation & Objective
- To address the high sample and hardware cost of training legged robot locomotion policies via model-free reinforcement learning.
- To improve sample efficiency in real-world robot learning by leveraging model-based planning with accurate long-horizon dynamics modeling.
- To enable real-time control on physical robots despite planning latency, using latency-compensated MPC.
- To ensure safe exploration during model learning by embedding prior knowledge of leg trajectories into the action space.
- To achieve task generalization without retraining by reusing the same learned dynamics model with different reward functions.
Proposed method
- A multi-step loss function is introduced to improve long-horizon prediction accuracy by tracking model error over multiple timesteps, reducing error accumulation during planning.
- Model predictive control (MPC) is adapted with latency compensation by planning from a predicted future state, enabling real-time performance at high control frequencies.
- A GPU-accelerated, sampling-based CEM (Cross-Entropy Method) planner is used for efficient action sequence optimization under real-time constraints.
- A trajectory generator (TG) is embedded into the action space to enforce smooth, periodic leg motions and prevent mechanical stress during exploration.
- The dynamics model is retrained periodically using a replay buffer of all collected trajectories to reduce distribution shift between training and deployment.
- The system alternates between data collection and model learning in a loop, enabling continual improvement with minimal data.
Experimental results
Research questions
- RQ1Can a model-based RL framework achieve robust legged locomotion with significantly fewer real-world data samples than model-free methods?
- RQ2How can model inaccuracies over long horizons be mitigated to ensure reliable MPC-based control in dynamic, contact-rich environments?
- RQ3What techniques can compensate for planning latency in real-time control systems to maintain high-frequency performance?
- RQ4How can safe exploration be achieved during model learning without damaging robot hardware?
- RQ5Can a single learned dynamics model generalize across multiple locomotion tasks without retraining or fine-tuning?
Key findings
- The proposed method achieves stable and fast walking on a Minitaur quadruped robot using only 36 rollouts (4.5 minutes of real-world data), representing a 10x improvement in sample efficiency over state-of-the-art model-free methods on the same hardware.
- The multi-step loss function significantly improves long-horizon prediction accuracy, with the model tracking ground-truth trajectories more closely as the number of timesteps in the loss increases.
- Latency-compensated MPC enables the controller to maintain performance at high speeds, with the system failing to track desired speeds above 0.4 m/s without asynchronous control.
- The use of a trajectory generator in the action space results in smoother, more periodic motor actions and prevents hardware damage during exploration, which occurred when the TG was omitted.
- The learned dynamics model generalizes to new tasks without retraining—changing only the reward function enables new gaits, demonstrating strong task transfer capability.
- Ablation studies show that CEM requires at least five iterations and moderate smoothing (γ = 0.5) for optimal performance, while planning over a 450ms horizon yields the best balance between long-term return and model error sensitivity.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.