Explain it in 60 seconds
Grouped-query attention
Machine Learning · LLM Fundamentals · Intermediate
What is grouped-query attention, and why do modern LLMs use it?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Multi-head attention: each head has its own keys and values.
- Multi-query attention: all heads share one key/value set.
- Grouped-query: heads share keys/values in groups.
- Shrinks KV cache, speeding inference and allowing longer contexts.
- Small quality cost compared with full multi-head.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.