The tracking reward moves the expert state distribution toward the reference state distribution, while distribution matching draws the state distribution of the downstream task policy toward the evolving expert state distribution over the training iterations.
Introduction to PDM (method and simulation results), followed by the hardware demonstrations. Sound on.
Adversarial imitation learning enables agents to acquire skills from expert demonstrations, but early discriminator saturation can leave policies with uninformative rewards. We introduce Parallel-Policy Distribution Matching (PDM), a multi-task reinforcement learning framework with separate tracking and downstream policies. Both policies are trained concurrently from scratch with distinct tracking and task objectives. The tracking policy follows reference motions and generates physically feasible trajectories online. Stochastic rollouts from both policies provide samples for discriminator training. We couple the policies through occupancy-measure matching and derive discriminator-based matching rewards for both. Simulation experiments show that the generated trajectories improve downstream tracking accuracy and that stochastic training samples help mitigate early discriminator saturation. In real-world experiments, the downstream policy preserved the desired motion style during locomotion, recovered from disturbances, climbed obstacles of varying heights, and executed a flip on command.
In adversarial imitation, a discriminator separates reference transitions from policy transitions, and its logit serves as the style reward. Reference motions usually come from kinematic retargeting, which introduces artifacts such as foot sliding, ground penetration, and actuation-limit violations. The discriminator exploits these artifacts, so the logits separate early and the style reward becomes uninformative. This failure mode is known as early discriminator saturation.
PDM replaces the fixed reference dataset with rollouts from a tracking expert trained concurrently with the downstream policy. These samples are physically realizable and evolve with the expert, and stochastic sampling of both policies keeps the discriminator from overfitting, which mitigates early saturation.
We evaluate single-clip motion imitation on 12 motion clips across three platforms (Humanoid, G1, and Go2) and compare PDM with two adversarial baselines implemented in MimicKit:
The comparison examines two factors: AMP uses kinematically retargeted expert data, whereas AMP-Rollout and PDM use expert data executed by the robot; AMP-Rollout records the expert motion with deterministic action sampling, whereas PDM generates expert rollouts online with stochastic action sampling. Each configuration is trained with three random seeds.
Downstream policies of PDM on the Humanoid and G1 motion clips, trained with only the distribution-matching reward.
Tracking position error versus the symmetric-KL logit-gap diagnostic for AMP, AMP-Rollout, and PDM (Ours) on 12 motion clips across three platforms after about 2 billion training samples. The horizontal axes use logarithmic scales. PDM achieved lower tracking error than AMP on 7 of the 12 clips, and AMP-Rollout on 6 of the 12. Both reduced the error most on Cartwheel and Kick Combo, where AMP-Rollout was the most accurate but requires a separate tracking-policy training stage; on Run and Walk, the retargeted trajectories were already within the robot's capabilities and executable references helped little. PDM yielded the smallest logit gap on all 12 clips, consistent with stronger distribution matching. Because each policy is trained against its own discriminator, this gap is only a relaxed comparison across methods.
Demo (solid) and agent (dashed) discriminator logits of AMP, AMP-Rollout, and PDM during training on each motion clip. With the AMP baselines, the demo and agent logits stay separated, indicating early saturation. In PDM, the logits approach equilibrium as both policies generate evolving samples for discriminator training.
The biggest change is in the discriminator logits, and why
UMAP of the state transitions of the PDM expert and downstream policies during training on the G1–Run clip. (a), (b) Expert and downstream samples at iterations 500, 1k, 2k, 5k, and 40k, together with the reference motion (Demo). (c)–(f) Samples of both policies and of the reference motion at iterations 500, 1k, 2k, and 5k. The distributions of the two policies move closer during training, while the tracking reward guides the expert toward the reference transitions; using only the matching reward, the downstream policy follows the evolving expert distribution and eventually reproduces the reference trajectory.
(a) Demo (solid) and agent (dashed) discriminator logits and (b) discriminator loss of PDM when the expert resumes from the same 20k-iteration checkpoint and samples actions with standard deviation \(\sigma \in \{0, 0.01, 0.02, 0.03, 0.05, 0.1\}\); \(\sigma = 0\) is deterministic sampling. The 0.05 (scratch) curve is an expert trained from scratch with \(\sigma = 0.05\). With deterministic sampling, the logits first approach equilibrium, then diverge before stabilizing, as in standard AMP. From \(\sigma = 0.01\) to \(0.05\), the logits stabilize progressively closer to zero and the loss reaches higher plateaus; both \(\sigma = 0.05\) runs end near a loss of 0.69 regardless of expert initialization.
Effect of the expert's action standard deviation \(\sigma\) on the G1–Run clip. (a)–(f) PCA projections of the state occupancy of rollouts from the same expert, overlaid on the reference motion (Demo). (g)–(l) Absolute SHAP importance of the discriminator input features over the horizon. (m) Success rate of the expert. (n) Final tracking error of the downstream policy. As \(\sigma\) increases, the expert covers more of the state space around the reference and the SHAP importance spreads more evenly across features up to \(\sigma = 0.05\). The expert success rate declines, with no successful tracking at \(\sigma \geq 0.1\), and the downstream tracking error is lowest at \(\sigma = 0.03\). Even a well-trained expert can limit matching performance if its samples are generated deterministically.