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

Jonathan Cederlund, Axel Berg, William Isaksson, Durmus Alp Emre Acar, Chuteng Zhou +1 more
5/14/2026
cs.CV
transformer-attention

Official code: arm-research/heatkv (4 stars, Python, MIT, last commit 2026-09-11).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

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

40Python, HTMLJun 10, 20262 months agoMIT

Similar Papers

Cite this paper

@article{cederlund2026heatkv,
  title  = {HeatKV: Head-tuned KV-cache Compression for Visual Autoregressive Modeling},
  author = {Jonathan Cederlund and Axel Berg and William Isaksson and Durmus Alp Emre Acar and Chuteng Zhou and Pontus Giselsson},
  year   = {2026},
  eprint = {2605.14877},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.14877v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.14877.svg)](https://codeofpaper.com/paper/2605.14877)

Discussion