← Return to Report
📚 All Topic Sources
↗ Open Official Primary Source
⬇ Download Reference Note (.txt)
Ainslie et al. (2023) — GQA: Training Generalized Multi-Query Transformer Models (arXiv:2305.13245, R18)
Primary Reference Extract & Verification Note — Consulted 15 November 2026 Official URL: https://arxiv.org/abs/2305.13245 1. Parametrized Query-to-KV Head Sharing Ratio: Grouped-Query Attention (GQA) partitions H_Q query heads into G groups, where each group shares a single Key and Value head projection (interpolating between Multi-Head Attention at G = H_Q and Multi-Query Attention at G = 1). This reduces KV-cache memory capacity and HBM bandwidth traffic during autoregressive decode by the exact architecture-dependent factor H_Q / G. 2. Architecture-Dependent Compression Factor: An 8x KV-cache reduction occurs specifically when eight query heads share one KV group (H_Q / G = 8, as in architectures with 64 query heads and 8 KV heads), rather than serving as a universal constant across all GQA models.