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
TL;DR
This paper tackles the challenge of maintaining spatial consistency over long sequences in autoregressive diffusion-based scene generation, using Minecraft as a testbed. It introduces Memory Forcing, a framework that blends temporal memory with a geometry-indexed spatial memory, reinforced by Hybrid Training and Chained Forward Training. A key novelty is Point-to-Frame Retrieval coupled with Incremental 3D Reconstruction, enabling efficient, geometry-aware memory access with constant-time lookups. Empirical results show superior long-term memory, generalization, and generation quality, along with significant improvements in memory efficiency and retrieval speed compared to baselines. The work advances scalable, consistent world modeling for interactive environments under fixed context constraints.
Abstract
Autoregressive video diffusion models have proved effective for world modeling and interactive scene generation, with Minecraft gameplay as a representative application. To faithfully simulate play, a model must generate natural content while exploring new scenes and preserve spatial consistency when revisiting explored areas. Under limited computation budgets, it must compress and exploit historical cues within a finite context window, which exposes a trade-off: Temporal-only memory lacks long-term spatial consistency, whereas adding spatial memory strengthens consistency but may degrade new scene generation quality when the model over-relies on insufficient spatial context. We present Memory Forcing, a learning framework that pairs training protocols with a geometry-indexed spatial memory. Hybrid Training exposes distinct gameplay regimes, guiding the model to rely on temporal memory during exploration and incorporate spatial memory for revisits. Chained Forward Training extends autoregressive training with model rollouts, where chained predictions create larger pose variations and encourage reliance on spatial memory for maintaining consistency. Point-to-Frame Retrieval efficiently retrieves history by mapping currently visible points to their source frames, while Incremental 3D Reconstruction maintains and updates an explicit 3D cache. Extensive experiments demonstrate that Memory Forcing achieves superior long-term spatial consistency and generative quality across diverse environments, while maintaining computational efficiency for extended sequences.
