NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

$\mathrm{M}^{2}$-WAM: Efficient Hierarchical Memory Across Modalities and Timescales for World-Action Models

Xiaopeng Zhang, Weiqi Yuan, Xin Zhu, Jiaxi Huang, Yueqi Hu, Yin Zhang, Jian Yao, Yanjie LiarXiv 2026

TL;DR

Robots trying to complete long, multi-step tasks often suffer from digital amnesia—forgetting what they just saw or did—unless we let their GPU memory balloon endlessly. $\mathrm{M}^2$-WAM solves this by giving robot policies a brain-inspired memory hierarchy that separates what the robot saw from what the robot did, keeping recent moments sharp in short-term memory while neatly compressing older history into a fixed-size long-term state. The result is a robot that can win a shell game and track multi-stage tasks without ever running out of memory, no matter how long the task takes.

What Problem Does This Paper Address?

Imagine playing the classic street-corner shell game: someone hides a blue block under one of three identical red cups and shuffles them around. If you blink—or if you only look at the table right now—you have no idea where the block is.

A robot facing a shell game with three identical red cups, needing past context to know where the block is hidden.

Many modern robot controllers, specifically World-Action Models (WAMs) that jointly understand video dynamics and robot movements, live entirely in the present. When tasks require historical context, engineers face a painful trade-off:

  1. No/Sliding-Window Memory: Only keep the last few frames, which drops crucial early clues once they age out.
  2. Full Memory: Save every past video frame, causing GPU memory and latency to skyrocket as the task drags on.
  3. Aggressive Compression: Squash everything into a tiny recurrent state, losing fine spatial details needed for precise grasping right now.

Furthermore, sparse camera frames miss what happened between snapshots. Knowing the robot's own past actions—its behavioral history—provides vital clues that vision alone might miss.

Methods

The authors build $\mathrm{M}^2$-WAM atop Fast-WAM (a standard mixture-of-transformers backbone combining a Video Diffusion Transformer and an Action Diffusion Transformer, where future video prediction is used only during training to speed up live inference).

Overview of M2-WAM architecture showing separate Visual and Interaction pathways, each split into Short-Term Memory (STM) and gated-delta Long-Term Memory (LTM).

What’s new is a dual-pathway, dual-timescale memory bank with a strictly bounded footprint:

  • Two Modalities (Vision + Interaction): A Visual stream caches dense spatial key-value (KV) features from camera frames (plus a permanent "anchor" of the very first frame of the episode). Alongside it, an Interaction stream uses 1D convolutions to encode the robot's executed action chunks into compact temporal tokens.
  • Short-Term Memory (STM): Both streams keep the $N$ most recent entries uncompressed in First-In, First-Out (FIFO) queues, preserving crisp detail for immediate decisions.
  • Associative Long-Term Memory (LTM): Instead of deleting old entries when the FIFO fills up, evicted items are consolidated into fixed-size matrices using an adapted Gated DeltaNet-2 update rule. To tailor this math for robotics, the authors introduce two clever tweaks: they apply time-decay once per observation (since all spatial patches in one image share a timestamp) rather than per token, and they use a single scalar "erase gate" per token/head instead of channel-wise erasure, preventing numerical blow-ups during training.

During action generation, the Action Transformer queries both STM and LTM across layers to guide movement.

Datasets

The authors evaluate $\mathrm{M}^2$-WAM across three existing simulation benchmarks and a custom real-world suite (no new simulation benchmarks are introduced, though real-world demonstrations were collected):

  • MIKASA-Robo: Short-horizon memory tests like ShellGameTouch, object motion interception, and recalling earlier colors (RememberColor3/5/9).
  • RMBench: Nine longer, multi-stage tasks requiring either recalling a single past scene or accumulating outcomes across repeated attempts (e.g., testing batteries, ranking blocks).
  • RoboTwin 2.0: Diverse bimanual manipulation tasks (Clean and Randomized settings) to verify that adding memory doesn't hurt everyday, non-memory manipulation.
  • Real-World Tasks: 50 teleoperated demonstrations per task on a 7-DoF Franka Research 3 arm for Put Back Block, Shell Game, and Press Button.

Key Insights and Ideas

  • Remembering everything verbatim actually makes robots worse: A "full-history" variant that kept every single past token without eviction scored an abysmal 3.89% on RMBench—worse than having no memory at all (4.56%)! Flooding attention with uncompressed history dilutes focus on the present. Consolidating older memories isn't just cheaper; it acts as healthy information filtering.
  • Vision and actions shouldn't share a room: Merging action history directly into the visual KV space cut RMBench performance more than in half (65.78% $\rightarrow$ 32.22%), while dropping interaction memory entirely tanked it to 14.33%. Dedicated, modality-specific pathways matter.
  • Both timescales pull their weight: Removing LTM crushed multi-observation task success on RMBench from 49.0% to 9.75%, while removing STM dropped overall RMBench accuracy from 65.78% to 22.33%.

Key Results

  • Simulation Memory Tasks: $\mathrm{M}^2$-WAM achieves 78.8% average success on MIKASA-Robo (+53.2 percentage points over Fast-WAM) and 65.78% on RMBench (+61.22 points over Fast-WAM, beating the prior recurrent state-of-the-art DRAM by +8.00 points).
  • General Manipulation: On RoboTwin 2.0, $\mathrm{M}^2$-WAM scores 91.24% on average versus Fast-WAM's 91.43%, proving memory augmentation doesn't degrade standard dexterity.
  • Real-World Manipulation: Across 50 consecutive trials per task, $\mathrm{M}^2$-WAM hits 88.7% average success—beating Fast-WAM by +84.0 percentage points and the strong LingBot-VA baseline by +29.3 points.
  • Constant Footprint: As episode steps climb into the hundreds, both inference latency and peak GPU memory flatten out completely once the short-term queue fills.

Limitations and Future Work

While $\mathrm{M}^2$-WAM shines on spatial and behavioral recall, its success remained low on two RMBench tasks: ObsPick (11%) and PressButton (18%). Based on failure-case analyses, the authors note that weaknesses in the underlying Fast-WAM backbone—specifically limited out-of-distribution generalization and poor optical character recognition—contribute to these errors. Exploring stronger visual-language backbones alongside modality-specific hierarchical memory remains an open avenue.

Summary updated

BibTeX
@misc{zhang2026mathrm,
  author = {Xiaopeng Zhang and Weiqi Yuan and Xin Zhu and Jiaxi Huang and Yueqi Hu and Yin Zhang and Jian Yao and Yanjie Li},
  title = {{$\textbackslash\{\}mathrm\{M\}^\{2\}$-WAM: Efficient Hierarchical Memory Across Modalities and Timescales for World-Action Models}},
  year = {2026},
  eprint = {2611.33710},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.33710},
}
Figure