ECHO: In-Context Behavior foundation model for Humanoid Whole-Body Control

Xingyi Wang, Bin Li, Jiyuan Shi, Chenyun Zhang, Weiji Xie, Xiangyu Miao, Junsong Wu, Wei Song, Shiqiang Zhu, Chenjia BaiarXiv 2026 · arXiv

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 Method Overview: (a) Pretraining the behavior prior with MIAS, (b) Learning context representations, and (c) Training the residual adaptation layer.
  1. 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.
  2. 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.
  3. Dynamics Predictor ($D_\psi$): To ensure the context is physically meaningful, the encoder is co-trained to predict future states.
  4. 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.
Real-world capabilities: (a) Extreme acrobatics, (b) Terrain interaction, and (c) Payload adaptation during manipulation and whole-body control.

The quantitative results across different benchmarks are summarized in the tables below:

Comparison of whole-body control capabilities across different state-of-the-art models.
Simulation evaluation of motion tracking fidelity on AMASS and BONES-SEED benchmarks.

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

Abstract

Humanoid behavior foundation models (BFMs) acquire diverse skills through large-scale motion imitation and massively parallel reinforcement learning, yet broad behavioral capability does not ensure precise execution across physical conditions. Without distinguishing the underlying dynamics, policies may favor conservative compromises over environment-specific precision. We introduce ECHO, an in-context BFM that turns interaction experience into environment-specific control, separating general behavioral capability from dynamics-specific execution. Mixed and Annealed Sampling first establishes a behavior prior in a single pretraining stage by balancing targeted practice with broad motion coverage. Building on this prior, Context Representation and Residual Adaptation learns structured dynamics representations from interaction histories to guide residual corrections to the frozen prior, enabling adaptation without test-time parameter updates. Extensive experiments show that ECHO outperforms all baseline methods across diverse motions and physical conditions. Moreover, deployment on the Unitree G1 demonstrates whole-body teleoperation spanning extreme acrobatics and terrain interaction, alongside payload adaptation in manipulation and whole-body control. Page is available at https://mwondering.github.io/echo-bfm/
BibTeX
@misc{wang2026echo,
  author = {Xingyi Wang and Bin Li and Jiyuan Shi and Chenyun Zhang and Weiji Xie and Xiangyu Miao and Junsong Wu and Wei Song and Shiqiang Zhu and Chenjia Bai},
  title = {{ECHO: In-Context Behavior foundation model for Humanoid Whole-Body Control}},
  year = {2026},
  eprint = {2611.25778},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.25778},
}
Figure