cs.CVAug 28, 2026

LayerRecall: A State-Conditioned Memory Router for Long-Horizon Consistency in Video Generation

Authors: Yixuan Ding, Jiahao Kong, Wei Huang, Ruijie Quan, Yi Yang

Organizations: Zhejiang University · The University of Hong Kong

Abstract

Autoregressive video diffusion enables scalable long-video generation by producing chunks from a bounded recent context. While recency-based caching preserves local continuity, it evicts historical cues needed when subjects, objects, scenes, or attributes reappear. Existing memory mechanisms expose models to nonlocal history, but access alone does not ensure effective use. Our analysis reveals that video DiT layers exhibit distinct preferences for current, recent, and distant context, suggesting that long-range memory requires deciding both what to retrieve and where to use it. We introduce LayerRecall, a current-conditioned, layer-selective memory router that retrieves relevant historical K/V states and injects them only into backbone-specific memory-sensitive layers while preserving local attention elsewhere. To reduce reliance on scarce high-quality long-horizon videos and explicit memory-allocation labels, we further propose Cross-Horizon Prediction Matching (CHPM), which uses a privileged long-context reference to supervise the bounded-memory router in prediction space. Across 100 multi-shot evaluation prompts, LayerRecall achieves the best overall results on MemoBench and MovieBench while matching its backbone on VBench-Long, demonstrating stronger long-range recovery without sacrificing local continuity. Qualitative analyses further reveal memory-guided self-correction, whereby initially mismatched local attributes return to their historical appearance without resetting ongoing motion or scene structure. Additional analyses show cross-backbone portability and negligible inference overhead.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Relax Forcing: Relaxed KV-Memory for Consistent Long Video Generation

    Mar 22, 2026Zengqun Zhao, Yanzuo Lu, Ziquan Liu +3Long-Horizon Video GenerationAutoregressive Video Generation

  2. Recast the Past: Stable Long Video Generation with Full Context Memory

    Oct 20, 2026Yukuo Ma, Cong Liu, Junke Wang +4Long-Horizon Video GenerationMemory-Augmented Video Generation

  3. Echo-Forcing: A Scene Memory Framework for Interactive Long Video Generation

    May 15, 2026Mingqiang Wu, Weilun Feng, Zhefeng Zhang +8Video Diffusion ModelsLong-Horizon Video Generation