FMP
Flow-Matching Motion Prior for Humanoid Control
The reward states the outcome.
The prior guides the motion.
An outcome reward does not determine the motion that leads to it. FMP corrects the robot's own motion with a frozen flow-matching model of human motion, and rewards the policy for tracking the result.
An explicit reference from the robot's own motion. No clip to select or align.
With a task-conditioned prior, one tennis policy learns both forehand and backhand.
All tasks run on the Unitree G1 without fine-tuning, and without the prior.
Real Unitree G1
Trained in simulation.
Deployed without fine-tuning.
Motion capture tracks the ball, the box and the robot.
Forehand. Three camera angles.
Backhand. The same policy, the other side.
Rally. Exchanges with a person.
Ball after ball. Four in one take, alternating forehand and backhand.
Box carrying. Lift, carry and set-down, at half speed.
Stylized walking. Four of the styles, all from one policy.
Goal reaching. Walks to the goal and stops there.
Steering. Follows the commanded travel direction, speed and facing.
Live demo
Feed it a ball.
The tennis policy, simulated in your browser. Serve to either side, or click where it should hit.
Downloads about 20 MB. Runs entirely in your browser. Open full screen
How it works
Project. Then track.
As in SDEdit, the policy's recent motion is partially noised, then integrated through a frozen flow model to a nearby motion. The policy is rewarded for tracking it.
- A prior of short motion windows
A flow-matching model trained once on 0.2 s windows of human motion, then frozen. It can be conditioned on the task.
- Project the robot's own motion
At every step, the recent motion is noised to the projection time 蟿s and integrated along the flow.
- Reward tracking the correction
The projected window is the reference of a tracking reward, added to the task reward.
- Deploy the policy alone
The prior does not run on the robot.
The projection during a rally. Left: the policy's poses around each contact. Right: the projected reference at the same instants.
At every step. The blue ghost is the projected reference.
Motion correction by projection
Detail is corrected.
Structure is kept.
Jittery, exaggerated and falling motion, projected through the frozen prior.
Jittery motion. The input, the noised window, then four integration steps.
The projection removes it almost entirely.
Exaggerated and falling motion become a natural motion close to the input.
The reference stays near what the policy is doing.
One dial. The projection time sets how strongly the prior guides the policy.
Comparison
An explicit reference, without a clip.
Motion tracking needs a clip, selected and aligned in time. AMP and SMP need none, but provide no explicit reference. FMP derives one from the robot's own motion.
Motion Tracking
e.g. DeepMimic
Rewards the gap to a time-aligned frame of a reference clip.
- Yes: Explicit reference
- No: No clip to select and align
AMP
Rewards the score of a discriminator trained online.
- No: Explicit reference
- Yes: No clip to select and align
SMP
Rewards a small noise-prediction error of a frozen model.
- No: Explicit reference
- Yes: No clip to select and align
FMP (ours)
Rewards the gap to a reference from a frozen flow model.
- Yes: Explicit reference
- Yes: No clip to select and align
Grey: the motion data, and lighter, its noised versions.
Task success and motion quality
A prior that knows the task.
Each task with the conditioned prior, an unconditional prior, and the task reward alone.
Tennis. Only the conditioned prior prepares the stroke in time with the ball.
Box carrying. All three learn to carry; the conditioned prior places the box most often.
With the condition: 81% of the balls struck (under 10% without), 83% of the boxes placed (55% without).
Reusable prior 路 across tasks
One frozen prior.
Two tasks.
One frozen FMP prior serves both goal reaching and steering. AMP comes closer to the data, but its discriminator cannot be reused for the other task.
Steering. The same commands for all five.
Goal reaching. The same goal sequence for all five.
Reusable prior 路 across body parts
Style on part of the body.
The same prior, reused across body parts without retraining. Only the coloured part takes the Star style.
Tasks in simulation
Four kinds of tasks.
One way to reward style.
Each trained with the same FMP style reward.
Tennis. Forehand and backhand from one policy.
Box carrying. Lift, carry and set down at the goal.
Stylized walking. One policy, 14 styles, switching on the way to the goal.
Steering. Red: commanded travel. Green: commanded facing.
Goal reaching. Walk to the red flag and stop there.
Upper body only. The same prior, with the reward restricted to the upper body.
Dataset
FiveHundredShot-G1
The strokes behind the tennis prior: human forehands and backhands reconstructed from CalTennis videos and retargeted to the G1.
Dataset
OneHundredStyle-G1
The styles behind stylized walking: the 100STYLE motion-capture dataset retargeted to the G1. The paper uses the forward-walking takes.
Paper and citation
The paper is on arXiv. Code is coming soon.
@article{cheng2026fmp,
title = {FMP: Flow-Matching Motion Prior for Humanoid Control},
author = {Cheng, Jin and Zargarbashi, Fatemeh and Huang, Yijiang and Yoon, Taerim and Coros, Stelian},
journal = {arXiv preprint arXiv:2611.38630},
year = {2026}
}
If you use the datasets, please cite them as well.
@misc{cheng2026fivehundredshots,
title = {FiveHundredShot-G1: 500 Tennis Strokes for the Unitree G1},
author = {Cheng, Jin},
year = {2026},
howpublished = {Hugging Face dataset},
url = {https://huggingface.co/datasets/catachiii/FiveHundredShot-G1},
note = {Computational Robotics Lab, ETH Zurich}
}
@misc{cheng2026style100g1,
title = {OneHundredStyle-G1: 100 Locomotion Styles for the Unitree G1},
author = {Cheng, Jin},
year = {2026},
howpublished = {Hugging Face dataset},
url = {https://huggingface.co/datasets/catachiii/OneHundredStyle-G1},
note = {Computational Robotics Lab, ETH Zurich}
}