Multi-Head, Multi-Query, Grouped-Query Attention

Why many small heads beat one big one, what heads actually learn, and how MQA/GQA trade attention quality for serving memory.

Content last verified 2026-09.

Lessons

  1. Why Many Heads Beat One
  2. What Heads Actually Learn
  3. MQA and GQA: Sharing Keys and Values

Sources