M²-WAM: Efficient Hierarchical Memory Across Modalities and Timescales for World-Action Models
Long-horizon robotic manipulation requires historical context, yet retaining extensive visual histories incurs growing storage and retrieval costs, while aggressive compression risks losing fine-grained information needed for subsequent decisions. Moreover, executed action histories capture intermediate behaviors that sparse visual observations may miss.
From the abstract. Our summary is in progress.
Full paper
$\mathrm{M}^{2}$-WAM: Efficient Hierarchical Memory Across Modalities and Timescales for World-Action Models
Published under CC BY 4.0. Reproduced with attribution; original at arXiv:2611.33710 (PDF).
Abstract
Long-horizon robotic manipulation requires historical context, yet retaining extensive visual histories incurs growing storage and retrieval costs, while aggressive compression risks losing fine-grained information needed for subsequent decisions. Moreover, executed action histories capture intermediate behaviors that sparse visual observations may miss. Preserving this complementary context efficiently calls for modality-specific memory mechanisms that balance recent detail with long-term retention. To this end, we introduce M2-WAM, a world-action model equipped with hierarchical visual and interaction memories. M2-WAM preserves recent visual observations in dense short-term memory while consolidating entries evicted from this window into fixed-size associative long-term memory through gated delta updates. Within the same short- and long-term hierarchy, interaction memory encodes executed action prefixes into compact temporal representations, complementing visual observations with behavioral context. These complementary memories are integrated into world-action modeling through layer-wise retrieval, enabling memory-augmented action generation with a bounded online memory footprint independent of episode length. On the memory-dependent simulation benchmarks MIKASA-Robo and RMBench, M2-WAM achieves +53.2% and +61.2% absolute improvements in average success rates over Fast-WAM, respectively. These gains extend to real-world manipulation, where M2-WAM achieves a +29.3% absolute improvement over LingBot-VA in average success across three tasks. These results suggest that M2-WAM offers a promising approach to efficient memory-augmented world-action modeling.
0
1 Introduction
Long-horizon robotic manipulation often requires reasoning beyond the current observation [52, 38, 22]. For example, in a shell game task, a robot must track a target object as it is occluded and moved beneath visually identical cups, relying on historical observations to identify its location [10, 13]. Such tasks are inherently non-Markovian with respect to instantaneous observations, requiring policies to reason over past observations and interactions [17]. Recent world-action models (WAMs) have demonstrated promising capabilities by jointly modeling visual dynamics and robot actions [42, 19, 44]. However, many WAMs still rely on current observations or limited contexts, making it difficult to exploit information from earlier stages of execution.
Historical context must support ongoing decisions while preserving information from earlier task stages. Recent observations provide spatial detail, whereas earlier observations may contain cues that remain relevant after they leave view. As shown in Figure (a,b), a memoryless WAM lacks access to earlier observations, whereas retaining full visual history incurs storage and retrieval costs that grow with episode length. A sliding window preserves recent detail but discards older observations [37, 39]. Alternatively, compact or recurrent memories reduce storage costs, but compression can limit access to fine-grained historical information [40, 49]. We argue for allocating memory capacity across timescales: retaining recent observations explicitly and consolidating older entries into a compact, persistent state. This design preserves recent detail without compressing all observations and extends historical coverage beyond a fixed window, drawing inspiration from short- and long-term memory [1] and complementary learning systems [26].
However, retaining history across timescales is only part of the challenge: memory must also capture complementary information from observations and executed actions. Visual observations describe scene configurations and changes, but may omit behavior between sampled frames. Denser sampling increases visual encoding and storage costs for the same duration. Executed action prefixes complement these observations by recording the intervening actions, providing compact, temporally denser behavioral context [53, 50, 27]. This motivates modality-aware memory that preserves both scene observations and executed actions. We therefore adopt visual and interaction memories that preserve spatial details and temporal action patterns, respectively, within a common short- and long-term hierarchy.
Building on these considerations, we propose M2-WAM, which augments a mixture-of-transformers (MoT) architecture with complementary visual and interaction memories across timescales, as illustrated in Figure (c). The visual memory preserves an initial observation anchor and recent observations as dense spatial key-value (KV) representations, while consolidating older information into fixed-size, layer-wise associative states through gated delta updates [41, 14]. To accommodate robot image sequences, we apply temporal decay once per observation according to elapsed time, rather than repeatedly across its spatial tokens. We further replace channel-wise erasure with a scalar erase gate per token and head to improve numerical stability. In parallel, the interaction memory encodes executed action prefixes into compact temporal representations and maintains a shared associative state. These memories are integrated into world-action modeling through layer-wise, query-conditioned retrieval. By combining bounded short-term memories with fixed-size associative states, M2-WAM enables persistent history conditioning with online memory storage and retrieval costs independent of episode length.
Our main contributions are as follows: 1) We propose M2-WAM, a world-action model equipped with modality-specialized hierarchical memory that jointly preserves visual observations and executed interactions across short and long timescales. 2) We develop modality-specific memory representations and associative consolidation mechanisms, together with complementary retrieval pathways that incorporate historical information into world-action computation with bounded online memory and retrieval costs. 3) We conduct extensive experiments on MIKASA-Robo [10], RMBench [9], RoboTwin 2.0 [8], and three real-world tasks, complemented by ablation studies and qualitative and quantitative analyses. Results demonstrate improved performance on memory-dependent tasks with bounded online memory and retrieval costs, supporting the effectiveness and efficiency of our method.
2 Related Work
2.1 World-Action Models
Recent robot policies learn compact state representations [24], couple visual prediction with policy learning [34, 15, 7], or plan with predicted future states [11, 47, 46, 16]. World-action models connect visual dynamics prediction with action generation through unified generative models or coupled video–action architectures [54, 6, 2, 18]. DreamZero and LingBot-VA demonstrate the potential of video-based world modeling for generalizable robot control [42, 19]. Recent studies further investigate video-action coupling and its role in policy learning and task transfer [25, 35, 5, 32]. Inference efficiency is also a practical concern for robot policies [45]. Fast-WAM retains video co-training but skips future prediction at test time, whereas Faster-WAM preserves future conditioning through selective video-action interactions [44, 48]. Building on Fast-WAM, we investigate how visual and executed-action histories can support action generation under a bounded online memory budget.
2.2 Memory-Augmented Robotic Policies
Memory-augmented robotic policies address partial observability through explicit memory banks, compressed visual histories, and selective retrieval [43, 37, 12, 5, 21, 36]. MemoryVLA maintains perceptual and cognitive memory streams, retrieving historical context with current tokens and consolidating redundant entries [30]. MemoryVLA++ combines this memory with imagined future latents to condition action generation [29]. BridgeVLA++ pairs temporal memory of historical keyframes with spatial memory of the initial scene geometry, supporting task-progress reasoning and localization under occlusion [20]. MemoryWAM combines recent observations, anchor frames, and historical gist tokens [40], whereas HiMem-WAM stores compact task states at predicted skill boundaries [33]. To retain history without accumulating tokens, recurrent approaches maintain fixed-size associative states using gated delta updates [41, 14]. DRAM jointly incorporates tokens within each observation [49], while MemBodied combines action summaries with their observed visual consequences [27]. The latter also highlights the relevance of behavioral history, explored through joint visual-action representations in AEM and executed-action memory in ActMem-VLA [53, 50]. M2-WAM organizes visual observations and executed action prefixes into separate pathways, each combining explicit short-term storage with associative long-term consolidation. Dense visual KV features and compact temporal action representations are retained and retrieved through modality-specific structures, while entries evicted from each short-term window update its corresponding fixed-size associative state.
3 Method
3.1 Problem Formulation and Architecture
We consider long-horizon robotic manipulation under partial observability, where action generation may depend on information beyond the current observation. At each replanning step t, the robot receives an observation o_{t}=(\mathcal{I}_{t},\mathbf{s}_{t}), comprising multi-view images and proprioceptive state, and a task instruction \ell. Given a bounded memory bank \mathcal{M}_{t} representing past observations and executed actions, the policy predicts an action chunk \mathbf{A}_{t}\in\mathbb{R}^{H\times d_{a}}:
\pi_{\theta}(\mathbf{A}_{t}\mid o_{t},\ell,\mathcal{M}_{t}).Here, H is the prediction horizon and d_{a} is the action dimension. The online memory satisfies \operatorname{Size}(\mathcal{M}_{t})\leq B, where B is a fixed budget independent of episode length.
As illustrated in Figure 2, M2-WAM builds on Fast-WAM’s MoT backbone, comprising a video Diffusion Transformer (DiT) [28] and an action DiT. During inference, the video DiT encodes the current observation into layer-wise visual KV representations that condition iterative action denoising in the action DiT, without generating future video.
We augment this architecture with complementary visual and interaction memories, each combining bounded short-term memory (STM) with fixed-size associative long-term memory (LTM). The action DiT directly retrieves historical context from both memory streams during denoising.
3.2 Short-Term Visual and Interaction Memory
Visual and interaction STM preserve recent visual context and executed action prefixes in separate bounded first-in, first-out (FIFO) queues. Let \mathcal{W}_{t} denote the ordered indices of retained historical entries before replanning step t, with |\mathcal{W}_{t}|\leq N. Each entry pairs a sampled observation with the action prefix executed after that observation. The effect of FIFO length is examined in Appendix C.1.
Visual memory. For each observation i, we cache the dense spatial KV tensors (\mathbf{K}_{i}^{(r)},\mathbf{V}_{i}^{(r)}) produced at every layer r of the video DiT. Each observation is encoded without reading historical memory, and its cached representations retain the spatial token layout without additional pooling. Visual STM maintains these layer-wise KV entries in chronological order. In addition, the KV representations of the episode’s first observation form a permanent visual anchor, retained outside the FIFO without consuming its N slots.
Interaction memory. Interaction STM stores normalized executed action prefixes \mathbf{A}_{i}^{\mathrm{exec}} in a matching FIFO. For retrieval, a temporal encoder applies one-dimensional convolutions and adaptive average pooling, followed by a linear projection and layer normalization:
\mathbf{Z}_{i}=E_{\psi}(\mathbf{A}_{i}^{\mathrm{exec}})\in\mathbb{R}^{P\times d_{m}},where P is the number of tokens per executed prefix and d_{m} is their feature dimension. The resulting tokens summarize successive temporal regions and provide an explicit representation of recent robot behavior for retrieval.
3.3 Associative Long-Term Memory
When advancing a full FIFO, we consolidate its oldest entry into a fixed-size associative state before eviction. Visual LTM maintains an independent multi-head state at each layer of the video DiT, while interaction LTM maintains one multi-head state shared across layers of the action DiT. The writers are independently parameterized and follow a common update rule. Below, we describe one head, omitting modality and layer indices. Its state \mathbf{S}\in\mathbb{R}^{d_{k}\times d_{v}}, where d_{k} and d_{v} are the per-head key and value dimensions, is initialized to zero at the start of each episode.
Writing representations. For visual writes, we reuse the video DiT’s native keys before rotary position embeddings (RoPE) [31], together with its native values. The writer applies per-head \ell_{2} normalization to the keys and predicts its gates from normalized and projected value features. For interaction writes, the action content tokens \mathbf{Z}_{i} are normalized and projected into writer features, augmented with sinusoidal within-chunk phase encodings, and mapped to memory keys and values. The keys are also \ell_{2}-normalized. Gate projection in Figure 2(c) predicts erase and write gates and decay rates.
Gated delta update. We build on Gated DeltaNet-2 [14], adapting its erase granularity and temporal decay to WAM memory, as illustrated in Figure 2(c). We predict one scalar erase gate per token and head, shared across key channels, while retaining independent channel-wise writing. Scalar erasure avoids the numerical instability we observe with channel-wise erasure during training.
Spatial tokens from the same observation share a timestamp, so we apply temporal decay once per evicted entry rather than once per spatial token. The same entry-level decay applies to interaction memory. For each evicted entry e, we first decay the memory state:
\displaystyle\mathbf{D}_{e} \\ \displaystyle=\operatorname{diag}\left(\exp(-\Delta_{e}\boldsymbol{\lambda}_{e})\right), \\ \displaystyle\mathbf{S}_{e,0} \\ \displaystyle=\mathbf{D}_{e}\mathbf{S}_{e-1}.Here, \boldsymbol{\lambda}_{e}\in\mathbb{R}_{>0}^{d_{k}} contains input-dependent decay rates predicted from writer features averaged over the entry’s tokens. \Delta_{e} is the source-frame interval since the preceding written entry, normalized by the memory sampling stride and set to one for the first write. Interaction entries use their paired observations’ source-frame indices, so decay in both streams follows elapsed source time.
We then process the J_{e} tokens in entry e sequentially in flattened spatial or temporal order, indexed by j=1,\ldots,J_{e}. Let \mathbf{k}_{e,j}\in\mathbb{R}^{d_{k}} and \mathbf{v}_{e,j}\in\mathbb{R}^{d_{v}} denote the token’s key and value, respectively, with \|\mathbf{k}_{e,j}\|_{2}=1. The update is
\displaystyle\mathbf{S}_{e,j} \\ \displaystyle=\left(\mathbf{I}-\beta_{e,j}\mathbf{k}_{e,j}\mathbf{k}_{e,j}^{\top}\right)\mathbf{S}_{e,j-1} \\ \displaystyle+\mathbf{k}_{e,j}\left(\mathbf{w}_{e,j}\odot\mathbf{v}_{e,j}\right)^{\top}.Here, \mathbf{I} is the d_{k}\times d_{k} identity matrix and \odot denotes element-wise multiplication. The memory predicts the value associated with the incoming key as \mathbf{S}_{e,j-1}^{\top}\mathbf{k}_{e,j}. The update applies a rank-one correction along \mathbf{k}_{e,j}, subtracting this prediction under the scalar erase gate \beta_{e,j}\in(0,1) and inserting the incoming value under the independent channel-wise write gate \mathbf{w}_{e,j}\in(0,1)^{d_{v}}. Both gates are predicted by separate sigmoid projections of the token’s writer feature. After all J_{e} tokens, the updated state is \mathbf{S}_{e}=\mathbf{S}_{e,J_{e}}.
For unit-norm keys, scalar erasure satisfies \|\mathbf{I}-\beta\mathbf{k}\mathbf{k}^{\top}\|_{2}\leq 1. Together with the contractive entry-level decay, this makes the direct propagation of the previous state non-expansive for fixed keys and gates. Further update details are in Appendix A.3.
3.4 Memory-Augmented Action Generation
At each denoising iteration, the action DiT uses its features to retrieve context from short- and long-term memories, as shown in Figure 2(b). For visual memory, queries from action features perform comparably to those from current-observation features in our experiments. We choose the former because it avoids recursively encoding historical observations with memory and reduces training cost.
Short-term memory retrieval. At layer r, action queries attend to the KV representations of the current observation, the permanent visual anchor, the visual FIFO, and the noisy action sequence through the backbone’s MoT attention. A shared cross-attention module reads the interaction content tokens \mathbf{Z}_{i} every five layers of the action DiT. Relative-age embeddings augment historical visual keys and interaction content tokens at retrieval time, allowing the readers to distinguish entries within each FIFO.
Long-term memory retrieval. Let \mathbf{S}_{\mathrm{v}}^{(r)} and \mathbf{S}_{\mathrm{a}} denote the visual and interaction LTM states in the memory bank \mathcal{M}_{t}, with head indices omitted. For one head of either memory, the readout is
\displaystyle\mathbf{q} \\ \displaystyle=\frac{\mathbf{W}_{q}\mathbf{x}}{\sqrt{d_{k}}\,\|\mathbf{W}_{q}\mathbf{x}\|_{2}}, \\ \displaystyle\mathbf{u} \\ \displaystyle=\mathbf{S}^{\top}\mathbf{q}.Here, \mathbf{x} is the action feature supplied to the reader, \mathbf{W}_{q} is its learned query projection, and \mathbf{S} is the corresponding per-head state. Thus, \mathbf{q}\in\mathbb{R}^{d_{k}} and \mathbf{u}\in\mathbb{R}^{d_{v}}. The head outputs are concatenated, layer-normalized, and projected back to the hidden dimension of the action DiT.
The visual LTM reader uses the attention block’s normalized, timestep-modulated input. Its projected readout is added to the MoT attention output before the timestep-conditioned residual gate. The interaction LTM reader uses normalized action features after interaction STM cross-attention and adds its output as a separate residual every five layers. Visual readers have layer-specific projections, while the interaction reader is shared across insertion layers.
Training. We follow Fast-WAM’s joint flow-matching formulation [23, 44]. Let \mathbf{y} denote either a normalized demonstrated action chunk or future video latents. For each branch, we independently sample a noise level \tau\in(0,1) and standard Gaussian noise \boldsymbol{\epsilon} to construct
\mathbf{y}_{\tau}=(1-\tau)\mathbf{y}+\tau\boldsymbol{\epsilon}.The corresponding branch predicts the velocity \boldsymbol{\epsilon}-\mathbf{y}, with objective
\mathcal{L}_{\mathrm{FM}}(\mathbf{y})=\mathbb{E}\!\left[\left\|f_{\theta}(\mathbf{y}_{\tau},\tau,o_{t},\ell,\mathcal{M}_{t})-(\boldsymbol{\epsilon}-\mathbf{y})\right\|_{2}^{2}\right].Here, f_{\theta} denotes the corresponding branch’s velocity predictor. The current observation o_{t} provides clean conditioning alongside the instruction \ell. In implementation, we apply noise-level weighting and average squared errors over non-padded elements. Applying this objective to actions and video latents gives \mathcal{L}_{\mathrm{act}} and \mathcal{L}_{\mathrm{vid}}, respectively. The combined objective is
\mathcal{L}_{\mathrm{train}}=\mathcal{L}_{\mathrm{act}}+\lambda_{\mathrm{vid}}\mathcal{L}_{\mathrm{vid}}.Here, \lambda_{\mathrm{vid}} balances action learning and video co-training.
During training, STM contains the preceding history window, while LTM is reconstructed by replaying earlier sampled history from the same episode under current parameters. We detach historical visual KV while keeping memory writers, readers, and the executed-prefix encoder trainable. Backpropagating through historical visual encoding increases training time and GPU memory substantially, with little performance change in our experiments.
Additionally, to discourage shortcuts from visual context and action continuity, we randomly mask visual STM entries at retrieval and add Gaussian noise to selected dimensions of normalized executed prefixes before encoding.
Closed-loop inference. During inference, the memory bank \mathcal{M}_{t} remains fixed throughout action denoising. After generation, sampled observations enter the visual FIFO, while action prefixes enter the interaction FIFO once executed, with evicted entries consolidated into LTM. Implementation and training details are in Appendix A.
4 Experiments
- \pi_{0} [4]
- 33
- 42
- 35
- 22
- 15
- 29.4
- MemoryVLA [30]
- 88
- 24
- 44
- 30
- 20
- 41.2
- MemoryVLA++ [29]
- 97
- 40
- 50
- 19
- 16
- 44.4
- GMP [12]
- 98
- 83
- 80
- 61
- 17
- 67.8
- SimpleMemVLA [43]
- 99
- 83
- 71
- 58
- 59
- 74.0
- Fast-WAM [44]
- 30
- 38
- 28
- 20
- 12
- 25.6
- M2-WAM (Ours)
- 98
- 91
- 81
- 63
- 61
- 78.8 (+53.2)
- Memory variants
- w/o-LTM
- 99
- 83
- 47
- 43
- 45
- 63.4
- w/o-STM
- 96
- 68
- 64
- 47
- 49
- 64.8
- Full-history memory
- 91
- 69
- 49
- 40
- 50
- 59.8
- w/o modality separation
- 94
- 81
- 55
- 61
- 58
- 69.8
- w/o-interaction memory
- 84
- 63
- 68
- 58
- 59
- 66.4
- ObsPick
- Rearrange
- PutBack
- SwapBlocks
- SwapT
- BatteryTry
- BlocksRank
- CoverBlocks
- PressButton
- \pi_{0.5} [3]
- 9
- 13
- 11
- 24
- 15
- 16
- 6
- 0
- 0
- 10.44
- X-VLA [51]
- 9
- 13
- 18
- 16
- 3
- 26
- 1
- 2
- 0
- 9.78
- Mem-0 [9]
- 4
- 89
- 90
- 67
- 14
- 28
- 18
- 68
- 0
- 42.00
- HiMem-WAM [33]
- 28
- 33
- 32
- 38
- 27
- 28
- 24
- 19
- 8
- 26.33
- DRAM [49]
- 15
- 95
- 65
- 100
- 45
- 65
- 45
- 70
- 20
- 57.78
- Fast-WAM [44]
- 1
- 20
- 0
- 4
- 11
- 2
- 3
- 0
- 0
- 4.56
- M2-WAM (Ours)
- 11
- 97
- 100
- 100
- 88
- 28
- 76
- 74
- 18
- 65.78 (+61.22)
- Memory variants
- w/o-LTM
- 8
- 87
- 100
- 53
- 63
- 20
- 19
- 0
- 0
- 38.89
- w/o-STM
- 3
- 56
- 32
- 68
- 19
- 17
- 6
- 0
- 0
- 22.33
- Full-history memory
- 10
- 0
- 0
- 0
- 20
- 5
- 0
- 0
- 0
- 3.89
- w/o modality separation
- 10
- 10
- 56
- 98
- 64
- 16
- 8
- 24
- 4
- 32.22
- w/o-interaction memory
- 8
- 19
- 0
- 19
- 38
- 12
- 33
- 0
- 0
- 14.33
4.1 Experimental Setup
We evaluate M2-WAM on three simulation benchmarks and three real-world tasks to assess its use of historical context and general manipulation performance. Figure 3 shows the robot platform and representative tasks.
Simulation benchmarks. MIKASA-Robo [10] tests abilities such as remembering occluded object locations, recalling previously observed colors, and inferring object motion from observation sequences. We select ShellGameTouch, InterceptMedium, and RememberColor3/5/9 to assess these abilities over relatively short task horizons. RMBench [9] comprises nine memory-dependent tasks requiring recall of earlier observations or accumulation of past interaction outcomes. We use it to evaluate whether memory supports longer, multi-stage manipulation, including repeated attempts and tracking task progress. RoboTwin 2.0 [8] provides diverse bimanual manipulation tasks with variations in scene appearance and clutter. Its Clean and Randomized settings allow us to assess whether memory augmentation preserves the backbone’s performance on general manipulation tasks with less dependence on historical context.
Real-world setup. We further evaluate on three memory-dependent real-world tasks: Put Back Block, Shell Game, and Press Button. We use a 7-DoF Franka Research 3 arm with a main-view RealSense D435i camera and a wrist-mounted RealSense D405 camera. The action space consists of end-effector pose increments and a binary gripper open/close command. We run inference on one NVIDIA RTX 3090 GPU and send control commands at 15 Hz. For each task, we collected 50 demonstration trajectories using an Omega.7 teleoperation device and trained a separate policy for up to 20,000 optimization steps.
Evaluation protocol. For our main simulation experiments, we follow the official evaluation protocols with 100 episodes per task. We evaluate each real-world policy over 50 consecutive trials per task. We report task success rates and their unweighted average across tasks, with the two RoboTwin 2.0 settings reported separately.
4.2 Main Results
We first report simulation results for memory-dependent and general manipulation tasks. We build M2-WAM on Fast-WAM [44] and compare the two models to evaluate the benefits of our memory mechanism.
MIKASA-Robo. M2-WAM improves performance on short-horizon tasks requiring visual recall and motion inference. In Table 1, it achieves the highest average success among the compared methods at 78.8%, exceeding Fast-WAM and SimpleMemVLA by 53.2 and 4.8 percentage points, respectively. Relative to SimpleMemVLA, the largest gains occur on RememberColor3 and InterceptMedium, while improvements also extend to RememberColor5/9. This pattern suggests benefits for both recalling earlier visual attributes and using observation sequences to infer motion.
RMBench. Memory augmentation also yields substantial gains on longer, multi-stage manipulation tasks. M2-WAM achieves 65.78% average success, the highest among the methods compared in Table 2. This exceeds DRAM by 8.00 percentage points and Fast-WAM by 61.22 percentage points. The largest gains over DRAM occur on SwapT, PutBack and BlocksRank. The improvement thus spans both recall of an earlier scene and decisions requiring accumulated history. Success remains low on ObsPick and PressButton. Our failure-case analysis suggests that limitations in the Fast-WAM backbone’s generalization and character recognition may contribute to these errors.
- \pi_{0} [4]
- 65.92
- 58.40
- 62.16
- X-VLA [51]
- 72.88
- 72.84
- 72.86
- \pi_{0.5} [3]
- 82.74
- 76.76
- 79.75
- Motus [2]
- 88.66
- 87.02
- 87.84
- LingBot-VA [19]
- 92.90
- 91.50
- 92.20
- Fast-WAM [44]
- 91.62
- 91.24
- 91.43
- M2-WAM (Ours)
- 91.78
- 90.70
- 91.24
RoboTwin 2.0. The results in Table 3 show that memory augmentation largely preserves Fast-WAM’s performance on general manipulation tasks. M2-WAM achieves 91.78% and 90.70% success in the Clean and Randomized settings, respectively. Together with the gains on memory-dependent benchmarks, these results suggest that memory augmentation improves history-dependent decisions without substantially compromising general manipulation performance.
Real-world experiments. Figure 4 shows that the gains on memory-dependent tasks extend to the physical robot. M2-WAM achieves 88.7% average success, exceeding LingBot-VA, the strongest baseline, by 29.3 percentage points. The improvement holds across all three tasks. Relative to Fast-WAM, the average gain is 84.0 percentage points, supporting the benefit of augmenting the backbone with historical context for these tasks.
4.3 Memory Design Ablations
We compare five memory variants on MIKASA-Robo and RMBench in Table 1 and Table 2 to assess memory timescales, modality-specific processing, and history consolidation. All variants share the full model’s training data and optimization budget.
Memory hierarchy. The full hierarchy outperforms either memory timescale alone on average across benchmarks. w/o-LTM retains the STMs and visual anchor, whereas w/o-STM stores history only in associative states. Their RMBench averages fall from 65.78% to 38.89% and 22.33%, respectively, supporting the combination of explicit recent context and compressed longer-term history. Without LTM, success on the four M(n) tasks drops from 49.0% to 9.75%, highlighting the importance of retention beyond the recent window. On MIKASA-Robo, removing LTM lowers the RememberColor3/5/9 average from 68.3% to 45.0%, although ShellGameTouch remains competitive.
Modality-specific memory. Interaction history complements visual memory, and modality separation also matters. Removing interaction memory reduces RMBench success to 14.33%. w/o modality separation retains both visual and interaction histories but projects executed-prefix tokens into visual KV space for shared storage and retrieval. Success recovers to 32.22%, but remains well below the full model. Both variants also underperform on MIKASA-Robo, with smaller losses. These comparisons favor retaining behavioral history through a dedicated interaction-memory pathway alongside visual memory.
Uncompressed history. Retaining more history alone does not ensure better decisions. Full-history memory stores all sampled visual KV entries and executed prefixes without eviction or associative consolidation. It achieves 59.8% on MIKASA-Robo and only 3.89% on RMBench, well below the full model on both benchmarks. The RMBench result is also slightly below Fast-WAM (4.56%). Accumulated historical tokens may dilute attention to current observations and make task-relevant context harder to retrieve.
4.4 In-depth Analysis
4.4.1 Inference Efficiency and Scalability
Figure 5 shows that M2-WAM adds bounded inference overhead to Fast-WAM. After an initial increase, latency and GPU memory usage stabilize as trajectories grow: bounded FIFOs and fixed-size associative states incorporate new history without expanding storage or retrieval context. For real-world inference, both models use precomputed text embeddings without loading the text encoder. For GPU memory measurements, we replace LingBot-VA’s default KV cache preallocation with on-demand allocation.
4.4.2 Effect of Memory Retrieval on Decision-Making
For each task, we compare full retrieval with STM retrieval, LTM retrieval, or both disabled, using a fixed checkpoint and 30 matched-seed rollouts per condition. All interventions affect visual and interaction memory while retaining the initial visual anchor. In Figure 6, full retrieval performs best on all five MIKASA-Robo tasks. Disabling both particularly degrades RememberColor performance, while retaining either level recovers much of the lost performance. Disabling LTM consistently causes larger drops than disabling STM, highlighting the contribution of consolidated history. Across the RememberColor tasks, combining both memory levels provides increasing gains over LTM retrieval alone as the number of candidate colors grows, suggesting complementary contributions.
4.4.3 Qualitative Analysis
Figure 7 compares the policies on real-world Put Back Block. Both grasp the block, but Fast-WAM selects an incorrect placement location, whereas M2-WAM reaches the correct target. This contrast suggests that historical context supports target selection after grasping. Additional qualitative examples are in Appendix D.
5 Conclusion
We present M2-WAM, a world-action model with hierarchical visual and interaction memories. The two pathways preserve dense visual context and encode executed action prefixes into compact temporal representations, respectively. Recent entries are retained explicitly, while older ones are consolidated into fixed-size associative states through adapted gated delta updates. Layer-wise retrieval brings both memory levels into action generation with bounded online storage and retrieval costs. Simulation and real-world experiments show improved memory-dependent manipulation while largely preserving general manipulation performance. These findings support modality-specific memory organization and retrieval across timescales as a promising direction for memory-augmented world-action modeling.
References
Supplementary Material
Contents
Appendix A Implementation and Training Details
This section describes the architecture and hyperparameters of M2-WAM and explains how memory is constructed during training and online inference. We then detail the gated delta updates and analyze the storage and retrieval costs of the memory hierarchy.
A.1 Architecture and Hyperparameters
We retain the video and action DiT architectures of Fast-WAM [44] and add the memory modules described in Section 3. Table 4 summarizes the shared architecture, optimization, and inference settings; Table 5 lists the task-specific settings. The permanent visual anchor is stored separately and does not occupy any of the N FIFO slots.
We train our policies on PPU-ZW810E accelerators, with training resources summarized in Table 5. Simulation inference uses NVIDIA RTX PRO 5000 Blackwell GPUs, while real-world deployment uses a single NVIDIA RTX 3090.
- Base architecture
- Layers (video / action)
- 30 / 30
- Hidden dimension (video / action)
- 3,072 / 1,024
- FFN dimension (video / action)
- 14,336 / 4,096
- Attention heads / head dimension
- 24 / 128 in both branches
- Proprioceptive projection
- Linear, output dimension 4,096
- Text conditioning
- Precomputed embeddings
- VAE parameters
- Frozen
- Memory modules
- LTM heads (visual / interaction)
- 24 per layer / 4 in one shared state
- Per-head key/value dimensions (d_{k},d_{v})
- (128,128)
- Writer feature dimension d_{w}
- 256
- Prefix encoder convolutions
- Three Conv1d layers, 256 channels each
- Kernel sizes / padding
- (1,3,3) / (0,1,1)
- Encoder activation
- SiLU after each convolution
- Encoder output
- Adaptive average pooling, Linear, LayerNorm
- Prefix tokens P / dimension d_{m}
- 4 / 1,024
- Interaction reader placement
- Every 5 action DiT layers; shared parameters
- Reader output projection initialization
- Zero for LTM and interaction STM readers
- Optimization
- Optimizer / moment coefficients
- AdamW / (0.9,0.95)
- Peak learning rate / weight decay
- 10^{-4} / 0.01
- Learning-rate schedule
- 5% linear warmup, then cosine decay
- Final learning rate
- 1% of peak learning rate
- Gradient clipping
- Global norm 1.0
- Video loss weight \lambda_{\mathrm{vid}}
- 1
- Noise-schedule shift (video / action)
- 5 / 5
- Memory augmentation (training only)
- Visual STM dropout probability
- 0.25, per observation entry
- Executed-prefix noise standard deviation
- 0.005, in normalized action space
- Executed-prefix noise probability
- 0.5 per training sample
- Inference
- Action denoising steps
- 10
A.2 Training and Online Memory Construction
Training memory construction. For each training sample at replanning step t, we construct memory from earlier observations and demonstrated action prefixes in the same episode. Each sampled observation is paired with the subsequent action prefix, all of whose commands precede the current prediction. The most recent N sampled entries populate the visual and interaction FIFOs, with fewer entries available near the episode start. Earlier entries are replayed chronologically from zero-initialized LTM states under the current model parameters. The first observation also provides the permanent visual anchor. Memory is reconstructed for each sample from its preceding history, rather than carried across optimization steps.
Gradient handling. Historical observations are encoded independently, and their visual KV representations are detached before memory construction. Gradients propagate through the memory writers, readers, executed-prefix encoder, and replayed LTM updates. Both DiTs are trained through the current sample’s objectives, while historical visual encoding is excluded from the backward pass.
Memory augmentation. Visual STM dropout masks complete observation entries at retrieval while retaining the permanent anchor. A common mask is used across layers and heads. Stored entries and LTM writer inputs are unchanged. When executed-prefix augmentation is enabled, each training sample is selected with the probability in Table 4, and zero-mean Gaussian noise is added to selected dimensions of its normalized executed prefixes before encoding. For joint-space actions in RMBench and RoboTwin 2.0, we perturb arm joint dimensions while leaving gripper commands and padded timesteps unchanged. Both augmentations are disabled during evaluation.
- FIFO capacity N
- 4
- 16
- 16
- 16
- Memory sampling stride (source frames)
- 4
- 16
- 16
- 16
- Prediction horizon H (action steps)
- 8
- 32
- 32
- 32
- Executed prefix length (action steps)
- 4
- 16
- 16
- 16
- Batch size per device
- 4
- 2
- 4
- 4
- Training PPUs
- 32
- 64
- 64
- 16
- Global batch size
- 128
- 128
- 256
- 64
- Approximate training cost (PPU-hours)
- 1,660
- 1,890
- 2,760
- —
Online memory construction. Algorithm 1 summarizes online memory maintenance for the full model. The memory bank \mathcal{M}_{t} remains fixed throughout action denoising, and updates become available at the next replanning step. Sampled visual entries are committed after action generation, and their interaction entries after the corresponding prefix has been executed. The two FIFOs are aligned by source observation before the next prediction. Only complete executed prefixes are stored; unexecuted action tails and incomplete terminal prefixes are omitted.
In the algorithm, \mathcal{Q}_{\mathrm{v}} and \mathcal{Q}_{\mathrm{a}} denote the visual and interaction FIFOs. The operation \operatorname{push} appends an entry and evicts the oldest if capacity N is exceeded; \operatorname{front} returns the oldest entry without removing it. \mathcal{C}_{t} denotes the current layer-wise visual KV, and \mathcal{C}_{\mathrm{anchor}} stores the permanent anchor. Consolidate updates the visual and interaction LTM states in place from the oldest paired entries, following Appendix A.3. Each entry retains its source-frame metadata, omitted from the pseudocode for readability. Action prefixes are normalized before storage.
A.3 Gated Delta Update Details
This subsection expands the gated delta update in Section 3.3. As in the main text, e indexes evicted entries, each containing J_{e} tokens indexed by j=1,\ldots,J_{e}. Interaction entries contain J_{e}=P tokens. We describe one head with state \mathbf{S}\in\mathbb{R}^{d_{k}\times d_{v}}, omitting modality, layer, and head indices.
Gate parameterization. Let \mathbf{h}_{e,j}\in\mathbb{R}^{d_{w}} denote the writer feature, where d_{w} is the writer dimension in Table 4. Visual writer features are obtained by normalizing and projecting the video DiT’s values. For an interaction entry e paired with observation i, the writer normalizes and projects \mathbf{Z}_{i}, then adds the sinusoidal within-chunk phase encoding before predicting keys, values, and gates. FIFO-relative age embeddings are applied only at retrieval. Separate bias-free projections predict the erase and write gates:
\displaystyle\beta_{e,j} \\ \displaystyle=\operatorname{sigmoid}(\mathbf{p}_{\beta}^{\top}\mathbf{h}_{e,j}), \\ \displaystyle\mathbf{w}_{e,j} \\ \displaystyle=\operatorname{sigmoid}(\mathbf{W}_{w}\mathbf{h}_{e,j}).Here, \mathbf{p}_{\beta}\in\mathbb{R}^{d_{w}} and \mathbf{W}_{w}\in\mathbb{R}^{d_{v}\times d_{w}} are learned parameters for the selected head, producing one erase scalar and d_{v} write coefficients per token. Decay rates instead use an entry-averaged feature:
\displaystyle\bar{\mathbf{h}}_{e} \\ \displaystyle=\frac{1}{J_{e}}\sum_{j=1}^{J_{e}}\mathbf{h}_{e,j}, \\ \displaystyle\boldsymbol{\lambda}_{e} \\ \displaystyle=\exp(a)\,\operatorname{softplus}\bigl(F_{\lambda}(\bar{\mathbf{h}}_{e})+\mathbf{b}_{\lambda}\bigr).The learned scalar a is shared across key channels within a head, and \mathbf{b}_{\lambda}\in\mathbb{R}^{d_{k}} is a learned bias. F_{\lambda}:\mathbb{R}^{d_{w}}\rightarrow\mathbb{R}^{d_{k}} denotes the head’s output from two consecutive bias-free linear layers, with no intervening activation. Gate projection in Figure 2(c) comprises these erase, write, and decay branches.
Decay for image sequences. Spatial tokens within an observation share a source timestamp. Applying temporal decay at every spatial token would compound decay within one image, making the total decay depend on its token count. We apply \mathbf{D}_{e} once before processing the entry’s tokens. The tokenwise implementation uses log-decay vectors \mathbf{g}_{e,j}\in\mathbb{R}^{d_{k}}:
\mathbf{g}_{e,j}=\begin{cases}-\Delta_{e}\boldsymbol{\lambda}_{e},&j=1,\\
\mathbf{0},&j>1.\end{cases}Thus, \operatorname{diag}(\exp(\mathbf{g}_{e,1}))=\mathbf{D}_{e}, and subsequent tokens introduce no additional temporal decay. The interval \Delta_{e} is the difference between source-frame indices of consecutive valid written entries, divided by the memory sampling stride, with \Delta_{e}=1 at the first write. Interaction entries use their paired observations’ indices. Decay therefore follows elapsed source time, while token updates remain sequential and order-dependent. Applying decay before the token updates also avoids temporally decaying information written earlier within the same entry, as would occur if decay were distributed across its tokens. Appendix C.4 compares entry-level and per-token decay on MIKASA-Robo.
Scalar erasure. Gated DeltaNet-2 uses channel-wise erase and write gates [14]. We retain channel-wise writing but use one erase scalar per token and head to address the numerical instability observed with channel-wise erasure in our training runs. After entry-level decay, each token applies the correction
\displaystyle\mathbf{r}_{e,j} \\ \displaystyle=\mathbf{w}_{e,j}\odot\mathbf{v}_{e,j}-\beta_{e,j}\mathbf{S}_{e,j-1}^{\top}\mathbf{k}_{e,j}, \\ \displaystyle\mathbf{S}_{e,j} \\ \displaystyle=\mathbf{S}_{e,j-1}+\mathbf{k}_{e,j}\mathbf{r}_{e,j}^{\top},where \mathbf{r}_{e,j}\in\mathbb{R}^{d_{v}} is the correction vector and \mathbf{S}_{e,0}=\mathbf{D}_{e}\mathbf{S}_{e-1}. For a unit-norm key \mathbf{k} and erase gate \beta\in(0,1), the erase operator \mathbf{I}-\beta\mathbf{k}\mathbf{k}^{\top} has eigenvalue 1-\beta along \mathbf{k} and eigenvalue 1 in orthogonal directions. Its spectral norm is therefore at most one. The channel-wise counterpart is generally asymmetric and does not have this spectral-norm guarantee. Together with \|\mathbf{D}_{e}\|_{2}\leq 1, scalar erasure makes direct propagation of the previous state non-expansive for fixed keys and gates. This property concerns the propagated state; additive writes can still increase its norm. Appendix C.3 provides numerical diagnostics comparing channel-wise and scalar erasure.
State handling. Padded entries leave both the state and its source timestamp unchanged. An empty history is represented by a zero state. Retrieval reads the stored state without updating or decaying it.
A.4 Storage and Retrieval Complexity
N=16; latency shading shows the range of medians across five measurement rounds. Full-history storage and read latency grow with history, while bounded FIFOs and fixed-size states yield storage plateaus and approximately stable read latency.We analyze persistent memory storage and history-dependent computation for a single sample. Model parameters and the backbone’s processing of current observations and actions are excluded from these complexity expressions. Let T denote the number of accumulated historical entries, J_{\mathrm{v}} the number of spatial tokens per visual entry across views, and R the number of action steps per executed prefix. We retain N, H, and P for FIFO capacity, prediction horizon, and tokens per encoded prefix. We hold layer counts, head counts, and feature dimensions fixed throughout the analysis.
Storage and retrieval. Let B_{\mathrm{s}}(n) denote the storage for n paired visual and interaction entries. Visual entries retain layer-wise KV tensors, whereas interaction entries retain normalized executed prefixes, giving B_{\mathrm{s}}(n)=O(n(J_{\mathrm{v}}+R)) with fixed feature dimensions omitted. After prefix encoding, the readers attend to nJ_{\mathrm{v}} visual tokens and nP interaction tokens. For H action queries, their history-dependent retrieval cost per denoising iteration is
C_{\mathrm{s}}(n)=O\!\left(Hn(J_{\mathrm{v}}+P)\right).Each LTM head instead stores d_{k}d_{v} scalars and reads its state in O(Hd_{k}d_{v}) operations. Summing over the fixed numbers of heads and reader layers gives LTM storage B_{\mathrm{l}}=O(1) and retrieval cost C_{\mathrm{l}}=O(H), both independent of T. The interaction reader’s computation is counted at each insertion layer, although its parameters are shared.
- Full-history memory
- B_{\mathrm{s}}(T)
- C_{\mathrm{s}}(T)
- w/o-LTM
- B_{\mathrm{s}}(N)
- C_{\mathrm{s}}(N)
- w/o-STM
- B_{\mathrm{l}}
- C_{\mathrm{l}}
- M2-WAM
- B_{\mathrm{s}}(N)+B_{\mathrm{l}}
- C_{\mathrm{s}}(N)+C_{\mathrm{l}}
Table 6 compares the four designs once the FIFO is full; before then, N is replaced by \min(T,N). The expressions suppress constant factors, including differences in the KV tensors retained by each implementation. Full-history memory grows linearly with T in both storage and retrieval. The other designs have bounded costs for fixed N and per-step input sizes. Compared with w/o-LTM, M2-WAM adds fixed-size states to consolidate history beyond the FIFO. Compared with w/o-STM, it retains recent detail at a bounded additional cost. The w/o-STM variant writes entries directly into LTM and retains the visual anchor without maintaining historical FIFOs.
Preparation and updates. Interaction prefixes are encoded once per replanning step, before denoising, with cost O(n(R+P)) for fixed encoder dimensions. Their attention KV projections are recomputed at each reader invocation. Retrieval costs recur at every denoising iteration. Consolidation processes the evicted entry’s J_{\mathrm{v}} visual tokens and P encoded interaction tokens, with each per-head state update costing O(d_{k}d_{v}) per token. For M2-WAM, these preparation and update costs are bounded with respect to T because the number of retained entries and the size of each evicted entry are bounded. The bound applies to memory operations at each replanning step. Cumulative computation still grows with the number of steps, and training-time LTM reconstruction depends on the replay length.
Empirical scaling. We measure the four implementations on a PPU-ZW810E with batch size one, N=16, H=32, R=16, and J_{\mathrm{v}}=98, using the same pretrained parameters for corresponding modules. We profile system costs by cyclically replaying eight recorded observations and executed prefixes with increasing timestamps, varying T up to 128. Storage is the sum of unique persistent tensor allocations: shared allocations are counted once, and model weights and temporary tensors are excluded. Timing covers MoT attention and memory reads across all action layers, including the backbone attention computation within MoT. Instruction cross-attention, FFNs, prefix encoding, and memory updates fall outside the timed regions. Each condition uses five rounds of 50 measurements after 20 warmup iterations per round; plotted values are the median of the round medians.
Figure 8 shows the predicted scaling trends. Full-history memory exhibits linear storage growth and increasing read latency, whereas M2-WAM reaches a storage plateau after the first FIFO eviction and maintains roughly stable read latency as history grows. Removing either STM or LTM reduces the measured overhead while omitting FIFO-based recent context or associative consolidation, respectively. The full hierarchy retains both at a bounded additional cost. These instrumented module measurements support the scaling comparison; end-to-end policy efficiency is evaluated separately in Section 4.4.1.
Appendix B Experimental Details
This section details the simulation benchmarks, real-world tasks, and evaluation protocols, followed by the memory variant configurations and retrieval interventions.
B.1 Simulation Benchmarks
We use benchmark-specific observation and control configurations, summarized in Table 7. Each policy receives RGB images, proprioception, and a task instruction. Shared training settings, FIFO capacities, and action horizons are given in Appendix A.1.
- Camera views
- Top Wrist
- Head, front Left wrist Right wrist
- Main Left wrist Right wrist
- Image size
- 224\times 448
- 448\times 448
- 384\times 320
- Action space
- qpos
- qpos
- qpos
- Action mode
- Absolute
- Absolute
- Absolute
- Action dim.
- 8
- 14
- 14
MIKASA-Robo. We jointly train on ShellGameTouch, InterceptMedium, and RememberColor3/5/9 using the SimpleMemVLA demonstration dataset [43], which provides 500 trajectories per task, for 2,500 in total. Top-view and wrist-view RGB images are resized to 224\times 224 and concatenated horizontally. The policy predicts eight-dimensional absolute commands comprising seven arm joint-position targets and one gripper command, using the corresponding joint-position controller during evaluation. Actions and the eight-dimensional proprioceptive state use min–max normalization.
RMBench. We use the nine-task suite in Table 2, comprising five M(1) tasks and four M(n) tasks. Under RMBench’s task memory-complexity definition, M(1) requires retaining one task-relevant past observation to disambiguate the current state, whereas M(n) requires retaining multiple such observations for optimal decision-making [9]. The demonstration corpus contains 50 trajectories per task. We jointly train one policy across the nine tasks using episode-level instructions. Observations include two static camera views and two wrist-camera views, each resized to 224\times 224. The head and front views form the upper row of a 2\times 2 image grid, with the left and right wrist views below. The policy predicts 14-dimensional absolute joint-position and gripper commands and receives a 14-dimensional proprioceptive state. Actions and proprioception use z-score normalization. In Table 2, ObsPick and BlocksRank abbreviate Observe and Pick Up and Blocks Ranking, respectively.
RoboTwin 2.0. We train a multi-task policy across all 50 tasks using a mixture of 50 Clean and 500 Randomized demonstrations per task, totaling 2,500 and 25,000 trajectories, respectively. The same policy is evaluated separately in the Clean and Randomized settings. The main camera image occupies the upper 256\times 320 region of the input, while two 128\times 160 wrist-camera images form the lower row. The policy predicts 14-dimensional absolute joint-position and gripper commands and receives a 14-dimensional proprioceptive state. Both actions and proprioception use z-score normalization.
Evaluation. The main comparisons use 100 episodes per task, with the two RoboTwin 2.0 settings evaluated separately. Memory is reset at each episode boundary. Success is determined by the benchmark’s task-specific evaluator. For MIKASA-Robo, an episode succeeds if its success condition is reached at any point during the rollout. The retrieval interventions use the matched-seed protocol in Appendix B.4.
B.2 Real-World Tasks and Protocols
We evaluate on Put Back Block, Shell Game, and Press Button using the robot platform shown in Figure 3. Figure 9 illustrates the task procedures with representative demonstration frames.
Platform and policy inputs. Our platform consists of a 7-DoF Franka Research 3 arm, a main-view RealSense D435i camera, and a wrist-mounted RealSense D405 camera. For M2-WAM, each RGB image is center-cropped to 640\times 640, resized to 224\times 224, and concatenated horizontally with the other view to form a 224\times 448 input. The eight-dimensional proprioceptive state contains the end-effector position, quaternion orientation, and gripper width. Actions comprise end-effector translation increments, relative rotations represented by quaternions, and a binary gripper command. Press Button uses a fixed closed gripper, so its policy predicts only the seven pose-increment components. We apply min–max normalization to actions and proprioception.
Demonstrations and training. We collected 50 demonstration trajectories per task using an Omega.7 teleoperation device, shown in Figure 10, and trained a separate M2-WAM policy for each task for up to 20,000 optimization steps. Optimization and memory hyperparameters are listed in Appendix A.1.
Put Back Block. The robot moves a block to the center of the workspace and then returns it to its original location. It must remember the initial placement and track whether the intermediate move is complete. Success requires completing both stages in order.
Shell Game. Each trial begins with a five-frame observation phase, during which the robot waits while receiving the initial scene observations. The program then pauses while a human operator covers the block with a cup. After the program resumes, the robot combines its memory of the initial scene with the current observation to identify and lift the cup covering the block. A trial succeeds when the robot lifts the correct cup.
Press Button. The scene contains three buttons, with a number displayed in front of each of the first two. The robot tracks its completed presses and must match both indicated counts before pressing the third button to signal completion. A trial succeeds when both counts are correct and the completion button is pressed last.
Deployment and evaluation. Inference runs on a single NVIDIA RTX 3090 GPU, with control commands issued at 15 Hz. M2-WAM predicts action chunks of length H=32 and executes the first 16 commands before replanning from the latest observation. Both M2-WAM and Fast-WAM use precomputed text embeddings without loading the text encoder during inference. We reset memory at the start of each trial and evaluate each policy over 50 consecutive trials per task. Trials exceeding 1,000 control steps are counted as failures due to timeout.
B.3 Memory Variant Configurations
We train the five variants in Table 1 and Table 2 separately, using the same training data and optimization budget as the full model. All retain the permanent visual anchor, current-observation conditioning, and benchmark-specific action horizon and memory sampling stride. Each variant uses its memory configuration during both training and evaluation.
w/o-LTM. We remove both associative states and their writers and readers, while retaining the visual and interaction FIFOs, each with capacity N. MoT attention reads visual history, and interaction cross-attention reads encoded executed prefixes. Evicted entries are discarded without consolidation.
w/o-STM. We remove both FIFOs while retaining the visual and interaction associative states. Each sampled observation is written directly into visual LTM before action denoising, while its executed prefix is encoded and written into interaction LTM after execution. The LTM readers remain, while interaction STM cross-attention is removed. Apart from the visual anchor, history is retained only in the associative states.
Full-history memory. We retain all sampled visual KV entries and executed prefixes from the episode, without eviction or LTM consolidation. Action queries read the accumulated visual history through MoT attention and the encoded prefixes through interaction cross-attention. Storage and retrieval costs consequently grow with episode length, as analyzed in Appendix A.4.
w/o modality separation. We retain the STM–LTM hierarchy but use a shared memory pathway for both modalities. The prefix encoder produces P interaction tokens, which receive learned within-prefix position embeddings and layer-specific projections into visual KV space. The projected interaction keys and values are concatenated with their visual counterparts from the paired observation to form one FIFO entry. Entries are committed after prefix execution and evicted as a unit. On eviction, visual tokens followed by interaction tokens update the same per-layer associative state. Retrieval uses the visual STM and LTM pathways, without separate interaction readers. The FIFO retains a capacity of N, and relative-age embeddings are shared by the tokens within each entry.
w/o-interaction memory. We remove the executed-prefix encoder, interaction FIFO and LTM, and their readers. The visual anchor, visual FIFO, and visual LTM remain unchanged.
B.4 Memory Retrieval Intervention Protocol
We assess the effect of memory retrieval using a fixed checkpoint on ShellGameTouch, InterceptMedium, and RememberColor3/5/9. For each task, all four retrieval conditions use the same 30 environment seeds, yielding 30 rollouts per condition. Figure 6 reports their success rates.
Retrieval conditions. Full retrieval enables both STM and LTM retrieval. STM read off disables retrieval from the visual and interaction FIFOs while retaining both LTM readers. LTM read off disables both associative-state readouts while retaining retrieval from the two FIFOs. Both reads off combines these interventions. All four conditions retain current-observation conditioning and access to the permanent initial visual anchor.
The selected retrieval condition remains active throughout each episode, across all denoising iterations and relevant layers. FIFO storage, eviction, and LTM updates proceed normally; only retrieval is masked.
Paired evaluation. We reset memory at each episode boundary and use the same task success criteria as in Appendix B.1. Matching seeds controls the initial task conditions, while closed-loop actions and subsequent observations may diverge across retrieval conditions.
Appendix C Additional Memory Design Analyses
We examine sensitivity to FIFO capacity, memory use without a permanent visual anchor, and the effects of erase and decay granularity.
C.1 Sensitivity to FIFO Length
We examine sensitivity to visual FIFO capacity at inference using a fixed checkpoint trained with N=4. We evaluate N\in\{0,1,2,8,16\} over 100 episodes per task on the five MIKASA-Robo tasks, retaining visual LTM and the permanent initial anchor throughout. Table 8 reports task success rates.
- 0
- 97
- 51
- 70
- 50
- 35
- 60.6
- 1
- 94
- 63
- 72
- 51
- 38
- 63.6
- 2
- 93
- 80
- 74
- 51
- 39
- 67.4
- 4†
- 98
- 91
- 81
- 63
- 61
- 78.8
- 8
- 91
- 73
- 74
- 51
- 39
- 65.6
- 16
- 91
- 74
- 74
- 51
- 39
- 65.8
Sensitivity to FIFO capacity varies across tasks. InterceptMedium benefits substantially from recent visual context, with success increasing from 51% at N=0 to 80% at N=2. ShellGameTouch remains above 90% across all evaluated capacities, while RememberColor3/5/9 show smaller changes across the newly evaluated settings. These differences suggest that tasks vary in their reliance on the amount of recent history retained for direct retrieval. FIFO capacity can therefore be selected according to task requirements and the available memory budget.
Figure 11 shows that larger FIFOs increase memory-bank storage, while each fixed capacity reaches a plateau as history accumulates. Once the FIFO is full, evicted entries are consolidated into fixed-size associative states. Increasing capacity therefore raises the storage budget for recent observations while preserving bounded storage over longer histories.
C.2 Effect of the Visual Anchor
The permanent visual anchor gives the policy direct access to the initial observation. To examine memory use without this permanent access, we train and evaluate a variant without the anchor on the five MIKASA-Robo tasks, while retaining the STM–LTM hierarchy. Table 9 compares this variant with the full M2-WAM model from Table 1.
- M2-WAM
- 98
- 91
- 81
- 63
- 61
- 78.8
- w/o-anchor
- 93
- 77
- 83
- 61
- 61
- 75.0
Removing the anchor reduces average success only modestly, from 78.8% to 75.0%. This 3.8-point drop is substantially smaller than the 15.4-point drop for w/o-LTM in Table 1, which achieves 63.4% with the anchor retained. The policy thus retains most of its performance without a permanent visual anchor, supporting LTM’s role in preserving earlier information beyond the STM window.
C.3 Effect of Erase Granularity
During training, we observe numerical instability when using channel-wise erasure in visual memory, motivating our use of one erase scalar per token and head. In an RMBench training run, the total, video, and action losses first become non-finite at logged step 2,320 and remain non-finite through the final record at step 7,640, as shown in Figure 12(a).
To understand the failure mechanism, consider the erase operator for a normalized key \mathbf{k}_{e,j} and a channel-wise gate \boldsymbol{\beta}^{\mathrm{ch}}_{e,j}\in(0,1)^{d_{k}}:
\mathbf{E}^{\mathrm{ch}}_{e,j}=\mathbf{I}-\mathbf{k}_{e,j}(\boldsymbol{\beta}^{\mathrm{ch}}_{e,j}\odot\mathbf{k}_{e,j})^{\top}.Unlike the scalar erase operator in Appendix A.3, this matrix is generally asymmetric and can amplify the state. This distinction matters for image sequences: temporal decay is applied once per observation, while successive spatial-token updates can accumulate amplification within that observation.
To diagnose this training instability, Figure 12(b) compares the two erase rules using a trained memory writer. The same input sequence is replayed cyclically without resetting the state. We replace each channel-wise erase gate with its per-token, per-head channel mean, keeping keys, values, decay, and write gates unchanged. With channel-wise erasure, the maximum absolute state entry grows steadily to approximately 10^{57} after 256 frames. Scalar erasure instead keeps the state magnitude at a much smaller scale, with the maximum absolute entry remaining below 56 even when replay is extended to 1,024 frames. This comparison shows that scalar erasure suppresses state amplification in the replay, supporting its use to address the numerical instability observed during training while retaining channel-wise writing.
C.4 Effect of Decay Granularity
We compare applying temporal decay at every spatial token with our entry-level decay, which applies it once per visual entry. The per-token variant is evaluated after 30,000 training steps on the five MIKASA-Robo tasks. Table 10 compares its success rates with the entry-level results from Table 1.
- Entry-level
- 98
- 91
- 81
- 63
- 61
- 78.8
- Per-token
- 97
- 89
- 62
- 60
- 57
- 73.0
Entry-level decay achieves higher success on all five tasks, improving average success from 73.0% to 78.8%. The largest gain is 19 percentage points on RememberColor3, compared with one and two points on ShellGameTouch and InterceptMedium, respectively. Spatial tokens within one observation share a timestamp, yet per-token decay repeatedly attenuates the state as these tokens are processed. Our entry-level rule instead applies decay once according to the elapsed source time, independently of the number of spatial tokens, as detailed in Appendix A.3. These results support separating temporal decay from within-frame spatial-token updates when adapting gated delta updates to image sequences.
Appendix D Qualitative Analysis and Failure Cases
This section examines how memory retrieval affects decisions, compares real-world trajectories with Fast-WAM, and analyzes simulation and real-world failures.
D.1 Memory Retrieval Intervention Cases
Figure 13 compares rollouts with memory retrieval enabled or disabled, using the same checkpoint and environment seed for each pair. Current observations remain available, and memory writes proceed normally. The RememberColor3 case uses visual memory, while the Put Back Block case uses both visual and interaction memories. In both cases, memory is queried by action features.
In RememberColor3, retrieval enables the policy to reach the initially indicated red target at step 19. Without retrieval, it approaches the green distractor and does not complete the task within 25 steps. In Put Back Block, the policy succeeds at step 341 with retrieval; without it, the robot grasps the block but holds it above the workspace until the 500-step limit. These behaviors illustrate how retrieved history supports target selection and task progression.
Changing history with the current input fixed. In Figure 14, we replace the Put Back Block memory bank at step 304 with a snapshot from before step 272 of the same episode. Current images, proprioception, instruction, warm-start actions, and sampling seed remain fixed, with all readers enabled. Executing both predicted prefixes from the same reconstructed simulation state yields right end-effector trajectories that differ by up to 8.10 cm over 16 actions. Thus, stored history changes decisions even with identical current inputs.
[1,9] but continues to [1,10] before repeatedly pressing the confirmation button. The task remains unsuccessful. Labels report control steps, task-button counts, and confirmation counts from the environment’s event log.D.2 Real-World Trajectory Comparisons
Figure 19 complements the aggregate results in Section 4.2 with representative trials. In Put Back Block, both policies grasp the block and move it to the center. Fast-WAM then carries it toward the opposite side, whereas M2-WAM returns it to its initial position. In Shell Game, M2-WAM lifts the cup covering the block, while Fast-WAM approaches an incorrect cup. These cases illustrate how historical context supports destination and target selection when current observations alone are insufficient.
Press Button also requires progression through repeated actions. M2-WAM presses the first task button, repeats the motion at the second, and proceeds to the completion button. Fast-WAM instead remains near the first button without completing the sequence, illustrating a failure in task progression.
D.3 Failure Cases
PressButton. With both memories enabled in Figure 16, the robot reaches the required counts [1,9] at step 502 but presses the second task button again, reaching [1,10] at step 550. It then presses the confirmation button 11 times without success by the 1,500-step limit. This failure to transition at the required count may reflect limitations in the Fast-WAM backbone’s generalization and character recognition, as discussed in Section 4.2.
ObserveAndPickup. In Figure 17, both memories are enabled, but the robot fails to pick up the blue bell matching the initial reference. After the reference is occluded, the left arm repeatedly operates near non-target objects, while the right arm remains nearly stationary. The target remains unmoved at the 250-step limit.
Across our experiments, the policy performs well on layouts resembling the training data but fails more often on unfamiliar arrangements, even for the same target. This sensitivity highlights limited generalization, consistent with Section 4.2. We hypothesize that the policy relies too heavily on the current scene, associating familiar layouts with trajectories rather than consistently using the initial reference to select the target.
BatteryTry. The task requires placing two batteries in their slots with the correct orientations. With both memories enabled in Figure 18, one battery remains beside its slot, while the other is initially aligned but subsequently knocked off the tabletop. Neither placement is recovered before the 1,000-step limit. This case highlights difficulties in preserving intermediate progress and recovering from placement errors.
Real-world decision errors. Figure 15(a,b) shows target-selection and action-sequencing errors with M2-WAM. In Shell Game, the robot approaches the middle cup despite the initial cue identifying the right cup. In Press Button, it makes one downward pressing motion at the first button and two at the second, reversing the displayed requirements. These errors reflect incorrect use of initial target cues or numerical instructions.
Real-world manipulation precision. In Figure 15(c), the wrist view reveals gripper misalignment in Put Back Block. The robot fails to grasp the block, which remains on its original pad. Such errors may also reflect limitations in low-level tracking accuracy, highlighting the need to coordinate high-level action predictions with low-level control.
Appendix E Limitations and Future Work
Selective memory writing and retention. Apart from the initial anchor, dense visual KV storage is allocated by recency, although older observations may contain fine-grained details needed later. The FIFO sensitivity in Appendix C.1 also motivates selectively retaining older observations or spatial regions within a fixed budget. Replacing the fixed sampling stride with writes guided by scene changes, task progress, or anticipated decision relevance could further reduce redundant updates.
Adaptive memory retrieval. Retrieval follows a predefined schedule across layers and denoising iterations, although the need for history varies with task stage and current observations. Adaptive readers could choose when to retrieve and which modalities or memory levels to consult. Skipping unnecessary reads or reusing context across denoising iterations could further reduce computation.
Memory use and generalization. The failures in Appendix D.3 suggest that memory use does not generalize consistently to unfamiliar layouts. Broader layout variation and examples with similar current observations but different historical cues and required actions could encourage more reliable use of history. Finer visual or contact feedback could complement memory conditioning to improve grasp alignment and manipulation precision.