Offline Makes Online Better: Calibrated Cache Compression for Video Generation
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.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI, cs.LG
Related papers
LLMVC: Large Language Model-Guided Generative Video Compression
Shared title terminologycs.CVLebin Zhou, Zhenghao Chen, Nam Ling et al.
StateWeaver: Multi-Agent Coordination of Story-State Transitions for Long-Horizon Video Generation
Shared title terminologycs.CVModi Jin, Xuying Zhang, Yijing Guo et al.
VibeVideoAgent: Closing the Perceptual Loop for Code-Driven Video Generation
Shared title terminologycs.CVXuanyu Zheng, Luoyuan Zhang, Yancheng Long et al.
A Calibration-Referenced Protocol for Measuring Decision Stability under Reference Bank Compression
Shared title terminologycs.CVYiwen Chen, Shengming Yu
SPARC: Geometry-Guided Attention Pruning for Long-Horizon Camera-Controlled Video Generation
Shared title terminologycs.CVZesong Yang, Weikai Chen, Liyuan Cui et al.
DeltaRAE: Derivative Tokenization for Long Video Generation
Shared title terminologycs.CVMingzhuo Yu, Shengcao Cao, Chengzhi Mao et al.