dKV Forcing:用可微分 KV cache 分离视频生成的写入与生成表示
dKV Forcing: Separating Generation and Memory Representations through a Differentiable KV Cache
AI 导读
提出因果视频生成训练方法 dKV Forcing,为写入 KV cache 分配独立的低秩残差参数,解决写入与生成共用权重时梯度负对齐的问题。该方法将 cache 保持为持久可微分分页,一次时间遍历即可计算精确梯度,内存峰值降低 11%,常驻内存减少 28%,并免去了 SGF 的第二次重建 pass。
正文 · 原文
Abstract:A causal video generator writes every segment it produces into a key--value (KV) cache, and later segments know the past only through it. Self-rollout training stops the gradient at this cache, and Self Gradient Forcing (SGF) restores it, but applies it to the same weights that generate the current segment. We find that writing and generating are different roles: in a pretrained generator the written KV already differs from the KV used for denoising, and on shared weights the gradient from future reads is negatively aligned with the gradient of generation. We propose dKV Forcing (dKV denotes differentiable KV), which gives the write its own parameters, a low-rank residual used only when a segment enters the cache, and trains them with the gradient of the later segments that read what they wrote. Opening this gradient through the cache in common use exhausts GPU memory. We trace this to checkpoint replay re-writing the cache, not to the gradient path, which removes the need for the second reconstruction pass of SGF. dKV Forcing keeps the cache as persistent differentiable pages and computes the exact gradient in one temporal traversal, with an $11\%$ lower memory peak and $28\%$ less resident memory. With pages that store hidden states, it trains 15\,s clips on which the two-pass reconstruction runs out of memory. Trained on 5\,s clips, dKV Forcing reaches the highest VBench-Long quality score at 60\,s and 240\,s and outperforms SGF by $3.6$ and $6.1$ points of aesthetic quality, with a higher dynamic degree.
| Subjects: | Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2611.01648 [cs.CV] |
| (or arXiv:2611.01648v2 [cs.CV] for this version) | |
| https://doi.org/10.48550/arXiv.2611.01648 arXiv-issued DOI via DataCite |
Submission history
From: Zhiqi Li [view email]
[v1]
Sun, 1 Nov 2026 06:53:33 UTC (23,312 KB)
[v2]
Fri, 20 Nov 2026 07:22:46 UTC (14,997 KB)
来源:arXiv cs.AI · arxiv.org