arXiv cs.AI· Zhen Wang, Ning Lai, Qingtao Yu·· 12 小时前AI 评分22
CALM:用离线校准的缓存压缩提升视频生成质量
Offline Makes Online Better: Calibrated Cache Compression for Video Generation
AI 导读
CALM 通过离线校准为自回归视频生成的各层各注意力头分配差异化 token 合并比例,在相同显存预算下优于统一合并策略。该方法利用注意力输出误差作为视频质量的轻量代理,离线构建固定的层-头风险图,推理时用动态规划在缓存预算内求解最佳合并比例分配。在三个自回归视频模型上,CALM 将生成视频与原视频的 LPIPS 降低约 21%,并获得更高的视频质量分数。
正文 · 原文
Abstract:Token merging is an effective approach to reducing KV-cache memory consumption in autoregressive video generation by clustering temporally redundant tokens and retaining only a small set of representatives. Existing methods, however, typically apply a uniform merging ratio across all attention layers and heads. We observe that different layers and heads exhibit substantially different yet jointly correlated sensitivities to token merging, and that these sensitivity patterns remain consistent across prompts. Based on this observation, we introduce CALM, a Calibrated Allocation for Layer-Head Merging that uses offline calibration to improve online cache compression. Exhaustively evaluating all possible layer-head allocations is prohibitively expensive. To enable efficient calibration, we show that attention-output error strongly correlates with end-to-end video quality and can therefore serve as a lightweight proxy for allocation risk assessment. We evaluate different allocation strategies using this proxy and construct a fixed layer-head risk map offline. Given a cache budget at inference time, CALM uses dynamic programming to determine the best allocation of merging ratios. Experiments across three different autoregressive video models demonstrate that CALM consistently outperforms uniform token merging under the same memory budget, by reducing the LPIPS to original videos by around 21% with higher video-quality scores.
| Subjects: | Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI); Machine Learning (cs.LG) |
| Cite as: | arXiv:2610.28192 [cs.CV] |
| (or arXiv:2610.28192v1 [cs.CV] for this version) | |
| https://doi.org/10.48550/arXiv.2610.28192 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Zhen Wang [view email]
[v1]
Tue, 20 Oct 2026 13:33:04 UTC (2,614 KB)
来源:arXiv cs.AI · arxiv.org