arXiv(opens in a new tab)cs.CVOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.11444

Learning to Retrieve: Internalizing Memory Retrieval for Video World Models

JiaKui Hu, Tailai Chen, Yuqi Pan, Xuerui Qiu, Jialun Liu, Xiao Cao, Zhenxin Zhu, Guang Chen, Hangjun Ye, Bing Wang, Yanye Lu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

JiaKui Hu 1,2∗^{1,2*} Tailai Chen 3∗^{3*} Yuqi Pan 3^{3} Xuerui Qiu 3^{3} Jialun Liu 4^{4} Xiao Cao 5^{5}

Zhenxin Zhu 2^{2} Guang Chen 2^{2} Hangjun Ye 2^{2} Bing Wang 2†^{2\dagger} Yanye Lu 1‡^{1\ddagger}

1^{1}Peking University 2^{2}Xiaomi EV 3^{3}CASIA 4^{4}UQ 5^{5}NUS

https://jkhu29.github.io/l2r

Camera trajectory

Figure

17.5s

29.5s

53.5s

60s

Prompt: A first-person view of a serene library interior featuring a large wooden table in the immediate foreground, upon which rests an open hardcover book, a spiral notebook, and a black pen.

Camera trajectory

Figure

0s

17.5s

29.5s

53.5s

60s

Prompt: A first-person view of a sunlit coastal road paved with textured cobblestones, bordered by crashing ocean waves on the left and rocky cliffs with palm trees on the right.

Camera trajectory

0s

23s

Figure

46.3s

58s

60s

Prompt: A first-person view of a wet, paved night market aisle flanked by temporary vendor stalls and metal frames, where the slick ground reflects the warm glow of overhead string lights and a single bulb illuminating a cooking station.

camera pose revisited pose revisited content

Figure 1: Teaser demonstration. We introduce Learning-to-Retrieve (L2R), which can generate consistent videos without external memory modules or 3D reconstruction pipelines. Red boxes mark content observed from matched camera poses separated by a long temporal interval, illustrating that L2R preserves scene identity when the camera revisits a previously observed region.

ABSTRACT

Video world models aim to generate explorable, 3D-consistent scene videos conditioned on camera trajectories. Existing approaches often rely on external memory systems that explicitly retrieve previously observed content to mitigate scene drift during long-horizon generation. However, these auxiliary memory pathways operate outside the model's internal generative dynamics, preventing the model from intrinsically learning when and what historical information should be retrieved. We propose to internalize memory retrieval into the generation process, allowing retrieval to emerge as an intrinsic behavior of the video world model rather than relying on an external memory system. Based on this principle, we introduce Learning-to-Retrieve (L2R), which repurposes the model's persistent internal state as a memory for historical context. A camera-conditioned retrieval gate selectively accesses relevant historical information from this state, determining what to retrieve, while a retrieval trigger determines when to retrieve. We further supervise the trigger with a 3D re-visibility signal, activating retrieval when previously observed content re-enters the current view while otherwise preserving the existing context. Together, these components enable the model to intrinsically acquire memory retrieval behavior and incorporate relevant historical observations into generation without a separate retrieval pathway. Across multiple base models and camera-revisit benchmarks, L2R improves long-term scene consistency while eliminating the need for an external memory bank or 3D conditions.

∗^{*}Equal contribution.

†^{\dagger}Project leader.

‡^{‡}Corresponding author.

1 INTRODUCTION

Video world models aim to generate video sequences that explore a 3D scene according to a user-specified camera trajectory, conditioned on one or a small set of reference frames (Yu et al., 2025a; Xiao et al.; Zhu et al., 2026). Beyond perceptual realism and accurate camera control, a key requirement is scene-level consistency: upon revisiting previously observed regions, the generated content should remain consistent with earlier generations.

Existing strategies for enforcing scene consistency can be broadly grouped into two paradigms. Yu et al. (2025c); Huang et al. (2025); Hu et al. (2026a); Zheng et al. (2026); Yang et al. (2026) formulate this problem as conditional generation, leveraging reconstruction models (Wang et al., 2025; 2026b) to produce conditions intended to improve the fidelity and coherence of the generated video. However, the effectiveness of this approach is closely tied to reconstruction accuracy. Reconstruction errors can propagate to downstream generation, degrading long-term quality.

The second paradigm integrates memory retrieval into the video generation model to improve long-term scene consistency. In these methods, long-term memory serves as an auxiliary context module: when past frames are spatially relevant to the target view, they are retrieved to augment the default short-term sliding-window context. The principal differences between these methods lie in the retrieval strategy. Earlier approaches (Li et al., 2025; Yu et al., 2025a; Xiao et al.; Yu et al., 2026b; Wang et al., 2026c) select historical context via camera overlap or explicit 3D signals and supply the retrieved views to the generator. More recent approaches make retrieval learnable, but still rely on separate memory access pathways. For example, MemLearner (Yu et al., 2026a) queries historical context using learnable query tokens, while CaR (Peng et al., 2026) adds a dedicated retrieval-attention branch on compressed context. Although such designs improve long-range scene consistency, their reliance on external or auxiliary memory access pathways introduces a mismatch between retrieval and the model's internal generative dynamics.

In this paper, we advance the perspective that video world models should intrinsically acquire the memory retrieval policy. Rather than treating memory retrieval as an external context construction procedure, we aim to make retrieval part of the generation process itself. This requires two capabilities to be jointly learned: maintaining historical information that remains accessible over long horizons, and selectively accessing that information according to the current observation. By integrating these two capabilities into the generative pathway, memory access can directly adapt to the model's evolving generation dynamics.

To realize this design, we formulate memory retrieval within an attention mechanism with a persistent contextual state and selective state access. In this formulation, historical observations are continuously accumulated in the model's internal state, while the state-access mechanism determines which historical information is retrieved for the current generation. Our construction builds on the state-update structure (Katharopoulos et al., 2020; Yang et al., 2024; 2025b; Pan et al., 2025), but repurposes it for memory retrieval. A retrieval trigger determines when to retrieve, while a camera-conditioned gate determines what historical information to retrieve, jointly coupling memory access with the current view. This shift repurposes the persistent attention state as an internal memory from which historical context can be selectively retrieved during long-horizon generation.

Building on this observation, we introduce L2R, a mechanism designed to approximate memory retrieval in video world models. L2R employs a camera-conditioned gate to selectively access historical information from the accumulated state according to the current viewpoint. In addition, L2R incorporates a retrieval trigger that determines whether a given token should initiate retrieval: when the current view revisits previously observed content, retrieval is activated; otherwise, the model relies on the existing context. We supervise the retrieval trigger using the 3D signal based on visibility re-entry: tokens whose content exits the field of view or becomes occluded and subsequently reappears are annotated as retrieval-relevant. This supervision encourages the model to identify situations in which historical context is necessary. Collectively, L2R enables attention to acquire retrieval behavior intrinsically: the trigger learns when to retrieve, and the camera-conditioned gate learns what to retrieve, thereby coupling the current view with access to historical context without introducing a separate retrieval pathway or requiring explicit 3D correspondence at inference time.

We evaluate L2R on scene exploration with re-appear and loop-closure trajectories under multiple state-update rules. Given a reference image and a camera trajectory, video world models using L2R maintain scene consistency in the generated video without degrading visual quality or camera controllability. Both quantitative and qualitative results demonstrate that the method outperforms existing approaches in terms of consistency and exhibits robust generalization capabilities to unseen camera trajectories. Furthermore, ablation studies validate the effectiveness of the proposed design.