AI Paper Atlas

Research map / Architectures and efficiency / Attention and transformers

GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpoints

Joshua Ainslie, James Lee-Thorp, Michiel de Jong, Yury Zemlyanskiy, Federico Lebrón, Sumit Sanghai

EMNLP 2023Architectures and efficiency › Attention and transformersapproach: Long-context KV and memory attention2,427 citations (OpenAlex)

Google

Read the paperPlace an idea next to itCheck your own paper ↗

10measured effects
6improved
1no clear effect
3hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use GQA-8 instead of MQA (uptrained T5-XXL)T5-XXL · Average over 7 datasetsaverage score: 46.6 -> 47.1Improved
use GQA-8 instead of MQAT5-XXL · Inference time per sampletime (s): 0.24 -> 0.28Hurt
use GQA-8 instead of MHA-XXLT5-XXL · Inference time per sampletime (s): 1.51 -> 0.28Improved
use GQA-8 instead of MHA-XXLT5-XXL · Average over 7 datasetsaverage score: 47.2 -> 47.1Hurt
use uptrained MQA-XXL instead of MHA-LargeT5 · Average and timeaverage score / time: 46.0 -> 46.6 average; 0.37 -> 0.24 sImproved
mean-pool key/value heads instead of selecting first head or random init (ablation)T5-Large uptrained to MQA · CNN, MultiNews, TriviaQAperformanceImproved
uptrain 5% instead of conversion only (ablation)T5-XXL MQA · CNN, MultiNews, TriviaQAperformanceImproved
increase uptraining from 5% to 10% (ablation)T5-XXL MQA and GQA-8 · CNN, MultiNews, TriviaQAperformanceNo clear effect
increase number of GQA groups from 1 to 8 (ablation)GQA-XXL · Inference speedtime per sampleHurt
use uptrained instead of from-scratch MQA (ablation)T5-Large MQA · Training stabilitystabilityImproved

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy