MemoRenderer: Code-Driven Generative World Rendering with Geometry-Aligned Memory

Ming Lin, Li Yin, Zehuan Huang, Yuzhen Wang, Yang-Tian Sun, Haoran Feng, Jianyi Zhang, Zhenghao Song, Hongxing Fan, Yan-Pei Cao, Lu Sheng

arXiv:2611.37359 · 2026-11-30 공개 · arXiv · PDF

retrieval-augmented visual-memory code-driven instance-based geometry-aligned world-coordinate-maps world-rendering code-mem-bench

Abstract

Code-driven world models use coding agents and engines to control world evolution, while video models synthesize appearance. However, persistent world state alone does not ensure consistent appearance beyond a streaming renderer's recent context. We present MemoRenderer, a generative world renderer with geometry-aligned visual memory. Engine-provided normal and instance maps constrain scene structure, while world coordinate maps (WCMs) and instance-level canonical coordinate maps (CCMs) establish surface correspondences across viewpoints and object motion. Code-driven retrieval uses these correspondences to select historical patches as memory context, achieving better appearance consistency than learnable memory baselines under the same conditioning. To avoid searching an ever-growing history, a persistent, instance-based memory bank deduplicates historical observations and stores key-value entries from completed chunks. Subsequent chunks search only this bank, reducing retrieval overhead during inference. We introduce CodeMemBench to evaluate visual memory in static scenes and dynamic code-driven worlds. Experiments show improved contextual appearance consistency over recent generative renderers.