Skip to content
Robotics.world

Research

Reusing Locomotion Training Recipes Across Humanoids via Body-Aligned Virtual Joints

Most learning-based locomotion policies output desired joint angles in each robot's own native joint coordinates, and everything else in the training pipeline — action scaling, bounds, PD gains…

arXiv
2611.18003 · Preprint · not peer-reviewed
Published
2026-11-13
Authors
Sol Choi, Mingon Kim, Seokin Seo, Jongeun Choi, Donghyeon Kim, Yisoo Lee

In plain words

Most learning-based locomotion policies output desired joint angles in each robot's own native joint coordinates, and everything else in the training pipeline — action scaling, bounds, PD gains, joint limits, penalties — is defined per native joint.

AI summary

Overview

Research area: Reinforcement learning for legged locomotion, specifically sim-to-real humanoid control and cross-embodiment policy transfer.

Technical level: Advanced — assumes familiarity with reinforcement learning (PPO, action distributions), rigid-body kinematics, Jacobians, and sim-to-real deployment pipelines.

Scope: The paper proposes a body-aligned "virtual joint" coordinate interface that lets one unchanged locomotion training recipe be reused across three humanoids with differently oriented leg joint axes, evaluated in simulation (Isaac Lab training, MuJoCo sim-to-sim) and on Unitree G1 hardware.

What This Paper Is About

Most learning-based locomotion policies output desired joint angles in each robot's own native joint coordinates, and everything else in the training pipeline — action scaling, bounds, PD gains, joint limits, penalties — is defined per native joint. Because humanoid designers deliberately tilt, offset, and couple leg joint axes for packaging and torque reasons, the same body-level motion (say, a hip roll) maps to a different combination of native numbers on each robot, so a recipe that works on one humanoid often needs retuning on another.

The paper's goal is not to make whole-body motions identical across robots, but to give policies a shared anatomical coordinate convention in which corresponding action dimensions mean the same body-aligned rotations on every robot, while keeping the action dimension, the joint-target structure, and each robot's existing transmission and low-level controller untouched.

Key Contributions

  1. Problem identification: The authors distinguish native-coordinate inconsistency — different robots' joint coordinates encode different physical axes — from the joint-to-actuator transmission problem (four-bar linkages, parallel ankles) that existing models already handle. They argue the former is an independent source of embodiment dependence that a transmission model does not fix.

  2. An analytic coordinate layer: A deterministic, URDF-derived interface maps policy actions, joint-velocity observations, and joint-space gains between a shared body-aligned virtual joint space and each robot's native space. It is inserted upstream of the existing native-to-actuator stack, adds no simulated degrees of freedom, and leaves dynamics and constraints unchanged.

  3. Insertion-point analysis: The paper shows that where the map is applied matters. Applying it in the training loop (on the unmodified native model) produces a training instability; training on a body-aligned model of the same robot and applying the map only at deployment (post-hoc) avoids it. The post-hoc form is the proposed method.

  4. Cross-embodiment and hardware evaluation: One unmodified recipe is tested across three humanoids with different leg-axis layouts and on Unitree G1 hardware, where the benefit shows up first in gait geometry and heading drift rather than in aggregate tracking error.

Main Findings

  • Single recipe works on all three platforms only with the proposed interface: Under one unchanged recipe on Unitree G1, PND Adam, and a custom-built platform, the proposed interface is described as the only one that tracks accurately, keeps feet aligned with travel direction, and trains stably on all three. Each baseline degrades on at least one platform.

  • Tracking error and lateral drift (sim-to-sim, MuJoCo, n = 3 seeds): On the two obliquely-hipped platforms, the proposed method has the lowest velocity error and lowest lateral drift. PND Adam: proposed 0.085 ± 0.018 m/s error and 0.075 ± 0.006 m drift, versus native 0.106 ± 0.018 and 0.094 ± 0.007, and task space 0.207 ± 0.016 and 0.082 ± 0.010. Custom platform: proposed 0.029 ± 0.002 and 0.033 ± 0.005, versus native 0.032 ± 0.005 and 0.042 ± 0.002, and task space 0.477 ± 0.333 and 0.120 ± 0.070.

  • G1 shows no clear winner in simulation: G1's native hip carries only a small (~10°) mounting offset and is already close to the body convention, so differences fall within seed-to-seed spread. Native 0.042 ± 0.001 m/s, task space 0.048 ± 0.002, in-loop 0.042 ± 0.007, post-hoc 0.053 ± 0.018.

  • Foot-progression angle reveals what tracking error hides: The proposed interface keeps mean |FPA| ≤ 1.3° on every platform. On PND Adam, native coordinates give 4.8° and task space 14.2°, versus 0.5° for the proposed method. The cause is diagnosed: Adam's proximal hip-pitch axis is inclined 35° about the fore-aft axis, mirrored between legs, so a native hip-pitch command θ injects sin(35°)θ ≈ 0.57θ of body yaw of opposite sign per leg — at a 23° swing, roughly 13° of thigh yaw.

  • Toe-out reduction is not universal: On G1 and the custom platform the mounting tilt is about the lateral axis, leaving the pitch axis invariant and mixing only roll and yaw, so toe-out is small for all interfaces (≤ 1.7°). The interface specifically prevents the outward splay induced by oblique hips.

  • Better inter-leg coordination: Phase error drops from 1.62% to 0.23% on G1 and from 1.64% to 0.54% on the custom platform, with only a marginal change on Adam (2.59% to 2.36%). On the custom platform the task-space baseline reaches CV(T) = 11.4%, while the proposed and native interfaces stay below 0.6%.

  • Training stability: Measured as the fraction of iterations after episode length first reaches half its maximum in which it falls back below, the proposed interface stays unstable for at most 0.1% of iterations on all three robots. The in-loop variant reaches 15.3% on Adam; the task-space baseline remains unstable for 1.2–6.0% of training.

  • Hardware heading drift on Unitree G1: Walking straight at vx = 0.5 m/s over 6 rollouts each, native and in-loop controllers drifted toward the edge of the test area and were stopped after 5.1 ± 1.7 m and 6.9 ± 3.0 m; every proposed-interface rollout reached the end of the available walkway at 13.8 ± 1.1 m, limited by test area rather than failure. Absent base position logs, absolute IMU yaw rate over a 5-s steady-walking interval was 0.89 ± 0.54 °/s for the proposed interface, versus 5.31 ± 1.90 °/s native and 4.08 ± 1.02 °/s in-loop — roughly a six-fold reduction.

  • Explanation for the sim-to-real gap: The authors argue heading drift is signed and accumulating, so a bias invisible to magnitude-averaged velocity error integrates into meters over a 10 m walkway. On hardware, calibration residuals, mounting tolerances, transmission compliance, and load-dependent lag inject small quasi-static rotations; expressed in oblique native axes, these turn sagittal intent into abduction and yaw, which a policy can only cancel using axis mixing it learned from idealized simulated geometry. The proposed layer supplies that mixing analytically, leaving the residual as an unmodeled disturbance.

  • Computational cost is negligible: On a Jetson Orin NX, the encoder and decoder take about 0.2 ms per control step (~1% of the 20 ms control period); the complete control thread takes about 1.10 ms, compatible with the 50 Hz control rate, with no missed deadlines.

  • The authors caution on attribution: They state that a controlled attribution of the hardware gap would require hardware ablations beyond these rollouts.

Methodology in Plain English

The team defines a standard anatomical convention for a humanoid leg: a 3-DoF hip described by yaw, roll, then pitch about body-aligned axes, a 1-DoF knee, and a 2-DoF ankle described by roll then pitch. Ankle yaw is not independently parameterized, and the knee's nominal standing pose is defined as zero with positive rotation meaning flexion.

For each robot, they attach a virtual reference frame to the two links on either side of each multi-DoF joint group — pelvis and thigh for the hip, shank and foot for the ankle. At the robot's nominal configuration, both frames are aligned with the body frame; afterward they ride along with their links. The relative orientation of the two frames then describes the joint group's motion in a body-aligned way regardless of how the real axes are tilted. All calibration offsets come straight from forward kinematics on the URDF.

The policy outputs desired virtual joint angles. To convert these to native targets, the code builds the virtual orientation, then extracts whichever native joint coordinates produce that same orientation on that specific robot — choosing the solution branch continuous with the nominal pose. Knee mapping is a one-dimensional offset plus sign flip. Because the finite-angle relationship is generally nonlinear, no constant linear transform is assumed.

A full-coordinate Jacobian, assembled block-wise per joint group, converts joint velocities between spaces and also transforms a common stiffness into native gains (using the diagonal of J-transpose-K-J at the nominal configuration, with the same treatment for damping). Native joint limits and actuator saturation are still enforced in their physical spaces after the mapping.

Crucially, they do not simulate the virtual joints as extra degrees of freedom. For training, they build a body-aligned model of the same robot — each leg joint axis swapped for the canonical axis, with link masses, inertias, and joint limits unchanged — so virtual and native coordinates coincide during training and no map runs in the loop. At deployment, the map runs on the real robot and the existing PD controller and transmission handle the rest. The comparison conditions are native joint space, a task-space baseline following Duan et al., the virtual space applied in-loop, and the proposed post-hoc virtual space. All policies are trained in Isaac Lab from a single recipe derived from the official Unitree RL Lab G1-29DoF velocity-tracking configuration, with arms and waist removed and upper-body joints fixed, and evaluated closed-loop in MuJoCo.

Why This Matters

For research, the paper reframes cross-embodiment transfer as partly a coordinate choice problem rather than purely an architecture or morphology-conditioning problem, and it offers a concrete, analytically derived, drop-in layer that is complementary to graph-structured, modular, or morphology-conditioned policies. It also contributes a methodological observation that aggregate task metrics hide gait-geometry failures, and a caution that where a coordinate map is inserted changes optimization behavior.

Real-world applications:

  • Fleet deployment across heterogeneous humanoid hardware: one team can maintain a single training pipeline while sourcing robots from different vendors with different actuator layouts.
  • Faster onboarding of new platforms: a newly designed leg does not require rebuilding reward terms from scratch, since body-consistent gait emerges from the coordinate choice rather than reward shaping.
  • Reduced field failure in straight-line walking: heading drift is a practical safety and navigation issue for long-corridor or inspection tasks, and the reported reduction from 5.31 to 0.89 °/s is directly relevant.
  • Low-cost onboard integration: at ~0.2 ms per step on embedded hardware, the layer fits existing 50 Hz control loops without new compute.

Industry relevance: the approach preserves existing transmission models, safety checks, and low-level controllers, meaning it can be layered onto shipping humanoid control stacks rather than replacing them. The reduction of per-platform reward engineering addresses a real cost center in commercial legged-robot development.

Future Directions

  1. Controlled hardware ablations: The authors explicitly state that attributing the hardware heading-drift improvement to the coordinate layer versus calibration, compliance, or lag would require hardware ablations beyond those performed. Isolating each error source is an obvious next step.

  2. Extending beyond the leg: The canonical convention covers a 3-1-2 hip-knee-ankle leg with no independent ankle yaw. Generalizing the virtual-to-native layer to arms, waists, and other joint topologies would test how far the interface scales toward whole-body policies.

  3. Handling mechanisms without an explicit decoder: The paper notes that when an explicit decoder is unavailable for a particular mechanism, a damped local numerical inverse may be supported, with damping introduced only near rank-deficient configurations. Validating that fallback on real closed-chain or coupled mechanisms is open.

  4. Closing the sim-to-real mismatch on the coordinate layer itself: Because the post-hoc form trains on an idealized body-aligned model and absorbs the mismatch as a deployment-time disturbance, identifying and modeling calibration residual, transmission compliance, and load-dependent lag within the layer could further reduce drift.

  5. Benchmarking against morphology-conditioned and multi-embodiment methods: The authors position their work as complementary to graph-structured, modular, and morphology-conditioned approaches, but no head-to-head comparison is reported here.

Target Audience

Robotics researchers and engineers working on reinforcement learning for legged locomotion, especially those deploying humanoid policies across multiple platforms or maintaining sim-to-real pipelines. It is also useful for robot designers interested in how mechanical axis choices propagate into learned controller behavior, and for practitioners who want a drop-in coordinate abstraction that does not require rewriting their reward functions or low-level control stack. Readers need a working grasp of RL training pipelines and rigid-body kinematics to follow the method; the results and gait analyses are accessible to a broader engineering audience.

Authors’ abstract

Reinforcement learning has enabled robust humanoid locomotion, yet training recipes (rewards, architectures, hyperparameters) remain hard to reuse across robots with different native joint coordinates, since policies output native joint angles while action scales, bounds, gains, and penalties are defined in those robot-specific coordinates. Existing transmission models convert native targets into actuator commands but do not standardize the coordinate interface exposed to…

The full abstract on arXiv
Read the original paper

Related papers