The challenge of humanoid robotics is no longer just about learning a single skill like walking; it’s about building "Behavior Foundation Models" (BFMs) that can handle a vast repertoire of motions. However, a major hurdle remains: a robot that can backflip in a simulation might stumble in the real world because of a slightly different floor friction or an unexpected payload.
In a new paper, researchers introduce ECHO, an in-context behavior foundation model that allows humanoid robots to sense their physical environment through interaction and adapt their control strategy on the fly—without any test-time parameter updates.
TL;DR
ECHO is a humanoid control framework that separates general behavioral skills from environment-specific execution. By using interaction history as "context," it enables robots to adapt to varying physical conditions (like heavy payloads or slippery terrain) zero-shot, achieving high-precision whole-body control across diverse tasks.
What Problem Does This Paper Address?
Current humanoid BFMs are typically trained using Reinforcement Learning (RL) across a wide range of simulated environments (Domain Randomization). While this makes them robust, it often leads to a "conservative compromise." Because the model doesn't know if it's currently on ice or carpet, it learns a middle-ground policy that is "safe" for both but precise for neither.
To achieve true whole-body mastery, a robot needs to distinguish the underlying dynamics of its current environment. The key challenge is enabling a BFM to understand these unobserved physical properties (mass, friction, actuator lag) purely from its own interaction history and then adjust its actions accordingly.
Methods
The authors propose a two-stage training pipeline, as illustrated in the method overview:
- ECHO-PRE (The Behavior Prior): First, they train a broad motion-tracking policy using a novel strategy called Mixed and Annealed Sampling (MIAS). MIAS balances three types of data sampling: uniform coverage of all motions, adaptive sampling that focuses on "hard" failure-prone segments, and "rewind" sampling to retry failed tasks. This ensures the model learns everything from basic walking to extreme acrobatics in a single stage.
- CRA (Context Representation and Residual Adaptation):
- Context Encoder ($E_\phi$): This module processes a history of proprioceptive states and actions to extract a latent "context" representation of the environment's physics.
- Dynamics Predictor ($D_\psi$): To ensure the context is physically meaningful, the encoder is co-trained to predict future states.
- Residual Actor ($\pi_\Delta$): Finally, they freeze the behavior prior and the context encoder. They then train a small "residual" policy that takes the prior's suggested action and the environment context to produce a fine-tuned correction.
A unique feature of CRA is Physical Neighborhood Soft Alignment, which forces the model to map environments with similar physical parameters (e.g., similar mass) to nearby points in the latent space, even across different types of motion.
Datasets
The authors compiled a massive training corpus of 1,235 hours (over 222 million frames) of motion data.
- Training Sources: MotionDecode, BONES-SEED, 100STYLE, and LAFAN1.
- Evaluation Benchmarks:
- AMASS-2000-Random: 2,000 motions from the AMASS dataset (excluded from training) to test out-of-distribution generalization to everyday behaviors.
- BONES-SEED-100-HighDynamic: 100 highly challenging motions (acrobatics, dancing) to test the limits of the policy's physical mastery.
Key Insights and Ideas
- Separation of Concerns: By freezing the behavior prior and only training a residual layer for adaptation, the robot retains its broad skill set while gaining the "surgical" precision needed for specific physical conditions.
- History as a Virtual Sensor: The robot’s "interaction history" acts as a proxy for sensors it doesn't have. By seeing how its body responds to a command, the model can infer if it is carrying a heavy weight or standing on a slope.
- Context Scaling: The researchers found that longer interaction histories (up to 9 seconds) significantly improved the model's ability to identify physical properties like payload mass and friction.
Key Results
ECHO was evaluated both in simulation and on a real Unitree G1 humanoid.
- Superior Tracking: In high-dynamic benchmarks, ECHO-N (trained with normal randomization) achieved a 76.3% success rate, significantly outperforming specialized baselines like HEFT (62%) and SONIC (58%).
- Robust Adaptation: Under "Heavy Domain Randomization" (HDR), ECHO-H reduced tracking errors by 3.0% compared to models using privileged "teacher" information, despite ECHO only having access to its own history.
- Real-World Deployment: On the Unitree G1, the model successfully performed whole-body teleoperation including backflips and stair climbing. Most impressively, it demonstrated payload adaptation: when a 10kg load was distributed across its limbs, ECHO adjusted its posture in real-time to maintain balance and precise tracking.
The quantitative results across different benchmarks are summarized in the tables below:
Limitations and Future Work
While ECHO represents a significant step forward, the authors note several areas for improvement:
- Sim-to-Real Reliance: The context learning still relies on simulated rollouts. Generalizing to physical effects not captured in the simulation's randomization remains a challenge.
- Static Dynamics Assumption: The current memory mechanism assumes physical parameters are fixed within a session. It may struggle with "sudden" changes, such as a robot dropping a heavy object mid-stride.
- Embodiment: The current work is focused on the Unitree G1. Future research will explore cross-embodiment transfer and integration with higher-level autonomous task planning.
Summary updated