TL;DR
Generative video models are fantastic at dreaming up rich textures from coarse 3D game-engine proxies, but they suffer from visual amnesia—turn the camera away from a coffee machine and look back, and its buttons have completely rearranged. MemoRenderer cures this by anchoring the video model’s memory directly to the 3D geometry of the world. By using engine-provided coordinate maps to store and retrieve past visual details in a compact, deduplicated memory bank, it achieves rock-solid visual consistency across long, dynamic interactions.
What Problem Does This Paper Address?
A major trend in AI "world models" is splitting the brain in two: a coding agent and traditional 3D engine handle the physics, logic, and state evolution, while a generative video model acts as a neural shader, painting rich, photorealistic appearances over coarse engine geometry.
Here is the catch: maintaining the underlying 3D world state does not guarantee consistent visuals. The engine tells the video renderer "put a wooden cabinet here," and the diffusion model invents the wood grain, brass handles, and shadows on the fly. Because streaming video models only attend to a short sliding window of recent frames, anything that leaves that window is forgotten. When you revisit a room—or when a moving object spins around—the model hallucinates brand-new textures. How do you give a streaming neural renderer long-term visual memory without drowning it in an ever-growing history of video frames?
Methods
Built on a Wan2.1-1.3B video diffusion backbone distilled into a fast, 4-step causal generator (via Self Gradient Forcing), MemoRenderer bridges engine geometry and visual memory through two novel mechanisms:
- Four-Map Geometric Conditioning: Alongside standard Normal maps (local surface structure) and Instance maps (unique object IDs), the authors feed the model two coordinate maps. World Coordinate Maps (WCMs) assign fixed $(X,Y,Z)$ values to static surfaces—meaning a point on a wall has the exact same pixel color in the WCM regardless of camera angle. For moving objects, Canonical Coordinate Maps (CCMs) normalize each asset into its own local $[0,1]^3$ bounding box, so a spot on a moving car's bumper retains a constant coordinate value wherever it drives.
- Code-Driven Memory Bank: Instead of training a neural network to guess which past frames matter, MemoRenderer uses explicit geometric lookup. Before generating a 3-frame latent chunk, it checks the visible WCM/CCM coordinates and pulls matching historical Key-Value (KV) patches into its 21-frame attention budget. Crucially, rather than searching the entire video history, completed chunks are committed to a persistent, instance-organized memory bank. Using CCM grid cells, the system deduplicates repeated views of the same surface, meaning memory scales with 3D surface coverage rather than video duration.
Datasets
- Training Corpus: Constructed from open-source Unreal Engine and Blender environments at $832 \times 480$ resolution (16 fps), pairing RGB video with the four geometric maps. It includes 20,000 short clips (81 frames) for base distillation and 4,000 long revisit sequences (up to 397 frames) for long-memory fine-tuning.
- CodeMemBench (New Benchmark): Introduced by the authors to specifically test visual memory across 27 static scenes (up to 401 frames) and 16 dynamic code-driven worlds (960 frames). Unlike standard video quality benchmarks, it evaluates history-aligned patches across camera revisits, moving-instance tracking amidst distractors, multi-view integration, and program-controlled state changes.
Key Insights and Ideas
- Explicit geometry beats learned memory: In recent AI research, the reflex is often to throw learnable routers, sparse attention, or test-time training (TTT) at memory problems. Here, deterministic, rule-based retrieval using engine-provided 3D coordinates handily outperforms all three learnable baselines. When an engine already knows exact surface correspondences, using them directly is cleaner and more reliable than making a network learn them from scratch.
- Less history gives clearer memory: Exhaustively searching the entire video history actually performs worse than searching the pruned, deduplicated memory bank. Filtering out redundant views narrows the search scope and helps the diffusion model form sharper, unambiguous associations with past appearances.
Key Results
- State-of-the-Art Consistency: On long-clip rendering (Table 2A), MemoRenderer outperforms recent generative renderers (including EdenLive-14B, SolarRenderer, and AgentGarten), achieving 19.01 PSNR in visual alignment (vs. 17.47 for EdenLive-14B) and leading all memory consistency metrics (22.75 M.PSNR, over 4.6 dB higher than the nearest baseline).
- Compact Bank Wins: Compared to searching the full unpruned history, the deduplicated memory bank reduces memory-aligned pixel error (M.MSE) by 14.2%, boosts M.PSNR by 1.38 dB, and delivers a 1.96$\times$ retrieval speedup at frame 960.
- Qualitative Stability: Across static interiors and chaotic dynamic scenes (like kart racing with similar-looking opponents), MemoRenderer preserves fine textures, cabinet layouts, and character identities without drifting.
Limitations and Future Work
MemoRenderer currently operates at a moderate spatial resolution ($832 \times 480$), which the authors note will require larger training budgets to scale up. More fundamentally, its superpower is also its dependency: it relies entirely on clean, reliable geometry and instance tracking from an underlying engine. For future work, the authors suggest pairing MemoRenderer with advanced 3D world-coding agents (such as Astra and Fable) to build end-to-end, high-fidelity interactive worlds.
Summary updated