Memory Forcing: Spatio-Temporal Memory for Consistent Scene Generation on Minecraft

Junchao Huang, Xinting Hu, Boyao Han, Shaoshuai Shi, Zhuotao Tian, Tianyu He, Li Jiang · DOI

Abstract

Autoregressive video diffusion models often suffer from "long-term amnesia" in open-world environments like Minecraft, failing to maintain spatial consistency when revisiting locations. We present Memory Forcing, a training framework that integrates geometry-indexed spatial memory with a novel Chained Forward Training (CFT) protocol. By mimicking inference-time drift during training, Memory Forcing compels models to utilize long-term spatial cues, achieving superior consistency and 7.3x faster retrieval than state-of-the-art methods.

Introduction

In open-world simulations, maintaining a persistent environment is crucial. A player should be able to explore far from a starting point and find their initial structures unchanged upon return. However, current autoregressive models face a significant trade-off. Temporal-only models generate fluid movement but forget the past almost instantly, leading to landscape shifts when the camera turns. Conversely, spatial-memory models often become over-reliant on historical data, resulting in poor quality during the exploration of novel terrains or incurring prohibitive computational costs as the memory bank expands.

These models also suffer from exposure bias: the discrepancy between training on ground-truth data and performing inference on their own imperfect predictions. This leads to accumulated drift, eventually causing the generated world to dissolve into nonsense.

Methodology

Memory Forcing addresses these challenges through three primary innovations:

  • Hybrid Training Distribution: The model is trained on a combination of human gameplay (VPT) for natural exploration and synthetic trajectories (MineDojo) designed with frequent revisits to emphasize spatial consistency.
  • Chained Forward Training (CFT): This "forcing" mechanism feeds the model its own previous predictions during training instead of ground-truth frames. This simulates real-world drift, forcing the model to actively use its spatial memory to correct errors and maintain stability.
  • Geometry-indexed Spatial Memory: Rather than using slow image-similarity searches, the system employs a sparse 3D point cloud. Point-to-Frame Retrieval identifies visible 3D points and traces them back to specific historical keyframes, ensuring robust retrieval regardless of lighting or viewpoint changes.

Datasets and Benchmarks

The framework was evaluated using two primary sources and a suite of custom benchmarks:

  • VPT (Video PreTraining): A massive dataset of human Minecraft gameplay used to teach the model natural movement and exploration.
  • MineDojo: A synthetic environment used to generate 11,000 videos specifically designed with frequent "revisits" to test long-term memory.
  • Custom Evaluation Sets: New benchmarks focusing on Long-term Memory (150 sequences), Generalization (unseen terrains), and Generation Performance (new environments).

Key Results

Memory Forcing significantly outperforms existing baselines such as Oasis, NFD, and WorldMem:

  • Visual Quality: Achieved a Frechet Video Distance (FVD) of 84.9 on long-term tasks, a ~30% improvement over WorldMem (122.2).
  • Efficiency: The geometry-indexed approach is 7.3x faster and requires 98.2% less storage than traditional frame-buffer methods.
  • Consistency: Qualitative analysis confirms that the generated world remains stable even after hundreds of frames of exploration, avoiding the "melting" effects seen in other models.

Discussion and Limitations

The core insight of this work is that memory must be treated as a constraint, not just a resource. By introducing errors via CFT, the model is forced to rely on the geometry-indexed cache to stay on track. Furthermore, by anchoring memory to 3D coordinates, the system scales with the area explored rather than the sequence length.

However, limitations remain. The current implementation is optimized for Minecraft's blocky geometry and may require significant adaptation for natural video. Additionally, the model operates at a resolution of 384 × 224. Future work will focus on domain adaptation for diverse gaming environments and increasing synthesis resolution.

Summary updated

BibTeX
@misc{huang2025memory,
  author = {Junchao Huang and Xinting Hu and Boyao Han and Shaoshuai Shi and Zhuotao Tian and Tianyu He and Li Jiang},
  title = {{Memory Forcing: Spatio-Temporal Memory for Consistent Scene Generation on Minecraft}},
  year = {2025},
  eprint = {2510.03198},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2510.03198},
}
Figure