NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

WorldMem: Long-term Consistent World Simulation with Memory

Zeqi Xiao, Yushi Lan, Yifan Zhou, Wenqi Ouyang, Shuai Yang, Yanhong Zeng, Xingang Pan

Abstract

Video-based world simulators often fail to maintain spatial and temporal consistency over long horizons due to limited context windows. We present WORLDMEM, a framework that integrates a persistent token-level memory bank into Diffusion Transformers. By storing past latent tokens with their associated 3D poses and timestamps, and utilizing a state-aware attention mechanism, WORLDMEM enables simulators to "remember" and accurately reconstruct environments even after significant camera movement. Our evaluations in Minecraft and real-world indoor datasets demonstrate superior consistency and loop-closure performance compared to existing baselines.

Introduction

World simulators aim to predict future video frames based on agent actions, serving as virtual environments for training and testing. However, current models based on video diffusion often suffer from a "short-term memory" problem. Due to computational constraints, these models typically operate within a fixed context window of a few dozen frames. Consequently, when an agent leaves an area and returns later, the model often "forgets" the previous state, leading to inconsistent terrain or disappearing objects. WORLDMEM addresses this by providing a persistent memory that anchors the simulation in a consistent 3D space.

Comparison of world simulation without memory (a) and with WORLDMEM memory (b). The memory-less model fails to maintain consistency upon returning to a previous location, whereas WORLDMEM accurately reconstructs the scene.

Methodology

WORLDMEM addresses the consistency gap through several novel components integrated into a Diffusion Transformer (DiT) architecture:

1. Token-level Memory Bank

Instead of rigid 3D reconstructions like meshes or point clouds, WORLDMEM stores previously generated latent tokens as "memory units." Each unit is associated with a physical "state"—specifically its 3D pose (location and orientation) and a timestamp. This allows the model to maintain a flexible record of the world that can account for dynamic changes over time.

2. State-aware Memory Attention

To utilize the memory bank, the model employs a cross-attention mechanism that is "state-aware." Queries and keys are enriched with spatial information using Plücker embeddings for 3D lines of sight. By employing a relative state formulation—treating the current frame as the origin—the transformer more easily learns the geometric relationships between past observations and the current view.

3. Confidence-based Retrieval

To maintain efficiency, WORLDMEM does not query the entire memory bank. Instead, it uses a greedy retrieval algorithm based on Field-of-View (FOV) overlap and temporal proximity, ensuring that only the most relevant past information is used to guide the generation of new frames.

4. The "Clean Input" Training Strategy

During training, memory frames are treated as "clean" (noise-free) inputs, while current context frames contain varying noise levels. This teaches the model to rely on the memory bank as a reliable ground truth anchor for the denoising process of the current frame.

Experimental Results

The framework was evaluated on Minecraft (via MineDojo) and the RealEstate10K dataset.

Minecraft Consistency

In tests involving a 600-frame gap, WORLDMEM achieved a PSNR of 23.98 and an rFID of 15.37. In contrast, the baseline Diffusion Forcing (DF) model struggled significantly, producing a PSNR of 17.32 and an rFID of 51.28. Qualitative results demonstrate that WORLDMEM can remember specific events, such as the placement of a pumpkin light, even after the agent wanders away and returns.

Real-World Accuracy

On the RealEstate10K dataset, WORLDMEM outperformed specialized view-synthesis models like Viewcrafter and CameraCtrl. It showed particular strength in "loop closure" tasks, where the model must ensure the end of a circular camera path matches the starting point in a real-world indoor environment.

Conclusion

WORLDMEM provides a scalable solution for long-term consistency in world simulators by integrating a persistent, state-aware memory bank. While current limitations include linear memory growth and reliance on FOV-based retrieval, the framework represents a significant step toward creating infinite, consistent virtual worlds that can evolve dynamically while maintaining spatial integrity.

Summary updated

BibTeX
@inproceedings{xiao2025worldmem,
  author = {Zeqi Xiao and Yushi LAN and Yifan Zhou and Wenqi Ouyang and Shuai Yang and Yanhong Zeng and Xingang Pan},
  title = {{WorldMem: Long-term Consistent World Simulation with Memory}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=c6CAVKlKmU},
}
Figure