GTA: Grouped-head latenT Attention
Luoyang Sun, Cheng Deng, Jiwen Jiang, Xinjian Wu, Haifeng Zhang, Lei Chen, Lionel Ni, Jun Wang

TL;DR
GTA introduces a novel attention mechanism that significantly reduces memory and computational costs in large language models by sharing attention maps and compressing value caches, leading to faster inference without performance loss.
Contribution
The paper proposes Grouped-Head LatenT Attention (GTA), a new method that decreases memory and computation in LLMs by sharing attention scores and compressing value caches, enhancing deployment efficiency.
Findings
Reduces attention FLOPs by up to 62.5% compared to Grouped-Query Attention.
Shrinks KV cache size by up to 70%.
Doubles inference speed without sacrificing performance.
Abstract
Attention mechanisms underpin the success of large language models (LLMs), yet their substantial computational and memory overhead poses challenges for optimizing efficiency and performance. A critical bottleneck arises as KV cache and attention computations scale rapidly with text length, challenging deployment on hardware with limited computational and memory resources. We observe that attention mechanisms exhibit substantial redundancy, since the KV cache can be significantly compressed and attention maps across heads display high similarity, revealing that much of the computation and storage is unnecessary. Leveraging these insights, we propose \textbf{G}rouped-Head Laten\textbf{T} \textbf{A}ttention (GTA), a novel attention mechanism that reduces memory usage and computational complexity while maintaining performance. GTA comprises two components: (1) a shared attention map…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
