HeadCast: Casting Attention Heads for Efficient Autoregressive Video Generation
Jinliang Shen, Lianghao Su, Zheming Li, Kang He, ZiLiang Lai, Yanbing Jiang, Chengru Song
Abstract
Autoregressive (AR) video diffusion models have become a promising paradigm for long and streaming video synthesis, but the continuously growing Key-Value (KV) cache makes attention the dominant inference cost, especially at high resolution where each frame contributes many tokens. Existing remedies either evict the cache with coarse heuristics that cause inter-frame flickering, or require model re-training. We propose HeadCast, a training-free, plug-and-play acceleration framework built on the observation that a pre-trained AR model's attention heads exhibit stable, heterogeneous behaviors. After a short warm-up, HeadCast performs a one-time classification at the maximum-noise step that sorts every head into one of four archetypes: Sink, Dummy, Spatial, and Global, and restructures the monolithic KV cache into head-specific pathways. Crucially, it retains the Global heads that preserve the long-range temporal consistency aggressive eviction destroys. Because the Spatial pathway operates on a fixed-size grid, its savings grow with resolution: across state-of-the-art AR models, HeadCast accelerates inference by up to 1.62x at 720P and 1.95x at 1080P, while keeping VBench quality on par with full attention and largely flicker-free. Code is available at https://github.com/sjlgaga/HeadCast .
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
Related papers
SANA-Video 2.0: Hybrid Linear Attention with Attention Residuals for Efficient Video Generation
Shared title terminologycs.CVJunsong Chen, Jincheng Yu, Yitong Li et al.
Ms. Forcing: Efficient Streaming Video Generation with Multi-Scale Patchification and Attention
Shared title terminologycs.CVZekun Li, Xiaoyan Cong, Hongyu Li et al.
LiveVAE: Causal Window Attention Makes Efficient Streaming Video VAE
Shared title terminologycs.CVJiachen An, Sijie Zhao, Le Li et al.
SPARC: Geometry-Guided Attention Pruning for Long-Horizon Camera-Controlled Video Generation
Shared title terminologycs.CVZesong Yang, Weikai Chen, Liyuan Cui et al.
AnyCam: Anything Can Represent Camera for Video Generation
Shared title terminologycs.CVWeijie Lyu, Zhixin Shu, Yuntian Ke et al.
Agentic LongLive: Asynchronous Agentic Memory for Long Video Generation
Shared title terminologycs.CVShaoteng Liu, Shuai Yang, Wei Huang et al.