Semantically Aligned KV Cache Compression for Efficient Agentic Autoregressive Video Generation
Weizhong Huang, Huaijia Kou, Tianyu Xie, Xiawu Zheng, Liujuan Cao
Abstract
Agentic autoregressive video generation combines semantic planning, sequential generation, and visual verification for controllable synthesis. Growing visual histories enlarge the key-value (KV) cache, increasing memory use and attention costs across candidate rollouts. Existing compression methods primarily optimize individual generators without the planner's semantic constraints, risking low priority for states supporting requested attributes or actions. We introduce SemanticKV, a training-free method for semantically aligned KV cache compression. To our knowledge, SemanticKV is the first KV cache compression method for agentic autoregressive video generation that explicitly uses planner-extracted semantic constraints to guide retention. Text cross-attention identifies constraint-related video positions, whose self-attention queries are collected into separate groups. Attention weights are averaged within each group and maximized across groups, giving each cached entry a high score when strongly used by any represented constraint. A single top-k selection retains high-scoring entries under the memory budget, leaving their keys, values, and positions unchanged. For fixed query groups and equal entry costs, this selection minimizes an additive upper bound on worst-group discarded attention. The method operates independently within each candidate without retraining or additional video generations. We evaluate four AR video backbones on three benchmarks for 5-, 30-, and 60-second generation. On Causal Forcing at a compression ratio of 0.7, SemanticKV obtains a VBench Total Score of 84.10, compared with 84.05 for the strongest compressed baseline and 83.99 for Full KV. It achieves a 1.22x speedup over Full KV and reduces KV-cache memory from 6.04 GB to 1.81 GB, a 3.35x reduction.
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
- Comments
- 32 pages, 12 figures
Related papers
Mass Forcing: On-Policy Mass-Aware Distillation for Autoregressive Video Generation
Shared title terminologycs.CVYiyu Li, Fei Wei, Yong Wang et al.
PSC-Gen: Physical Sequence Conditioning for Video Generation via Agentic Visual Planning
Shared title terminologycs.CVWonsik Shin, Jinju Jang, Junhoo Lee et al.
When to Start Denoising? Adaptive Denoising Entry for Generative Video Compression
Shared title terminologycs.CVZifu Zhang, Yuqiao Li, Ding Ding et al.
G-STAR: Group-Scaled Token Capacity for Deeply Compressed Autoregressive Generation
Shared title terminologycs.CVXu Huang, Ye Huang, Xiaotong Li et al.
HandiVid: A High-Quality Dataset for Hand-Driven Interactive Video Generation
Shared title terminologycs.CVChaoyang Zhang, Shaohao Rui, Xiaofeng Mao et al.
SuperFine3D: Efficient Global-Local Recursive Refinement for Extremely Detailed 3D Geometry Generation
Shared title terminologycs.CVLihan Li, Junwei Zhou, Yu-wing Tai