Guide-linked quiz · Medium Level
Grouped-Query Attention Quiz
Review how grouped-query attention shares key/value heads, reduces generation-time cache costs, and can be obtained from existing checkpoints.
Question 1 of 8
In Grouped-Query Attention, what is shared among a group of query heads?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- In Grouped-Query Attention, what is shared among a group of query heads?
- The key and value heads
- The output projection only
- The input embeddings
- The learning rate
- GQA is best described as a middle ground between which two extremes?
- Convolution and attention
- Full multi-head attention and multi-query attention
- FP32 and FP8 precision
- Encoder-only and decoder-only models
- What part of inference does GQA primarily make cheaper?
- Tokenization of the prompt
- The training loss computation
- The KV cache memory and its bandwidth during generation
- The final softmax over the vocabulary
- If a model has 32 query heads and 8 KV groups, the KV cache is reduced by roughly what factor?
- About 32x
- About 2x
- No reduction
- About 4x
- What quality/speed tradeoff did the GQA paper report in its experiments?
- Quality close to MHA with inference speed closer to MQA
- Lower quality and slower inference than both
- Exactly the same latency and quality for every model
- A result only on image classification
- How are existing multi-head models often converted to GQA?
- By deleting all attention layers
- By a short 'uptraining' step from the existing checkpoint
- By switching to a different tokenizer
- They cannot be converted at all
- Which task families did the GQA paper evaluate?
- Image segmentation and object detection
- Speech synthesis and speaker verification
- Language modeling and machine translation
- Molecular generation and toxicity prediction
- How much of the original pretraining compute did the GQA paper report using for its uptraining recipe?
- About 50%
- About 100%
- No additional training compute
- About 5%
Keep testing yourself
More quizzes picked for your level.