Virtual Head Attention
Xibo Ding, Guoxia Wang, Jinle Zeng, Jiabin Yang, Sirui Tao, Chao Yang, Dianhai Yu
- Published
- Oct 13, 2026
- Source
- Hugging Face Papers
- URL
- https://huggingface.co/papers/2610.17959
Virtual Head Attention aims to reduce attention memory and compute costs without sacrificing model quality. Across the reported pretraining experiments, it improves on grouped-query attention while reducing KV-cache size by two to four times, depending on the configuration.
Virtual Head Attention introduces lightweight linear query premixing and inter-head postmixing to preserve head diversity with fewer physical attention heads. These operations can be folded into existing projections at inference, leaving a standard two-KV-head grouped-query attention implementation compatible with existing inference optimizations. Across four scales trained for 50 billion tokens at 4K context, the authors report consistent quality gains over their standard GQA baselines, fourfold KV-cache reductions at dense scales, and twofold reductions at the mixture-of-experts scale. They also report 7.9% lower training and prefill FLOPs for the 1.7B configuration; broader long-context and frontier-scale conclusions require evidence beyond the supplied excerpt.