TL;DR
ReactiveBFM is a real-time, closed-loop planning-control framework that enables humanoid robots to reactively adapt their whole-body motions to changing environments and physical disturbances. By combining an asynchronous auto-regressive motion planner with a scheduled prefix sampling curriculum, it eliminates the classic "exposure bias" problem and bridges the latency gap between slow generative models and high-frequency hardware controllers.
What Problem Does This Paper Address?
While Behavior Foundation Models (BFMs) have given humanoid robots impressive low-level motor skills, they typically operate in an open-loop fashion, executing pre-defined reference motions blindly. If you push the robot or move its target mid-motion, it cannot dynamically adapt.
Naively connecting a generative motion planner to a low-level tracker fails due to two major challenges:
- Cumulative Exposure Bias: Generative planners are traditionally trained using "teacher forcing" (conditioned on perfect ground-truth past trajectories). In the real world, execution is imperfect. These tiny tracking errors compound rapidly, pushing the planner out of its trained distribution and causing catastrophic failures.
- Latency Mismatch: Auto-regressive generative planners are computationally heavy and run at lower frequencies, whereas robot tracking controllers require high-frequency, low-latency inputs (e.g., 50 Hz) to maintain balance.
ReactiveBFM bridges this gap to achieve true real-time, reactive whole-body control.
Methods
The authors introduce a closed-loop architecture consisting of an Auto-Regressive Motion Diffusion Model (AR-MDM) acting as the planner, paired with a low-level BFM controller.
Key algorithmic innovations include:
- Scheduled AR Prefix Sampling: To eliminate exposure bias, the authors designed a curriculum learning strategy. Training starts with teacher forcing but gradually transitions to a "self-rollout" mode where the planner is forced to generate trajectories based on its own noisy, imperfect historical predictions. This teaches the model active error-recovery behaviors.
- Asynchronous Replanning & Trajectory Chunking: To solve the latency mismatch, the planner runs on a separate, non-blocking thread. It triggers a new plan whenever the robot's control buffer drops below a safe margin (10 frames). Overlapping trajectories from these asynchronous cycles are blended using trajectory chunking to prevent physical jitter.
- Compact Kinematic Representation: Instead of using bloated feature sets (like contact states or global velocities), the planner uses a minimal 36-dimensional state space (root translation, rotation, and 29 joint positions for the Unitree G1), strictly bounding the error propagation space.
- Ego-Centric Reset: For tracking moving targets, the framework continuously resets the robot's instantaneous pose as the global origin, effectively turning a complex dynamic tracking task into a sequence of simpler static reaching sub-tasks.
Datasets
The planner was trained on a curated, physically verified text-motion corpus totaling 37.14 hours (over 8 million frames) of motion data. This dataset aggregates:
- AMASS-HumanML3D & 100STYLE: Human motion capture datasets with text annotations.
- Kungfu Dataset: For highly dynamic, robot-specific maneuvers.
- PhysHSI-Reach: 10,000 goal-conditioned reaching trajectories synthesized via physics simulation to provide high-quality manipulation priors.
All raw data underwent kinematic canonicalization and physical correction in a PyBullet simulator to eliminate artifacts like foot sliding and self-penetration.
Key Insights and Ideas
- Embrace the Noise: Training a planner solely on perfect trajectories makes it fragile. By intentionally exposing the diffusion model to its own tracking errors during training, error correction naturally emerges as a learned behavior.
- Coordinate Frame Invariance: Complex, zero-shot dynamic target tracking doesn't require dynamic training data. Constantly re-centering the world coordinate frame around the robot's current position allows it to successfully exploit static reaching priors on the fly.
Key Results
The framework was validated in simulation and deployed on a physical Unitree G1 humanoid robot.
- Robustness to Perturbations: In sim-to-sim benchmarks featuring severe external forces (100N kicks to the torso), ReactiveBFM achieved a 93.1% task success rate and reduced the fall rate to just 2.0%, outperforming open-loop baselines by 28.6%.
- Zero-Shot Dynamic Reaching: On physical hardware, the robot achieved a 90% success rate tracking a moving target held by a human operator, sustaining fluid whole-body coordination for over 40 seconds without any dynamic target training data.
- Low Latency: Using TensorRT optimization, the planner's inference latency was cut to 19.3 ms, allowing it to seamlessly feed the 50 Hz universal controller loop.
Limitations and Future Work
While ReactiveBFM excels at free-space whole-body motion and disturbance rejection, it has two primary limitations:
- Lack of Contact Modeling: It does not explicitly model precise humanoid-object physical interactions, meaning it may struggle with complex loco-manipulation tasks (e.g., opening doors or lifting heavy boxes).
- Low-Dimensional Conditioning: The online planner relies purely on text, kinematic states, and coordinate targets. It lacks high-dimensional visual or tactile feedback loops.
The authors note that extending the architecture to Human-Object Interaction (HOI) settings and integrating rich egocentric vision are promising next steps.
Summary updated