Abstract
Achieving human-level agility and versatility in humanoid robots remains a significant challenge in robotics. While reinforcement learning (RL) has shown promise in imitating human motions, these skills are often brittle and difficult to compose for novel tasks. We present BeyondMimic, a two-stage framework that combines a simplified RL motion-tracking pipeline with a latent state-action diffusion model. By leveraging anchor-centered tracking and classifier guidance, BeyondMimic enables zero-shot sim-to-real transfer of complex acrobatic skills and real-time adaptation to unseen objectives, such as obstacle avoidance and waypoint navigation, without retraining.
1. Introduction
The high-dimensional, floating-base nature of humanoid robots makes them notoriously difficult to control. Traditional model-based controllers frequently rely on simplified dynamics, which often results in stiff, unnatural movements. While Reinforcement Learning (RL) has emerged as a powerful tool for learning natural motions from human data, it typically suffers from two main drawbacks: the need for extensive, motion-specific reward tuning for sim-to-real transfer, and the inability to easily compose learned skills for novel tasks.
BeyondMimic addresses these limitations by decoupling the problem into two stages: learning a robust library of fundamental skills and then using a generative model to compose and guide these skills in real-time.
2. Methodology
The BeyondMimic framework consists of a scalable motion-tracking stage followed by a versatile control stage using guided diffusion.
2.1 Scalable Motion Tracking
The first stage utilizes a compact Markov Decision Process (MDP) to learn a wide array of human motions. Unlike traditional approaches that require complex reward shaping, BeyondMimic employs a unified reward function and shared hyperparameters across all motions. A critical innovation is anchor-centered tracking, where the robot tracks desired poses relative to its torso rather than in global coordinates. This formulation allows the robot to absorb physical perturbations and drift naturally without compromising the stylistic integrity of the motion. Additionally, adaptive sampling is used during training to prioritize difficult segments of the motion data.
2.2 Versatile Control via Guided Diffusion
To move beyond isolated skills, the framework compresses the learned RL policies into a smooth latent space using a Variational Autoencoder (VAE). A state-action latent diffusion model is then trained on trajectories generated by these policies. This model learns the underlying distribution of valid humanoid movements.
2.3 Test-Time Optimization and Guidance
At inference, the system employs classifier guidance to steer the denoising process of the diffusion model. Because the diffusion model learns the gradient field of a data distribution, task-specific cost functions—such as "avoid this obstacle" or "follow this waypoint"—can be applied to the latent states. This transforms the generative model into a real-time, receding-horizon trajectory optimizer, allowing the robot to solve complex, unseen tasks purely at test time.
3. Experimental Setup
The framework was trained on approximately 2.5 hours of diverse, unlabeled human motion data, including the LAFAN1 dataset and various online animation packs. The system was tested on a physical Unitree G1 humanoid robot.
4. Results
BeyondMimic demonstrates significant advancements in agility, naturalness, and versatility.
4.1 Extreme Agility and Sim-to-Real Transfer
The system achieved zero-shot transfer to the physical Unitree G1 robot, executing 30 diverse motion clips over 15 minutes of testing. The robot successfully performed highly dynamic maneuvers, including aerial cartwheels with peak accelerations of 31 m/s² and angular velocities of 20 rad/s, as well as 360° flip-kicks on uneven outdoor terrain.
4.2 Human-Like Naturalness
In a user study involving 77 participants, BeyondMimic’s motions were preferred over the state-of-the-art native controller provided by Unitree. The overall preference rate was 70.8%, rising to 84.7% for running motions. Biomechanical analysis showed that the Ground Reaction Force (GRF) profiles generated by the system closely matched human data.
4.3 Zero-Shot Versatility
The same underlying model was used to perform a variety of tasks without retraining. By applying different guidance signals, the robot successfully executed:
- Joystick Teleoperation: Real-time control of movement direction and speed.
- Waypoint Navigation: Following a sequence of target locations.
- Obstacle Avoidance: Navigating around objects defined by Signed Distance Fields (SDF).
- Motion Inpainting: Seamlessly transitioning between disparate skills, such as blending a walk into a cartwheel.
5. Discussion and Limitations
While BeyondMimic represents a leap forward in humanoid control, several challenges remain. The diffusion model is sensitive to state estimation noise; errors in proprioception can degrade trajectory quality. Furthermore, the current prediction horizon is limited to 0.64 seconds, which is sufficient for reactive tasks but inadequate for long-horizon strategic planning. Future work will focus on integrating sensor fusion for better state estimation and exploring advanced diffusion techniques to reduce the manual tuning required for guidance weights.
6. Conclusion
BeyondMimic demonstrates that combining principled physical modeling with generative diffusion models can bridge the gap between motion imitation and versatile, real-world humanoid control. By treating motion generation as a guided denoising process, the framework enables robots to perform agile, human-like feats while remaining adaptable to the unpredictable demands of real-world environments.
Summary updated