Abstract
This paper introduces a novel video world model architecture that replaces traditional Transformers with State-Space Models (SSMs) to achieve near-infinite temporal memory. By combining a unique block-wise SSM scanning scheme with dense local attention, the model maintains long-term environmental consistency and constant per-frame inference speeds. This approach effectively solves the "look away and the world changes" problem common in current interactive simulations.
Introduction: The Memory Leak in World Models
Building "world models"—AI systems capable of simulating environment evolution based on user actions—is a foundational goal for robotics and gaming. While video diffusion models have shown promise, they frequently suffer from a "memory leak."
Standard models rely on Transformers, which exhibit quadratic computational costs relative to video length. To maintain performance, these models typically utilize a "sliding window" of recent frames. Consequently, if a player in a simulated game looks away and then turns back, the original scene often vanishes or changes because it has fallen out of the model's short-term attention window. This lack of long-term consistency prevents the simulation of persistent, complex worlds.
Methodology
The authors propose a hybrid architecture leveraging the efficiency of SSMs (specifically the Mamba architecture) while retaining the high-fidelity detail of attention mechanisms through several key innovations:
- Block-wise SSM Scan: Instead of scanning every pixel across every frame in a single sequence, the video is partitioned into spatial blocks. Independent SSM scans are performed over time for each block, trading off some global spatial interaction for significantly extended temporal memory.
- Dense Local Attention: A local attention layer is added to ensure neighboring pixels and consecutive frames remain sharp and coherent. This layer only processes a small window of recent frames, keeping computational overhead constant.
- Improved Long-Context Training: To prevent models from "cheating" by only looking at recent noisy frames, the authors introduce a training scheme that maintains a random-length prefix of "clean" frames. This forces the model to learn how to retrieve information from the distant past to denoise the current frame.
- Constant-Time Inference: Because SSMs compress history into a fixed-size hidden state, the memory and time required to generate subsequent frames do not increase as the video length grows.
Key Results and Evaluation
The model was evaluated on two challenging environments: Memory Maze (3D randomized mazes) and TECO Minecraft (200,000 gameplay trajectories).
- Superior Memory: In spatial retrieval tasks, the proposed model achieved a PSNR of 30.8, significantly outperforming limited-context Causal Transformers (26.4) and standard Mamba2 baselines (20.4).
- Efficiency at Scale: While Transformer-based models face linear growth in inference time, this model maintains a constant per-frame inference time and memory footprint.
- Visual Consistency: Qualitative results demonstrate the model's ability to accurately reconstruct scenes not "seen" for hundreds of frames.
Discussion and Future Work
The research highlights that causal SSMs are naturally suited for world modeling, where the future depends strictly on the past. The "Spatial-Major" trade-off and the use of clean prefixes were identified as essential components for successful long-term memory.
However, limitations remain. The current implementation is not yet fast enough for real-time interactive gaming, and experiments were limited to low-resolution synthetic environments. Future work will explore "timestep distillation" for speed and "length extrapolation" techniques to push memory limits even further.
Summary updated