arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2603.27469cs.LGcs.AI
收藏

KV缓存量化用于自驱动视频生成:一项33种方法的实证研究

KV Cache Quantization for Self-Forcing Video Generation: A 33-Method Empirical Study

University of California, San Diego(加利福尼亚大学圣迭戈分校)

Suraj Ranganath, Vaishak Menon, Anish Patnaik

AI总结:

本文通过33种量化和缓存策略变体,研究自驱动视频生成中KV缓存压缩的影响,发现FlowCache启发的INT4软剪枝方法在压缩率和内存使用上表现优异,但高保真方法存在运行时或内存成本问题,需结合实际需求选择。

摘要:

自驱动视频生成通过反复将生成内容作为上下文扩展短视界视频模型,但此扩展路径立即暴露了系统瓶颈:键值(KV)缓存随 rollout 长度增长,因此更长的视频不仅需要更好的生成质量,还需要显著更好的内存行为。本文在基于 Wan2.1 的自驱动堆栈上对自驱动视频生成的 KV 缓存压缩进行了全面的实证研究。我们的研究涵盖了 33 种量化和缓存策略变体、610 个提示级观察和 63 个基准级总结,跨两个评估设置:MovieGen(单次 10 秒生成)和 StoryEval(更长的叙事稳定性)。我们联合评估了峰值 VRAM、运行时间、实际压缩率、VBench 图像质量、BF16 参考的保真度(SSIM、LPIPS、PSNR)以及终端漂移。三个发现是稳健的。首先,最强的实用操作区域是受 FlowCache 启发的软剪枝 INT4 调整,其压缩率可达 5.42-5.49 倍,同时将峰值 VRAM 从 19.28 GB 降低到约 11.7 GB,仅带来适度的运行时间开销。第二,最高保真压缩方法,尤其是 PRQ_INT4 和 QUAROT_KV_INT4,不是最佳部署选择,因为它们在运行时或内存成本上保存质量。第三,名义压缩本身并不足够:几种方法缩小了 KV 存储,但仍超过 BF16 峰值 VRAM,因为当前的整合在注意和刷新阶段重建或保留了大 BF16 缓冲区。结果是一个基准工具、分析工作流程和实证地图,明确了哪些 KV 缓存想法是当前实用的,哪些是更好的内存整合研究方向。代码、数据产品和演示仪表板可在 https://github.com/suraj-ranganath/kv-quant-longhorizon/ 上获取。

英文摘要:

Self-forcing video generation extends a short-horizon video model to longer rollouts by repeatedly feeding generated content back in as context. This scaling path immediately exposes a systems bottleneck: the key-value (KV) cache grows with rollout length, so longer videos require not only better generation quality but also substantially better memory behavior. We present a comprehensive empirical study of KV-cache compression for self-forcing video generation on a Wan2.1-based Self-Forcing stack. Our study covers 33 quantization and cache-policy variants, 610 prompt-level observations, and 63 benchmark-level summaries across two evaluation settings: MovieGen for single-shot 10-second generation and StoryEval for longer narrative-style stability. We jointly evaluate peak VRAM, runtime, realized compression ratio, VBench imaging quality, BF16-referenced fidelity (SSIM, LPIPS, PSNR), and terminal drift. Three findings are robust. First, the strongest practical operating region is a FlowCache-inspired soft-prune INT4 adaptation, which reaches 5.42-5.49x compression while reducing peak VRAM from 19.28 GB to about 11.7 GB with only modest runtime overhead. Second, the highest-fidelity compressed methods, especially PRQ_INT4 and QUAROT_KV_INT4, are not the best deployment choices because they preserve quality at severe runtime or memory cost. Third, nominal compression alone is not sufficient: several methods shrink KV storage but still exceed BF16 peak VRAM because the current integration reconstructs or retains large BF16 buffers during attention and refresh stages. The result is a benchmark harness, analysis workflow, and empirical map of which KV-cache ideas are practical today and which are promising research directions for better memory integration. Code, data products, and the presentation dashboard are available at https://github.com/suraj-ranganath/kv-quant-longhorizon/.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑