Giving Humanoid Robots a Memory to Move Smoothly
Original paper: Motion Mamba 2.0: Autoregressive Diffusion Mamba for Long-Horizon Humanoid Control
"Think of a chef reading a massive recipe book while cooking, where a quick-reference cheat sheet on the counter keeps track of every step already completed. Instead of flipping back through hundreds of pages for every single chop or stir, the chef simply glances at the cheat sheet to maintain flawless momentum."
This breakthrough bridges the gap between clunky, short-burst robot animations and fluid, real-world humanoid control. By slashing response latency over sixfold on consumer hardware, it paves the way for responsive home assistants and interactive digital avatars that can act on natural language commands in real time.
- Generates smooth humanoid motion for nearly 40 seconds straight.
- Reduces computer processing lag by more than six times.
- Successfully tested on physical robots responding to text and keyboard inputs.
📑 Original arXiv Technical Abstract
Long-horizon, real-time controllable motion generation is essential for interactive animation and humanoid robotics, where an agent must respond to changing instructions and spatial goals while moving. Existing autoregressive diffusion methods generate motion incrementally, but bounded attention caches limit access to distant history, while repeated denoising introduces substantial inference overhead. We present Motion Mamba 2.0, a Mamba-based root-body diffusion architecture that integrates local attention, resumable recurrent states, and persistent content memory (PCM) for long-horizon controllable motion generation. PCM transforms compressed motion history from Mamba recurrent states, together with state changes and text-conditioned features, into dynamically updated content slots accessible to local attention. To enable efficient inference, we further develop an execution scheme tailored to this architecture, combining CUDA Graph replay, fused kernels, and execution-flow simplification while preserving the canonical history update. Evaluations on retargeted HiPHI demonstrate accurate terminal control over rollouts of up to 39.52 s, while short-horizon comparisons on BONES Seed and retargeted HumanML3D show that the model also retains strong spatial control and text-motion matching. On an RTX 4090, the optimized execution reduces median complete-window latency from 1685.35 to 276.14 ms, achieving a median paired speedup of 6.138× while preserving identical outputs and committed states in the tested rollouts. Moreover, we conduct extensive real-world evaluation on the Unitree G1, demonstrating sequential text-guided action composition, expressive motion, and interactive locomotion through keyboard and mouse control.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.