Efficient attention mechanisms for large language models.
Yutao Sun, Zhenyu Li, Yike Zhang, Tengyu Pan, Bowen Dong, Yuyi Guo, Jianyong Wang
Department of Computer Science, Tsinghua University, Beijing 100084, China.
Key points
From the paper's conclusion- In addition, we analyze the incorporation of efficient attention into large-scale pre-trained language models, including both architectures built entirely on efficient attention and hybrid designs that combine local and global components.
Abstract
Transformer-based architectures have become the prevailing backbone of large language models. However, the time and memory complexity of self-attention remains a fundamental obstacle to efficient long-context modeling. To address this limitation, recent research has introduced two principal categories of efficient attention mechanisms. Linear attention methods achieve linear complexity through kernel approximations, recurrent formulations, or fast-weight dynamics, thereby enabling scalable inference with reduced computational overhead. Sparse attention techniques, in contrast, limit attention computation to selected subsets of tokens based on fixed or dynamic strategies, enhancing efficiency while preserving contextual coverage. This survey provides a comprehensive overview of these developments, integrating both algorithmic innovations and hardware-level considerations. In addition, we analyze the incorporation of efficient attention into large-scale pre-trained language models, including both architectures built entirely on efficient attention and hybrid designs that combine local and global components. By aligning theoretical foundations with practical deployment strategies, this work aims to serve as a foundational reference for advancing the design of scalable and efficient language models.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Computational Complexity of Self-Attention Algorithms for Efficient Transformer ArchitecturesComputers · 2026
- Not All Attention Is Equal: A Quantitative Survey of the EEI Trade-offarXiv · 2026
- Orthros: Phase-Aware Heterogeneous Attention for Efficient TransformersarXiv · 2026
- Training-free Context-adaptive Attention for Efficient Long Context Modeling.IEEE transactions on pattern analysis and machine intelligence · 2026
- The Evolution of Attention in Large Language Models: Mechanisms, Trade-offs, and Emerging TrendsarXiv · 2026
- Fast multipole attention: A scalable multilevel attention mechanism for text and images.Neural networks : the official journal of the International Neural Network Society · 2026