TL;DR
GIM-World introduces a geometry-aware implicit memory framework for video world models that maintains long-horizon visual and structural consistency without adding inference overhead. By distilling 3D scene geometry from a frozen foundation model into a compact, fixed-size memory state during training, it prevents the geometric distortion and memory drift common in long autoregressive rollouts.
What Problem Does This Paper Address?
Video world models act as controllable simulators for physical environments, predicting future frames based on past observations and actions. However, generating long videos (beyond a few seconds) is notoriously difficult because models forget the layout of the scene once earlier frames drop out of their immediate context window.
Existing solutions use either explicit memory (storing past frames or full 3D reconstructions, which suffer from high latency, retrieval errors, and redundancy) or implicit memory (compressing history into a hidden state). Standard implicit memories only learn from a future-frame generation loss, meaning they tend to cache 2D pixel appearance rather than actual 3D geometry. As a result, long rollouts suffer from severe structural drift, causing walls to deform, objects to vanish, and the environment to lose its global coherence.
Methods
GIM-World addresses these issues through three core components:
- Implicit Memory Encoder: A lightweight transformer encoder compresses variable-length history into a fixed number of memory tokens. It uses a compact self-attention mechanism to aggressively downsample token counts while keeping the feed-forward network (FFN) at full resolution, ensuring negligible compute cost at inference (<0.3% of the diffusion backbone's time).
- Camera-Queryable Geometry Supervision: To force the memory to encode 3D structure, the authors introduce a training-only geometry head. It queries the memory using world-space rays derived from historical camera poses to predict per-patch features. These features are aligned with a frozen 3D foundation model (VGGT) using a cosine loss. Crucially, this geometry teacher and head are completely discarded at inference time, leaving the runtime model lightweight.
- Information-Guided Pruning: To bound the cost of encoding long histories during training, an information-theoretic pruning rule selects the most informative subset of past frames ($K=200$) before they enter the encoder. It uses a Gaussian Process with a pose-time kernel and a greedy submodular optimization algorithm to drop redundant views.
Datasets
The framework is evaluated on the MIND benchmark, an open-domain closed-loop benchmark for video world models. It features high-quality 1080p videos at 24 fps generated via Unreal Engine 5, split into first-person and third-person navigation subsets with explicit action and camera controls.
Key Insights and Ideas
- Geometry as a Memory Property: Instead of injecting 3D geometric features directly into the video generator (which is standard practice but doesn't fix memory drift), geometry is treated as an inherent property of the remembered world state.
- Querying Instead of Direct Matching: Because compressed memory tokens lose their one-to-one spatial mapping to original frames, direct token alignment fails. Querying the memory via camera rays allows flexible, view-independent geometric distillation.
- The FFN Holds the Capacity: Ablations revealed that while attention resolution can be aggressively downsampled (pooled) to save compute, downsampling the Feed-Forward Network (FFN) severely degrades performance, proving the FFN is where the structural memory capacity resides.
Key Results
- Superior Geometric Consistency: On the MIND benchmark, GIM-World achieved a normalized 3D reprojection score of 81.70 (first-person) and 87.10 (third-person), vastly outperforming the best baselines (73.97 and 70.82 respectively).
- Reduced Memory Drift: GIM-World consistently outperformed explicit-memory (e.g., FramePack, Context-as-Memory) and implicit-memory (VideoSSM) baselines across all standard reconstruction metrics (MSE, PSNR, SSIM, LPIPS).
- Ultra-Long Rollouts: Qualitative results demonstrate that GIM-World can generate stable, consistent rollouts up to 1,000 frames, successfully maintaining the exact spatial positions and textures of small objects even when the camera revisits a location after hundreds of frames.
Limitations and Future Work
While GIM-World demonstrates excellent performance, some limitations remain:
- Dependence on a 3D Teacher: The quality of the implicit geometric memory is bounded by the accuracy of the frozen 3D foundation model (VGGT) used during training.
- Fixed Memory Capacity: For infinitely large or highly complex environments, a fixed-size memory token budget might eventually saturate, requiring dynamic capacity scaling.
- Static vs. Dynamic Scenes: The geometry distillation heavily relies on camera poses and static scene structures; extending this to highly dynamic environments with complex object interactions remains an open challenge.
Summary updated