LocoMuJoCo: A Comprehensive Imitation Learning Benchmark for Whole-Body Control
Organizations: Department of Computer Science, Technische Universität Darmstadt, Darmstadt, Hesse, Germany · German Research Center for Artificial Intelligence (DFKI), Darmstadt, Hesse, Germany · Carnegie Mellon University, Pittsburgh, PA, USA · German Research Center for Artificial Intelligence (DFKI), Centre for Cognitive Science, Hessian.AI, Technische Universität Darmstadt, Germany
Abstract
LocoMuJoCo is an open-source benchmark for imitation learning (IL) and reinforcement learning (RL) on whole-body control. The library couples MuJoCo (CPU) with MJX and the MjWarp backend (GPU) under a single API, exposes 9 humanoid, 3 (musculo-)skeletal, and 4 quadruped embodiments, and ships a curated native motion-capture dataset for every humanoid, to which it can also retarget AMASS and LAFAN1. A modular plug-in architecture makes observations, rewards, control modes, terrains, and domain randomization fully interchangeable, while compact JAX implementations of many RL and IL algorithms provide JIT-compiled end-to-end training, and the companion loco-mujoco-real repository provides sim-to-real deployment. We describe the design, the SMPL-to-robot and robot-to-robot retargeting pipeline, and a usage example. LocoMuJoCo is released under MIT at https://github.com/robfiras/loco-mujoco.
Figures & tables
| Dual backend | Built-in | Biomechanics | Trajectory | Sim-to-real | |
|---|---|---|---|---|---|
| (NumPy + JAX) | retargeting | (muscles) | metrics | tooling | |
| HumanoidBench | ✗ | ✗ | ✗ | ✗ | ✗ |
| MyoSuite | ✗ | ✗ | ✓ | ✗ | ✗ |
| mjlab | ✗ | ✗ | ✗ | ✗ | ✓ |
| ProtoMotions | ✗ | ✓ | ✗ | ✗ | ✓ |
| MimicKit | ✗ | ✗ | ✗ | ✗ | ✗ |
Appendix figures & tables11 assets
Supplementary material from the paper’s appendix.
Appendix
| mimic site | SMPL joint | mimic site | SMPL joint |
|---|---|---|---|
| pelvis_mimic | Pelvis | left_shoulder_mimic | L_Shoulder |
| upper_body_mimic | Chest | left_elbow_mimic | L_Elbow |
| head_mimic | Head | left_hand_mimic | L_Wrist |
| left_hip_mimic | L_Hip | right_shoulder_mimic | R_Shoulder |
| left_knee_mimic | L_Knee | right_elbow_mimic | R_Elbow |
| left_foot_mimic | L_Ankle | right_hand_mimic | R_Wrist |
| parallel environments | ||||||
|---|---|---|---|---|---|---|
| framework | backend | 1 | 8 | 1,024 | 4,096 | 8,192 |
| full self-collision | ||||||
| mjlab | MjWarp | 211 | — | 135,086 | 315,642 | 391,556 |
| LocoMuJoCo | MuJoCo (CPU) | 2,147 | 15,805 | — | — | — |
| LocoMuJoCo | MJX | 169 | — | 12,667 | 9,388 | 8,974 |
| LocoMuJoCo | MjWarp | 530 | — | 251,472 | 442,715 | 487,553 |
| Robot | Normalized return | Failed clips (of 40) | Completed frames |
|---|---|---|---|
| AgiBot X2 Ultra | 1, 0, 0 | 99.7 % | |
| Unitree G1 | 2, 0, 1 | 99.1 % |
Robot Imitation Learning
Robot imitation learning trains robots to perform tasks by reproducing and adapting behaviors shown in demonstrations.
See all 757 papers