Abstract
Traditional approaches to quadrupedal locomotion rely heavily on model-free Deep Reinforcement Learning (DRL), which often suffers from low sample efficiency and significant sim-to-real gaps. This paper introduces a novel model-based framework that replaces the trial-and-error nature of RL with a supervised learning approach. By utilizing a differentiable world model to provide direct gradient supervision to a policy network, the proposed method achieves a tenfold increase in sample efficiency. Furthermore, the framework enables rapid real-world adaptation, allowing a quadruped robot to fine-tune its motor skills for actual hardware in just two minutes.
Introduction
Training quadruped robots to perform agile maneuvers, such as trotting or following complex paths, is a significant challenge in robotics. While model-free DRL has demonstrated impressive capabilities, it remains hindered by three primary obstacles: the requirement for tens of millions of simulated interactions, the inherent discrepancies between simulation and real-world physics (the sim-to-real gap), and the impractical amount of time required to adapt policies to physical hardware.
To address these issues, researchers from Tencent Robotics X and the Chinese University of Hong Kong have developed a framework that shifts the learning paradigm from exploration-based reinforcement to gradient-based supervision. By predicting the consequences of actions through a world model, the system can directly optimize the robot's policy, leading to faster convergence and more robust real-world performance.
Methodology
The proposed framework is built upon two core pillars: a differentiable world model and a hierarchical policy network based on a Variational Autoencoder (VAE) architecture.
Differentiable World Model
At the heart of the system is a neural network trained to function as a world model. This model predicts the robot's subsequent state based on its current state and action. Because the model is differentiable, the researchers can utilize standard backpropagation to calculate exactly how a policy's actions should be adjusted to minimize the error between the robot's actual trajectory and a desired reference motion. This eliminates the need for the random exploration typical of RL.
VAE-based Policy Network
The policy is structured to bridge the gap between high-level commands and low-level motor control:
- Motion Tracking Encoder: This component learns to map reference trajectories—derived from real-world animal motion data—into a compact "latent space" of feasible movements.
- Motor Decoder: This decoder translates variables from the latent space into specific joint torques for the robot's actuators.
- Command Following Encoder: This final component maps high-level user inputs (e.g., "move forward at 0.9 m/s") into the same latent space, allowing the user to "steer" the robot using the behaviors learned from the motion data.
Training and Adaptation
The training process follows a two-stage pipeline. Initially, the robot undergoes a "warm-up" phase in a high-performance physics simulator (Isaac Gym), where it learns basic locomotion and command following.
Once moved to the physical "Max" quadruped robot, the system undergoes a rapid fine-tuning phase. Instead of retraining the entire policy, the framework updates the world model and the motor decoder to account for real-world variables such as friction, mass distribution, and mechanical latency. This adaptation requires only two minutes of real-world interaction data, a significant improvement over traditional methods that can take hours.
Experimental Results
The framework was evaluated against standard RL baselines, specifically Proximal Policy Optimization (PPO), and tested on physical hardware.
- Sample Efficiency: In simulation, the model-based approach reached peak performance with approximately 5 million samples. In contrast, the PPO baseline required over 70 million samples to achieve comparable results, representing a 14x improvement in efficiency.
- Real-World Deployment: After the two-minute fine-tuning period, the robot successfully tracked complex paths, including U-shapes and star patterns. The fine-tuned policy exhibited significantly higher accuracy and reduced joint vibration compared to a "zero-shot" policy that had only been trained in simulation.
- High-Speed Performance: The robot demonstrated the ability to track target speeds up to 1.2 m/s. Notably, the policy generalized well to unseen paths and speed commands that were not present during the brief fine-tuning phase.
Discussion and Limitations
While this approach represents a significant step forward in efficient robot learning, certain limitations remain. The current system relies on "blind" locomotion, as it does not yet incorporate exteroceptive sensors like LiDAR or cameras. Consequently, the robot is currently limited to relatively flat terrain where it can "feel" its way forward. Additionally, the quality of the robot's movement is inherently tied to the quality of the animal motion data used for imitation.
Future work will focus on integrating perception into the world model, which would allow the framework to adapt to more complex, non-flat environments and obstacles. By combining the efficiency of differentiable models with environmental sensing, the researchers aim to move closer to truly autonomous and agile robotic systems.
Summary updated