Endogenous and Exogenous Memory for World Action Models

Zerui Gong, Marina Barannikov, Zhonghua Wu, Shanshan Lu, Junjie Gao, Zhe Yang, Jinglin He, Quanzhou Li, Weijie Qiao, Qinyue Li, Qingyi Tao, Chen Change LoyarXiv 2026

TL;DR

Imagine asking a robot to salt a soup twice, only for you to sneak in a third spoonful while its back is turned; without a smart memory, the soup is ruined. This paper introduces EM-WAM, a robot control model equipped with two complementary, brain-inspired memory systems—one for tracking expected task progress and another for catching sudden surprises. Best of all, it learns what to remember using its own internal signals, needing zero extra human labeling.

What Problem Does This Paper Address?

World Action Models (WAMs) are neural networks that jointly predict future video frames (how the world will look) and robot actions (how to move). They excel at quick, short-horizon skills, but stumble on longer tasks where crucial information vanishes from view—like remembering where an object was hidden.

Current workarounds face two major hurdles:

  1. The Compression Dilemma: Keeping every past video frame in full causes memory and compute costs to skyrocket. Existing methods either compress frames blindly based on when they happened (e.g., only keeping the first and newest frames) or require extra, expensive supervision to teach the model which frames matter.
  2. Inattentional Blindness: Even if a robot saves every single past frame, unexpected events—like a tiny indicator light blinking on for a split second, or a human moving a block—occupy only a tiny fraction of a massive history. The robot's attention mechanism tends to fixate on its own moving arms, completely missing the subtle plot twist.
Remembering a transient visual cue: Conventional WAMs miss brief, localized events even when keeping all frames, whereas EM-WAM catches the surprise and shifts its attention.

Methods

EM-WAM builds on a standard WAM architecture consisting of a video expert (which predicts future visual states) and an action expert (which generates joint commands). Rather than bolting on external detectors, the authors tap into signals the video expert already produces to build two distinct memories:

  • Endogenous Memory (Top-Down Task Tracking): The video expert interleaves standard attention layers with gated linear-attention layers (which maintain a compressed running state). Whenever a frame brings genuinely new information, the layer's internal "decay gates" open wide to refresh that state. By reading a state-refresh score directly from these gates, EM-WAM keeps recent frames and high-scoring "milestone" frames in full (120 visual tokens), while squashing redundant frames into just 4 summary tokens.
  • Exogenous Memory (Bottom-Up Surprise Catcher): At each step, the model compares the video expert's predicted next frame against what actually happened using Root Mean Square (RMS) error. When this prediction error ("surprise") spikes above a dynamic threshold, the model isolates the specific 2×2 spatial patches with the highest error and writes them into a compact Event Bank. Rather than tossing these event tokens back into the crowded frame history, the Event Bank directly modulates the action expert via cross-attention and adaptive layer normalization (adaLN)—effectively tapping the action network on the shoulder.
EM-WAM Overview: Endogenous memory filters frames via gated layer scores, while exogenous memory writes prediction discrepancies to an Event Bank that directly modulates actions.

The model is trained in two stages: first training both experts with endogenous memory, then freezing in the foundation to add the surprise-driven exogenous memory.

Datasets

  • RMBench: An existing simulated benchmark of nine dual-arm manipulation tasks where success hinges on remembering past, static information.
  • RMBench-Dynamic (Newly Introduced): Existing benchmarks mostly assume that once you see a clue, it stays true. To test mid-episode adaptability, the authors built RMBench-Dynamic in Isaac Sim: eight dual-arm tasks centered around unpredictable events—goal revisions, ineffective actions (buttons that occasionally fail to register), scene perturbations (shuffled objects), and deferred feedback.
  • Real-World Demonstrations: 300 demonstrations per task collected on dual AgileX Nero robot arms for two physical tasks (Cover Blocks and Restore Layout).
The eight tasks of RMBench-Dynamic, grouped by unexpected event types.

Key Insights and Ideas

  • Memory retention ≠ memory attention: Simply storing a frame in a transformer's context window doesn't mean the policy will actually look at a tiny changed region later. Routing surprises through a separate modulation pathway (adaLN) solves this bottleneck.
  • World models give you memory signals for free: Gated linear-attention layers naturally spike when subtasks finish, and world-model prediction errors naturally spike when the environment breaks the rules. You don't need pseudo-labels or external language models to curate memory.
  • Less history can mean better performance: Compressing uninformative frames didn't just save compute—EM-WAM without exogenous memory still beat a baseline that kept 100% of past frames in full, suggesting that pruning visual clutter helps the policy focus on decisive moments.

Key Results

  • RMBench-Dynamic: EM-WAM achieves a 58.8% average success rate, beating the strongest full-history baseline (LingBot-VA at 44.6%) by 14.2 percentage points, while cutting visual tokens by 38.8%. On Restore Layout—where an arrangement changes mid-episode—adding exogenous memory jumps success from 54% to 81%.
  • RMBench: Achieves state-of-the-art performance at 81.7% average success, edging out prior memory-specialized WAMs like MemoryWAM (80.6%) and LingBot-VA (77.1%).
  • Real-World Robot Trials: Across 60 total trials on two dual-arm tasks, EM-WAM succeeded in 57/60 trials (30/30 on Cover Blocks, 27/30 on Restore Layout), more than doubling LingBot-VA's 27/60.

Limitations and Future Work

EM-WAM currently operates purely as a low-level "System 1" reactive controller. It is not yet wired up to a high-level "System 2" reasoning planner (such as a vision-language model breaking down complex, multi-room chores). In the future, the authors aim to connect EM-WAM to a high-level planner and design clean interfaces between that planner and EM-WAM's dual memories for ultra-long-horizon tasks.

Summary updated

BibTeX
@misc{gong2026endogenous,
  author = {Zerui Gong and Marina Barannikov and Zhonghua Wu and Shanshan Lu and Junjie Gao and Zhe Yang and Jinglin He and Quanzhou Li and Weijie Qiao and Qinyue Li and Qingyi Tao and Chen Change Loy},
  title = {{Endogenous and Exogenous Memory for World Action Models}},
  year = {2026},
  eprint = {2611.35690},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35690},
}
Figure