Megadose AI progress, ranked daily.

Virtual Head Attention

· HF Daily Papers ·
The authors report better benchmark scores with up to four times less KV cache and lower training and prefill compute.

VHA uses two linear mixing operations that fold into existing projections at inference, allowing it to reuse standard GQA inference optimizations. Across four model scales, it beat the GQA baseline while cutting KV cache by four times for dense models and twice for the MoE model. Training and prefill FLOPs fell 7.9% in the reported 1.7B-model test at 4K context. In a separate matched long-context comparison, VHA scored 84.4 on RULER versus GQA’s 73.0, using two rather than four KV heads in full-attention layers.

HF Daily Papers' note

score 5

Categories: Research