Imagine playing an open-world video game where every time you turn your back on a building and look back, the windows have moved, the graffiti has changed, and the flowerpots have vanished. This "hallucination amnesia" is a major headache for current AI world models. While they are getting better at understanding the structure of a world, they are notoriously bad at remembering the specific details they just finished rendering.
The paper "Eidetic Code World Model" introduces Paintress, a system designed to give AI models a photographic (eidetic) memory. By combining executable 3D code with a persistent "visual diary" made of 3D Gaussians, Paintress ensures that when you return to a location, it looks exactly as you left it.
TL;DR
Paintress solves the problem of "visual drift" in AI-generated worlds by coupling a 3D structural skeleton (code) with a persistent 3D Gaussian memory that stores every pixel the model creates. It introduces a "read/write" separation that allows the model to update its memory without confusing itself, achieving over 5x better detail retention than previous state-of-the-art models.
What Problem Does This Paper Address?
Generative video models are great at making things look "realistic" frame-by-frame, but they struggle with generated-appearance retention.
Current "code-conditioned" models use a 3D "blockout" (a simple, low-poly version of the world) to keep the layout consistent. However, the texture and fine details—the specific pattern on a rug or the color of a banner—are often re-imagined every time the camera moves. If these details aren't in the initial starting image, the model essentially "forgets" its own creative choices once they leave the screen.
As shown in Figure 1D, existing models like CWM might change a monument's banner or move flowerpots upon a revisit, whereas Paintress keeps them locked in place.
Methods
Paintress uses a Dual-World Architecture to bridge the gap between structural logic and visual memory.
- The Executable Proxy (The Skeleton): This is the "code" part. It’s a 3D whitebox model that defines where walls, floors, and objects are. It enforces the "physics" of the scene.
- 3D Gaussian Memory (The Skin): Instead of just remembering 2D images, Paintress reconstructs its generated frames into a 3D cloud of "Gaussians" (essentially 3D paint splats). These are anchored to the 3D proxy but can capture details the proxy misses, like the fluffiness of a tree or the intricate texture of a stone wall.
- Read/Write Separation: This is the secret sauce. Paintress maintains a "raw" map where it constantly fuses new observations (writing). When it needs to generate a new frame, it clones this map into a "reader copy" and refines it globally (reading). This prevents the "jitter" and "seams" that occur when you try to update and render a 3D map at the same time.
Datasets
The authors introduced a rigorous new benchmark called Expedition-33.
- The Setup: 11 static scenes across 5 different route families.
- The Test: The model explores a scene, synthesizes a "target" area not seen in the first frame, leaves for 15, 30, or 60 seconds, and then returns.
- The Metric: How much of the originally generated detail does the model remember?
- Scale: A massive 1,650-video comparison across ten different AI systems.
Key Insights and Ideas
- Decoupling is Key: The researchers found that strictly binding pixels to the low-poly proxy surfaces was a mistake. By letting the 3D Gaussians "float" slightly independently of the proxy, the model can represent complex geometry (like foliage) that the simple blockout code can't describe.
- Confidence-Gated Fusion: Not all generated pixels are equal. Paintress uses a confidence-gated system to decide which parts of a new frame are "reliable" enough to be written into the permanent 3D memory.
- Memory as a Condition: Instead of just looking at the last few frames, the video generator is "conditioned" on a render of its own 3D memory. It’s like the AI is looking at a polaroid of what it did five minutes ago to make sure it doesn't contradict itself.
Key Results
Paintress dominated the competition, ranking first across all five evaluation categories (Initial Detail, Detail Success, ROI Fidelity, Revisit Quality, and Revisit Consistency).
- Detail Retention: Paintress kept 52.12% of target details upon return, while the next best baseline (AgentGarten) only managed 11.52%.
- Perceptual Accuracy: It reduced ROI-LPIPS (a measure of perceptual error) by 55.3% compared to the previous leader, CWM.
- Long-Term Stability: Even after a 60-second absence—an eternity for most video models—Paintress maintained a lower error rate (0.1630) than most models could manage after only 15 seconds.
Limitations and Future Work
While Paintress is a memory champion, it isn't fast. The "offline" pipeline—which involves 3D reconstruction, Gaussian fitting, and global refinement—is computationally expensive. A full cycle can take several minutes, making it unsuitable for real-time applications like interactive gaming... for now.
The authors also noted that while the structure stays perfect, "fine-detail drift" still exists. Over very long periods (60s+), colors might shift slightly or textures might soften. Future work will likely focus on speeding up the 3D fusion process and finding ways to lock in those micro-details even more tightly.
Summary updated