What to Cache for Consistent Autoregressive Video Generation
Yishan Huang, Xiaoxi Liang, Haonan An, Jiasheng Zhang, Renlong Chen
原文摘要
In autoregressive video generation, the historical key-value (KV) cache is crucial for long-term visual consistency, yet GPU memory and real-time constraints require it to remain bounded. Between the initial sink and recent window lies middle KV, which spans most of the history during long rollouts yet remains poorly understood, and is typically discarded or selected using online attention or similarity. Through extensive empirical analysis across diverse video generation backbones, we establish that retaining middle KV causally improves long-range consistency and reveal two key findings. (1) Attention to middle KV is broadly distributed rather than concentrated on specific historical frames or prompt-transition boundaries. (2) Middle KV serves as a continuous visual reference whose cached errors also propagate to later frames, so selecting history by similarity to the latest generated state risks reinforcing accumulated visual drift. Based on these findings, we propose SedimentKV, a training-free, content-agnostic KV-cache policy. SedimentKV maintains a bounded KV cache online during unknown-length video rollouts, preserving broad coverage of middle history while favoring earlier visual references with less accumulated drift. Extensive image-to-video and text-to-video evaluations up to 240 seconds across diverse backbones show that SedimentKV consistently improves long-horizon visual consistency while preserving visual quality, motion smoothness, and instruction following.
cs.CV