MEKAWIRE
ExpertarXiv

Driving the Style: Velocity-Conditioned Whole-Body Control from Motion Demonstrations

Murad Dawood, Oezge Drama Berkenkamp, Antonio Gonzales Marin, Nutan Chen
From the abstract

Achieving human-like behavior on humanoid robots has advanced rapidly by leveraging motion-capture demonstrations rather than hand-crafted cost functions. Adversarial imitation supplies a style signal that lets a policy fulfill a task while adhering to a desired style, but is difficult to transfer to hardware.

From the abstract. Our summary is in progress.

Full paper

Driving the Style: Velocity-Conditioned Whole-Body Control from Motion Demonstrations

Murad Dawood, Oezge Drama Berkenkamp, Antonio Gonzales Marin, Nutan Chen

Published under CC BY-NC-SA 4.0. Reproduced with attribution; original at arXiv:2611.20888 (PDF).

Abstract

Achieving human-like behavior on humanoid robots has advanced rapidly by leveraging motion-capture demonstrations rather than hand-crafted cost functions. Adversarial imitation supplies a style signal that lets a policy fulfill a task while adhering to a desired style, but is difficult to transfer to hardware. Whole-body tracking through reinforcement learning instead deploys reliably and imitates demonstrations faithfully, but the resulting policies are conditioned on the future reference, so they require a reference trajectory at runtime and can fail when the motion differs from the training data. We train a humanoid policy directly with whole-body tracking rewards while restricting its actor to compact locomotion commands and robot observations. Reference motion supervises the reward and privileged critic, without supplying reference joint trajectories to the actor or requiring teacher distillation. The demonstrated style is thereby encoded in the policy through the tracking reward, so the robot reproduces the whole-body style under commanded velocities. Trained on a single random-walk motion and commanded with velocity profiles from held-out motions, our policy reaches at least 98% success in simulation and completes every trial on the Unitree G1. On held-out slow walking, whole-body tracking drops to 2% success and command-conditioned distillation to 56%, and both fail on the real robot. On the trained motions, the joint position error of our policy stays within 8% of whole-body tracking, and it has a higher style coverage than adversarial motion priors (AMP), which fell on the real robot without a safety crane.

I Introduction

Humanoid robots have shown the ability to successfully perform a variety of tasks by imitating human motions [1, 2]. This has motivated the capture and generation of extensive motion datasets through motion-capture systems [3, 4, 5]. However, these datasets do not account for the physical constraints of the robot, such as its kinematic and dynamic limits [6]. As a result, imitating the datasets directly through supervised learning yields policies that fail to execute reliably on the robot. Reinforcement learning (RL), on the other hand, is able to learn locomotion policies through exploration that exploits the robot’s own dynamics and kinematics [7, 8, 9, 10, 11]. This has made RL a promising approach for learning stylized locomotion behaviors from motion references [12, 13, 14].

Existing pipelines for learning stylized locomotion follow one of three strategies. Adversarial training provides the RL agent with a reward signal about the style [12, 15, 16, 17]. Whole-body tracking instead combines multiple rewards to imitate the reference motion by tracking joint positions, joint velocities, and the positions and velocities of key body links [6, 13, 18, 14]. A third strategy distills a privileged, reference-conditioned teacher into a student that observes only deployable inputs together with a history of past observations [19]. Each of them has a cost in reliability, in controllability, or in how the policy is trained.

Fig. 1: Our policy learns the jogging style from a motion-capture clip (top) and reproduces it on the Unitree G1 (bottom). Only the base velocity of the clip (orange) is given to the policy as a command. The reference joints and body poses are used only during training.

Adversarial approaches have seen great success in computer graphics [12, 16]: beyond imitating a style, they allow the policy to be driven at runtime without a reference trajectory. However, their deployment to the real world is challenging because of the weighting between the style reward and the task reward. Emphasizing the style can lead to unsuccessful deployment on the real robot (e.g. jittery motions and stumbling), while emphasizing the task reward enables successful deployment at the cost of weaker style imitation. Whole-body tracking, on the other hand, can deploy reliably on real robots while imitating the reference motion to a great extent. However, these policies are conditioned on the future reference of joint positions and velocities, so they require the reference trajectory at runtime and the whole-body motion must come from a recorded clip. Command-conditioned distillation can give the student a low-dimensional command interface, but the student learns by imitating the actions of a reference-conditioned teacher rather than from the task reward, so its behavior is limited by what the teacher does.

To close this gap, we present a velocity-conditioned whole-body controller that deploys reliably and can be steered at runtime, without distillation from a privileged teacher. We train a tracking policy with an asymmetric actor-critic: the critic observes the full reference motion, while the actor observes only proprioception, the anchor orientation error, and a planar base velocity command. The demonstrated style is thereby encoded in the policy through the tracking reward, so the robot reproduces the whole-body style under a commanded velocity (Fig. 1). Our key observation is that different locomotion motions often share the base velocities of the training motion while their joint trajectories differ: forward walking, sidesteps, and turning all reduce to base-level goals. A policy conditioned on the velocity command, and not on the reference joints, is therefore less dependent on the joint trajectories of the training clip and can transfer to such motions. At deployment, its inputs can be computed from the base trajectory of a motion clip or, without a clip, from a gamepad. In our experiments, we drive it with velocity profiles from held-out motion clips, so that tracking and style can be measured against ground truth. We compare our approach with all baselines on the Unitree G1, in simulation and on real hardware..

In summary, our contributions are:

  • A velocity-conditioned whole-body tracking policy, trained directly with RL and an asymmetric actor-critic, whose actor observes only proprioception, the anchor orientation error, and a planar velocity command, without distillation from a privileged teacher.
  • Simulation and hardware results. Trained on a random walk and commanded with the velocity profiles of three held-out motions, our policy reaches at least 98% success in simulation and completes every hardware trial, while whole-body tracking and command-conditioned distillation fail on slow walking. Compared with AMP, our policy runs on the real robot without support, while AMP fell in both attempts without a safety crane, and it tracks the reference more closely with a higher style coverage. On the trained motions, its mean joint position error stays within about 8\% of the reference-conditioned tracker.
  • An analysis of the policy inputs, showing that 87 to 100% of the held-out velocity commands lie close to the training data, compared with 19 to 87% of the reference joint frames, together with ablations on mirrored data, symmetry training, and smoothed, gamepad-like motions.

II Related Work

II-A Humanoid Whole-Body Motion Tracking

RL-based motion tracking has shown great success recently in imitating natural human movements on humanoids. [13] presented an RL framework that trains policies to imitate recorded motions via a set of rewards for tracking the positions and velocities of selected body links. [14] generated motions that preserve the interactions with the environment, including the objects to be interacted with, so that tracking policies can learn to interact with the environment while imitating the motions. [20] added a residual action model to account for the dynamics mismatch between simulation and the real world and improve sim-to-real transfer. [6] applied motion filtering, feet contact masks, and adaptive rewards to enable learning of highly dynamic motions. [21] combined adaptive sampling of motions based on difficulty with a virtual assistive wrench to help stabilize the training of athletic moves. [19] applied a teacher-student DAgger [22] with historical observations to learn the motions from a privileged teacher, and also let a joystick command the root velocity and pose, while the policy still receives the whole-body joint and keypoint targets. These approaches imitate the recorded motions faithfully, but the policies require the reference trajectory at runtime. Different from these approaches, our goal is a policy that is controlled by a velocity command and does not need a reference trajectory at deployment.

II-B Style Imitation from Demonstrations

On the other hand, several works aimed to make the imitation controllable without a reference trajectory at runtime. [12] utilized adversarial training to make physically simulated characters imitate a given style without the need for reward shaping. Rather than imitating a single clip, [16, 15] learned reusable motion priors that encode a repertoire of skills from large unstructured datasets, via a latent skill embedding and a score-matching (diffusion-based) prior respectively, which a downstream controller can then use to perform new tasks. However, [17] showed that adversarial training requires careful tuning of the task and style rewards to avoid sub-optimal behaviors; the authors formulated the problem as a constrained Markov decision process and deployed it on a real quadruped. This tuning is even harder on humanoids: [23] reported that adding an adversarial style reward leads to stumbling and jittering that is not feasible for sim-to-real transfer. [24] distilled an RL velocity-tracking teacher into a student with discriminators against both the teacher and motion-capture data, but the style still relies on adversarial rewards that must be balanced against the task.

To make the imitation robust for deployment, other works used hybrid controllers that split the body. [23] trained the lower body to track a base velocity robustly while the upper body imitates a reference motion. [25] applied a similar split, where the lower body tracks a velocity command and the upper body tracks a motion, using adversarial learning between the two policies so each stays robust to the other’s movements. These controllers deploy reliably and can be steered through the velocity command, but the style is limited to the upper body while the lower body follows a plain velocity-tracking objective. Unlike these approaches, we train the whole body with the dense tracking rewards of [13], so the style is reproduced across the whole body, and we condition the policy on the base velocity commands to keep it steerable at deployment.

III Approach

Our pipeline has two stages: (i) we record human motions with a motion-capture system and retarget them to the robot, and (ii) we train a whole-body tracking policy with reinforcement learning under an asymmetric actor–critic, where the actor is restricted to deployable observations conditioned on a base-velocity command. At deployment the velocity command is supplied online (e.g. from a game-pad) to steer the robot while it reproduces the demonstrated style.

III-A Motion Acquisition and Retargeting

We record source motions with a motion-capture system and retarget them to the robot with GMR [26], which solves an inverse-kinematics problem mapping the captured human trajectory onto the robot kinematics while respecting its joint limits. For each clip this yields a per-frame reference trajectory of joint positions and velocities and of the position, orientation, and linear/angular velocity of a set of tracked bodies, expressed in the world frame. A designated anchor body (the pelvis) defines the reference base frame.

III-B Problem Formulation

We formulate whole-body tracking as a Markov decision process (\mathcal{S},\mathcal{A},p,r,\gamma) and solve it with proximal policy optimization (PPO) [27]. The policy runs at 50\,\mathrm{Hz} (simulation timestep 5\,\mathrm{ms}, decimation 4) and maximizes the discounted return \mathbb{E}\!\left[\sum_{t}\gamma^{t}r_{t}\right].

Actions.

The action a_{t}\in\mathbb{R}^{n} is a target for the n actuated joints, added to the default joint configuration and tracked by joint-level PD controllers.

Observations (asymmetric actor–critic).

The critic receives privileged, simulation-only information while the actor receives only inputs available on the real robot. The critic observation comprises the full reference: anchor position and orientation error, per-body positions and orientations, and reference base linear and angular velocity, together with proprioception. The actor observation is

x_{t}=\big[\,v^{\text{cmd}}_{t},\;R^{\text{anchor}}_{t},\;\omega_{t},\;q_{t}-q_{\text{def}},\;\dot{q}_{t}-\dot{q}_{\text{def}},\;a_{t-1}\,\big],
(1)

where v^{\text{cmd}}_{t}=(v_{x},v_{y},\omega_{z})\in\mathbb{R}^{3} is the reference planar base velocity and yaw rate expressed in the robot base frame (the online steering command), R^{\text{anchor}}_{t} is the anchor orientation error defined below, \omega_{t} the base angular velocity, q_{t},\dot{q}_{t} the joint positions/velocities from the encoders, and a_{t-1} the previous action.

The anchor orientation error is the orientation of a target frame relative to the robot pelvis (the anchor body):

R^{\text{anchor}}_{t}=\big(R^{\text{robot}}_{t}\big)^{\top}R^{\text{target}}_{t},
(2)

where R^{\text{robot}}_{t} is the measured pelvis orientation. The actor receives the first two columns of R^{\text{anchor}}_{t} (6 values). In training, the target is the orientation of the reference pelvis, R^{\text{target}}_{t}=R^{\text{ref}}_{t}.

The actor therefore never observes the reference joints or body poses. The task is given only through the base motion: the velocity command v^{\text{cmd}}_{t} and the target orientation R^{\text{target}}_{t}. The demonstrated style is absorbed into the policy weights through the tracking reward. This is what makes the policy steerable online without a reference trajectory at runtime.

Steering at deployment.

At deployment, the policy needs the velocity command v^{\text{cmd}}_{t}=(v_{x},v_{y},\omega_{z}) and the target orientation R^{\text{target}}_{t}, which can be obtained in two ways. (i) From a motion clip: v^{\text{cmd}}_{t} is the planar velocity and yaw rate of the reference pelvis, and R^{\text{target}}_{t}=R^{\text{ref}}_{t} is its orientation, as in training. Only the base trajectory is used, and the joint trajectories of the clip are never given to the policy. (ii) From a gamepad: the sticks give the velocity command, scaled to the range of velocities seen in training, and the target is an upright frame, R^{\text{target}}_{t}=R_{z}(\psi_{t}), where R_{z}(\psi) is a rotation by \psi about the vertical axis. Its heading starts at the robot heading, \psi_{0}=\psi^{\text{robot}}_{0}, and is integrated with the commanded yaw rate,

\psi_{t+1}=\psi_{t}+\omega_{z}\Delta t,\qquad\Delta t=0.02\,\mathrm{s},
(3)

so no motion clip is needed. This online target keeps the heading error, which steers the robot, and drops only the roll and pitch of the reference pelvis. In our experiments (Sec. IV), we use option (i) with held-out motions, so that tracking and style can be measured against their references.

III-C Reward

The reward combines exponential tracking terms of the form w_{i}\exp(-\lVert e_{i}\rVert^{2}/\sigma_{i}^{2}) with regularization penalties. Table I lists all terms.

TABLE I: Reward terms. Tracking terms use the exponential kernel \exp(-e^{2}/\sigma^{2}); penalties are quadratic. The body-tracking weights are ramped from their initial to final value during standing-start episodes (Sec. III-D); elsewhere they take the final value.
  • Tracking (exponential)
  • Anchor position
    Error e
    global anchor pos. error
    Weight w
    1.0
    \sigma
    0.3
  • Anchor orientation
    Error e
    global anchor ori. error
    Weight w
    1.0
    \sigma
    0.4
  • Body position
    Error e
    per-body rel. pos. error
    Weight w
    0.7\!\to\!1.0
    \sigma
    0.3
  • Body orientation
    Error e
    per-body rel. ori. error
    Weight w
    0.7\!\to\!1.0
    \sigma
    0.4
  • Body linear velocity
    Error e
    global body lin. vel. error
    Weight w
    0.7\!\to\!1.0
    \sigma
    1.0
  • Body angular velocity
    Error e
    global body ang. vel. error
    Weight w
    0.7\!\to\!1.0
    \sigma
    3.14
  • Lateral deviation
    Error e
    lateral base drift
    Weight w
    0.5
    \sigma
    0.2
  • Regularization (penalty)
  • Action rate
    Error e
    \lVert a_{t}-a_{t-1}\rVert^{2}
    Weight w
    -0.1
    \sigma
    —
  • Joint acceleration
    Error e
    \lVert\ddot{q}_{t}\rVert^{2}
    Weight w
    -10^{-5}
    \sigma
    —
  • Joint-limit violation
    Error e
    soft-limit excess
    Weight w
    -2.0
    \sigma
    —
  • Self-collision
    Error e
    pelvis self-contact
    Weight w
    -5.0
    \sigma
    —

III-D Initialization and Curriculum

Initialization and sampling.

Episodes are initialized by reference-state initialization (RSI) [13], resetting the robot to a reference frame of the clip (with small pose and velocity perturbations) so the policy learns all phases of the motion in parallel rather than only from the start. We select the start frame with the failure-based adaptive sampler of [18], which partitions the clip into one-second bins and concentrates episodes on the bins where the policy terminates most often, with a uniform floor that preserves exploration over all bins. This focuses training on the segments the policy struggles with while still revisiting the full motion.

Standing-start stabilization.

The real robot always begins from a neutral standing pose, a state RSI never produces. To close this gap we initialize a fraction p_{\text{stand}}=0.3 of episodes from the robot’s default standing state while anchoring the reference at the first motion frame. These standing-start episodes are eased into tracking in two phases governed by two parameters:

  • Stabilization (N_{\text{stab}}=30 steps): the reference is held frozen at the first frame so the robot can settle from standing into the initial pose before the motion begins to play.
  • Transition (N_{\text{trans}}=60 steps): the reference then begins to advance while the body-tracking reward weights ramp linearly from 0.7 to 1.0, smoothly handing control from “stabilize” to “fully track.”

Formally, a per-episode progress signal \phi_{t}=\mathrm{clip}\!\big((t-N_{\text{stab}})/N_{\text{trans}},\,0,\,1\big) scales the body-tracking weights as w=w_{\text{init}}+(w_{\text{final}}-w_{\text{init}})\,\phi_{t}. For ordinary RSI episodes \phi_{t}\equiv 1, so these two parameters affect only the standing-start subset. We use this procedure so that the policy is trained on starts from rest, as on the real robot.

IV Results

We compare our policy with three baselines in simulation and on the Unitree G1. We first evaluate all methods on the motions they were trained on and on held-out motions, in simulation (Sec. IV-B) and on the real robot (Sec. IV-C). We then compare the inputs of our policy and of the whole-body tracking policy with the training data (Sec. IV-D). Finally, we present two ablations, each in simulation and on the real robot: mirrored training data and symmetry training (Sec. IV-E), and training on smoothed motions (Sec. IV-F).

IV-A Experimental Setup

TABLE II: Inputs and training of the compared methods. All methods also observe proprioception. Command: planar velocity command. Real robot: free = without support. Ours is the only method trained with the tracking reward that needs neither the reference joints nor a teacher.
  • Teacher [18]
    Ref. joints
    next step
    Command
    no
    History
    no
    Supervision
    tracking reward
    Real robot
    free
  • Distill
    Ref. joints
    no
    Command
    yes
    History
    10 steps
    Supervision
    Teacher actions
    Real robot
    free
  • AMP [12]
    Ref. joints
    no
    Command
    yes
    History
    no
    Supervision
    AMP reward
    Real robot
    crane
  • Ours
    Ref. joints
    no
    Command
    yes
    History
    no
    Supervision
    tracking reward
    Real robot
    free
Baselines.

Table II summarizes the compared methods.

  • Teacher: the whole-body tracking policy of BeyondMimic [18], using its implementation in mjlab. At each step t it observes the reference joint positions and velocities of the next step t+1.
  • Distill: a command-conditioned distillation baseline that follows the teacher-student training of ExBody2 [19]. The student has the same inputs as our policy together with a history of the last 10 observations, and it does not observe the reference joints. It is trained from the final Teacher policy with DAgger [22]: the student is rolled out in simulation, the Teacher computes its action \hat{a}_{t} for every visited state, and the student is updated to minimize the mean squared error \lVert a_{t}-\hat{a}_{t}\rVert^{2} between its own action a_{t} and the Teacher action. Training continues until the loss stops changing, which took about 20k iterations. Unlike ExBody2, where the student also receives the motion targets, our student receives only the velocity command, so Distill is a teacher-student version of our policy.
  • AMP [12]: adversarial motion priors. A discriminator is trained to tell apart state transitions of the reference motion from those of the policy, and its output is used as a style reward. The policy maximizes this style reward together with a task reward for following the velocity command, so it does not track the reference frame by frame.

All methods are trained with the same number of parallel environments, the same domain randomization, and the same number of iterations. The only exception is Distill, which is trained from the final Teacher policy as described above.

Motions and protocol.

In distribution, each policy is trained and evaluated on the same motion: random walk, backward, side, slow, and jog in simulation, and random walk, slow, and jog on the real robot. For generalization, the policies are trained on the random walk and evaluated on the held-out backward, side, and slow walking motions. The velocity commands are taken from the held-out clips, so the reference joints are available to measure tracking and style. In simulation, each motion is rolled out in 128 parallel environments for two passes of the clip. On the real robot, each motion is run in three trials. Trials that were interrupted by problems unrelated to the policy, such as communication disconnections, were repeated. Without support, AMP fell in both of two attempts on the real robot, so its trials were run on a safety crane.

Metrics.
  • Success: in simulation, the percentage of environments that do not terminate during the two passes of the clip. The tracking-based methods terminate when the anchor height, the anchor orientation, or the ankle and wrist heights deviate too far from the reference (0.25\,\mathrm{m} for the heights). AMP terminates on falls (tilt above 70^{\circ} or pelvis height below 0.5\,\mathrm{m}); we checked offline that the AMP rollouts also pass the tracking terminations on every motion. On the real robot, success is the number of successful trials out of three.
  • MJPE and MJVE: the mean absolute joint position and velocity errors per joint, averaged over the 29 joints and all frames.
  • MMD (minimum matching distance) and COV (coverage): compare the distribution of the generated joint velocities with the reference. Both sets are projected onto the first three principal components of the reference joint velocities and then standardized with the reference statistics. MMD is the mean nearest-neighbor distance between the two sets in both directions, and COV is the share of reference samples that are the nearest neighbor of at least one generated sample.

All methods are evaluated against the same motion recordings; command-conditioned methods receive the corresponding planar velocity profiles and start from the same pose.

IV-B Comparison in Simulation

TABLE III: Simulation, in distribution: each policy is trained and evaluated on the same motion. Success over 128 environments, MJPE in deg, MJVE in rad/s. Best values in bold.
  • Random walk
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    6.64
    MJVE\downarrow
    0.63
    MMD\downarrow
    0.14
    COV\uparrow
    0.39
  • Teacher
    Method
    100%
    Succ.\uparrow
    2.77
    MJPE\downarrow
    0.32
    MJVE\downarrow
    0.11
    MMD\downarrow
    0.46
  • Distill
    Method
    100%
    Succ.\uparrow
    2.95
    MJPE\downarrow
    0.34
    MJVE\downarrow
    0.11
    MMD\downarrow
    0.46
  • Ours
    Method
    100%
    Succ.\uparrow
    3.07
    MJPE\downarrow
    0.34
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.47
  • Backward
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    5.06
    MJVE\downarrow
    0.46
    MMD\downarrow
    0.13
    COV\uparrow
    0.29
  • Teacher
    Method
    100%
    Succ.\uparrow
    2.64
    MJPE\downarrow
    0.23
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.38
  • Distill
    Method
    100%
    Succ.\uparrow
    2.86
    MJPE\downarrow
    0.24
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.40
  • Ours
    Method
    100%
    Succ.\uparrow
    2.90
    MJPE\downarrow
    0.26
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.38
  • Side
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    2.85
    MJVE\downarrow
    0.25
    MMD\downarrow
    0.17
    COV\uparrow
    0.33
  • Teacher
    Method
    100%
    Succ.\uparrow
    2.41
    MJPE\downarrow
    0.16
    MJVE\downarrow
    0.14
    MMD\downarrow
    0.42
  • Distill
    Method
    100%
    Succ.\uparrow
    2.53
    MJPE\downarrow
    0.18
    MJVE\downarrow
    0.15
    MMD\downarrow
    0.44
  • Ours
    Method
    100%
    Succ.\uparrow
    2.52
    MJPE\downarrow
    0.19
    MJVE\downarrow
    0.15
    MMD\downarrow
    0.42
  • Slow
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    4.85
    MJVE\downarrow
    0.15
    MMD\downarrow
    0.11
    COV\uparrow
    0.24
  • Teacher
    Method
    100%
    Succ.\uparrow
    2.66
    MJPE\downarrow
    0.13
    MJVE\downarrow
    0.09
    MMD\downarrow
    0.29
  • Distill
    Method
    100%
    Succ.\uparrow
    2.68
    MJPE\downarrow
    0.14
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.29
  • Ours
    Method
    100%
    Succ.\uparrow
    2.78
    MJPE\downarrow
    0.15
    MJVE\downarrow
    0.12
    MMD\downarrow
    0.28
  • Jog
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    6.58
    MJVE\downarrow
    1.10
    MMD\downarrow
    0.24
    COV\uparrow
    0.17
  • Teacher
    Method
    100%
    Succ.\uparrow
    3.30
    MJPE\downarrow
    0.53
    MJVE\downarrow
    0.13
    MMD\downarrow
    0.34
  • Distill
    Method
    100%
    Succ.\uparrow
    3.39
    MJPE\downarrow
    0.54
    MJVE\downarrow
    0.13
    MMD\downarrow
    0.35
  • Ours
    Method
    100%
    Succ.\uparrow
    3.62
    MJPE\downarrow
    0.56
    MJVE\downarrow
    0.12
    MMD\downarrow
    0.33
  • Avg.
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    5.20
    MJVE\downarrow
    0.52
    MMD\downarrow
    0.16
    COV\uparrow
    0.28
  • Teacher
    Method
    100%
    Succ.\uparrow
    2.76
    MJPE\downarrow
    0.28
    MJVE\downarrow
    0.11
    MMD\downarrow
    0.38
  • Distill
    Method
    100%
    Succ.\uparrow
    2.88
    MJPE\downarrow
    0.29
    MJVE\downarrow
    0.11
    MMD\downarrow
    0.39
  • Ours
    Method
    100%
    Succ.\uparrow
    2.98
    MJPE\downarrow
    0.30
    MJVE\downarrow
    0.12
    MMD\downarrow
    0.38
TABLE IV: Simulation, generalization: policies trained on the random walk and evaluated on held-out motions. Averages are over the motions with at least one success. Bold: best value among the methods with at least 90% success.
  • Backward
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    5.48
    MJVE\downarrow
    0.45
    MMD\downarrow
    0.12
    COV\uparrow
    0.29
  • Teacher
    Method
    98%
    Succ.\uparrow
    3.27
    MJPE\downarrow
    0.35
    MJVE\downarrow
    0.14
    MMD\downarrow
    0.36
  • Distill
    Method
    99%
    Succ.\uparrow
    4.21
    MJPE\downarrow
    0.43
    MJVE\downarrow
    0.18
    MMD\downarrow
    0.32
  • Ours
    Method
    100%
    Succ.\uparrow
    4.05
    MJPE\downarrow
    0.41
    MJVE\downarrow
    0.14
    MMD\downarrow
    0.34
  • Side
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    4.88
    MJVE\downarrow
    0.30
    MMD\downarrow
    0.18
    COV\uparrow
    0.33
  • Teacher
    Method
    100%
    Succ.\uparrow
    3.01
    MJPE\downarrow
    0.24
    MJVE\downarrow
    0.17
    MMD\downarrow
    0.41
  • Distill
    Method
    98%
    Succ.\uparrow
    3.58
    MJPE\downarrow
    0.29
    MJVE\downarrow
    0.17
    MMD\downarrow
    0.40
  • Ours
    Method
    100%
    Succ.\uparrow
    3.34
    MJPE\downarrow
    0.27
    MJVE\downarrow
    0.17
    MMD\downarrow
    0.39
  • Slow
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    5.65
    MJVE\downarrow
    0.15
    MMD\downarrow
    0.12
    COV\uparrow
    0.19
  • Teacher
    Method
    2%
    Succ.\uparrow
    4.71
    MJPE\downarrow
    0.40
    MJVE\downarrow
    0.30
    MMD\downarrow
    0.25
  • Distill
    Method
    56%
    Succ.\uparrow
    6.88
    MJPE\downarrow
    0.48
    MJVE\downarrow
    0.42
    MMD\downarrow
    0.23
  • Ours
    Method
    98%
    Succ.\uparrow
    6.20
    MJPE\downarrow
    0.43
    MJVE\downarrow
    0.35
    MMD\downarrow
    0.25
  • Avg.
    Method
    AMP
    Succ.\uparrow
    100%
    MJPE\downarrow
    5.34
    MJVE\downarrow
    0.30
    MMD\downarrow
    0.14
    COV\uparrow
    0.27
  • Teacher
    Method
    67%
    Succ.\uparrow
    3.66
    MJPE\downarrow
    0.33
    MJVE\downarrow
    0.20
    MMD\downarrow
    0.34
  • Distill
    Method
    85%
    Succ.\uparrow
    4.89
    MJPE\downarrow
    0.40
    MJVE\downarrow
    0.26
    MMD\downarrow
    0.32
  • Ours
    Method
    99%
    Succ.\uparrow
    4.53
    MJPE\downarrow
    0.37
    MJVE\downarrow
    0.22
    MMD\downarrow
    0.32
In distribution.

All methods succeed on every motion (Table III), so the comparison is about tracking and style. The Teacher tracks best, with an average MJPE of 2.76^{\circ} and MJVE of 0.28\,\mathrm{rad/s}. Distill and our policy follow with 2.88^{\circ} and 2.98^{\circ}, which is 4.3\% and 8.0\% above the Teacher, although our policy has no observation history and no reference joint input. AMP, which is trained for style rather than for tracking, has about twice the error (5.20^{\circ}). In style, our policy is close to the Teacher (MMD 0.12 vs. 0.11, COV 0.38 for both). Compared with AMP, it lowers MMD by 26\% and raises COV by 32\%, so under the same commands it reproduces the reference more closely in both tracking and style.

Generalization.

On backward and side walking all methods succeed in at least 98\% of the environments (Table IV). The held-out slow walking separates them: success is 2\% for the Teacher, 56\% for Distill, 98\% for our policy, and 100\% for AMP. Our policy is therefore the only tracking-based method with at least 98\% success on every held-out motion. On backward and side walking, the Teacher tracks best (MJPE 3.27^{\circ} and 3.01^{\circ}), followed by our policy (4.05^{\circ} and 3.34^{\circ}), Distill (4.21^{\circ} and 3.58^{\circ}), and AMP (5.48^{\circ} and 4.88^{\circ}), so our policy also tracks the held-out references more closely than AMP. Transfer comes with a lower fidelity: on slow walking, the MJPE of our random-walk policy is 6.20^{\circ}, compared with 2.78^{\circ} for our policy trained on slow walking. Our policy has a higher COV than AMP on all three held-out motions, while AMP has a lower MMD on slow walking (0.12 vs. 0.35). On slow walking, the metrics of the Teacher and Distill come only from the 2 and 72 of 128 environments that succeeded.

Tracking versus generalization.

The Teacher tracks best wherever it succeeds, but it fails on the held-out slow walking. Distill, which is distilled from the Teacher, fails less often but remains well below our policy. Our policy gives up some tracking accuracy and in return reaches at least 98\% success on every held-out motion. Since our goal is a policy that keeps working on motions it was not trained on, we treat success on held-out motions as the main measure and tracking error as secondary.

IV-C Comparison on the Real Robot

TABLE V: Real robot, in distribution (jog and slow: per-motion policies, random walk: random-walk policy). Success out of 3 trials; values are mean \pm std over the successful trials.
  • Jog
    Method
    AMP1
    Succ.\uparrow
    3/3
    MJPE\downarrow
    7.53\pm0.12
    MJVE\downarrow
    1.23\pm0.03
    MMD\downarrow
    0.26\pm0.01
    COV\uparrow
    0.20\pm0.01
  • Teacher
    Method
    3/3
    Succ.\uparrow
    3.78\pm0.03
    MJPE\downarrow
    0.63\pm0.00
    MJVE\downarrow
    0.16\pm0.00
    MMD\downarrow
    0.30\pm0.00
  • Distill
    Method
    3/3
    Succ.\uparrow
    4.53\pm0.13
    MJPE\downarrow
    0.68\pm0.01
    MJVE\downarrow
    0.17\pm0.00
    MMD\downarrow
    0.29\pm0.01
  • Ours
    Method
    3/3
    Succ.\uparrow
    4.00\pm0.01
    MJPE\downarrow
    0.66\pm0.00
    MJVE\downarrow
    0.16\pm0.00
    MMD\downarrow
    0.27\pm0.00
  • Slow
    Method
    AMP1
    Succ.\uparrow
    3/3
    MJPE\downarrow
    5.59\pm0.22
    MJVE\downarrow
    0.21\pm0.01
    MMD\downarrow
    0.21\pm0.02
    COV\uparrow
    0.31\pm0.02
  • Teacher
    Method
    3/3
    Succ.\uparrow
    2.77\pm0.01
    MJPE\downarrow
    0.13\pm0.00
    MJVE\downarrow
    0.10\pm0.00
    MMD\downarrow
    0.39\pm0.00
  • Distill
    Method
    3/3
    Succ.\uparrow
    2.90\pm0.04
    MJPE\downarrow
    0.15\pm0.00
    MJVE\downarrow
    0.12\pm0.00
    MMD\downarrow
    0.37\pm0.01
  • Ours
    Method
    3/3
    Succ.\uparrow
    2.96\pm0.01
    MJPE\downarrow
    0.14\pm0.00
    MJVE\downarrow
    0.12\pm0.00
    MMD\downarrow
    0.37\pm0.00
  • Random walk
    Method
    AMP1
    Succ.\uparrow
    3/3
    MJPE\downarrow
    6.65\pm0.02
    MJVE\downarrow
    0.66\pm0.01
    MMD\downarrow
    0.15\pm0.00
    COV\uparrow
    0.39\pm0.00
  • Teacher
    Method
    3/3
    Succ.\uparrow
    3.03\pm0.01
    MJPE\downarrow
    0.35\pm0.00
    MJVE\downarrow
    0.14\pm0.00
    MMD\downarrow
    0.43\pm0.00
  • Distill
    Method
    3/3
    Succ.\uparrow
    3.33\pm0.01
    MJPE\downarrow
    0.37\pm0.00
    MJVE\downarrow
    0.13\pm0.00
    MMD\downarrow
    0.43\pm0.00
  • Ours
    Method
    3/3
    Succ.\uparrow
    3.68\pm0.04
    MJPE\downarrow
    0.41\pm0.00
    MJVE\downarrow
    0.13\pm0.00
    MMD\downarrow
    0.42\pm0.00
  • Avg.
    Method
    AMP1
    Succ.\uparrow
    100%
    MJPE\downarrow
    6.59
    MJVE\downarrow
    0.70
    MMD\downarrow
    0.21
    COV\uparrow
    0.30
  • Teacher
    Method
    100%
    Succ.\uparrow
    3.19
    MJPE\downarrow
    0.37
    MJVE\downarrow
    0.13
    MMD\downarrow
    0.37
  • Distill
    Method
    100%
    Succ.\uparrow
    3.59
    MJPE\downarrow
    0.40
    MJVE\downarrow
    0.14
    MMD\downarrow
    0.37
  • Ours
    Method
    100%
    Succ.\uparrow
    3.55
    MJPE\downarrow
    0.40
    MJVE\downarrow
    0.14
    MMD\downarrow
    0.36
TABLE VI: Real robot, generalization: policies trained on the random walk. Metrics are computed on the successful trials only; –: none succeeded. Averages are over the motions with at least one successful trial. Bold: best value among the methods that complete all trials.
  • Backward
    Method
    AMP1
    Succ.\uparrow
    3/3
    MJPE\downarrow
    5.46\pm0.02
    MJVE\downarrow
    0.42\pm0.00
    MMD\downarrow
    0.13\pm0.00
    COV\uparrow
    0.29\pm0.00
  • Teacher
    Method
    3/3
    Succ.\uparrow
    3.51\pm0.03
    MJPE\downarrow
    0.35\pm0.01
    MJVE\downarrow
    0.12\pm0.00
    MMD\downarrow
    0.42\pm0.00
  • Distill
    Method
    3/3
    Succ.\uparrow
    4.10\pm0.02
    MJPE\downarrow
    0.41\pm0.01
    MJVE\downarrow
    0.13\pm0.00
    MMD\downarrow
    0.41\pm0.01
  • Ours
    Method
    3/3
    Succ.\uparrow
    4.09\pm0.02
    MJPE\downarrow
    0.40\pm0.01
    MJVE\downarrow
    0.12\pm0.00
    MMD\downarrow
    0.40\pm0.01
  • Side
    Method
    AMP1
    Succ.\uparrow
    3/3
    MJPE\downarrow
    4.82\pm0.03
    MJVE\downarrow
    0.27\pm0.01
    MMD\downarrow
    0.20\pm0.01
    COV\uparrow
    0.34\pm0.01
  • Teacher
    Method
    3/3
    Succ.\uparrow
    2.88\pm0.02
    MJPE\downarrow
    0.22\pm0.00
    MJVE\downarrow
    0.15\pm0.00
    MMD\downarrow
    0.46\pm0.00
  • Distill
    Method
    3/3
    Succ.\uparrow
    3.37\pm0.01
    MJPE\downarrow
    0.23\pm0.00
    MJVE\downarrow
    0.15\pm0.00
    MMD\downarrow
    0.41\pm0.01
  • Ours
    Method
    3/3
    Succ.\uparrow
    3.29\pm0.02
    MJPE\downarrow
    0.23\pm0.00
    MJVE\downarrow
    0.15\pm0.00
    MMD\downarrow
    0.43\pm0.01
  • Slow
    Method
    AMP1
    Succ.\uparrow
    3/3
    MJPE\downarrow
    5.58\pm0.12
    MJVE\downarrow
    0.19\pm0.01
    MMD\downarrow
    0.18\pm0.00
    COV\uparrow
    0.30\pm0.01
  • Teacher
    Method
    0/3
    Succ.\uparrow
    –
    MJPE\downarrow
    –
    MJVE\downarrow
    –
    MMD\downarrow
    –
  • Distill
    Method
    1/3
    Succ.\uparrow
    6.14
    MJPE\downarrow
    0.37
    MJVE\downarrow
    0.36
    MMD\downarrow
    0.32
  • Ours
    Method
    3/3
    Succ.\uparrow
    5.96\pm0.14
    MJPE\downarrow
    0.39\pm0.02
    MJVE\downarrow
    0.37\pm0.03
    MMD\downarrow
    0.34\pm0.01
  • Avg.
    Method
    AMP1
    Succ.\uparrow
    100%
    MJPE\downarrow
    5.29
    MJVE\downarrow
    0.29
    MMD\downarrow
    0.17
    COV\uparrow
    0.31
  • Teacher
    Method
    67%
    Succ.\uparrow
    3.20
    MJPE\downarrow
    0.28
    MJVE\downarrow
    0.14
    MMD\downarrow
    0.44
  • Distill
    Method
    78%
    Succ.\uparrow
    4.54
    MJPE\downarrow
    0.34
    MJVE\downarrow
    0.22
    MMD\downarrow
    0.38
  • Ours
    Method
    100%
    Succ.\uparrow
    4.45
    MJPE\downarrow
    0.34
    MJVE\downarrow
    0.22
    MMD\downarrow
    0.39

Without support, AMP fell in both of two attempts, so its trials were run on a safety crane. The crane allowed us to measure the tracking and style of AMP without damaging the robot. AMP completed all three trials on the crane on every motion, but since the crane would stop a fall, its success (marked with footnote 1 in the tables) is not directly comparable with the other three methods, which ran without support.

In distribution.

The Teacher, Distill, and our policy complete all three trials on every motion (Table V), and the ranking from simulation holds. The Teacher tracks best (MJPE 3.19^{\circ}), our policy and Distill have similar means (3.55^{\circ} and 3.59^{\circ}), and AMP has the largest error (6.59^{\circ}), as in simulation. On the same motions, the MJPE of our policy on hardware is 0.2^{\circ} to 0.6^{\circ} higher than in simulation. In style, our policy (MMD 0.14, COV 0.36) is close to the Teacher (0.13, 0.37) and Distill (0.14, 0.37).

Generalization.

Our policy completes all three trials on backward, side, and slow walking (Table VI), and it is the only method to do so without support. The Teacher fails all three trials on slow walking and Distill completes one, which matches the simulation results. On backward and side walking, the Teacher tracks best (MJPE 3.51^{\circ} and 2.88^{\circ}), our policy (4.09^{\circ} and 3.29^{\circ}) is similar to Distill (4.10^{\circ} and 3.37^{\circ}), and AMP has the largest error (5.46^{\circ} and 4.82^{\circ}). Our policy has a higher COV than AMP on all held-out motions and a lower MMD on backward and side walking. On slow walking, AMP has a lower MMD (0.18 vs. 0.37), but it ran on the crane.

IV-D Input Coverage

Fig. 2: Share of held-out frames that lie inside the support of the random-walk training data, for the input of our policy (velocity command) and of the Teacher (reference joint positions and velocities). The numbers under each motion are the simulation success of ours / Teacher. The velocity command of our policy keeps 87 to 100\% of the held-out frames inside the training support, which matches its success on all of them.
Fig. 3: Share of held-out frames inside the support of the training data, with the Teacher input split into reference joint positions and reference joint velocities. The reference joint positions, which our policy does not observe, are where the Teacher input leaves the training support on slow walking.
Fig. 4: Distribution of the velocity command in the training data (random walk, gray) and in each held-out motion (blue). The small forward velocities of slow and side walking, on which our policy succeeds, are covered by the random walk. Backward walking falls into the smaller negative-velocity part of the random walk.

To understand why our policy keeps working on the held-out motions while the Teacher fails on slow walking, we compare the inputs of both policies with the training data. Our policy receives the planar velocity command (v_{x},v_{y},\omega_{z}), while the Teacher receives the reference joint positions and velocities (58 dimensions). We count a held-out frame as inside the support of the training motion if its nearest random-walk frame is not farther than the distance between random-walk frames that are more than 2\,\mathrm{s} apart (95th percentile of these distances). This threshold is computed separately for each input space. The analysis uses only the motion clips and no policy.

Fig. 2 shows the result. For the velocity command, 87\%, 100\%, and 100\% of the backward, side, and slow frames are inside the support. For the Teacher input, these values are 59\%, 87\%, and 19\%. The largest gap is on slow walking, which is also where the Teacher fails. Fig. 3 shows that this gap comes from the joint positions: none of the slow-walking frames are inside the support for the reference joint positions, while 99\% are inside for the reference joint velocities. Fig. 4 shows the velocity commands. Slow and side walking use small forward velocities that the random walk covers. Backward walking uses negative forward velocities, which make up only 14\% of the random walk but span the same range, so 87\% of the backward frames still have a close training frame.

IV-E Ablation: Mirrored Data and Symmetry

TABLE VII: Simulation ablation on the random walk: B0 none, B1 mirrored training motion, B2 symmetry loss and data augmentation, B3 B1 and B2 combined, evaluated on the plain and the mirrored motion. Averages are over the motions with at least one success. Bold: best value among the methods with at least 90% success.
  • Plain
    Method
    B0
    Succ.\uparrow
    100%
    MJPE\downarrow
    3.07
    MJVE\downarrow
    0.34
    MMD\downarrow
    0.10
    COV\uparrow
    0.47
  • B1
    Method
    100%
    Succ.\uparrow
    3.09
    MJPE\downarrow
    0.35
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.47
  • B2
    Method
    100%
    Succ.\uparrow
    3.06
    MJPE\downarrow
    0.34
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.47
  • B3
    Method
    100%
    Succ.\uparrow
    3.17
    MJPE\downarrow
    0.35
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.47
  • Mirrored
    Method
    B0
    Succ.\uparrow
    54%
    MJPE\downarrow
    6.14
    MJVE\downarrow
    0.80
    MMD\downarrow
    0.20
    COV\uparrow
    0.40
  • B1
    Method
    100%
    Succ.\uparrow
    3.14
    MJPE\downarrow
    0.35
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.47
  • B2
    Method
    100%
    Succ.\uparrow
    3.06
    MJPE\downarrow
    0.34
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.48
  • B3
    Method
    100%
    Succ.\uparrow
    3.17
    MJPE\downarrow
    0.35
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.47
  • Avg.
    Method
    B0
    Succ.\uparrow
    77%
    MJPE\downarrow
    4.61
    MJVE\downarrow
    0.57
    MMD\downarrow
    0.15
    COV\uparrow
    0.43
  • B1
    Method
    100%
    Succ.\uparrow
    3.12
    MJPE\downarrow
    0.35
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.47
  • B2
    Method
    100%
    Succ.\uparrow
    3.06
    MJPE\downarrow
    0.34
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.47
  • B3
    Method
    100%
    Succ.\uparrow
    3.17
    MJPE\downarrow
    0.35
    MJVE\downarrow
    0.10
    MMD\downarrow
    0.47
TABLE VIII: Real-robot ablation on the random walk: B0 none, B1 mirrored training motion, B2 symmetry loss and data augmentation, B3 B1 and B2 combined. Metrics are computed on the successful trials only; –: none succeeded. Averages are over the motions with at least one successful trial. Bold: best value among the methods that complete all trials.
  • Plain
    Method
    B0
    Succ.\uparrow
    3/3
    MJPE\downarrow
    3.68\pm0.04
    MJVE\downarrow
    0.41\pm0.00
    MMD\downarrow
    0.13\pm0.00
    COV\uparrow
    0.42\pm0.00
  • B1
    Method
    3/3
    Succ.\uparrow
    3.54\pm0.03
    MJPE\downarrow
    0.41\pm0.01
    MJVE\downarrow
    0.11\pm0.00
    MMD\downarrow
    0.49\pm0.01
  • B2
    Method
    3/3
    Succ.\uparrow
    3.44\pm0.01
    MJPE\downarrow
    0.39\pm0.00
    MJVE\downarrow
    0.11\pm0.00
    MMD\downarrow
    0.47\pm0.00
  • B3
    Method
    3/3
    Succ.\uparrow
    3.56\pm0.01
    MJPE\downarrow
    0.39\pm0.00
    MJVE\downarrow
    0.11\pm0.00
    MMD\downarrow
    0.45\pm0.01
  • Mirrored
    Method
    B0
    Succ.\uparrow
    0/3
    MJPE\downarrow
    –
    MJVE\downarrow
    –
    MMD\downarrow
    –
    COV\uparrow
    –
  • B1
    Method
    3/3
    Succ.\uparrow
    3.56\pm0.01
    MJPE\downarrow
    0.41\pm0.00
    MJVE\downarrow
    0.11\pm0.00
    MMD\downarrow
    0.48\pm0.01
  • B2
    Method
    3/3
    Succ.\uparrow
    3.42\pm0.01
    MJPE\downarrow
    0.39\pm0.00
    MJVE\downarrow
    0.11\pm0.00
    MMD\downarrow
    0.47\pm0.00
  • B3
    Method
    3/3
    Succ.\uparrow
    3.57\pm0.01
    MJPE\downarrow
    0.40\pm0.00
    MJVE\downarrow
    0.11\pm0.00
    MMD\downarrow
    0.45\pm0.01
  • Avg.
    Method
    B0
    Succ.\uparrow
    50%
    MJPE\downarrow
    3.68
    MJVE\downarrow
    0.41
    MMD\downarrow
    0.13
    COV\uparrow
    0.42
  • B1
    Method
    100%
    Succ.\uparrow
    3.55
    MJPE\downarrow
    0.41
    MJVE\downarrow
    0.11
    MMD\downarrow
    0.48
  • B2
    Method
    100%
    Succ.\uparrow
    3.43
    MJPE\downarrow
    0.39
    MJVE\downarrow
    0.11
    MMD\downarrow
    0.47
  • B3
    Method
    100%
    Succ.\uparrow
    3.56
    MJPE\downarrow
    0.39
    MJVE\downarrow
    0.11
    MMD\downarrow
    0.45

We train four variants of the random-walk policy. B0 is trained on the original random walk only, and is the policy used in the main comparison. B1 is trained on the original random walk and its left-right mirrored copy. B2 uses the symmetry training of [28], which combines a symmetry loss with symmetry data augmentation. The symmetry loss is added to the PPO loss, with weight 0.5 in our case, and penalizes the difference between the action for a mirrored observation and the mirrored action. With data augmentation, every PPO batch is extended with its mirrored copy, where the observations and actions are mirrored, so the policy is also updated on the mirrored samples. B2 is trained on the original random walk only. B3 combines both: it uses the symmetry training of B2 and is trained on the original and the mirrored random walk as B1. We evaluate all variants on the plain random walk and on its left-right mirror.

Simulation.

On the plain motion, all variants succeed in every environment and their MJPE is between 3.06^{\circ} and 3.17^{\circ} (Table VII). On the mirrored motion, B0 fails in almost half of the environments (success 54\%), while B1, B2, and B3 reach 100\% with the same error as on the plain motion. Either the mirrored training data or the symmetry training is enough to avoid the failure of B0 on the mirrored motion.

Real robot.

B1, B2, and B3 complete all three trials on both the plain and the mirrored random walk (Table VIII). B0 completes none of the three trials on the mirrored random walk, as expected from its low success in simulation. The tracking differences between B1, B2, and B3 are small (MJPE 3.43^{\circ} to 3.56^{\circ} on average), with B2 the lowest. These results agree with the simulation.

IV-F Ablation: Smoothed Motions

TABLE IX: Simulation ablation, smoothed training motion. Both policies are trained on the random walk only, with the plain (P) or the smoothed (S) base trajectory, and evaluated on the random walk and on the held-out backward, side, and slow walking of the same variant. Metrics are computed on the successful environments only. Bold: best value.
  • Random walk
    Method
    P\rightarrowP
    Succ.\uparrow
    100%
    MJPE\downarrow
    3.07
    MJVE\downarrow
    0.34
    MMD\downarrow
    0.10
    COV\uparrow
    0.47
  • S\rightarrowS
    Method
    100%
    Succ.\uparrow
    3.46
    MJPE\downarrow
    0.37
    MJVE\downarrow
    0.12
    MMD\downarrow
    0.44
  • Backward
    Method
    P\rightarrowP
    Succ.\uparrow
    100%
    MJPE\downarrow
    4.05
    MJVE\downarrow
    0.41
    MMD\downarrow
    0.14
    COV\uparrow
    0.34
  • S\rightarrowS
    Method
    99%
    Succ.\uparrow
    4.71
    MJPE\downarrow
    0.49
    MJVE\downarrow
    0.16
    MMD\downarrow
    0.32
  • Side
    Method
    P\rightarrowP
    Succ.\uparrow
    100%
    MJPE\downarrow
    3.34
    MJVE\downarrow
    0.27
    MMD\downarrow
    0.17
    COV\uparrow
    0.39
  • S\rightarrowS
    Method
    100%
    Succ.\uparrow
    3.99
    MJPE\downarrow
    0.33
    MJVE\downarrow
    0.19
    MMD\downarrow
    0.38
  • Slow
    Method
    P\rightarrowP
    Succ.\uparrow
    98%
    MJPE\downarrow
    6.20
    MJVE\downarrow
    0.43
    MMD\downarrow
    0.35
    COV\uparrow
    0.25
  • S\rightarrowS
    Method
    98%
    Succ.\uparrow
    6.31
    MJPE\downarrow
    0.46
    MJVE\downarrow
    0.38
    MMD\downarrow
    0.23
  • Avg.
    Method
    P\rightarrowP
    Succ.\uparrow
    100%
    MJPE\downarrow
    4.16
    MJVE\downarrow
    0.36
    MMD\downarrow
    0.19
    COV\uparrow
    0.36
  • S\rightarrowS
    Method
    99%
    Succ.\uparrow
    4.62
    MJPE\downarrow
    0.41
    MJVE\downarrow
    0.21
    MMD\downarrow
    0.34
TABLE X: Real-robot ablation, smoothed training motion. Both policies are trained on the random walk only, with the plain (P) or the smoothed (S) base trajectory, and evaluated on the random walk and on the held-out backward, side, and slow walking of the same variant. Metrics are computed on the successful trials only (mean \pm std). Bold: best value.
  • Random walk
    Method
    P\rightarrowP
    Succ.\uparrow
    3/3
    MJPE\downarrow
    3.68\pm0.04
    MJVE\downarrow
    0.41\pm0.00
    MMD\downarrow
    0.13\pm0.00
    COV\uparrow
    0.42\pm0.00
  • S\rightarrowS
    Method
    3/3
    Succ.\uparrow
    3.90\pm0.01
    MJPE\downarrow
    0.46\pm0.00
    MJVE\downarrow
    0.13\pm0.00
    MMD\downarrow
    0.45\pm0.01
  • Backward
    Method
    P\rightarrowP
    Succ.\uparrow
    3/3
    MJPE\downarrow
    4.09\pm0.02
    MJVE\downarrow
    0.40\pm0.01
    MMD\downarrow
    0.12\pm0.00
    COV\uparrow
    0.40\pm0.01
  • S\rightarrowS
    Method
    3/3
    Succ.\uparrow
    4.74\pm0.04
    MJPE\downarrow
    0.45\pm0.01
    MJVE\downarrow
    0.14\pm0.01
    MMD\downarrow
    0.36\pm0.00
  • Side
    Method
    P\rightarrowP
    Succ.\uparrow
    3/3
    MJPE\downarrow
    3.29\pm0.02
    MJVE\downarrow
    0.23\pm0.00
    MMD\downarrow
    0.15\pm0.00
    COV\uparrow
    0.43\pm0.01
  • S\rightarrowS
    Method
    3/3
    Succ.\uparrow
    3.88\pm0.02
    MJPE\downarrow
    0.30\pm0.01
    MJVE\downarrow
    0.16\pm0.00
    MMD\downarrow
    0.41\pm0.01
  • Slow
    Method
    P\rightarrowP
    Succ.\uparrow
    3/3
    MJPE\downarrow
    5.96\pm0.14
    MJVE\downarrow
    0.39\pm0.02
    MMD\downarrow
    0.37\pm0.03
    COV\uparrow
    0.34\pm0.01
  • S\rightarrowS
    Method
    3/3
    Succ.\uparrow
    5.65\pm0.12
    MJPE\downarrow
    0.34\pm0.01
    MJVE\downarrow
    0.29\pm0.02
    MMD\downarrow
    0.34\pm0.00
  • Avg.
    Method
    P\rightarrowP
    Succ.\uparrow
    100%
    MJPE\downarrow
    4.26
    MJVE\downarrow
    0.36
    MMD\downarrow
    0.20
    COV\uparrow
    0.39
  • S\rightarrowS
    Method
    100%
    Succ.\uparrow
    4.54
    MJPE\downarrow
    0.39
    MJVE\downarrow
    0.18
    MMD\downarrow
    0.39

The base velocity of the recorded motions oscillates with the gait, while a gamepad command is smooth. We therefore also train our policy on the random walk with a smoothed base trajectory. As for the plain policy, the random walk is the only training motion, and backward, side, and slow walking are held out. We smooth the base position and the frame-to-frame base rotation of each clip with a Savitzky-Golay filter [29] (window of 100 frames), and keep the joint trajectories unchanged. The joint errors are therefore computed against the same targets. Smoothing changes the velocity command and also the reference base position and orientation. Each policy is evaluated on the four motions with the base trajectory it was trained with: plain motions for the plain policy (P\rightarrowP) and smoothed motions for the smoothed policy (S\rightarrowS).

Simulation.

Success remains high for both policies (Table IX; 100\% for the plain and 99\% for the smoothed policy on average). With smoothed training, MJPE rises by 11\% (4.16^{\circ} to 4.62^{\circ}), MJVE rises by 14\%, and the style changes slightly (MMD 0.19 to 0.21, COV 0.36 to 0.34).

Real robot.

Both the plain and the smoothed policy complete all three trials on the random walk and on the three held-out motions (Table X). As in simulation, the smoothed policy tracks slightly worse on average (MJPE 4.54^{\circ} vs. 4.26^{\circ}) with a similar style (COV 0.39 for both, MMD 0.18 vs. 0.20). On slow walking, the smoothed policy has a lower MJPE (5.65^{\circ} vs. 5.96^{\circ}), MJVE, and MMD, and a similar COV. Training on smoothed motions therefore costs little tracking accuracy and gives a policy that can follow smooth, gamepad-like velocity commands.

V Conclusion

We presented a velocity-conditioned whole-body tracking policy that is trained directly with RL and an asymmetric actor-critic. The critic and the tracking reward use the full reference motion, while the actor observes only proprioception, the anchor orientation error, and a planar velocity command. On the motions it was trained on, our policy stays close to whole-body tracking, with a mean joint position error about 8\% higher in simulation. When trained on the random walk and commanded with velocity profiles from held-out motions, it is the only tracking-based method that keeps working on all of them, in simulation and on the Unitree G1, while whole-body tracking and command-conditioned distillation fail on slow walking. Compared with AMP, our policy has a higher style coverage and runs on the real robot without a safety crane. The input analysis shows that most velocity commands of the held-out motions are close to the training data, while far fewer of the reference joint frames are. In the ablations, mirrored training data or symmetry training, alone or combined, avoids the failure of the baseline policy on mirrored motions, and training on a smoothed base trajectory costs little tracking accuracy, in simulation and on the real robot.

References

  1. [1] Z. Zhao, H. Jing, X. Liu, J. Mao, A. Jha, H. Yang, R. Xue, S. Zakharor, V. Guizilini, and Y. Wang (2025) Humanoid everyday: a comprehensive robotic dataset for open-world humanoid manipulation. arXiv preprint arXiv:2510.08807.
  2. [2] Z. Gu, J. Li, W. Shen, W. Yu, Z. Xie, S. McCrory, X. Cheng, A. Shamsah, R. Griffin, C. K. Liu, et al. (2026) Humanoid locomotion and manipulation: current progress and challenges in control, planning, and learning. IEEE/ASME Transactions on Mechatronics 31 (2), pp. 2300–2330.
  3. [3] Bones Studio (2025) BONES-SEED: skeletal everyday embodiment dataset. Note: https://huggingface.co/datasets/bones-studio/seed142,220 annotated motion sequences from 522 actors
  4. [4] N. Mahmood, N. Ghorbani, N. F. Troje, G. Pons-Moll, and M. J. Black (2019) AMASS: archive of motion capture as surface shapes. In Proceedings of the IEEE/CVF international conference on computer vision, pp. 5442–5451.
  5. [5] F. G. Harvey, M. Pal, C. Dutil, M. Vang, and E. D’Eon (2020) Robust motion in-betweening. ACM Transactions on Graphics (TOG) 39 (4), pp. 60–1.
  6. [6] W. Xie, J. Han, J. Zheng, H. Li, X. Liu, J. Shi, W. Zhang, C. Bai, and X. Li (2026) Kungfubot: physics-based humanoid whole-body control for learning highly-dynamic skills. Advances in Neural Information Processing Systems 38, pp. 62406–62433.
  7. [7] J. Lee, J. Hwangbo, L. Wellhausen, V. Koltun, and M. Hutter (2020) Learning quadrupedal locomotion over challenging terrain. Science robotics 5 (47), pp. eabc5986.
  8. [8] J. Hwangbo, J. Lee, A. Dosovitskiy, D. Bellicoso, V. Tsounis, V. Koltun, and M. Hutter (2019) Learning agile and dynamic motor skills for legged robots. Science robotics 4 (26), pp. eaau5872.
  9. [9] G. B. Margolis, G. Yang, K. Paigwar, T. Chen, and P. Agrawal (2024) Rapid locomotion via reinforcement learning. The International Journal of Robotics Research 43 (4), pp. 572–587.
  10. [10] A. Kumar, Z. Fu, D. Pathak, and J. Malik (2021) RMA: Rapid motor adaptation for legged robots. In Robotics: Science and Systems (RSS),
  11. [11] I. Radosavovic, T. Xiao, B. Zhang, T. Darrell, J. Malik, and K. Sreenath (2024) Real-world humanoid locomotion with reinforcement learning. Science Robotics 9 (89), pp. eadi9579.
  12. [12] X. B. Peng, Z. Ma, P. Abbeel, S. Levine, and A. Kanazawa (2021) Amp: adversarial motion priors for stylized physics-based character control. ACM Transactions on Graphics (ToG) 40 (4), pp. 1–20.
  13. [13] X. B. Peng, P. Abbeel, S. Levine, and M. Van de Panne (2018) Deepmimic: example-guided deep reinforcement learning of physics-based character skills. ACM Transactions On Graphics (TOG) 37 (4), pp. 1–14.
  14. [14] L. Yang, X. Huang, Z. Wu, A. Kanazawa, P. Abbeel, C. Sferrazza, C. K. Liu, R. Duan, and G. Shi (2025) Omniretarget: interaction-preserving data generation for humanoid whole-body loco-manipulation and scene interaction. arXiv preprint arXiv:2509.26633.
  15. [15] Y. Mu, Z. Zhang, Y. Shi, D. Yang, M. Matsumoto, K. Imamura, G. Tevet, C. Guo, M. Taylor, C. Shu, et al. (2025) Smp: reusable score-matching motion priors for physics-based character control. arXiv preprint arXiv:2512.03028.
  16. [16] X. B. Peng, Y. Guo, L. Halper, S. Levine, and S. Fidler (2022) Ase: large-scale reusable adversarial skill embeddings for physically simulated characters. ACM Transactions On Graphics (TOG) 41 (4), pp. 1–17.
  17. [17] K. Wen, C. Li, J. He, and M. Hutter (2025) Constrained style learning from imperfect demonstrations under task optimality. arXiv preprint arXiv:2507.09371.
  18. [18] Q. Liao, T. E. Truong, X. Huang, Y. Gao, G. Tevet, K. Sreenath, and C. K. Liu (2025) Beyondmimic: from motion tracking to versatile humanoid control via guided diffusion. arXiv preprint arXiv:2508.08241.
  19. [19] M. Ji, X. Peng, F. Liu, J. Li, G. Yang, X. Cheng, and X. Wang (2024) Exbody2: advanced expressive humanoid whole-body control. arXiv preprint arXiv:2412.13196.
  20. [20] T. He, J. Gao, W. Xiao, Y. Zhang, Z. Wang, J. Wang, Z. Luo, G. He, N. Sobanbab, C. Pan, et al. (2025) Asap: aligning simulation and real-world physics for learning agile humanoid whole-body skills. arXiv preprint arXiv:2502.01143.
  21. [21] J. P. Sleiman, H. Li, A. Adu-Bredu, R. Deits, A. Kumar, K. Bergamin, M. Bhardwaj, S. Biddlestone, N. Burger, M. A. Estrada, et al. (2026) ZEST: zero-shot embodied skill transfer for athletic robot control. arXiv preprint arXiv:2602.00401.
  22. [22] S. Ross, G. Gordon, and D. Bagnell (2011) A reduction of imitation learning and structured prediction to no-regret online learning. In Proceedings of the fourteenth international conference on artificial intelligence and statistics, pp. 627–635.
  23. [23] X. Cheng, Y. Ji, J. Chen, R. Yang, G. Yang, and X. Wang (2024) Expressive whole-body control for humanoid robots. arXiv preprint arXiv:2402.16796.
  24. [24] L. Ma, Z. Meng, T. Liu, Y. Li, R. Song, W. Zhang, and S. Huang (2025) StyleLoco: generative adversarial distillation for natural humanoid robot locomotion. arXiv preprint arXiv:2503.15082.
  25. [25] J. Shi, X. Liu, D. Wang, S. Schwertfeger, C. Zhang, F. Sun, C. Bai, X. Li, et al. (2026) Adversarial locomotion and motion imitation for humanoid policy learning. Advances in Neural Information Processing Systems 38, pp. 73918–73949.
  26. [26] J. P. Araujo, Y. Ze, P. Xu, J. Wu, and C. K. Liu (2025) Retargeting matters: general motion retargeting for humanoid motion tracking. arXiv preprint arXiv:2510.02252.
  27. [27] J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov (2017) Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347.
  28. [28] M. Mittal, N. Rudin, V. Klemm, A. Allshire, and M. Hutter (2024) Symmetry considerations for learning task symmetric robot policies. In IEEE International Conference on Robotics and Automation (ICRA),
  29. [29] A. Savitzky and M. J. E. Golay (1964) Smoothing and differentiation of data by simplified least squares procedures. Analytical Chemistry 36 (8), pp. 1627–1639. External Links: Document