Adaptive Attention Span in Transformers
Not on the map. Why?
Abstract (arXiv)
We propose a novel self-attention mechanism that can learn its optimal attention span. This allows us to extend significantly the maximum context size used in Transformer, while maintaining control over their memory footprint and computational time. We show the effectiveness of our approach on the task of character level language modeling, where we achieve state-of-the-art performances on text8 and enwiki8 by using a maximum context of 8k characters.
Key facts. Cited by 148 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 May 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 42; 2022: 30; 2023: 27; 2024: 18; 2025: 20; 2026: 11.
148 papers.
Sort:
By area:
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,014
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2021A Survey of Transformerscited by 399
- 2021Random Feature Attentioncited by 350
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2021Efficient Training of Audio Transformers with Patchoutcited by 222
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
38 more
- 2022MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognitioncited by 189
- 2021Adaptive Token Sampling For Efficient Vision Transformerscited by 181
- 2025DivPrune: Diversity-based Visual Token Pruning for Large Multimodal Modelscited by 177
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 124
- 2021Lawformer: A Pre-trained Language Model for Chinese Legal Long Documentscited by 115
- 2022Training Language Models with Memory Augmentationcited by 112
- 2021An Attention Free Transformercited by 111
- 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
- 2021Hierarchical Transformers Are More Efficient Language Modelscited by 99
- 2021Finetuning Pretrained Transformers into RNNscited by 94
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2021Sparse is Enough in Scaling Transformerscited by 86
- 2022Cramming: Training a Language Model on a Single GPU in One Daycited by 81
- 2024Transformers Can Do Arithmetic with the Right Embeddingscited by 77
- 2021A Practical Survey on Faster and Lighter Transformerscited by 73
- 2021Making Transformers Solve Compositional Taskscited by 72
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 71
- 2023Bayesian Flow Networkscited by 62
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 62
- 2024FouriScale: A Frequency Perspective on Training-Free High-Resolution Image Synthesiscited by 58
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 51
- 2021Attention, please! A survey of Neural Attention Models in Deep Learningcited by 50
- 2024Text Prompt with Normality Guidance for Weakly Supervised Video Anomaly Detectioncited by 49
- 2022Efficient Long Sequence Modeling via State Space Augmented Transformercited by 37
- 2021When Attention Meets Fast Recurrence: Training Language Models with Reduced Computecited by 34
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 32
- 2021Redesigning the Transformer Architecture with Insights from Multi-particle Dynamical Systemscited by 29
- 2021Mask Attention Networks: Rethinking and Strengthen Transformercited by 28
- 2021GNN-LM: Language Modeling based on Global Contexts via GNNcited by 27
- 2022Efficient Self-supervised Vision Pretraining with Local Masked Reconstructioncited by 27
- 2023Transformer-VQ: Linear-Time Transformers via Vector Quantizationcited by 26
- 2022Learning strides in convolutional neural networkscited by 25
- 2022Towards Lightweight Transformer via Group-wise Transformation for Vision-and-Language Taskscited by 21
- 2023HRVQA: A Visual Question Answering Benchmark for High-Resolution Aerial Imagescited by 21
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budgetcited by 21
- 2024Align-KD: Distilling Cross-Modal Alignment Knowledge for Mobile Vision-Language Model Enhancementcited by 21
- 2021Evolving Attention with Residual Convolutionscited by 20
50 most cited of 148 All 148 (JSON)
- 2026MoSAR: Mixture of Semantic Attention Regimes for Learning Adaptive and Approximable Attention Geometries25 Sep 2026
- 2026StepKV: Step-Aware KV Cache Compression for LLM Agents26 Aug 2026
- 2026TriRoute: Unified Learned Routing for Joint Adaptive Attention, Experts, and KV-Cache Allocation7 Jul 2026
- 2026Depth-Staggered Fibonacci Spacing for Sparse Attention: Static Schedules Beat Learned Dilation and Extrapolate Where Dense Attention Fails26 Jun 2026
- 2026Asymmetric Attention Heads: Structured Head-Wise Context Allocation for Transformer Attention10 Jun 2026
- 2026Transformer-Enhanced Reinforcement Learning: Fundamentals and Applications in Communication Networks26 May 2026
- 2026Compute Where it Counts: Self Optimizing Language Models11 May 2026
- 2026Budgeted Attention Allocation: Cost-Conditioned Compute Control for Efficient Transformers7 May 2026
- 2026LPC-SM: Local Predictive Coding and Sparse Memory for Long-Context Language Modeling12 Mar 2026
- 2026Frequency-Modulated Visual Restoration for Matryoshka Large Multimodal Models11 Mar 2026
- 2026Learning to Forget Attention: Memory Consolidation for Adaptive Compute Reduction12 Feb 2026
- 2025DPAR: Dynamic Patchification for Efficient Autoregressive Visual Generation26 Dec 2025
38 more
- 2025Learning to Focus: Prioritizing Informative Histories with Structured Attention Mechanisms in Partially Observable Reinforcement Learning10 Nov 2025
- 2025Learning to Focus: Focal Attention for Selective and Scalable Transformers10 Nov 2025
- 2025BiSparse-AAS: Bilinear Sparse Attention and Adaptive Spans Framework for Scalable and Efficient Text Summarization31 Oct 2025
- 2025Mirror Speculative Decoding: Breaking the Serial Barrier in LLM Inference15 Oct 2025
- 2025Internal Planning in Language Models: Characterizing Horizon and Branch Awareness28 Sep 2025
- 2025HSGM: Hierarchical Segment-Graph Memory for Scalable Long-Text Semantics17 Sep 2025
- 2025MoGU V2: Toward a Higher Pareto Frontier Between Model Usability and Security8 Sep 2025
- 2025Change of Thought: Adaptive Test-Time Computation17 Jul 2025
- 2025ALCo-FM: Adaptive Long-Context Foundation Model for Accident Prediction10 Jul 2025
- 2025A statistical physics framework for optimal learning10 Jul 2025
- 2025Don't Pay Attention12 Jun 2025
- 2025Lost in Transmission: When and Why LLMs Fail to Reason Globally13 May 2025
- 2025AttentionDrop: A Novel Regularization Method for Transformer Models16 Apr 2025
- 2025L2M: Mutual Information Scaling Law for Long-Context Language Modeling6 Mar 2025
- 2025DivPrune: Diversity-based Visual Token Pruning for Large Multimodal Models4 Mar 2025
- 2025A Composable Multimodal Framework for cine CMR-Text-Driven Prediction of Heart Failure Outcomes23 Feb 2025
- 2025Enhancing RWKV-based Language Models for Long-Sequence Text Generation21 Feb 2025
- 2025Efficient Language Modeling for Low-Resource Settings with Hybrid RNN-Transformer Architectures2 Feb 2025
- 2025Dynamics of Spontaneous Topic Changes in Next Token Prediction with Self-Attention10 Jan 2025
- 2024Multi-LLM Text Summarization20 Dec 2024
- 2024Advances in Transformers for Robotic Applications: A Review13 Dec 2024
- 2024Align-KD: Distilling Cross-Modal Alignment Knowledge for Mobile Vision-Language Model Enhancement2 Dec 2024
- 2024Inf-MLLM: Efficient Streaming Inference of Multimodal Large Language Models on a Single GPU11 Sep 2024
- 2024Pre-Trained Language Models for Keyphrase Prediction: A Review2 Sep 2024
- 2024HAT: History-Augmented Anchor Transformer for Online Temporal Action Localization12 Aug 2024
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformers24 Jun 2024
- 2024"Forgetting" in Machine Learning and Beyond: A Survey31 May 2024
- 2024Transformers Can Do Arithmetic with the Right Embeddings27 May 2024
- 2024Dynamic Context Adaptation and Information Flow Control in Transformers: Introducing the Evaluator Adjuster Unit and Gated Residual Connections22 May 2024
- 2024Whole Genome Transformer for Gene Interaction Effects in Microbiome Habitat Specificity9 May 2024
- 2024Text Prompt with Normality Guidance for Weakly Supervised Video Anomaly Detection12 Apr 2024
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget7 Apr 2024
- 2024FouriScale: A Frequency Perspective on Training-Free High-Resolution Image Synthesis19 Mar 2024
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inference14 Mar 2024
- 2024xT: Nested Tokenization for Larger Context in Large Images4 Mar 2024
- 2024Exploiting Adaptive Contextual Masking for Aspect-Based Sentiment Analysis21 Feb 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
- 2023Sample-based Dynamic Hierarchical Transformer with Layer and Head Flexibility via Contextual Bandit5 Dec 2023
50 newest of 148 All 148 (JSON)
- 2022Fast Inference from Transformers via Speculative Decodingcited by 1,615
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 124
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budgetcited by 21
- 2025Mirror Speculative Decoding: Breaking the Serial Barrier in LLM Inferencecited by 1
- 2026Compute Where it Counts: Self Optimizing Language Modelscited by 0
- 2026Compute Where it Counts: Self Optimizing Language Models11 May 2026
- 2025Mirror Speculative Decoding: Breaking the Serial Barrier in LLM Inference15 Oct 2025
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget7 Apr 2024
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inference14 Mar 2024
- 2022Fast Inference from Transformers via Speculative Decoding30 Nov 2022
- 2023Bayesian Flow Networkscited by 62
- 2024FouriScale: A Frequency Perspective on Training-Free High-Resolution Image Synthesiscited by 58
- 2024FouriScale: A Frequency Perspective on Training-Free High-Resolution Image Synthesis19 Mar 2024
- 2023Bayesian Flow Networks14 Aug 2023
- 2026StepKV: Step-Aware KV Cache Compression for LLM Agentscited by 0
- 2026StepKV: Step-Aware KV Cache Compression for LLM Agents26 Aug 2026
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,089
- 2022Efficiently Scaling Transformer Inferencecited by 529
- 2021ConViT: Improving Vision Transformers with Soft Convolutional Inductive Biasescited by 484
- 2021A Survey of Transformerscited by 399
- 2021Random Feature Attentioncited by 350
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2021XCiT: Cross-Covariance Image Transformerscited by 335
- 2021Efficient Training of Audio Transformers with Patchoutcited by 222
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2022MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognitioncited by 189
- 2021Adaptive Token Sampling For Efficient Vision Transformerscited by 181
12 most cited of 130 All 130 (JSON)
- 2026MoSAR: Mixture of Semantic Attention Regimes for Learning Adaptive and Approximable Attention Geometries25 Sep 2026
- 2026Depth-Staggered Fibonacci Spacing for Sparse Attention: Static Schedules Beat Learned Dilation and Extrapolate Where Dense Attention Fails26 Jun 2026
- 2026Asymmetric Attention Heads: Structured Head-Wise Context Allocation for Transformer Attention10 Jun 2026
- 2026Transformer-Enhanced Reinforcement Learning: Fundamentals and Applications in Communication Networks26 May 2026
- 2026Budgeted Attention Allocation: Cost-Conditioned Compute Control for Efficient Transformers7 May 2026
- 2026LPC-SM: Local Predictive Coding and Sparse Memory for Long-Context Language Modeling12 Mar 2026
- 2026Learning to Forget Attention: Memory Consolidation for Adaptive Compute Reduction12 Feb 2026
- 2025DPAR: Dynamic Patchification for Efficient Autoregressive Visual Generation26 Dec 2025
- 2025Learning to Focus: Focal Attention for Selective and Scalable Transformers10 Nov 2025
- 2025BiSparse-AAS: Bilinear Sparse Attention and Adaptive Spans Framework for Scalable and Efficient Text Summarization31 Oct 2025
- 2025Internal Planning in Language Models: Characterizing Horizon and Branch Awareness28 Sep 2025
- 2025HSGM: Hierarchical Segment-Graph Memory for Scalable Long-Text Semantics17 Sep 2025
12 newest of 130 All 130 (JSON)