Skip to content
Robotics.world

Research

PFM-HR: Pose Flow Matching for Humanoid Robots

Reinforcement learning can make a simulated humanoid track reference motions, but the reward says little about how joints should move together — the policy must discover those coordinated joint…

The paper’s first page · arXiv:2608.03227
arXiv
2608.03227 · Preprint · not peer-reviewed
Published
2026-08-04 · revised · 2026-09-03
Authors
Yukang Gao, Yi Gu, Yangchen Zhou, Xingyu Chen, Zhaorui Wang, Fanghai Zhang, Hanyang Cao, Zhengyang Shen, Ji Ma, Runhan Zhang, Lei Han, Renjing Xu

In plain words

Reinforcement learning can make a simulated humanoid track reference motions, but the reward says little about how joints should move together — the policy must discover those coordinated joint dependencies by exploration in a high-dimensional control space.

AI summary

Overview

Research area: Robotics — physics-based humanoid motion tracking with reinforcement learning, specifically data-driven motion priors built with generative (Flow Matching) models.

Technical level: Advanced. The method relies on Flow Matching, denoiser Jacobians, and a conditional-covariance identity, alongside standard RL motion-tracking machinery.

Scope: The paper proposes PFM-HR, a frozen Flow Matching pose prior trained on unordered humanoid poses, plus a Jacobian-based "Pose Geometry Score" that modulates tracking rewards, and evaluates it on single-trajectory tracking, general motion tracking, and real-robot deployment.

What This Paper Is About

Reinforcement learning can make a simulated humanoid track reference motions, but the reward says little about how joints should move together — the policy must discover those coordinated joint dependencies by exploration in a high-dimensional control space. Existing priors force a trade-off: pose-based priors score a pose in isolation and ignore the joint changes that produced it, while temporal priors capture motion structure but need ordered motion clips and expensive repeated model queries during training. PFM-HR closes that gap with a prior trained on individual, unordered poses that still responds to the direction in which joint coordinates change between consecutive rollout poses.

Key Contributions

  1. A reusable Flow Matching pose prior trained on unordered poses. The prior is pretrained independently of the control policy, stays frozen during downstream RL, requires no pose–distance supervision and no temporally segmented clips, and can be extended by continued training. The authors demonstrate pretraining on 60 million poses.
  2. A conditional-covariance interpretation of the denoiser's response. Under the Gaussian Flow Matching path, the Jacobian of the population-optimal denoising map is proportional to the conditional covariance of clean poses, so its directional response reflects conditional modes of joint co-variation. From this the authors formulate the Pose Geometry Score (PGS), which measures that response along the joint-coordinate change patterns of policy-generated pose updates.
  3. A reference-calibrated reward modulation mechanism. PGS is converted into a percentile against the reference motion's own score distribution and used to attenuate the tracking reward, requiring only a Jacobian–vector product rather than explicit Jacobian construction.
  4. Empirical validation across three settings. Single-trajectory tracking on nine MimicKit tasks, general motion tracking on a 34-sequence LaFAN1 subset, and real-world deployment on a humanoid robot via the BeyondMimic pipeline.

Main Findings

  • Better sample efficiency on six of nine single-trajectory tasks. Against vanilla ADD and ADD w/ PDF-HR, ADD w/ PFM-HR reaches an 80% success rate with the fewest samples on Jump (183.632 ± 10.702 M vs 222.953 ± 10.702 M for ADD), Cartwheel (144.310 ± 18.536 M vs 183.632 ± 0.000 M), Backflip (157.417 ± 10.702 M vs "Failed"), Sideflip (161.787 ± 6.179 M vs 336.549 ± 62.708 M), Speed Vault (118.096 ± 0.000 M vs 388.978 ± 49.430 M) and Double Kong (205.477 ± 6.179 M vs "Failed"). PDF-HR is more sample-efficient on Walk, Run and Spinkick.
  • It solves motions vanilla ADD cannot. Both prior-based variants solve Backflip and Double Kong, where vanilla ADD fails (defined as all three seeds failing to converge within 6000 training iterations); PFM-HR converges faster on both.
  • Lowest or tied-lowest position error on eight tasks, though the authors note the margins are generally small.
  • Lowest error in general motion tracking at every horizon. Under the same ADD backbone and 12-billion-sample budget, PFM-HR has the lowest position and rotation errors at 10, 20 and 30 s. Averaged across horizons it reduces position error by 7.6% over ADD and 10.3% over PDF-HR, and rotation error by 3.6% and 7.3% respectively. PDF-HR is comparable to or worse than vanilla ADD here.
  • Fewer simulation samples on real-robot skills. Using the BeyondMimic pipeline, BM w/ PFM-HR needs the fewest samples to reach SR ≥ 80% on all four skills (spinkick 251.425 ± 0.000, kick combo 339.110 ± 6.179, cartwheel 283.225 ± 10.702, backflip 309.794 ± 6.179 million), a 15.1%–30.8% reduction relative to plain BM.
  • The evaluation timestep matters. Sweeping t_eval over {0.4, 0.5, 0.6, 0.7, 0.75, 0.8, 0.9}, intermediate values give faster convergence and lower position error: strong corruption at small t reduces pose specificity, while near t = 1 the denoising map approaches identity and becomes less discriminative. t_eval = 0.75 is used throughout.
  • More pose data helps. With nested 15M ⊂ 30M ⊂ 60M BONES-SEED subsets, larger pretraining sets generally improve both locomotion and acrobatic tracking, with the 60M prior strongest overall; scale and coverage increase together, so the result reflects their combined effect.
  • Cheaper to extend than to retrain. Growing the 30M prior to 60M takes 65 GPU-hours versus 100 GPU-hours from scratch, while generating PDF-HR's pose-distance supervision at the same scale takes over 500 GPU-hours in the authors' implementation, excluding network training.
  • Directional scoring beats pose reconstruction. Replacing PGS with an SDS-style reconstruction reward (FM-Recon) on the same frozen prior gives larger errors on dynamic motions, e.g. Backflip 157.417 ± 10.702 M for PFM-HR vs 170.525 ± 18.536 M for FM-Recon and for v-Pred.
  • Cheaper inference than multi-level reconstruction. At batch size 4096 on one RTX 4090, three denoiser evaluations take 1.8 ms versus 0.75 ms for one Jacobian–vector product.
  • Clean-pose prediction beats velocity prediction on dynamic motions. v-Pred and x-pred perform similarly on basic locomotion, but x-pred is better on dynamic skills, particularly Backflip (0.045 ± 0.001 m vs 0.047 ± 0.001 m).
  • Deployment needs no extra computation. PFM-HR is added only as a frozen prior during simulation training, leaving the BeyondMimic deployment pipeline unchanged.

Methodology in Plain English

The robot pose is written as its 29 actuated joint angles (normalized), matching the Unitree G1. At each control step the authors record not just the pose but the change in joint coordinates since the previous step, divided by the control interval. That difference vector captures which joints move together, in what relative amounts and with what signs — the "shape" of the update, independent of overall speed.

The prior itself is a Flow Matching model trained on individual poses treated as a bag of unordered samples. Training interpolates between Gaussian noise and a clean pose along a straight line, and the network is parameterized to predict the clean pose rather than the velocity (following JiT), with the timestep injected via adaLN-Zero conditioning. Because minimizing the Flow Matching loss at a fixed timestep is equivalent to clean-pose regression, the optimal network output is the conditional mean of clean poses given the noisy input.

The key trick is what happens when you differentiate that conditional mean. For the optimal denoiser, the Jacobian equals a positive scalar times the conditional covariance of clean poses given the noisy pose. Off-diagonal entries of that covariance describe how joints co-vary. So querying the derivative of a pose prior — not just its output — tells you which joint-change directions the data supports.

At rollout time the authors take the previous pose, add noise at the chosen evaluation timestep (t_eval = 0.75), compute the Jacobian there, and multiply it by the normalized joint-change direction. The squared length of that product is the Pose Geometry Score. It is computed as a Jacobian–vector product, so the full Jacobian is never built.

Raw scores are not comparable across motions, so before training they compute PGS for every transition in the reference motion and build an empirical CDF. During rollout, a score is mapped to its percentile and squashed into an attenuation factor that leaves the tracking reward untouched above the 5th percentile and maximally attenuates it below the 1st percentile (α = 0.5). The final reward multiplies only the tracking term by this factor, so weakly supported joint-change patterns contribute less learning signal.

Architecturally the prior is a residual MLP with 10 blocks and hidden dimension 1024. Policies are trained with 4096 parallel environments on 8 RTX 4090 GPUs under MimicKit's default configuration, and the prior stays frozen throughout.

Why This Matters

Impact on research. The work reframes what a pose prior can offer. Prior pose-based priors answered "is this pose plausible?"; PFM-HR answers "is this transition between poses the kind of joint co-variation the data supports?" — without ever touching ordered motion clips, pose–distance supervision, or online score-model ensembles. It also gives a clean theoretical justification (Jacobian ∝ conditional covariance) for why a marginal, per-pose denoiser carries directional information at all, which is a reusable insight for anyone building reward signals from generative models.

Real-world applications (implied by the paper's framing and demonstrations):

  • Humanoid robots operating in human-centered spaces that use the same tools and interaction patterns as people, as motivated in the introduction.
  • Learning highly dynamic whole-body skills — the paper demonstrates spinkick, kick combo, cartwheel and backflip executed on real hardware.
  • Motion-capture and retargeting pipelines, where large unordered pose corpora (BONES-SEED) already exist and can be reused as priors rather than reprocessed into temporally segmented clips.
  • Any tracking stack that needs a denser learning signal without redesigning its deployment path, since the prior is dropped in at training time and removed at inference.

Industry relevance. The economics are the headline for practitioners: 65 GPU-hours to extend a prior from 30M to 60M poses, versus 100 GPU-hours from scratch and over 500 GPU-hours just to generate PDF-HR's distance supervision at the same scale. A single frozen prior that attaches to multiple task-specific policies, and that adds no deployment-time cost, is a practical modularity story for teams training many skills on the same humanoid platform.

Future Directions

  • Sign-sensitive scoring. The authors note that PGS is invariant to direction reversal at a fixed query pose, so opposite transitions can receive similar scores even when only one is consistent with the intended motion. A sign-sensitive score is their stated first target.
  • Temporally conditioned priors. Adding temporal structure while preserving the efficiency and reusability of the current design is the natural extension from marginal pose geometry toward dynamics.
  • Coverage and out-of-distribution reliability. PGS guidance weakens for poses far from the training distribution, raising the question of how to detect or compensate for low-coverage regions at rollout time.
  • Cross-task and cross-embodiment reuse. The paper demonstrates reuse across tracking tasks on one humanoid; how far a single frozen prior transfers across embodiments, or across very different task families, is left open.

Target Audience

Researchers and engineers working on physics-based character or humanoid control who already know RL motion-tracking pipelines and want a principled way to inject demonstration priors without ordered motion data. It will also interest people working at the intersection of generative modeling and control — particularly those using diffusion or Flow Matching models as reward sources — and robotics teams who care about the training-cost and deployment-cost trade-offs of adding a prior to an existing tracking stack. The heavy Jacobian–covariance derivation in the main text and appendix means readers should be comfortable with probability and linear algebra.

Authors’ abstract

Motion priors improve reinforcement learning for physics-based humanoid tracking, but temporal priors require ordered motion clips, while pose priors provide limited guidance for policy-induced pose transitions. We present Pose Flow Matching for Humanoid Robots (PFM-HR), a reusable flow matching prior trained directly on large scale unordered pose data. PFM-HR introduces the Pose Geometry Score (PGS), which quantifies how joint coordinate changes during rollouts align with…

The full abstract on arXiv
Read the original paper

Related papers