Video
One recipe, three humanoids
Locomotion training recipes — rewards, architectures, hyperparameters — are hard to reuse across robots, because policies output native joint angles while action scales, bounds, gains, and penalties are all defined in those robot-specific coordinates.
We add a body-aligned virtual joint space upstream of each robot’s transmission. Policy actions and observations follow one anatomical convention, and a deterministic kinematic layer maps virtual targets to native ones, leaving the existing control stack unchanged.
Under a single unmodified recipe on three humanoids with different leg-axis layouts, it is the only interface that tracks accurately, keeps the feet aligned with the travel direction, and trains stably on all three.
Less heading drift on Unitree G1 hardware. Absolute IMU yaw rate over the same 5 s of steady walking fell from 5.31 to 0.89 °/s (6 rollouts each).
Toe-out on every robot. On PND Adam ours gives 0.5°, while native coordinates give 4.8° and task space 14.2°.
Of training iterations unstable. Inserting the same map in the training loop reaches 15.3% on Adam.
A virtual joint layer, upstream of the transmission
The policy acts and observes in a shared body-aligned joint space. An analytic map converts virtual targets into each robot’s native joint targets; four-bar linkages, parallel ankles, PD control, and safety checks stay exactly as they were.

The robot’s control stack stays unchanged.
The same map runs in simulation and on the robot.
About 1% of the 20 ms control period on a Jetson Orin NX.
A canonical leg convention
Each leg becomes a 3-DoF hip (yaw, roll, pitch), a 1-DoF knee, and a 2-DoF ankle (roll, pitch), all about body-aligned axes: forward, left, and up.
Orientation matching
Native targets are found by matching link orientations, R̄g(qdes) = RVg(qV,des), choosing the solution branch continuous with the nominal pose.
Jacobian transfer
The coordinate Jacobian maps joint velocities, q̇V = J q̇, and turns one virtual PD gain set into native gains, Kr = diag(J⊤KVJ).
Post-hoc insertion
Train on a body-aligned model of the same robot, then apply the map only at deployment. This avoids the optimization instability that appears when the map runs inside the training loop.
Accurate tracking and aligned feet in simulation
Every policy is trained in Isaac Lab with the Unitree RL Lab velocity-tracking recipe and evaluated closed-loop in MuJoCo, over 25 velocity commands and three seeds. Only the joint-coordinate interface changes.

Four interfaces, one recipe
Network, PPO settings, observations, rewards, and curriculum are identical; only the joint-coordinate interface changes.
Native joint space
The policy acts and observes directly in each robot’s native joint coordinates. This is the usual setup.
Task space
The policy outputs foot-position residuals plus hip-yaw and foot-pitch targets; a model-based task-space controller turns them into joint commands.
Virtual joint space, in-loop
The policy acts in body-aligned coordinates, and the coordinate map runs on the unmodified native model throughout training.
Virtual joint space, post-hoc
Train on a body-aligned model of the robot, then apply the coordinate map to the native robot only at deployment.
How we measure
Definitions of the metrics in Table 1, Fig. 3, Table 2, Fig. 4, and the hardware test.
Velocity error
Gap between the commanded and measured base velocity in the base heading frame, averaged over time and over 25 constant commands with \(v_x \in [-0.5, 1.0]\) m/s, \(v_y \in [-0.3, 0.3]\) m/s, and \(\omega_z \in [-0.2, 0.2]\) rad/s.
Lateral drift
Sideways displacement after a 20 s straight walk at \(v_x = 0.5\) m/s with \(v_y = \omega_z = 0\), measured in the initial base heading frame.
Foot-progression angle
Foot heading relative to the base heading \(\psi_b\) at mid-stance, from the foot rotation \(\mathbf{R}_f = [r^f_{ij}]\), averaged over mid-stance samples, gait cycles, and both feet. 0° means the feet point where the body goes.
Inter-leg phase error
\(t^L_k\) is the \(k\)-th left-foot lift-off, \(\tau^R_k\) the first right-foot lift-off after it, and \(\widetilde{T}\) the median gait period. 0 means exact left–right alternation. Gait-period variability is reported as the coefficient of variation \(\mathrm{CV}(T)\).
Instability fraction
Share of training iterations in which the mean episode length \(\bar{L}_k\) falls back below half its maximum, counted after it first reaches that level at iteration \(k_0\). Rewards are not compared, because the interfaces change the scale of action penalties.
Heading drift
Mean absolute IMU yaw rate over the same 5 s of steady walking, since base position was not logged on hardware.
| Robot | Interface | Velocity error (m/s) | Lateral drift (m) |
|---|---|---|---|
| Unitree G1 | Native | 0.042 ± 0.001 | 0.086 ± 0.001 |
| Task space | 0.048 ± 0.002 | 0.129 ± 0.003 | |
| Virtual, in-loop | 0.042 ± 0.007 | 0.084 ± 0.001 | |
| Virtual, post-hocOURS | 0.053 ± 0.018 | 0.089 ± 0.003 | |
| PND Adam | Native | 0.106 ± 0.018 | 0.094 ± 0.007 |
| Task space | 0.207 ± 0.016 | 0.082 ± 0.010 | |
| Virtual, in-loop | 0.143 ± 0.034 | 0.113 ± 0.013 | |
| Virtual, post-hocOURS | 0.085 ± 0.018 | 0.075 ± 0.006 | |
| Custom-built | Native | 0.032 ± 0.005 | 0.042 ± 0.002 |
| Task space | 0.477 ± 0.333 | 0.120 ± 0.070 | |
| Virtual, in-loop | 0.033 ± 0.005 | 0.040 ± 0.003 | |
| Virtual, post-hocOURS | 0.029 ± 0.002 | 0.033 ± 0.005 |
TABLE 1Mean ± std over three seeds. Lateral drift is measured after a 20 s straight walk. Bold marks the best value per robot; the task-space baseline barely advances on the custom platform.


FIG. 3Left: foot-progression angle by platform and interface. Right: swing legs on PND Adam. With oblique hips, native coordinates splay the feet outward; the virtual interface keeps them aligned with the travel direction.
A 35° hip tilt turns stepping into twisting
On PND Adam the hip-pitch axis, the first joint of the leg and the one that moves most while walking, is tilted 35° about the fore–aft axis, mirrored on the two legs. A native hip-pitch command therefore also twists each thigh, in opposite directions:
Native coordinates can cancel this only if the policy learns the axis mixing; the virtual interface removes it analytically. On G1 and the custom platform the tilt is about the lateral axis and shared by both legs, so hip pitch is unaffected and toe-out stays at or below 1.7° for every interface. The interface does not reduce toe-out everywhere; it removes the splay that oblique hips cause.
Steadier left–right timing
Foot alignment does not capture timing, so we also measure how evenly the legs alternate.
| Robot | Native | Ours (post-hoc) |
|---|---|---|
| Unitree G1 | 1.62 | 0.23 |
| PND Adam | 2.59 | 2.36 |
| Custom-built | 1.64 | 0.54 |
TABLE 2Inter-leg phase error \(e_\Phi\) (%), averaged over steady-state rollouts from three seeds. Ours matches or beats native coordinates on every robot without per-robot tuning; the gain on Adam is small. The other interfaces depend more on the robot: task space reaches \(\mathrm{CV}(T) = 11.4\%\) on the custom platform (native and ours stay below 0.6%) and settles into a near-straight-knee gait on G1 and the custom platform, and one in-loop seed on Adam converges to a much shorter gait period (0.668 s versus about 0.81 s).

Six times less heading drift on hardware
We deployed each controller on a Unitree G1 with no reward retuning or gain adjustment and commanded it to walk straight at 0.5 m/s. In simulation the interfaces looked alike on G1; on hardware they did not.
REAL1×UNITREE G1vx = 0.5 m/s6 ROLLOUTS EACH
Native joint space
- Distance
- 5.1 ± 1.7 m
- Yaw rate
- 5.31 ± 1.90 °/s
Drifted to the edge of the test area and was stopped.
Virtual joint space, in-loop
- Distance
- 6.9 ± 3.0 m
- Yaw rate
- 4.08 ± 1.02 °/s
Drifted to the edge of the test area and was stopped.
Virtual joint space, post-hoc (ours)
- Distance
- 13.8 ± 1.1 m
- Yaw rate
- 0.89 ± 0.54 °/s
Every rollout reached the end of the walkway; distance was limited by the room.
Yaw rate is the mean absolute IMU yaw rate over the same 5 s of steady walking, averaged over 6 rollouts per interface.
Small, same-sign errors add up over a walk
Heading drift is signed and accumulates. A small out-of-plane component of the swing foot gives a yaw impulse of the same sign at every step. An averaged velocity error cannot see that bias, but over a 10 m walkway it adds up to meters. The difference was already there in simulation, in gait timing rather than task error: on the same G1, the inter-leg phase error fell from 1.62% to 0.23% (Table 2).
On hardware, calibration residuals, mounting tolerances, transmission compliance, and tracking lag each add a small rotation between the commanded and the realized link orientation. In oblique native axes, that turns a purely forward intent into a systematic sideways and yaw motion, which a native policy can offset only through the axis mixing it learned from the nominal simulated geometry. The virtual interface supplies that mixing analytically, so the residual stays a small disturbance on a body-aligned action. Confirming this cause would need dedicated hardware ablations.
Future work
This study covers legged velocity tracking, with three seeds per setting and hardware tests on one robot. Next, we want to reuse not only training recipes but also motions across humanoids.
Whole-body interface
Extend the convention to the arms, waist, and torso, beyond the 12-DoF legs.
Motion imitation
Train whole-body imitation policies on body-aligned reference motions.
Shared motion data
Reuse one body-aligned motion set across heterogeneous humanoids.
Broader validation
Hardware tests on all three robots, more seeds, and tasks beyond walking.
Cite this work
@misc{choi2026reusinglocomotiontrainingrecipes,
title = {Reusing Locomotion Training Recipes Across Humanoids via Body-Aligned Virtual Joints},
author = {Sol Choi and Mingon Kim and Seokin Seo and Jongeun Choi and Donghyeon Kim and Yisoo Lee},
year = {2026},
eprint = {2611.18003},
archivePrefix = {arXiv},
primaryClass = {cs.RO},
url = {https://arxiv.org/abs/2611.18003}
}