FrameFold: Response-Guided KV Cache Consolidation for Autoregressive Long Video Generation

Muyu Liu, Mingming Liu, Hong Gu, Yuyao Zhang, Qin Lu
10/10/2026
cs.CV

No confident code implementation found for this paper.

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{liu2026framefold,
  title  = {FrameFold: Response-Guided KV Cache Consolidation for Autoregressive Long Video Generation},
  author = {Muyu Liu and Mingming Liu and Hong Gu and Yuyao Zhang and Qin Lu},
  year   = {2026},
  eprint = {2610.14568},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.14568v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.14568.svg)](https://codeofpaper.com/paper/2610.14568)

Discussion