Abstract
Reproducing the diverse and agile locomotion skills of animals has been a longstanding challenge in robotics. While manually-designed controllers have been able to emulate many complex behaviors, building such controllers involves a time-consuming and difficult development process, often requiring substantial expertise of the nuances of each skill. Reinforcement learning provides an appealing alternative for automating the manual effort involved in the development of controllers. However, designing learning objectives that elicit the desired behaviors from an agent can also require a great deal of skill-specific expertise. In this work, we present an imitation learning system that enables legged robots to learn agile locomotion skills by imitating real-world animals. We show that by leveraging reference motion data, a single learning-based approach is able to automatically synthesize controllers for a diverse repertoire behaviors for legged robots. By incorporating sample efficient domain adaptation techniques into the training process, our system is able to learn adaptive policies in simulation that can then be quickly adapted for real-world deployment. To demonstrate the effectiveness of our system, we train an 18-DoF quadruped robot to perform a variety of agile behaviors ranging from different locomotion gaits to dynamic hops and turns.
Introduction
Developing control strategies for legged robots typically requires extensive manual engineering and deep domain expertise. While reinforcement learning (RL) offers a potential path toward automation, it often results in jittery or unnatural movements unless reward functions are meticulously hand-tuned. Furthermore, the "sim-to-real" gap—the discrepancy between simulated physics and real-world dynamics—often prevents policies trained in simulation from functioning correctly on physical hardware. This paper introduces an imitation learning framework that addresses these issues by teaching robots to mimic real animal motions, combined with a sample-efficient adaptation technique for real-world deployment.
Methods
The proposed framework consists of a three-stage pipeline designed to translate animal behavior into robotic control policies:
- Motion Retargeting: Real-world animal motion capture (mocap) data is mapped onto the robot's specific physical morphology using Inverse Kinematics (IK). This ensures the reference data is kinematically feasible for the robot.
- Motion Imitation: An RL agent is trained in simulation using Proximal Policy Optimization (PPO). Unlike traditional RL, which requires complex reward shaping, this system uses a unified reward function that penalizes deviations from the reference joint poses, velocities, and end-effector positions.
- Domain Adaptation: To bridge the sim-to-real gap, the authors utilize domain randomization during training. Dynamics parameters (e.g., mass, friction) are encoded into a latent vector $z$. An Information Bottleneck is applied to this encoding to prevent the policy from overfitting to specific simulated parameters. In the real world, Advantage-Weighted Regression (AWR) is used to quickly search the latent space for the optimal parameters ($z^*$) for the physical environment.
Key Results
The framework was evaluated using an 18-DoF Laikago quadruped robot. The system successfully learned a diverse range of skills, including trotting, spinning, and dynamic mid-air turns.
- Agility and Speed: The learned "Dog Trot" policy achieved a speed of 1.08 m/s, while the backwards trot reached 1.20 m/s. Both figures significantly exceed the manufacturer's fastest manually-designed controller (0.84 m/s).
- Adaptation Performance: Adaptive policies demonstrated superior performance on physical hardware compared to non-adaptive baselines. For the dynamic "Dog Pace" skill, the adaptive policy achieved a normalized return of 0.827, whereas the robust baseline without adaptation achieved only 0.350.
- Sample Efficiency: The system proved highly efficient, requiring only about 50 real-world trials (approximately a few minutes of operation) to adapt the simulated policy to the physical robot.
Discussion and Future Work
This work demonstrates that imitation learning can effectively replace manual reward shaping, allowing a single framework to synthesize a wide variety of agile behaviors. The use of an Information Bottleneck in the latent dynamics encoder provides a robust balance between general stability and specific adaptability.
While the current system is highly effective, it faces limitations when pushing the absolute hardware limits for extreme maneuvers like large jumps. Future research will explore learning directly from raw video data of animals, which would significantly increase the availability of training data compared to traditional motion capture methods.
Summary updated