VPWEM: Visuomotor Memory Architecture
- The paper introduces VPWEM, a framework that integrates a fixed-size sliding window (working memory) with a compact learned episodic memory for non-Markovian tasks.
- It employs a Transformer-based contextual memory compressor to summarize past observations, ensuring efficient and constant memory use per time step.
- Empirical results demonstrate over 20% improvement in success rates on memory-intensive tasks compared to state-of-the-art baselines.
Searching arXiv for the exact VPWEM paper and nearby usage. VPWEM denotes “Visuomotor Policy with Working and Episodic Memory”, a framework for imitation-learned robotic control designed for non-Markovian tasks in which the current observation does not contain all information needed for optimal action selection. The framework combines a fixed-size sliding window of recent observations as working memory with a compact learned summary of older observations as episodic memory, and instantiates this design on diffusion policies so that action generation conditions on both short-term and episode-wide information while maintaining nearly constant memory and computation per step (Lei et al., 5 Mar 2026).
1. Definition and problem setting
VPWEM is formulated in a POMDP,
where the policy should in principle depend on the full history
In practice, most visuomotor policies use only a truncated recent history,
which is often sufficient for nearly Markovian manipulation tasks but fails when task success depends on hidden past events, latent goals, or temporally distant cues (Lei et al., 5 Mar 2026).
The framework is motivated by two limitations of standard visuomotor and diffusion policies. First, they typically condition on a single frame or a very short history such as 2, 6, or 10 frames. Second, simply enlarging the context window is computationally costly because Transformer attention over length scales as , and longer histories can encourage reliance on nuisance correlations and “copycat” behavior. VPWEM addresses this by retaining explicit recent observations and compressing the rest of the episode into a fixed-size learned memory (Lei et al., 5 Mar 2026).
This design places VPWEM in the class of non-Markovian visuomotor policies rather than standard short-context behavior cloning systems. A plausible implication is that the framework is intended less as a replacement for local reactive control than as a memory augmentation for policies deployed in partially observable manipulation settings.
2. Memory structure: working memory and episodic memory
The central architectural distinction in VPWEM is between working memory and episodic memory. Working memory is a fixed-size sliding window over the most recent observation tokens,
This preserves fine-grained local temporal information for immediate control (Lei et al., 5 Mar 2026).
Episodic memory is a fixed number of learned memory tokens summarizing all older observations outside that window. Older observations,
are not stored verbatim. Instead, when an observation token leaves the working-memory window, it is augmented with positional information,
and inserted into an observation cache,
where 0 is the cache management policy and the cache has maximum size 1. The resulting episodic memory output is
2
The policy then conditions action generation on both 3 and 4 (Lei et al., 5 Mar 2026).
At the observation level, VPWEM processes multi-modal inputs including RGBD observations from 5 cameras and low-dimensional proprioceptive states. Camera observations are encoded into visual features 6, proprioception into 7, and these are concatenated and passed through an MLP to form a frame token 8 (Lei et al., 5 Mar 2026).
This separation of memory roles suggests a specific inductive bias: recent observations are treated as high-fidelity control context, whereas distant history is treated as content to be compressed for long-horizon retrieval.
3. Contextual memory compressor
The technical core of VPWEM is a Transformer-based contextual memory compressor that recursively converts out-of-window observations into a fixed number of episodic memory tokens. The compressor uses trainable query tokens 9, an observation cache 0, and one summary-token cache 1 for each compressor block (Lei et al., 5 Mar 2026).
The initial query state is
2
The observation cache and summary cache are concatenated as
3
4
The compressor then applies, for each layer 5,
6
7
8
and outputs
9
The operator 0 refers to standard Transformer attention (Lei et al., 5 Mar 2026).
The first attention stage performs self-attention over cached summary tokens; the second performs cross-attention over cached historical observations. Operationally, the compressor updates online as tokens leave the working-memory window: the token is positionalized, inserted into the observation cache, processed by the compressor, and the resulting layerwise query tokens are stored back into summary caches,
1
Because working-memory length 2, episodic-memory size 3, and cache size 4 are fixed, the paper characterizes memory and compute per step as nearly constant (Lei et al., 5 Mar 2026).
An important implementation detail is that cached 5 and 6 are detached from the computational graph. This ensures that historical information is propagated only via summary tokens, reduces memory consumption, and is described as mitigating overfitting (Lei et al., 5 Mar 2026).
4. Diffusion-policy instantiation and learning objective
VPWEM is instantiated on diffusion policies, specifically DP and MaIL, so that action generation is conditioned on both short-term working memory and long-term episodic memory. Conceptually, the policy is written as
7
or, for chunked actions,
8
The diffusion backbone uses a Transformer decoder architecture and applies a cross-attention mask for conditioned action-chunk generation (Lei et al., 5 Mar 2026).
Given a clean action chunk 9, the forward diffusion process is
0
where 1. The denoiser predicts injected noise conditioned on noisy action, working memory, episodic memory, and diffusion timestep,
2
Training minimizes the DDPM-style denoising loss
3
The compressor is trained end-to-end jointly with this objective; it is not pretrained separately (Lei et al., 5 Mar 2026).
At inference time, VPWEM encodes the newest observation, updates the working-memory queue, inserts any evicted token into the observation cache, updates the summary caches by running the compressor, obtains episodic memory 4, and then performs reverse diffusion conditioned on 5 and 6. The reverse step is given in the paper as the standard DDPM update,
7
with 8 (Lei et al., 5 Mar 2026).
For DP-VPWEM, the reported settings are: DDPM with 50 sampling steps, action chunk length 9, temperature 0, 8 layers, embedding dimension 1, compressor depth 2, short-term tokens 3, long-term tokens 4, maximum cache size 5, dropout ratio of memory tokens 6, batch size 7, learning rate 8, EMA rate 9, and AdamW with 0, 1 (Lei et al., 5 Mar 2026).
5. Empirical evaluation and reported performance
VPWEM is evaluated on three benchmark families: MIKASA, MoMaRT, and Robomimic. MIKASA includes the memory-intensive tabletop tasks ShellGameTouch-v0 and RememberColor3-v0. MoMaRT includes five long-horizon mobile-manipulation tasks: Table Setup from Dishwasher, Table Setup from Dresser, Table Cleanup to Dishwasher, Table Cleanup to Sink, and Unload Dishwasher to Dresser. Robomimic includes mostly near-Markovian tasks such as Square and Transport, together with Long-Horizon Square, where the robot must remember the initial block configuration (Lei et al., 5 Mar 2026).
The baseline set includes RNN policy, Diffusion Policy (DP), DP-PTP, and MaIL. On MIKASA, the paper also reports comparisons against VLA baselines including Octo-small, OpenVLA, 2, SpatialVLA, CronusVLA, and MemoryVLA (Lei et al., 5 Mar 2026).
The paper states that VPWEM “outperforms state-of-the-art baselines including diffusion policies and vision-language-action (VLA) models by more than 20% on the memory-intensive manipulation tasks in MIKASA” and achieves “an average 5% improvement on the mobile manipulation benchmark MoMaRT” (Lei et al., 5 Mar 2026). On Robomimic, VPWEM performs on par with baselines, which the paper interprets as indicating no significant degradation in almost-Markovian settings (Lei et al., 5 Mar 2026).
A compute–performance comparison is reported on MoMaRT unload-suboptimal, contrasting long-context DP-PTP variants with DP-VPWEM (L2S2):
| Method | Context | Model Size (M) | GPU Mem (MB) | Train Time (s/step) | Inference Time (s) | Success Rate (%) |
|---|---|---|---|---|---|---|
| DP-PTP | 4 | 50.67 | 656 | 0.02 | 0.17 | 46.1 |
| DP-PTP | 8 | 50.67 | 684 | 0.02 | 0.18 | 45.0 |
| DP-PTP | 16 | 50.68 | 794 | 0.08 | 0.27 | 49.1 |
| DP-PTP | 32 | 50.69 | 942 | 0.08 | 0.35 | 49.6 |
| DP-PTP | 64 | 50.70 | 1258 | 0.17 | 0.44 | 49.6 |
| DP-PTP | 128 | 50.73 | 1792 | 0.18 | 0.72 | 40.4 |
| DP-VPWEM | L2S2 | 52.98 | 734 | 0.09 | 0.22 | 58.3 |
This result is used in the paper to support the claim that simply increasing context length causes substantial growth in memory and inference cost, whereas VPWEM attains the best reported success rate with bounded memory structures (Lei et al., 5 Mar 2026).
6. Ablations, limitations, and significance
The ablation studies are performed on Long-Horizon Square. They show that even L1S1 achieves 65% success rate, already outperforming the listed baselines. Increasing either short-term or long-term token count generally helps at first, but too many tokens can hurt, so the main experiments use L2S2. Increasing compressor depth improves performance, and increasing cache size helps until performance saturates beyond about 8. For cache management, FIFO, K-Means, and AdjSim perform similarly, whereas Random performs worse; the main model therefore uses FIFO (Lei et al., 5 Mar 2026).
The paper frames several limitations and future directions. It suggests extending VPWEM to more base policies, adding auxiliary objectives such as reconstruction, and deploying on real robots (Lei et al., 5 Mar 2026). A plausible implication is that the current formulation is benchmark-centered and primarily validated in simulation-oriented or standard offline imitation-learning settings rather than in broad real-world deployment.
In methodological terms, VPWEM’s significance lies in treating long-horizon robotic memory not as unbounded context accumulation but as a structured combination of explicit short-term history and learned compressed long-term state. The framework’s contribution is therefore architectural as much as empirical: it proposes a concrete mechanism by which diffusion-based policies can access temporally distant information without scaling attention over the full trajectory (Lei et al., 5 Mar 2026).