Imagine you’re dreaming of walking through a house. You walk into the kitchen, turn around to look at the hallway, and then turn back. In a perfect dream, the kitchen is exactly as you left it. But in the "dreams" of current AI video models, the stove might have moved six inches, or the refrigerator might have turned into a cupboard.
This is the problem of geometric drift, and a new framework called ENGRAM is here to give these models a much-needed dose of spatial common sense.
TL;DR
ENGRAM is a "spatial memory" for video models that allows them to generate 3D-consistent videos without forgetting where things are. By intelligently fusing multiple observations into a single representation and keeping track of what's hidden behind foreground objects, it achieves massive gains in consistency—especially when the camera "revisits" a location it has seen before.
What Problem Does This Paper Address?
Current "Video World Models" try to predict what a camera will see as it moves through a 3D space. To keep things consistent, many models use a 3D memory. However, they usually suffer from two major headaches:
- The "Double Vision" Problem (Unconsolidated Updates): When a model sees the same table from ten different angles, it often just piles those observations on top of each other. Because each observation has tiny errors in depth or color, the memory becomes a blurry, noisy mess.
- The "Blind Spot" Problem (Frontmost Readout): Most models only "remember" the very first surface the camera hits. If you’re looking at a bookshelf, the model remembers the books, but it completely forgets there’s a wall behind them. If a book moves or the camera angle shifts, the model has no idea what should be in the gap.
Methods
The authors introduce two clever operators to fix these issues, all while staying inside the "latent space" (the compressed, abstract mathematical language the AI uses to think, rather than raw pixels).
- Reliability-Weighted Latent Fusion: Instead of just adding new data to the pile, ENGRAM evaluates how "reliable" a new observation is. A clear, head-on view of a wall is given more weight than a blurry, glancing shot from a distance. It then mathematically merges these views into a single, clean "slot" in memory.
- Occlusion-Aware Layered Readout: Instead of just looking at the front surface, ENGRAM’s memory can return multiple layers of depth. It’s like having a 3D map that remembers both the bookshelf and the wall behind it. This allows the video generator to "see through" gaps and maintain consistency even when objects overlap.
Crucially, ENGRAM avoids the slow process of converting memory back into images (rendering) and then back into math (encoding) at every step. It does everything at the "latent" level, making it much more efficient.
Datasets
The researchers put ENGRAM through its paces using:
- RealEstate10K: A massive dataset of camera pans through real-world homes, used to test how well the model can reconstruct a scene.
- WorldScore: A benchmark specifically designed to evaluate "world models" on things like camera control, object consistency, and motion smoothness.
Remarkably, while other models require tens of thousands of videos to learn, ENGRAM was adapted using only 256 training scenes.
Key Insights and Ideas
- Fusion is better than Selection: The "aha moment" here is that you shouldn't just pick the "best" view of an object; you should mathematically blend all views based on their geometric reliability. This naturally cancels out noise and errors.
- Memory needs "Depth": By providing the generator with two layers of depth (the "front" and the "behind"), the model handles disocclusions (when something hidden becomes visible) far more gracefully than single-layer models.
- Data Efficiency: Because the framework relies on solid geometric principles (like Plücker coordinates for camera rays), it doesn't need to "see" millions of examples to understand how 3D space works.
Key Results
The results are a bit like putting on glasses for the first time. On the "closed-loop revisit" task (where the camera travels in a circle and returns to the start):
- ENGRAM improved the PSNR (a measure of image fidelity) by a staggering 4.48 dB over the previous state-of-the-art, Spatia.
- On the WorldScore benchmark, it outperformed competitors across almost every metric, particularly in camera control and motion smoothness.
- It achieved these results with roughly 5.8% of the training samples used by similar models.
Limitations and Future Work
While ENGRAM is a huge leap forward, it’s not perfect:
- Geometry Dependence: It relies on estimated depth maps. If the initial depth estimation is wrong, the memory will be "warped" from the start.
- Memory Growth: Currently, the memory grows as the model explores new areas. For very long videos, the authors note that they will eventually need a "fixed storage budget" strategy to keep the memory from ballooning.
- Static Scenes: The current version is primarily focused on static environments; moving objects (like a person walking through the room) remain a challenge for future iterations.
Summary updated