cs.CVNov 27, 2026

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

Authors: Ming Lin, Li Yin, Zehuan Huang, Yuzhen Wang, Yang-Tian Sun, Haoran Feng, Jianyi Zhang, Zhenghao Song, 

Organizations: Beihang University · VAST · University of Hong Kong · Tsinghua University · 

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.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

Nov 21, 2026

Eidetic Code World Model

Executable code can preserve a world's structural layout, yet video renderers frequently alter the appearance of previously visited places once they leave the camera view. We present Paintress, a code-conditioned world model that couples an executable geometric proxy with an independently parameterized 3D Gaussian appearance memory in a shared metric coordinate frame. While the proxy enforces structural and visibility constraints, 3D Gaussians capture the visual realization synthesized by emitted observations. To balance stable incremental fusion with consistent readout, Paintress separates writing from reading: newly emitted frames update a persistent raw Gaussian map under confidence-gated selection, whereas a cloned reader copy is globally refined against the observation archive and rendered with coverage masks to condition generation. We also introduce Expedition-33, a benchmark for generated-appearance retention across 11 static scenes, five route families, and 15, 30, and 60 s target absences (165 settings per system). Excluded from the opening image, targets are synthesized during a shared prefix and scored against each system's own first visit at matched return cameras. Across ten systems (1,650 videos), Paintress achieves 0.1220 ROI-LPIPS, 0.0613 MAE, and 52.12% detail retention (vs. 0.2731, 0.1401, and 10.91% for CWM), with lower discrepancy at 60 s (0.1630) than CWM, AgentGarten, and Lyra 2.0 achieve at 15 s.
Nov 24, 2026

A Mesh to Remember: Persistent Appearance for Interactive Video Worlds

Video world models synthesize photorealistic observations in response to user actions but struggle to remain consistent over long interactions. Coding agents and text-to-3D models instead generate explicit 3D worlds whose geometry and state persist by construction, but whose appearance falls far short of photorealism. Recent methods combine the strengths of both by rendering such worlds into coarse proxies that guide a video model. However, since these proxies only specify where things are, the renderer must invent what they look like as the world is explored, and anything it forgets is reinvented when a surface reappears. Our key insight is that a mesh identifies which surface each pixel shows, across frames and views, even as objects move, allowing it to serve as an address for what the renderer generates. We propose M2R (Mesh to Remember), a few-step causal video renderer that stores its own features on the surfaces they depict, in each object's frame, and retrieves them by rasterizing the mesh whenever those surfaces come back into view. Appearance thus travels with objects wherever they move, persists across revisits, and is shared by every agent that observes it, while memory grows with the surfaces seen instead of the number of frames. Trained only on synthetic data, M2R transfers zero-shot to real indoor scans and to worlds authored by coding agents. It outperforms state-of-the-art methods in consistency across static, dynamic, and multi-agent benchmarks, more than doubling object permanence and nearly doubling cross-agent consistency, while rendering 720p video in real time (40 FPS).
Nov 19, 2026

ContextRenderer: Dynamic-Context Video Generation for Interactive Game Worlds

Interactive game world models separate executable world evolution from visual generation, using video models to render engine-provided scene representations into detailed observations. During sustained gameplay, however, existing generative renderers struggle to follow changing conditions while preserving visual continuity across diverse proxies and target styles. We therefore introduce ContextRenderer, an autoregressive video diffusion framework designed for both dynamic conditioning and cross-proxy generalization. It couples Dynamic-Context Learning (DCL) for chunk-level interaction supervision with Recurrent History Compression (RHC) to follow condition updates while preserving visual continuity within a bounded token budget. Across proxy representations, Cross-Representation Flow Alignment (CRFA) connects proxy reconstruction with appearance and interaction variation through a shared high-fidelity reconstruction. WorldPrism, our interaction-centric dataset constructed from agent-built worlds, AAA gameplay, and open-source videos, supplies the corresponding renderings and chunk-level annotations for these learning tasks. Experiments on GWM-Bench and Solar-Bench show improved reconstruction and visual quality, while qualitative results demonstrate minute-long interactive rendering under changing prompts and subject references. Project page: https://rainzor.github.io/contextrenderer/