mlsanityData to 7 Oct 2026

Head-Aware Key-Value Compression for Efficient Autoregressive Image Generation

arXiv 2605.20600 ↗First posted 20 May 2026cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

Autoregressive (AR) visual generation has achieved remarkable performance but suffers from high memory usage and low throughput, as it requires caching previously generated visual tokens. Recent research has shown that retaining only a few lines of cache tokens can maintain high-quality images while significantly reducing memory usage and improving throughput. However, these methods allocate a fixed budget to each attention head, overlooking the heterogeneity among attention heads, leading to suboptimal memory allocation. In this paper, we observe that attention heads across different layers exhibit diverse attention patterns, where some heads focus on local neighborhoods while others capture broader contextual dependencies. Based on this insight, we propose a novel head-aware key-value (KV) cache compression framework for autoregressive image generation, called HeadKV, which assigns smaller budgets to locality-biased heads and larger budgets to heads with broader attention. A key challenge lies in identifying the type of each attention head to guide cache compression. We further observe that, within the same layer, each head exhibits consistent attention patterns across token positions, i.e., a head's behavior for early tokens remains consistent with that for later tokens. This insight suggests that head types can be identified during the early stage and reused for KV compression throughout generation. Its advantage is that it requires no additional training or dataset-level statistics and generalizes seamlessly across different inputs. Moreover, we design a Stratified Token Eviction strategy to effectively preserve long-range information. Extensive experiments demonstrate its effectiveness across multiple autoregressive image generation models.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 35 of its 39 references that are in the map. First posted on arXiv 20 May 2026.

Builds on

35 of 39 references.

References · 35

  1. 2017Attention Is All You Needcited by 59,932
  2. 2023GPT-4 Technical Reportcited by 18,132
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2024The Llama 3 Herd of Modelscited by 14,192
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  6. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  7. 2020Taming Transformers for High-Resolution Image Synthesiscited by 3,229
  8. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  9. 2019Generating Diverse High-Fidelity Images with VQ-VAE-2cited by 1,376
  10. 2023GenEval: An Object-Focused Framework for Evaluating Text-to-Image Alignmentcited by 946
  11. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  12. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
23 more
  1. 2025Janus-Pro: Unified Multimodal Understanding and Generation with Data and Model Scalingcited by 787
  2. 2024Autoregressive Model Beats Diffusion: Llama for Scalable Image Generationcited by 760
  3. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
  4. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 517
  5. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
  6. 2024ELLA: Equip Diffusion Models with LLM for Enhanced Semantic Alignmentcited by 455
  7. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 420
  8. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 283
  9. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inferencecited by 230
  10. 2024Lumina-mGPT: Illuminate Flexible Photorealistic Text-to-Image Generation with Multimodal Generative Pretrainingcited by 148
  11. 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Modelscited by 122
  12. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoningcited by 96
  13. 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compressioncited by 84
  14. 2025KeyDiff: Key Similarity-Based KV Cache Eviction for Long-Context LLM Inference in Resource-Constrained Environmentscited by 49
  15. 2024D2O: Dynamic Discriminative Operations for Efficient Long-Context Inference of Large Language Modelscited by 30
  16. 2025PolaFormer: Polarity-aware Linear Attention for Vision Transformerscited by 30
  17. 2025CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspectivecited by 28
  18. 2025Grouped Speculative Decoding for Autoregressive Image Generationcited by 17
  19. 2024LG-VQ: Language-Guided Codebook Learningcited by 10
  20. 2025Science Across Languages: Assessing LLM Multilingual Translation of Scientific Paperscited by 8
  21. 2025Towards Improved Text-Aligned Codebook Learning: Multi-Hierarchical Codebook-Text Alignment with Long Textcited by 4
  22. 2025Autoregressive Image Generation Needs Only a Few Lines of Cached Tokenscited by 2
  23. 2025Improved Masked Image Generation with Knowledge-Augmented Token Representationscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2025SSD: Spatial-Semantic Head Decoupling for Efficient Autoregressive Image Generation
  2. 2025Head-Aware KV Cache Compression for Efficient Visual Autoregressive Modeling
  3. 2026HACK++: Towards More Effective Head-Aware Key-Value Compression for Efficient Visual Autoregressive Modeling
  4. 2026HeatKV: Head-tuned KV-cache Compression for Visual Autoregressive Modeling
  5. 2026Head Forcing: Long Autoregressive Video Generation via Head Heterogeneity
  6. 2026DensityKV: Density-Guided KV Cache Compression for Long Video Generation
  7. 2026Forcing-KV: Hybrid KV Cache Compression for Efficient Autoregressive Video Diffusion Models
  8. 2025Visual Autoregressive Transformers Must Use Omega(n2 d) Memory