HeatKV: Head-tuned KV-cache Compression for Visual Autoregressive Modeling

arXiv:2605.14877 · cs.CV · Submitted 2026-05-14 · Read on arXiv

cs.CV

Submitted: 2026-05-14

Updated: 2026-11-29

Comments: Accepted at NeurIPS 2026. Code: https://github.com/arm-research/heatkv

Code: https://github.com/arm-research/heatkv

License: http://creativecommons.org/licenses/by/4.0/

The gist: Visual Autoregressive (VAR) models have recently demonstrated impressive image generation quality while maintaining low latency.

Terminology

Abstract

Visual Autoregressive (VAR) models have recently demonstrated impressive image generation quality while maintaining low latency. However, they suffer from severe KV-cache memory constraints, often requiring gigabytes of memory per generated image. We introduce HeatKV, a novel compression method that adapts cache allocation in each head based on its attention to previously generated scales. Using a small offline calibration set, the attention heads are ranked according to their attention scores over prior scales. Based on this ranking, we construct a static pruning schedule tailored to a given memory budget. Applied to the Infinity-2B model, HeatKV achieves 2 times higher compression ratio in memory allocation for KV cache compared to existing methods, while maintaining similar or better image fidelity, prompt alignment and human perception score. Our method achieves a new state-of-the-art (SOTA) for VAR model KV-cache compression, showcasing the effectiveness of fine-grained, head-specific cache allocation. Code and calibration script available at https://github.com/arm-research/heatkv.

Sources

Related papers