While Large Language Models (LLMs) can seamlessly switch between writing code, summarizing text, or composing poetry based on a simple prompt, humanoid robot control has historically remained stubbornly "one-policy, one-task." If you want a robot to walk, you train a walking policy; if you want it to dance, you train a dancing policy.
Existing foundation models for robotics, such as Vision-Language-Action models, have seen success in manipulation tasks using arms and grippers. However, whole-body humanoid control is significantly harder. There are no massive datasets of actuator-level labels for humanoids, and the "sim-to-real" gap—the discrepancy between a perfect simulation and a messy, friction-filled real world—often breaks complex policies.
Enter BFM-Zero, the first "Behavioral Foundation Model" that enables a real-world humanoid robot (the Unitree G1) to perform diverse tasks using a single, promptable policy. By learning a structured latent space through unsupervised reinforcement learning, the model can be prompted with new motions or goals in a zero-shot or few-shot manner without any task-specific retraining.
Methods: Building a Promptable Latent Space
The core innovation of BFM-Zero lies in its use of Unsupervised Reinforcement Learning combined with Forward-Backward (FB) Representations.
- The Latent Space ($Z$): Instead of learning to maximize a specific, hard-coded reward, the model learns to map all possible human-like motions, goals, and rewards into a shared $d$-dimensional latent space. In this space, a physical "task" is simply represented as a vector.
- Forward-Backward Modeling: The framework learns a "forward" map that predicts future states and a "backward" map that summarizes past states. This mathematical decomposition allows the policy to be conditioned on a latent vector $z$. At inference time, the robot can be "prompted" by providing a $z$ derived from a motion clip (for tracking), a target pose (for goal reaching), or a mathematical reward function.
- Sim-to-Real Bridges: Deploying this on a physical Unitree G1 required critical engineering choices to overcome the sim-to-real gap:
- Asymmetric Training: The "actor" network (deployed on the robot) only sees proprioceptive history like joint positions, while the "critic" network (used only during training) accesses privileged simulation data.
- Domain Randomization (DR): Friction, masses, and joint offsets were randomized during training to prevent the policy from overfitting to perfect simulated physics.
- Regularization: A GAN-style discriminator ensures the robot's movements remain "human-like" and safe, avoiding the erratic motions common in pure RL.
The model was trained on LAFAN1, a high-quality motion capture dataset containing about 2.4 hours of human movement retargeted to the Unitree G1, and evaluated on AMASS to test out-of-distribution generalization.
Key Insights and Results
Treating whole-body control as an embedding problem yields striking results. By finding the right vector in the latent space, BFM-Zero can make the robot perform a zero-shot imitation of a dance video it has never seen before. Furthermore, because this latent space is well-structured and smooth, interpolating between tasks—like transitioning from standing to walking—happens naturally.
- Zero-Shot Versatility: A single BFM-Zero policy successfully performed motion tracking, goal reaching, and reward optimization on the real Unitree G1 without any retraining.
- Robustness and Natural Recovery: When subjected to significant external perturbations (like being pushed), the robot did not freeze or fall. Instead, it instinctively took recovery steps and returned to its task, mimicking natural human recovery.
- Few-Shot Adaptation: In a rigorous stress test, researchers strapped a 4kg payload to the robot's torso, drastically altering its dynamics. While the zero-shot policy initially struggled, a few minutes of few-shot optimization within the latent space allowed the robot to regain its balance and successfully perform the task.
- Off-Policy Viability: BFM-Zero proves that off-policy, unsupervised learning—which is highly data-efficient—can successfully handle the sim-to-real gap when combined with a history-dependent architecture, challenging the dominance of on-policy methods like PPO in real-world humanoid control.
Limitations and Future Work
While BFM-Zero is a major step forward, its "vocabulary" of movement is currently limited by the mocap data it was trained on; it cannot perform tasks outside the underlying human motion distribution, such as extreme acrobatics. Additionally, while larger models and more data generally improve performance, the precise scaling laws for behavioral foundation models remain undefined. Finally, BFM-Zero excels at the "how to move" aspect of control but lacks high-level reasoning for "what to do." Future work will likely focus on coupling this robust behavioral engine with Vision-Language Models (VLMs) for comprehensive, high-level planning.
Summary updated