TL;DR
VPWEM introduces a biologically inspired dual-memory system for robotic visuomotor policies, combining a short-term sliding "working memory" with a compressed "episodic memory." By recursively condensing past observations into fixed-size embeddings using a Transformer-based compressor, it allows robots to solve long-horizon, non-Markovian tasks with nearly constant computational and memory overhead.
What Problem Does This Paper Address?
Most modern robotic visuomotor policies operate under a major limitation: they predict actions based only on the current frame or a very short history of recent observations. While this works well for simple, reactive tasks, real-world robotics is often non-Markovian. Tasks frequently involve long-term dependencies, such as remembering where an object was hidden before it was covered, or tracking sequential subgoals across a long timeline.
Naively fixing this by expanding the policy's history window introduces two severe challenges:
- Computational Explosion: Standard self-attention mechanisms scale quadratically ($O(L^2)$) with history length $L$, causing massive inference latency and training costs.
- Causal Confusion: Giving a model access to a long, uncompressed history often causes it to overfit to nuisance correlations or simply mimic its own past actions (the "copycat problem"), leading to catastrophic failures when the environment changes slightly.
Methods
Inspired by how the human hippocampus consolidates short-term experiences into long-term cortical storage, the authors propose VPWEM (Visuomotor Policy with Working and Episodic Memory).
The architecture splits memory into two distinct components:
- Working Memory: A standard, short-term sliding window of recent observation embeddings maintained via a first-in-first-out (FIFO) scheme.
- Episodic Memory: As observations drop out of the short-term window, they enter an out-of-window cache. A Transformer-based contextual memory compressor recursively distills these historical observations into a small, fixed number of episodic memory embeddings. It achieves this using self-attention over past summary embeddings and cross-attention over the historical observation cache.
The policy generates actions using a diffusion backbone conditioned on both the short-term working memory and the highly compressed long-term episodic memory.
To make training computationally viable, the authors employ a clever trick: they detach historical embeddings from the computational graph before storing them in the caches. This blocks gradients from backpropagating through time (BPTT), drastically reducing memory consumption and preventing the policy from overfitting to historical noise.
Datasets
The authors evaluated VPWEM across three distinct simulation benchmarks and a real-world platform:
- MIKASA: A memory-intensive tabletop suite featuring tasks like ShellGameTouch-v0 (tracking a ball hidden under moving cups) and RememberColor3-v0.
- MoMaRT: A long-horizon mobile manipulation benchmark requiring multi-stage kitchen tasks like setting up tables or unloading a dishwasher.
- Robomimic: Used to test standard tabletop manipulation (Square and Transport), alongside a custom non-Markovian Long-Horizon Square variant.
- Real-Robot Platform: An AgileX Cobot Magic platform tasked with returning a roll of packing tape to its original plate.
Key Insights and Ideas
- Decoupling Memory from Representation: Instead of forcing a massive Vision-Language-Action (VLA) model to process long video histories, VPWEM decouples long-term memory modeling from single-frame feature extraction. This modular design means the compressor can be tacked onto various existing policy backbones.
- Information Retention via Probing: Through a "key information probe" experiment, the authors proved that the episodic memory embeddings successfully retain initial-state information over hundreds of steps, whereas standard working memory completely loses track of the past.
- Gradient Detachment is a Feature, Not a Bug: Blocking backpropagation through time not only saves GPU memory but actively mitigates causal confusion by forcing the network to rely on compressed summaries rather than exact, noisy historical sequences.
Key Results
- MIKASA Benchmark: VPWEM outperformed state-of-the-art diffusion policies and massive VLA models (like OpenVLA and MemoryVLA) by more than 20% on memory-intensive tasks.
- MoMaRT Benchmark: The method achieved an average 5% improvement over competitive baselines on long-horizon mobile manipulation tasks.
- Efficiency: While a naive long-context baseline (DP-PTP with a window of 128) saw its inference time jump to 0.72s, VPWEM maintained a highly efficient inference latency of 0.22s with a fraction of the GPU memory overhead.
- Real-World Deployment: On a physical robot, adding VPWEM to a standard Diffusion Policy boosted the task success rate from 37% to 67%, introducing only a negligible latency increase (from 72ms to 79ms per action chunk).
Limitations and Future Work
While VPWEM demonstrates excellent efficiency and performance, the authors note a few areas for improvement. Currently, the framework is primarily paired with diffusion-based architectures. Future work includes extending the dual-memory mechanism to broader policy architectures (like autoregressive transformers) and incorporating auxiliary training objectives, such as video reconstruction, to help the compressor retain even richer environmental details.
Summary updated