Research
Test-Time Compute for Humanoid Behavior Foundation Models
Humanoid BFMs can produce impressive whole-body motions, but when a desired reference motion is fed directly in as the command, the robot's executed motion systematically drifts from it — a…

- arXiv
- 2610.14896 · Preprint · not peer-reviewed
- Published
- 2026-10-10 · revised · 2026-10-14
- Authors
- Weiji Xie, Junsong Wu, Zibo Zhou, Yueru Chen, Xingyi Wang, Zhenhua Xiong, Weinan Zhang, Chenjia Bai
In plain words
Humanoid BFMs can produce impressive whole-body motions, but when a desired reference motion is fed directly in as the command, the robot's executed motion systematically drifts from it — a "command–execution gap" that hurts tasks needing positional accuracy.
AI summary
Overview
- Research area: Robotics — humanoid whole-body control, behavior foundation models (BFMs), and inference-time (test-time) optimization.
- Technical level: Advanced. The paper assumes familiarity with motion tracking, model-predictive / receding-horizon control, and sampling-based optimizers (CEM, MPPI, CMA-ES).
- Scope (one sentence): The paper shows that optimizing the input command to a frozen humanoid behavior foundation model, using extra compute at inference time, substantially reduces the gap between desired and executed motion, and that the same optimization produces reusable action labels for downstream loco-manipulation policies.
What This Paper Is About
Humanoid BFMs can produce impressive whole-body motions, but when a desired reference motion is fed directly in as the command, the robot's executed motion systematically drifts from it — a "command–execution gap" that hurts tasks needing positional accuracy. The paper's core claim is that the command which produces the most accurate execution need not be the desired motion itself, so the authors search for an alternative command that compensates for a specific BFM's idiosyncratic errors, without retraining the model. They then study how to spend a fixed inference compute budget well, and whether the resulting optimized commands can double as training labels for high-level loco-manipulation policies.
Key Contributions
- Test-Time Command Optimization (TTCO): A method that adapts the motion command to a specific pretrained BFM via sampling-based optimization in closed-loop simulation of the BFM plus robot dynamics. Across three BFMs (HEFT, SONIC, TWIST2) and 12,273 AMASS reference motions, it reduces mean global body-position error by 79–84% in simulation, with no retraining.
- A test-time compute scaling analysis and compute-optimal allocation strategy: The authors decompose error into a horizon term and a sampling term, build a surrogate cost model fitted to 183 configuration–cost pairs, and use it to pick algorithm and configuration (iterations, candidates, horizon, execution interval) at a given compute budget.
- TTCO as a label generator for high-level policies: Optimizing commands offline against recorded robot trajectories produces body-action labels that do not require the original teleoperation body-motion commands, validated with Diffusion Policy on five HumanoidArena tasks and with GR00T N1.7 on four real-robot tasks.
- Demonstration reuse across BFMs: Because labels are re-optimized for the target BFM, demonstrations collected with one BFM can supervise policies executed by a different BFM.
Main Findings
- Tracking accuracy improves substantially at fixed model weights. At a compute budget ratio of K=640, mean cost fell by 89.0–94.7% and mean global body-position error by 79.1–84.2% across the three BFMs. Per-BFM body-position error went from 0.271 to 0.057 (HEFT), 0.615 to 0.127 (SONIC), and 1.095 to 0.173 (TWIST2); mean cost went from 0.419 to 0.046, 6.047 to 0.323, and 5.321 to 0.573 respectively.
- Wins are consistent but not universal. Cost-win rates were 62.27% (HEFT), 86.00% (SONIC), and 99.67% (TWIST2).
- Accuracy is traded against smoothness. Joint acceleration increased for all three BFMs relative to nominal commands in Table 1 (e.g., 10.104 to 17.246 for HEFT, 8.832 to 11.999 for SONIC, 43.280 to 51.574 for TWIST2).
- Allocation matters as much as budget. At a fixed solver budget of O=IN=8192 with SONIC on 10 AMASS motions, changing (I, N) from (1, 8192) to (32, 256) reduced cost by 53.42% with no extra compute. The best measured split also shifted with budget.
- Horizon effects are non-monotonic. Best measured cost across E levels off beyond a horizon ratio K_h = H/E of 4; increasing E from 5 to 10 reduced cost by 34.43% at K_h = 4 but increased it by 12.87% at K_h = 10.
- The surrogate model fits well. Mean absolute relative error was 11.38% for the solver term and 12.77% for the horizon term; CEM was selected among CEM, Predictive Sampling, MPPI-CMA, CMA-ES, and CBO.
- The derived strategy beats baselines. In the fitting regime (SONIC, fitted motions, six budgets, 200 random configurations per budget) mean regret was 4.02% versus 18.44% for the next-best random forest baseline. Scaling K from 256 to 8192 lowered measured cost by 58.0% under the proposed strategy.
- The strategy transfers to unseen BFMs and motions. With the model applied unchanged to SONIC, HEFT, and TWIST2 on five new motions and five budgets (compared against 50 random configurations), mean regret was 4.60% versus 12.27% for random forest, with per-BFM regrets of 4.72%, 8.24%, and 0.86% — the only strategy below 10% on all three.
- Optimized labels partially substitute for original labels in simulation. On five HumanoidArena tasks with SONIC as both source and target BFM, original-command labels reached 75.8% ± 0.5 mean success, optimized labels 56.7% ± 0.3, and robot-state labels 0.0% ± 0.0.
- Optimized labels help most when the BFM changes. For SONIC→HEFT in simulation, optimized labels reached 28.8% ± 0.2 mean success versus 17.1% ± 0.4 for original labels and 20.6% ± 0.7 for state labels. For SONIC→TWIST2 the means were 15.8% ± 0.4 (optimized), 15.7% ± 0.6 (original), and 10.0% ± 0.3 (state).
- Real-robot results follow the same pattern. Over four tasks and 60 rollouts each: SONIC→SONIC gave 60.4% (original), 64.2% (optimized), 2.5% (state); SONIC→HEFT gave 1.7% (original), 48.8% (optimized), 12.1% (state).
- Real-robot open-loop tracking improves. In two selected sequences (left sidestep and backward walking) executed open-loop, optimized commands brought final displayed positions closer to the reference than nominal commands.
Methodology in Plain English
Setting up the problem. A humanoid BFM is treated as a fixed function that takes a motion command (a sequence of target body poses and velocities) and, given feedback, outputs actions executed by a physics simulator. The authors measure tracking error as the accumulated difference between the executed trajectory and the desired reference, plus a regularization term that discourages excessive or jittery command changes.
Optimizing commands, not weights. Because the full-sequence problem is non-differentiable and grows with motion length, they use receding-horizon control: at each step they optimize an H-step window of commands, execute only the first E steps in simulation, then replan from the resulting state. A terminal cost at the end of the window accounts for costs beyond it.
Searching by sampling. Candidate commands are parameterized by values at control knots spaced H_k steps apart and interpolated to full segments. Each candidate is rolled out through the BFM and simulator to get a cost; a proposal distribution is updated across I iterations with N candidates each, and the lowest-cost candidate's first E steps are executed. Five optimizers were compared; CEM was chosen for the main analysis.
Budgeting compute. Total compute is counted in simulated BFM transitions as ⌈T/E⌉ · I · N · H, normalized to a per-timestep budget ratio K = I·N·H/E. Because exhaustively searching all configurations is infeasible, they fit a surrogate model: irreducible cost, plus a horizon error that decays exponentially in 2H−E with a linear correction for E, plus a sampling error with inverse-power diminishing returns in I and N, raised to η/H and scaled by γ^H to reflect how decision-vector dimension grows with horizon. Choosing the configuration that minimizes the fitted model under the budget gives the compute-optimal strategy.
Applying it downstream. For loco-manipulation, the fitted target BFM is frozen and commands are optimized offline against recorded robot trajectories (with randomized dynamics in simulation), producing labels for training Diffusion Policy in HumanoidArena and for fine-tuning GR00T N1.7 on real hardware, keeping images, proprioception, and hand labels fixed.
Why This Matters
- For research: It reframes command–execution gap as an inference-time, per-model compensation problem rather than something that must be solved by more data, more parameters, or more training, and it imports test-time compute scaling analysis from language models into whole-body humanoid control.
- Application — loco-manipulation: Policies can be trained from existing robot demonstrations without relying on the original teleoperation labels, which are often tied to one specific BFM.
- Application — demonstration reuse: Motion data collected on one BFM can be relabeled for another, which matters when upgrading controllers or switching vendors.
- Application — high-precision contact tasks: The 79–84% reduction in body-position error moves execution toward the accuracy of robotic-arm position controllers, relevant for reaching, placement, and contact-rich manipulation.
- Application — offline data curation: The method can post-process recorded trajectories to produce cleaner supervision without new hardware rollouts.
- Industry relevance: The authors span TeleAI (China Telecom), Shanghai Jiao Tong University, Zhejiang University, and Gamma Robotics; the work targets deployed humanoid systems that inherit a fixed, already-shipped controller but still need better positional fidelity.
Future Directions
- Real-time feasibility: The authors state the current implementation is not fast enough for satisfactory real-time performance, which limited their study of closed-loop command optimization on real robots; no latency or throughput figures are reported.
- Smoothness and jitter: Optimized commands improve accuracy but introduce temporal irregularities and executed-motion jitter; reconciling accuracy with smoothness is left open (the regularization term exists but joint acceleration still rose).
- Residual error in contact-rich tasks: The paper notes remaining execution errors can still limit tasks requiring precise contact and coordinated whole-body movement.
- Broader scaling validation: The surrogate model was fitted on limited measurements from a single BFM and a small motion set; whether the compute-optimal strategy holds at much larger budgets and across more controllers and embodiments is not established.
Target Audience
Researchers and engineers working on humanoid whole-body control, motion tracking, and behavior foundation models; practitioners building hierarchical loco-manipulation stacks who need better positional fidelity from a fixed controller; and readers interested in how test-time compute and compute-allocation analysis transfer from language models to embodied systems. Readers without background in optimal control or sampling-based planning will find the method sections demanding, but the problem framing and results tables are accessible.
Authors’ abstract
Humanoid Behavior Foundation Models (BFMs) can execute impressive motions, but downstream applications such as loco-manipulation demand high whole-body positional accuracy. Existing BFMs suffer from a systematic command-execution gap, where executed motions deviate from desired ones. We show that additional test-time compute can improve execution without retraining the BFM. First, we introduce Test-Time Command Optimization (TTCO), which adapts the input command to the…
The full abstract on arXivRelated papers
- KODA: Kinematics--Observation Data Alignment for Humanoid Learning from Human Egocentric Demonstration 2026-10-15 · cs.RO · Also by Chenjia Bai, Junsong Wu +3
- NEXUS: Perceptive Whole-Body Control for Terrain-Adaptive Teleoperation 2026-09-30 · cs.RO · Also by Chenjia Bai, Junsong Wu +3
- ECHO: In-Context Behavior foundation model for Humanoid Whole-Body Control 2026-11-19 · cs.RO · Also by Chenjia Bai, Junsong Wu +2
- $τ_0$-VLA: a Hierarchical Robot Foundation Model with World-Model-Guided Test-Time Computation 2026-08-17 · cs.RO · Key terms of the title in common
- Test-Time Motion Steering for Perceptive Humanoid Fall Recovery 2026-10-21 · cs.RO · Key terms of the title in common