NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

Jonathan Cederlund, Axel Berg, Durmus Alp Emre Acar, Chuteng Zhou, Pontus Giselsson

NeurIPS page · OpenReview · Open on the map

Category: Diffusion & Image Generation › Visual Content Generation and Editing · Type: new method · Keywords: visual autoregressive modeling, KV-cache compression, attention head ranking, memory efficiency, image generation

Summary

HeatKV is a head-tuned KV-cache compression method that adapts cache allocation per attention head to achieve a 2× higher compression ratio for Visual Autoregressive models while preserving image quality.

Explained to a 5-year-old

HeatKV is a trick that helps picture-making computers use less memory. It looks at which parts of the picture the computer pays most attention to and stores less information for the less important parts. This lets the computer make pictures faster and with less memory. It works especially well for big picture models. It keeps the pictures looking good.

Explained to a 5-year-old, longer

Visual autoregressive models are computer programs that draw pictures one piece at a time, like building a puzzle. While they make beautiful images, they need a lot of memory to remember what they have already drawn. This memory is called a KV-cache and can take up many gigabytes for each picture. HeatKV is a new idea that tries to use less of that memory without hurting the picture quality. It looks at how much each part of the model focuses on different pieces of the picture. By ranking these focuses, it decides which parts of the memory can be stored more compactly. The method builds a simple plan that cuts memory for less important parts while keeping important details. This plan is created once using a small set of example pictures. When the model generates a new picture, it follows the plan to store only what is needed. As a result, the model can work faster and needs less memory on the computer. Tests show that the pictures still look good, match prompts, and are judged well by people. Overall, HeatKV makes it possible to run large picture models on smaller machines.

For a technical reader

Visual Autoregressive (VAR) models generate images sequentially, requiring a KV-cache to store key-value pairs from each generation step. Existing compression methods allocate cache uniformly across attention heads, which is inefficient because some heads contribute more to the output. HeatKV introduces a head-tuned compression scheme that ranks heads by their attention scores on a small calibration set and builds a static pruning schedule to allocate memory proportionally. When applied to the Infinity-2-B model, the approach achieves a 2× higher compression ratio while preserving image fidelity, prompt alignment, and human perception scores. This enables deploying large VAR models on hardware with limited memory without retraining the whole model.

Problem

Visual Autoregressive models generate images with high quality but require large KV-cache memory, often gigabytes per image, limiting practical deployment.

Method

The approach ranks attention heads by their attention scores over prior generated scales using a small calibration set, then constructs a static pruning schedule that allocates less memory to less important heads while respecting a given memory budget.

Results

The approach achieves a 2× higher compression ratio in KV-cache memory allocation compared to existing methods while maintaining similar or better image fidelity, prompt alignment, and human perception scores.

Contributions

It introduces a fine-grained, head-specific cache allocation strategy and a static pruning schedule that adapts to a memory budget, delivering state-of-the-art compression for VAR models.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction