FrameFold: Response-Guided KV Cache Consolidation for Autoregressive Long Video Generation
Abstract
In autoregressive video generation, retaining all historical key-value (KV) states increases memory usage and per-step attention costs as videos grow longer. A fixed cache budget bounds these costs but raises the challenge of preserving historical content that supports consistent, high-quality generation. Existing methods control cache size through history selection or consolidation, yet deciding what to retain and how to limit the loss of useful content remains a shared challenge. Our analysis shows that spatial queries depend on different historical content and that higher current attention coverage does not necessarily yield better long-video quality. We introduce FrameFold, a training-free KV cache consolidation method that compares the content retrieved by the same recent historical queries before and after merging to guide both representative construction and merge selection. Exploiting temporal redundancy between adjacent historical entries, FrameFold merges their KV states into shared representatives while retaining complete spatial grids. It fits value-merging coefficients in closed form by matching conditional attention responses, then selects the merge with the lowest remaining response distortion. Under matched KV cache budgets, experiments on Self Forcing and Causal Forcing at 30 and 60 seconds and on LongLive at 120 seconds demonstrate improved consistency and visual quality. Continuous eight-minute Self Forcing rollouts further show less quality degradation than the baselines.
Create a lesson
Metadata
- Comments
- 26 pages, 14 figures
Related papers
SPARC: Geometry-Guided Attention Pruning for Long-Horizon Camera-Controlled Video Generation
Shared title terminologycs.CVZesong Yang, Weikai Chen, Liyuan Cui et al.
TempoKV: Predictive KV Cache Quantization for Autoregressive Video Generation
Shared title terminologycs.CVJiahui Hu, Weile Mo, Peiliang Cai et al.
StateWeaver: Multi-Agent Coordination of Story-State Transitions for Long-Horizon Video Generation
Shared title terminologycs.CVModi Jin, Xuying Zhang, Yijing Guo et al.
DeltaRAE: Derivative Tokenization for Long Video Generation
Shared title terminologycs.CVMingzhuo Yu, Shengcao Cao, Chengzhi Mao et al.
LLMVC: Large Language Model-Guided Generative Video Compression
Shared title terminologycs.CVLebin Zhou, Zhenghao Chen, Nam Ling et al.
REEL: Learning to Retrieve, Evaluate, and Evolve Visual Memory for Any Long-Horizon Multi-Shot Video Generation
Shared title terminologycs.CVHang Xu, Guohui Zhang, Xiaoxiao Ma et al.