TL;DR
DecMem introduces a decoupled memory architecture that enables interactive world models to generate consistent, high-fidelity video for over a minute. By separating fine-grained global retrieval from local context anchoring, it overcomes the "attention dispersion" and computational bottlenecks that typically cause long-horizon video generation to collapse or lose its structural integrity.
What Problem Does This Paper Address?
Building "world models"—generative models that act as interactive simulators (like a playable version of Minecraft)—requires the model to maintain perfect spatio-temporal consistency over long periods. If you walk away from a house and return a minute later, the house should look exactly the same.
Current approaches struggle with this "revisit" problem. Naive attention-based models suffer from two main issues:
- Computational Inefficiency: The cost of attending to every past frame grows linearly, making long-video generation prohibitively slow.
- Attention Dispersion: As the history grows, the model's "attention" gets diluted by a flood of weakly relevant historical tokens. This leads to a long-tail distribution where critical details are lost, resulting in visual artifacts and structural collapse.
Methods
The authors propose DecMem, which decouples memory into two specialized modules fused by a learnable gating mechanism:
- Sparse Global Memory (SGM): Instead of attending to every single past token, SGM performs block-level sparse retrieval. It divides frames into blocks, pools their features, and uses these to retrieve only the "top-k" most relevant historical blocks. This provides fine-grained access to the entire history without the linear computational overhead.
- Anchored Local Memory (ALM): This module uses a standard sliding window to focus on the most recent frames. It acts as a high-confidence "anchor" to stabilize the attention distribution and prevent the model from drifting during extrapolation.
- Multimodal Position Embedding: To help the model understand 3D space and camera movement, the authors extended Rotary Position Embeddings (RoPE) to jointly encode camera geometry (intrinsics/extrinsics), spatial patch coordinates, and temporal frame indices.
Datasets
The model was trained and evaluated on:
- WorldMem Dataset: A Minecraft-based dataset containing 11k videos with 1500 frames each, featuring complex camera trajectories and revisiting scenarios.
- Context-as-Memory Dataset: Used to demonstrate generalization across diverse environments like islands, cities, and chemical plants.
Key Insights and Ideas
- The "Root of All Evil" is Dispersion: The authors quantitatively show that in long-horizon generation, the sum of "negligible" attention weights (noise) increases while "critical" weights decrease. This dilution is the primary cause of quality degradation.
- Decoupling is Essential: You cannot solve long-term memory with a single attention mechanism. You need one branch to "search" the past (SGM) and another to "stay grounded" in the present (ALM).
- Blocks > Frames: Most previous "implicit memory" models worked at the frame level. DecMem works at a sub-frame block level, allowing it to retrieve specific parts of a scene (e.g., just the corner of a building) rather than the whole image, which is much more efficient and precise.
Key Results
- Efficiency: DecMem achieved nearly a 2x speedup in inference latency (3.65 FPS) compared to the most competitive baseline (Oasis at 1.98 FPS), despite handling much longer contexts.
- Quality: In "Extrapolation Generalization" tests (generating frames far beyond the training horizon), DecMem significantly outperformed baselines in PSNR (25.2 vs 19.1 for WorldMem) and LPIPS (0.10 vs 0.26).
- Consistency: Qualitative results show the model successfully generating minute-long videos (600+ frames) where the environment remains stable even after the camera pans away and returns.
Limitations and Future Work
- Real-time Performance: While faster than previous methods, the model has not yet achieved true real-time performance (e.g., 20+ FPS), which is necessary for seamless interactive gaming. The authors suggest model distillation as a potential solution.
- Object-Level Memory: The current block-level retrieval is spatial. Future work could involve "object-level" memory to better track dynamic entities within the world.
- Generalization: While tested on Minecraft and similar environments, scaling this to photorealistic, open-domain world simulation remains an ongoing challenge for the field.
Summary updated