Skip to content
NewA calmer, faster ZeroHour

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

Hugging Face daily papersby Vishesh Tripathi, Abhay Kumar, Ramsha Khan ()1 min read2 · 1 read
AI summary · glm-5.3Summaries by Vani AI

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.

Key facts
  • 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.
Explain this AI news with Vani AIWhat was announced, what is new and why it matters, in a new chat

From the original article

1 min read at huggingface.co

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.

Hugging Face daily papers

By Vishesh Tripathi, Abhay Kumar, Ramsha Khan · huggingface.co

Read the full article at Hugging Face daily papers

A short excerpt; the article and its images belong to the publisher. Summary, key facts and assessment above are AI-written from the article and can be wrong.