Key points are not available for this paper at this time.
Multi-query attention (MQA), which only uses a single key-value head, drastically speeds up decoder inference. However, MQA can lead to quality degradation, and moreover it may not be desirable to train a separate model just for faster inference. We (1) propose a recipe for uptraining existing multi-head language model checkpoints into models with MQA using 5% of original pre-training compute, and (2) introduce grouped-query attention (GQA), a generalization of multi-query attention which uses an intermediate (more than one, less than number of query heads) number of key-value heads. We show that uptrained GQA achieves quality close to multi-head attention with comparable speed to MQA.
Building similarity graph...
Analyzing shared references across papers
Loading...
Joshua Ainslie
James Lee-Thorp
Michiel de Jong
Google (United States)
Building similarity graph...
Analyzing shared references across papers
Loading...
Ainslie et al. (Sun,) studied this question.
www.synapsesocial.com/papers/6a0331f975054b3fdf9e262b — DOI: https://doi.org/10.18653/v1/2023.emnlp-main.298
Synapse has enriched 5 closely related papers on similar clinical questions. Consider them for comparative context: