P-BFM: Perceptive Behavioral Foundation Models for Humanoid Control via Unsupervised Reinforcement Learning
Organizations: University of Shanghai for Science and Technology · RoboPartyLab · Tsinghua University · Zhejiang University ·
Abstract
Behavioral foundation models (BFMs) provide humanoids with reusable repertoires of whole-body behaviors; in real-world humanoid control, the same behavioral intent may require fundamentally different motions under different terrain constraints. Covering such variation with terrain-matched demonstrations requires enumerating a combinatorial space of behaviors and terrain geometries. We introduce P-BFM, a perceptive behavioral foundation model that factorizes humanoid control into terrain-invariant intent and terrain-conditioned realization. A forward-backward representation maps motion references, target states, and reward functions into a shared intent space without terrain information, while a perceptive policy learns how to realize each intent under the surrounding terrain geometry. We further identify a complementary limitation of purely latent control: behavioral latents can preserve local motion patterns while losing precise global progress. We therefore introduce Explicit Root Instructions (ERI), which separates global transport (e.g., heading and planar velocity) from behavioral intent, while leaving local whole-body adaptation to the perceptive policy. This decomposition leads to a characteristic capability absent from conventional BFMs: one fixed intent induces different, terrain-appropriate behaviors, including changes in step height, stride, posture, foothold placement, and contacts, without terrain-specific demonstrations. Across challenging terrains, P-BFM improves motion fidelity, root-control precision, and perturbation recovery over strong baselines. A single frozen policy further supports motion tracking, goal reaching, reward inference, teleoperation, and terrain-aware recovery, and transfers zero-shot to a Unitree G1 using onboard depth sensing.
Figures & tables
| Method | Seen motions | Unseen motions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| UFO | 0.15{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.06} | 0.65{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.46} | 49.6{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,29.3} | 0.092{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.050} | 0.16{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.06} | 0.37{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.27} | 28.9{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,23.9} | 0.066{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.047} | ||
| PMT | 0.21{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.04} | \mathbf{0.20}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.08} | 8.8{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,7.7} | 0.078{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.029} | 0.46{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.09} | 0.86{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.27} | 84.4{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,22.5} | 0.205{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.103} | ||
| P-BFM | \mathbf{0.11}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.04} | {0.25}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.12} | \mathbf{6.9}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,5.4} | \mathbf{0.043}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.026} | \mathbf{0.13}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.06} | \mathbf{0.21}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.12} | \mathbf{6.7}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,4.7} | \mathbf{0.026}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.016} | ||
| Method | Seen motions | Unseen motions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| w/o head | 0.12{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.04} | 0.28{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.14} | 19.3{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,14.2} | 0.045{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.026} | \mathbf{0.13}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.06} | 0.22{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.12} | 14.6{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,14.3} | 0.026{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.018} | ||
| w/o vel | 0.12{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.04} | 0.41{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.26} | 7.7{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,6.9} | \mathbf{0.032}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.018} | \mathbf{0.13}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.06} | 0.32{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.19} | \mathbf{6.3}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,4.9} | \mathbf{0.020}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.012} | ||
| P-BFM | \mathbf{0.11}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.04} | \mathbf{0.25}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.12} | \mathbf{6.9}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,5.4} | 0.043{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.026} | \mathbf{0.13}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.06} | \mathbf{0.21}{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.12} | 6.7{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,4.7} | 0.026{\color[rgb]{0.5,0.5,0.5}\scriptstyle\,\pm\,0.016} | ||
Appendix figures & tables10 assets
Supplementary material from the paper’s appendix.
Appendix
| Observation group | Dimension |
|---|---|
| Proprioceptive state | 64 |
| Previous action | 29 |
| Four-step proprioception–action history | 372 |
| Heading instruction | 2 |
| Horizontal-velocity instruction and validity flag | 3 |
| Estimated current root velocity | 3 |
| Network | Width | Branch blocks | Trunk blocks | Output | Members |
|---|---|---|---|---|---|
| 2048 | 4 | 6 | 256 | 2 | |
| 1024 | 2 | 4 | 1 | 2 | |
| 2048 | 2 | 4 | 1 | 2 | |
| 1024 | 1 | 3 | 1 | 2 | |
| 1024 | 1 | 3 | 1 | 2 |
| Layer | Parameters | Output shape |
|---|---|---|
| Input | Normalized depth | |
| Conv + ReLU | ||
| Conv + ReLU | ||
| Conv + ReLU | ||
| Adaptive average pooling | Output size | |
| Flatten | — |
| Value term | Role | Base coefficient |
|---|---|---|
| Behavioral intent | 1 | |
| Conditional motion prior | 0.01 | |
| Physical auxiliary objectives | 0.02 | |
| Heading tracking | 0.002 | |
| Horizontal-velocity tracking | 0.002 |
| Cost | Coefficient |
|---|---|
| Action change | |
| Joint-position limit violation | |
| Body-impact severity | |
| Loaded-foot tangential speed | |
| Ankle-roll magnitude | |
| Foot stumbling |
| Parameter | Value |
|---|---|
| Latent dimension | 256 |
| Discount factor | 0.98 |
| Minibatch size per GPU | 1,024 |
| Effective minibatch size across eight GPUs | 8,192 |
| Forward-network learning rate | |
| Backward-network learning rate |
| ID | Terrain family | Geometry parameters |
|---|---|---|
| 0 | Flat terrain | Planar surface; geometry is independent of difficulty. |
| 1 | Perlin-noise rough terrain | Target height range to before border resampling. |
| 2 | Pyramid stairs (outward descent) | Riser height ; tread depth ; central platform . |
| 3 | Inverted pyramid stairs (outward ascent) | Same riser heights, tread depth, and central-platform dimensions as the pyramid stairs, with inverted elevation. |
| 4 | Low platforms | Grid-cell width ; cell heights sampled from , where , before height quantization. |
| 5 | Inverted pyramid slope | Configured slope parameter ; nominal angle envelope to . |
| Evaluation | Continuous metrics | Recovery | ||
|---|---|---|---|---|
| Motions/segments | Episodes | Segments | Episodes | |
| LaFAN comparison | 902 | 315,700 | 862 | 241,360 |
| LaFAN ablation | 862 | 301,700 | 862 | 241,360 |
| SOMA | 994 | 347,900 | 281 | 78,680 |
| PMT references | 297 | 103,950 | 297 | 83,160 |
| Method | RR@3s (%) | RR@5s (%) | Pre-push violation (%) |
|---|---|---|---|
| Three-method comparison | |||
| UFO | 22.50 | 28.38 | 31.70 |
| PMT | 0.87 | 1.07 | 98.98 |
| P-BFM | 56.99 | 69.50 | 20.30 |
| Ablation | |||
| w/o Heading Instr. | 35.15 | 45.44 | 21.52 |
| Parameter | Setting |
|---|---|
| Automatic exposure | Disabled |
| Exposure time | |
| Gain | 16 |
| Infrared emitter power | 240 |
| Depth-stream resolution | pixels |
| Depth-stream frame rate |