LocoMuJoCo: A Comprehensive Imitation Learning Benchmark for Whole-Body Control
Authors: Firas Al-Hafez, Davide Tateo, Oleg Kaidanov, Aditya Bhatt, Artur Zelik, Zhengyi Luo, Jan Peters
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
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
✗
✗
✗
✗
✗
Table 1: Comparison with recent humanoid motion-imitation libraries. ✓/✗ denote built-in support/absence, based on cited papers and public documentation (2026).
Figure 1: The 12 humanoid and (musculo-)skeletal embodiments replaying one walking trajectory; ghosted poses show time. All share one training, plug-in, and dataset interface.
Figure 2: Sim-to-real transfer on the AgiBot X2 Ultra: one motion-tracking policy trained in LocoMuJoCo, running on the real robot over a 43 s motion.
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
Appendix
Table 2: The 15 mimic-site / SMPL-joint correspondences, defined once in loco_mujoco/smpl/robot_confs/defaults.yaml and reused unchanged across all registered humanoid robots; per-robot files set the T-pose joint offsets and, where needed, per-site constraint parameters.
Figure 4: Rendered examples of the three retargeting stages. Panels (a,e) show Stage 1 shape fitting for the Unitree G1 before and after optimization; the mean 15-site correspondence error decreases from 112.1 to 21.8 mm. Panels (b–d) show Stage 2 on a dance sequence: the original SMPL surface, the target-shaped SMPL skeleton (blue) and 15-site target skeleton (orange), and the resulting Fourier GR1T2 trajectory. Panels (f–h) show Stage 3 on a different walking sequence: the Unitree H1v2 source trajectory, its H1v2-shaped synthetic SMPL intermediate, and the resulting Booster T1 trajectory. Pale silhouettes show poses 0.5 s before and after the highlighted frame; border colors match the three stages in Figure 5 .
Figure 5: Three-stage retargeting pipeline. Stage 1 fits a per-robot SMPL shape βtgt and per-site rigid offsets in a canonical T-pose (run once per robot, equation ( 1 )). Stage 2 turns any SMPL motion clip into a target-robot trajectory by stepping MuJoCo with soft mjEQ_WELD equality constraints between mocap targets and mimic sites (equation ( 4 )); SMPL forward kinematics here uses the target robot’s own βtgt . Contacts and joint limits are enforced jointly with constraint satisfaction, which prevents the ground-penetrating poses that rigid-IK retargeters routinely produce. Stage 3 (optional) maps a source-robot trajectory back into SMPL coordinates via gradient descent on equation ( 8 ) using the source robot’s βsrc ; the resulting synthetic SMPL clip is then fed into Stage 2 with the target robot’s βtgt .
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
Appendix
Table 3: Environment steps per second on the Unitree G1 of loco-mujoco-real for the three backends of LocoMuJoCo 1.2.0 and for mjlab 1.6.1, by number of parallel environments, with full self-collision and with only the foot–floor contacts. The last two rows use LocoMuJoCo’s legacy G1 model instead. A dash marks a configuration that was not measured. Hardware: one NVIDIA RTX 4090 (24 GB) and an Intel Core i9-13900KF. mjlab uses MuJoCo Warp 3.11.0, Warp 1.19.0, and PyTorch 2.14.1; LocoMuJoCo uses MJX 3.11.0, which bundles its own copy of MuJoCo Warp, with Warp 1.14.0, JAX 0.10.1, and loco-mujoco-real 0.1.0. All GPU libraries are their CUDA 12 builds.
Figure 6: PPO + DeepMimic on 11 embodiments, 13 clips, and 5 seeds. Top: aggregate training return and episode length per embodiment (mean ± std). Bottom: final joint-position Euclidean, DTW, and Fréchet errors per embodiment (log scale; lower is better).
Figure 7: Per-env distribution of final-step validation error on three further quantities (rows) under the three trajectory-similarity measures (columns), complementing the joint-position panel of Figure 6 . Each box aggregates 5 seeds × 13 mocap clips for one env (whiskers at 1.5 × IQR, log y ).
Figure 8: Per-env validation error over training, with rows for joint positions ( qpos , mostly radians), relative site positions ( site_rpos , meters), and relative site rotations ( site_rrotvec , axis-angle radians); columns are the three trajectory-similarity measures. Each line is the median across the 5 seeds and 13 mocap clips contributing to each (env, time) point; bands are the inter-quartile range.
Figure 9: Algorithm comparison on UnitreeH1 (experiment 2): PPO vs. SAC vs. TD3 aggregated across all 13 native clips and 5 seeds (65 runs per algorithm). Left: training return. Right: training episode length. Lines are algorithm-level mean over (task, seed) at each binned step, bands are ± std.
Figure 10: PPO vs. GAIL on UnitreeH1 (experiment 3), aggregated across 12 native clips ( onestepside1 excluded) and 5 seeds per algorithm. Top: training return and training episode length, mean ± std band over (task, seed) at each binned step (capped at 3×108 steps). Bottom: per-algorithm distribution of the final-step validation error, one panel per trajectory-similarity measure (Euclidean / DTW / Fréchet); within each panel, PPO and GAIL boxes are paired across three kinematic quantities — joint positions ( qpos ), site rotations ( site_rrotvec , axis-angle), and site positions ( site_rpos ). Each box aggregates 5 seeds × 12 clips for one algorithm (whiskers at 1.5 × IQR, log y ).
Figure 11: Simulation and real robot for the motion of Figure 2 . Each panel shows the simulation (left) and the real AgiBot X2 Ultra (right) at the same time of the motion.
Robot
Normalized return
Failed clips (of 40)
Completed frames
AgiBot X2 Ultra
0.776±0.004
1, 0, 0
99.7 %
Unitree G1
0.674±0.020
2, 0, 1
99.1 %
Appendix
Table 4: SuperMimic on all 40 LAFAN1 clips with one policy per robot, trained for 1.53×108 environment steps. The normalized return is the undiscounted reward sum divided by the maximum attainable one, averaged over clips (mean ± standard deviation over three seeds); failed clips are listed per seed, and completed frames are averaged over seeds.
Learning motor control for muscle-driven musculoskeletal models is hindered by the computational cost of biomechanically accurate simulation and the scarcity of validated, open full-body models. Here we present MuscleMimic, an open-source framework for scalable motion imitation learning with physiologically realistic, muscle-actuated humanoids. MuscleMimic provides two validated musculoskeletal embodiments - a fixed-root upper-body model (126 muscles) for bimanual manipulation and a full-body model (416 muscles) for locomotion - together with a retargeting pipeline that maps SMPL-format motion capture data onto musculoskeletal structures while preserving kinematic and dynamic consistency. Leveraging massively parallel GPU simulation, the framework achieves order-of-magnitude training speedups over prior CPU-based approaches while maintaining comprehensive collision handling, enabling a single generalist policy to be trained on hundreds of diverse motions within days. The resulting policy faithfully reproduces a broad repertoire of human movements under full muscular control and can be fine-tuned to novel motions within hours. Biomechanical validation against experimental walking and running data demonstrates strong agreement in joint kinematics (mean correlation r = 0.90), while muscle activation analysis reveals both the promise and fundamental challenges of achieving physiological fidelity through kinematic imitation alone. By lowering the computational and data barriers to musculoskeletal simulation, MuscleMimic enables systematic model validation across diverse dynamic movements and broader participation in neuromuscular control research. Code, models, checkpoints, and retargeted datasets are available at: https://github.com/amathislab/musclemimic
Chengkun Li, Cheryl Wang, Bianca Ziliotto +4
EPFL, Switzerland · McGill University, Canada · Feil & Oberfeld CRIR-Jewish Rehabilitation Hospital Research Center, Canada +1
Humanoid foundation models are advancing faster than we can evaluate them. While real-world testing is expensive and difficult to reproduce, existing simulation benchmarks focus primarily on table-top or wheeled robots. A scalable and reproducible benchmark for whole-body humanoid loco-manipulation remains an open problem. To this end, we present SIMPLE, a unified simulation testbed for humanoid policy learning and evaluation. SIMPLE couples the accurate contact-rich dynamics of MuJoCo with the photorealistic rendering of IsaacSim. It provides a large-scale environment comprising 16 diverse whole-body tasks, 50 indoor scenes, and over 1,000 object assets. To facilitate scalable data collection, the framework integrates two data generation pipelines: automated trajectory generation via motion planning and a low-latency VR teleoperation interface. We further integrate and benchmark mainstream humanoid policies at scale in SIMPLE, including lightweight imitation networks, large vision-language-action (VLA) models, and recent world action models (WAMs). Our experiments reveal a strong correlation between policy performance in simulation and the real world. Furthermore, we demonstrate that policies trained on data collected in SIMPLE can be transferred zero-shot to physical humanoid robots under similar settings, providing a robust and reproducible foundation for humanoid robotics research.
Imitation learning is a promising approach for training humanoid robots to both walk and manipulate, but it requires a large number of demonstrations, which are time-intensive and difficult to collect via teleoperation. Existing data-generation algorithms can automatically synthesize demonstrations for manipulators, but they are ineffective on humanoids because their high-dimensional composite action spaces involve arms, legs, and torsos. We present HumanoidMimicGen, a method for generating humanoid legged loco-manipulation data. Our method adapts contact-rich whole-body skills from a handful of source demonstrations to new states, generalizing across changes in object pose. By interleaving these single- and dual-arm skills with whole-body locomotion and manipulation planning, the method generates stable, collision-free data across diverse scenes and layouts. To evaluate our approach, we introduce a new simulated loco-manipulation benchmark containing nine diverse tasks that test humanoid loco-manipulation capabilities. There, we demonstrate that HumanoidMimicGen automatically generates large datasets for imitation learning and enables a systematic study of how data generation and policy learning decisions impact model performance. We show that whole-body visuomotor policies co-trained with data generated by HumanoidMimicGen outperform those trained only on real-world data by 20%.