Abstract
The agility of animals, particularly in complex activities such as running, turning, jumping, and backflipping, stands as an exemplar for robotic system design. Transferring this suite of behaviors to legged robotic systems introduces essential inquiries: How can a robot be trained to learn multiple locomotion behaviors simultaneously? How can the robot execute these tasks with a smooth transition? How to integrate these skills for wide-range applications? This paper introduces the Versatile Instructable Motion prior (VIM) - a Reinforcement Learning framework designed to incorporate a range of agile locomotion tasks suitable for advanced robotic applications. Our framework enables legged robots to learn diverse agile low-level skills by imitating animal motions and manually designed motions. Our Functionality reward guides the robot's ability to adopt varied skills, and our Stylization reward ensures that robot motions align with reference motions. Our evaluations of the VIM framework span both simulation environments and real-world deployment. To the best of our knowledge, this is the first work that allows a robot to concurrently learn diverse agile locomotion skills using a single learning-based controller in the real world. Further details and supportive media can be found at our project site: https://rchalyang.github.io/VIM
Introduction
Achieving animal-like agility in legged robots remains a significant challenge in robotics. While current controllers excel at specific tasks like steady walking or trotting, they often struggle with high-energy, explosive maneuvers such as jumping or backflipping. Most existing systems are "specialists," meticulously engineered for a single gait, and fail when required to transition smoothly between diverse behaviors.
The core difficulty lies in multi-skill learning. Training a robot to master many behaviors simultaneously often leads to "mode collapse," where the system defaults to the simplest gait, or fails to capture the stylistic nuances necessary for efficiency and stability. Existing motion priors frequently lack the "high-gear" agility needed for acrobatics or do not support fluid transitions between different motion types. To address this, we present the Versatile Instructable Motion prior (VIM), a unified reinforcement learning framework that enables robots to master a diverse library of agile skills using a single controller.
Methodology
The VIM framework utilizes a hierarchical structure consisting of a low-level motion prior and a high-level task policy.
The Motion Prior
A reference motion encoder maps segments of desired motion into a condensed latent skill space. This space serves as a "language" of movement, allowing the low-level policy to interpret and execute various behaviors.
Dual-Component Rewards
Training the prior involves two distinct reward categories:
- Functionality: This reward focuses on tracking the robot's root position and orientation. A key innovation is the inclusion of extra weight for vertical height tracking, which is critical for mastering jumps and flips.
- Style: This ensures the robot's gait aligns with reference motions. It employs an Adversarial Stylization Reward (using a discriminator to distinguish robot motion from reference data) and a Joint Angle Tracking Reward for precision.
Stylization Reward Scheduling
A novel "coach-like" scheduling system manages the adversarial reward. Early in training, the discriminator provides a broad signal to capture general motion. As the robot's performance improves—indicated by the discriminator's mean reward—the system shifts focus toward joint-level precision to refine the technique.
Datasets
The framework was trained on a curated dataset of 11 reference motions, including real-world quadruped motion capture (walking, trotting, turning), synthetic motions to fill diversity gaps, and trajectory-optimized motions for high-agility maneuvers like backflips.
Results and Insights
The VIM framework was deployed on a Unitree A1 quadruped, demonstrating remarkable zero-shot agility in the real world.
Real-World Agility
VIM successfully executed backflips and jumps using a single policy without task-specific fine-tuning. In simulation, VIM achieved a joint angle tracking error of only 0.08 rad², significantly outperforming standard Motion Imitation (0.25 rad²) and GAIL (0.17 rad²).
Semantic Clustering and Robustness
Visualizations of the latent space revealed that VIM naturally clusters similar motions (e.g., various types of turns). This semantic mapping facilitates smooth transitions between skills. In "Following Command" tasks, VIM outperformed Hierarchical Reinforcement Learning (HRL) and PPO baselines, maintaining stability even at high linear and angular velocities. Furthermore, the hierarchical approach allowed the robot to learn complex downstream tasks, such as jumping over gaps, much faster by leveraging the pre-trained motion prior.
Discussion and Future Work
While VIM represents a significant step toward versatile robotic agility, several areas for improvement remain. The current training does not explicitly incorporate safety constraints for high-energy maneuvers. Additionally, hardware limitations of the Unitree A1 prevent perfect replication of high-speed biological nuances like cantering. Future work will focus on integrating environmental perception (e.g., LiDAR or cameras) directly into the motion prior and developing adaptive techniques to handle changes in robot dynamics, such as carrying varying payloads.
Summary updated