KV-Cache Management in Visual Autoregressive Models
(2026)Department of Automatic Control
- Abstract
- Visual Autoregressive models (VARs) are a recent class of text-to-image generation models that have achieved state-of-the-art image-generation quality. Compared with diffusion-based models, VARs can generate images much faster, in some settings producing an image in under a second. This speed relies heavily on KV-caching, which introduces a considerable memory overhead, up to 10 GB to generate one image. Previous methods designed to reduce KV-cache in LLMs do not take full advantage of the geometric patterns present in VAR. We introduce HeatKV (Headtuned KV-cache) which leverages the stability of the attention patterns to tune a cache size for each individual head. It uses a small calibration set to define, offline, a pruning schedule... (More)
- Visual Autoregressive models (VARs) are a recent class of text-to-image generation models that have achieved state-of-the-art image-generation quality. Compared with diffusion-based models, VARs can generate images much faster, in some settings producing an image in under a second. This speed relies heavily on KV-caching, which introduces a considerable memory overhead, up to 10 GB to generate one image. Previous methods designed to reduce KV-cache in LLMs do not take full advantage of the geometric patterns present in VAR. We introduce HeatKV (Headtuned KV-cache) which leverages the stability of the attention patterns to tune a cache size for each individual head. It uses a small calibration set to define, offline, a pruning schedule tailored to each attention head. We evaluate HeatKV on image fidelity, prompt alignment, and perceptual quality and compare it with prior methods designed for VAR models. Our method reduces the memory requirement by up to 2× while preserving image fidelity relative to prior methods. Furthermore, using Triton kernels, HeatKV achieves lower inference latency than full-cache FlashAttention baselines. (Less)
Please use this url to cite or link to this publication:
https://lup.lub.lu.se/student-papers/record/9246476
- author
- Cederlund, Jonathan
- supervisor
- organization
- year
- 2026
- type
- H3 - Professional qualifications (4 Years - )
- subject
- report number
- TFRT-6312
- other publication id
- 0280-5316
- language
- English
- id
- 9246476
- date added to LUP
- 2026-08-25 10:37:09
- date last changed
- 2026-08-25 10:37:09
@misc{9246476,
abstract = {{Visual Autoregressive models (VARs) are a recent class of text-to-image generation models that have achieved state-of-the-art image-generation quality. Compared with diffusion-based models, VARs can generate images much faster, in some settings producing an image in under a second. This speed relies heavily on KV-caching, which introduces a considerable memory overhead, up to 10 GB to generate one image. Previous methods designed to reduce KV-cache in LLMs do not take full advantage of the geometric patterns present in VAR. We introduce HeatKV (Headtuned KV-cache) which leverages the stability of the attention patterns to tune a cache size for each individual head. It uses a small calibration set to define, offline, a pruning schedule tailored to each attention head. We evaluate HeatKV on image fidelity, prompt alignment, and perceptual quality and compare it with prior methods designed for VAR models. Our method reduces the memory requirement by up to 2× while preserving image fidelity relative to prior methods. Furthermore, using Triton kernels, HeatKV achieves lower inference latency than full-cache FlashAttention baselines.}},
author = {{Cederlund, Jonathan}},
language = {{eng}},
note = {{Student Paper}},
title = {{KV-Cache Management in Visual Autoregressive Models}},
year = {{2026}},
}