DecMem: Towards Minute-Long Consistent World Generation with Decoupled Memory

Zhenhao Yang, Xiaoshi Wu, Zhengyao Lv, Xiaoyu Shi, Xintao Wang, Pengfei Wan, Kun Gai, Kwan-Yee K. WongarXiv 2026

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:

  1. Computational Inefficiency: The cost of attending to every past frame grows linearly, making long-video generation prohibitively slow.
  2. 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.
Figure 1: (a) Visual quality and spatio-temporal consistency of different long-horizon extrapolation methods (memory bank initialized with 221 frames). Prior methods fail to jointly preserve fidelity and consistency, while ours breaks this trade-off and sustains fine-grained memory under long rollouts. (b) Generation latency of our method and naïve Dense Attention (memory bank initialized with 221 frames). Our sparse block retrieval substantially reduces cost without sacrificing quality. (c) Comparison of our learnable block retrieval against FOV-based frame retrieval (e.g., WorldMem).

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.
Figure 4: DecMem pipeline comprises decoupled memory for long-term consistency and extrapolation generalization while keeping the computational cost low. Sparse Global Memory (SGM) combines a block-level sparse retrieval module and a context-aware attention module for long-term memory fine-grained retrieval in an end-to-end manner, whereas Anchored Local Memory (ALM) keeps short-term transition smooth. For clearer visualization, we display 3 frame latents as key & value and the last frame indexed by t as query. Each frame contains 2 blocks with 2 tokens per block.

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.
Figure 2: Attention maps of different long world modeling ap- proaches during long-horizon video inference.

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

BibTeX
@misc{yang2026decmem,
  author = {Zhenhao Yang and Xiaoshi Wu and Zhengyao Lv and Xiaoyu Shi and Xintao Wang and Pengfei Wan and Kun Gai and Kwan-Yee K. Wong},
  title = {{DecMem: Towards Minute-Long Consistent World Generation with Decoupled Memory}},
  year = {2026},
  eprint = {2605.31336},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.31336},
}
Figure