typebraintank dispatch
headlineHumanoid motion generator turns its compressed memory into slots attention can read
dekMotion Mamba 2.0 produces Unitree G1 motion two seconds at a time from changing text and steering commands, and a reworked execution path speeds it up without changing tested outputs.
date2026-11-29
sectionEmbodied · humanoid motion generation
datelineBeijing · Peking University
paperMotion Mamba 2.0: Autoregressive Diffusion Mamba for Long-Horizon Humanoid Control
statuspreprint, not peer reviewed
originalhttps://braintank.ai/a/arxiv-2611.29897.html
cite
text

A humanoid that walks, gestures and changes course on command needs a motion generator that keeps going indefinitely, absorbs new instructions mid-stream and runs fast enough for live use. Motion Mamba 2.0 is an attempt at all three. It comes from a Peking University-led team, extends the authors' Motion Mamba from ECCV 2024, and is described in a 2026 preprint that has not yet been peer reviewed.

The model uses autoregressive diffusion: it produces motion one short chunk at a time, each chunk refined from noise by a denoiser conditioned on what came before. Each window here is 52 frames at 25 Hz, or 2.08 seconds. Within a window it first predicts the root, meaning the pelvis position and heading, and then the limbs given that path. In every layer, attention over only the last few accepted windows runs alongside a Mamba branch. Mamba is a sequence model that squeezes everything seen so far into a fixed-size running state. The authors argue that putting both in one network is not enough, because attention cannot read what the compressed state holds. Their persistent content memory bridges that gap. After each accepted window it pools the Mamba state, measures how it changed since the last window, mixes in the current text instruction and, through a gate, writes the result into a fixed set of memory slots that attention reads like extra tokens. Memory is updated only once a window is fully denoised, so half-finished guesses never enter the history.

Speed comes from three changes that leave the model and its sampling steps untouched. One is CUDA Graph replay, which records a fixed sequence of GPU operations once and replays it, avoiding the cost of launching thousands of small jobs from the processor. On a single RTX 4090, the authors report median time per window falling from 1685.35 to 276.14 ms, with outputs and stored states bitwise identical across four 100-window test rollouts. Most of the gain comes from the graphs, not from merging operations: simplifying the execution flow alone gave 1102.82 ms, adding graphs brought it to 285.20 ms, and merged kernels added only a further 1.029 times. Host-side launches dropped from 83,777 to 5,519.

The team trained on 156,819 motion records, 588.92 stored hours drawn from BONES Seed and from HumanML3D and HiPHI human-motion data converted to the 29-degree-of-freedom G1 robot. They retrained every baseline, including ARDY, MotionStreamer and DartControl, on the same corpus under the same 100,000-update budget, and ran 384 rollouts per condition. On HiPHI at 18.72 seconds, the model's pelvis and wrist-or-ankle errors at the deadline were 2.87 and 8.45 cm, against 6.17 and 18.07 cm for MotionStreamer and 8.15 and 11.06 cm for ARDY. At 39.52 seconds they were 7.55 and 13.64 cm. Ablations tie the long-horizon gains to the design: adding the Mamba branch cut pelvis error at 39.52 seconds from 60.00 to 9.36 cm, and the memory slots brought it to 7.55 cm while lifting command agreement from 32.20% to 46.05%. On a physical Unitree G1, driven by an existing tracking controller called SONIC, 94 of 100 trials fully succeeded with no falls, and keyboard and mouse commands produced physical responses in a median 351 and 360 ms.

The paper is clear about its limits. The robot does not handle objects. The fixed-size memory is not guaranteed to keep every detail of distant motion. The 276.14 ms figure is steady-state generation, not cold start or the delay from command to visible motion. Training used real histories of at most 7.84 seconds, and error still grows with horizon. The model is also slower per window than several rivals, at roughly 270 to 333 ms against about 28 to 39 ms for DartControl. Text alignment is mixed: on HumanML3D, retrieval scores fall below the variants without the memory, and they rely on separately trained evaluators for each benchmark. Generation runs on a remote GPU rather than on the robot, the speed tests used one card at batch size 1, and the hardware trials are small, with wide uncertainty, for example 90.0% success with an interval of 69.9 to 97.2 on one task.

The problem is one braintankAI has followed in video world models. Alaya Lab's AlayaWorld combines memory and anti-drift training so a chunk-by-chunk generator stays coherent over long runs, and Tencent's Hy-Nomas follows successive typed instructions while tracking what has already happened. On speed, a small drafter for diffusion text models also keeps outputs unchanged, but it saves time by cutting the number of passes rather than by making each pass cheaper.