ZeroHour
Hugging Face daily paperspublished ()ingested Vishesh Tripathi, Abhay Kumar, Ramsha Khan

Grouped Value Attention: Efficient KV Caching via On-Demand Key Reconstruction

infoAI researchimportance 42
AI summary · glm-5.3

Grouped Value Attention stores grouped values and reconstructs content keys via a learned linear map, cutting KV-cache size about 45-47% versus GQA.

GVA stores only grouped values and reconstructs content keys with a learned linear map absorbed into the query at decode time, while a small shared decoupled RoPE channel preserves positional information via a separately cached positional key. At 350M parameters trained on 30B FineWeb-Edu tokens, the 16-dimensional positional variant scores 44.18 average accuracy across five tasks versus 44.36 for GQA and 43.88 for MLA. Custom decoding kernels are in development with an open-source release planned.

  • Replaces per-step key+value storage with grouped values plus on-demand key reconstruction.
  • Reduces persistent cache scalars by ~45-47% relative to matched GQA configurations.
  • Near-GQA accuracy: 44.18 vs 44.36 (GQA) and 43.88 (MLA) across five tasks at 350M scale.
  • Shared decoupled RoPE channel retains positional information; custom decode kernels and open release planned.
Full article184 words · extracted from huggingface.co · click to collapse

The KV cache is a primary bottleneck for Transformer decoding: its memory footprint and cache-read traffic grow with sequence length. Grouped-query attention (GQA) reduces this cost by sharing key-value heads, but still stores both a key and a value at every step. We introduce Grouped Value Attention (GVA), which stores grouped values and reconstructs content keys with a learned linear map. At inference, the map can be absorbed into the query, eliminating the need to materialize content keys in the intended decode path. A small shared decoupled RoPE channel retains positional information through a separately cached positional key. For the configurations studied, this representation reduces persistent cache scalars by approximately 45-47% relative to matched GQA. At the 350M-parameter scale with 30B FineWeb-Edu tokens, the 16-dimensional positional variant reaches 44.18 average accuracy across five tasks, compared with 44.36 for GQA and 43.88 for MLA. These results demonstrate near-GQA benchmark accuracy with a more compact cache representation. To translate this compact representation into faster autoregressive inference, we have developed custom decoding kernels and are currently evaluating their end-to-end inference performance with an open-source release planned soon.

Text extracted automatically; images, tables and formatting may be missing. Original: https://huggingface.co/papers/2609.13285