Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformers
Not on the map. Why?
Cited by 24 in Efficient LLM inference and serving, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
Autoregressive Transformers adopted in Large Language Models (LLMs) are hard to scale to long sequences. Despite several works trying to reduce their computational cost, most of LLMs still adopt attention layers between all pairs of tokens in the sequence, thus incurring a quadratic cost. In this study, we present a novel approach that dynamically prunes contextual information while preserving the model's expressiveness, resulting in reduced memory and computational requirements during inference. Our method employs a learnable mechanism that determines which uninformative tokens can be dropped from the context at any point across the generation process. By doing so, our approach not only addresses performance concerns but also enhances interpretability, providing valuable insight into the model's decision-making process. Our technique can be applied to existing pre-trained models through a straightforward fine-tuning process, and the pruning strength can be specified by a sparsity parameter. Notably, our empirical findings demonstrate that we can effectively prune up to 80% of the context without significant performance degradation on downstream tasks, offering a valuable tool for mitigating inference costs. Our reference implementation achieves up to 2× increase in inference throughput and even greater memory savings.
Key facts. Cited by 67 papers in the map (data through 14 Oct 2026). Builds on 52 of its 66 references that are in the map. First posted on arXiv 25 May 2023.
Builds on
52 of 66 references.
References · 52
- 2017Attention Is All You Needcited by 60,361
- 2023GPT-4 Technical Reportcited by 18,396
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
- 2020Longformer: The Long-Document Transformercited by 3,413
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
38 more
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2022GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformerscited by 1,919
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2020Reformer: The Efficient Transformercited by 1,668
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,488
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,386
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,254
- 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,121
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2022Token Merging: Your ViT But Fastercited by 1,021
- 2016The LAMBADA dataset: Word prediction requiring a broad discourse contextcited by 992
- 2020On Layer Normalization in the Transformer Architecturecited by 922
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scalecited by 906
- 2020Efficient Transformers: A Surveycited by 790
- 2023OpenAssistant Conversations -- Democratizing Large Language Model Alignmentcited by 721
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
- 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
- 2020Hopfield Networks is All You Needcited by 475
- 2021A Survey of Transformerscited by 401
- 2022Optimal Brain Compression: A Framework for Accurate Post-Training Quantization and Pruningcited by 322
- 2019Sparse Sequence-to-Sequence Modelscited by 170
- 2020Funnel-Transformer: Filtering out Sequential Redundancy for Efficient Language Processingcited by 162
- 2022A Fast Post-Training Pruning Framework for Transformerscited by 162
- 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 141
- 2021Learned Token Pruning for Transformerscited by 139
- 2020Self-Attention Attribution: Interpreting Information Interactions Inside Transformercited by 125
- 2020Data Movement Is All You Need: A Case Study on Optimizing Transformerscited by 108
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2018Tensor2Tensor for Neural Machine Translationcited by 85
- 2020O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformerscited by 83
- 2020Masked Language Modeling for Proteins via Linearly Scalable Long-Context Transformerscited by 49
- 2021H-Transformer-1D: Fast One-Dimensional Hierarchical Attention for Sequencescited by 47
50 most cited of 52 All 52 (JSON)
Built on by
Citing papers per year: 2023: 5; 2024: 31; 2025: 22; 2026: 9.
67 papers.
Sort:
By area:
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
- 2024Personal LLM Agents: Insights and Survey about the Capability, Efficiency and Securitycited by 260
- 2024A Survey on Efficient Inference for Large Language Modelscited by 205
- 2023Efficient Large Language Models: A Surveycited by 186
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
- 2024Transformers are Multi-State RNNscited by 120
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 116
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 102
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 95
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 86
38 more
- 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inferencecited by 70
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 52
- 2025Token Reduction Should Go Beyond Efficiency in Generative Models -- From Vision, Language to Multimodalitycited by 50
- 2024A Survey on Transformer Compressioncited by 46
- 2024Post-Training Sparse Attention with Double Sparsitycited by 45
- 2024Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengthscited by 44
- 2024NACL: A General and Effective KV Cache Eviction Framework for LLMs at Inference Timecited by 43
- 2025CITER: Collaborative Inference for Efficient Large Language Model Decoding with Token-Level Routingcited by 30
- 2025Cognitive Memory in Large Language Modelscited by 29
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 28
- 2024Selective Attention Improves Transformercited by 26
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budgetcited by 23
- 2024HSR-Enhanced Sparse Attention Accelerationcited by 19
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scopecited by 13
- 2024E2LLM: Encoder Elongated Large Language Models for Long-Context Understanding and Reasoningcited by 13
- 2024In-context KV-Cache Eviction for LLMs via Attention-Gatecited by 13
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Computecited by 12
- 2024Fine-Grained Modeling of Narrative Context: A Coherence Perspective via Retrospective Questionscited by 11
- 2025ToMoE: Converting Dense Large Language Models to Mixture-of-Experts through Dynamic Structural Pruningcited by 10
- 2025PowerAttention: Exponentially Scaling of Receptive Fields for Effective Sparse Attentioncited by 9
- 2024A2SF: Accumulative Attention Scoring with Forgetting Factor for Token Pruning in Transformer Decodercited by 8
- 2024CORM: Cache Optimization with Recent Message for Large Language Model Inferencecited by 7
- 2024A-VL: Adaptive Attention for Large Vision-Language Modelscited by 7
- 2024Coarse-to-Fine Highlighting: Reducing Knowledge Hallucination in Large Language Modelscited by 7
- 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defensecited by 7
- 2025EfficientLLaVA:Generalizable Auto-Pruning for Large Vision-language Modelscited by 7
- 2024QCQA: Quality and Capacity-aware grouped Query Attentioncited by 6
- 2025Position: AI Scaling: From Up to Down and Outcited by 5
- 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniquescited by 5
- 2025Saliency-driven Dynamic Token Pruning for Large Language Modelscited by 5
- 2025Adaptive Computation Pruning for the Forgetting Transformercited by 5
- 2025FastFLUX: Pruning FLUX with Block-wise Replacement and Sandwich Trainingcited by 5
- 2023Navigating Scaling Laws: Compute Optimality in Adaptive Model Trainingcited by 4
- 2024CItruS: Chunked Instruction-aware State Eviction for Long Sequence Modelingcited by 4
- 2024EMS: Adaptive Evict-then-Merge Strategy for Head-wise KV Cache Compression Based on Global-Local Importancecited by 4
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2025Token Level Routing Inference System for Edge Devicescited by 4
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inferencecited by 4
50 most cited of 67 All 67 (JSON)
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026Resource-Efficient Pruning for Transformer via Low-Rank Importance Estimation25 Aug 2026
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2026Prompting Complexity: Shortest Prompts for Texts and Behaviors in LLMs7 Jul 2026
- 2026Focus Session: Hardware and Software Techniques for Accelerating Multimodal Foundation Models23 Apr 2026
- 2026Resource Consumption Threats in Large Language Models17 Mar 2026
- 2026Parallelization Strategies for Dense LLM Deployment: Navigating Through Application-Specific Tradeoffs and Bottlenecks5 Mar 2026
- 2026Multi-Head Low-Rank Attention2 Mar 2026
- 2026EMFormer: Efficient Multi-Scale Transformer for Accumulative Context Weather Forecasting1 Feb 2026
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inference19 Dec 2025
- 2025ActVAR: Activating Mixtures of Weights and Tokens for Efficient Visual Autoregressive Generation17 Nov 2025
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction23 Oct 2025
38 more
- 2025Efficient Large Language Models with Zero-Shot Adjustable Acceleration1 Sep 2025
- 2025High-Layer Attention Pruning with Rescaling2 Jul 2025
- 2025FastFLUX: Pruning FLUX with Block-wise Replacement and Sandwich Training10 Jun 2025
- 2025Exchangeability in Neural Network and its Application to Dynamic Pruning2 Jun 2025
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May 2025
- 2025Token Reduction Should Go Beyond Efficiency in Generative Models -- From Vision, Language to Multimodality23 May 2025
- 2025Token Level Routing Inference System for Edge Devices10 Apr 2025
- 2025Adaptive Computation Pruning for the Forgetting Transformer9 Apr 2025
- 2025Saliency-driven Dynamic Token Pruning for Large Language Models6 Apr 2025
- 2025Cognitive Memory in Large Language Models3 Apr 2025
- 2025EfficientLLaVA:Generalizable Auto-Pruning for Large Vision-language Models19 Mar 2025
- 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniques14 Mar 2025
- 2025PowerAttention: Exponentially Scaling of Receptive Fields for Effective Sparse Attention5 Mar 2025
- 2025FlexiDiT: Your Diffusion Transformer Can Easily Generate High-Quality Samples with Less Compute27 Feb 2025
- 2025Neural Attention Search18 Feb 2025
- 2025CITER: Collaborative Inference for Efficient Large Language Model Decoding with Token-Level Routing4 Feb 2025
- 2025Position: AI Scaling: From Up to Down and Out2 Feb 2025
- 2025Activation Approximations Can Incur Safety Vulnerabilities Even in Aligned LLMs: Comprehensive Analysis and Defense2 Feb 2025
- 2025ToMoE: Converting Dense Large Language Models to Mixture-of-Experts through Dynamic Structural Pruning25 Jan 2025
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024CSR:Achieving 1 Bit Key-Value Cache via Sparse Representation16 Dec 2024
- 2024EMS: Adaptive Evict-then-Merge Strategy for Head-wise KV Cache Compression Based on Global-Local Importance11 Dec 2024
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Models28 Oct 2024
- 2024Coarse-to-Fine Highlighting: Reducing Knowledge Hallucination in Large Language Models19 Oct 2024
- 2024In-context KV-Cache Eviction for LLMs via Attention-Gate15 Oct 2024
- 2024HSR-Enhanced Sparse Attention Acceleration14 Oct 2024
- 2024Selective Attention Improves Transformer3 Oct 2024
- 2024A-VL: Adaptive Attention for Large Vision-Language Models23 Sep 2024
- 2024E2LLM: Encoder Elongated Large Language Models for Long-Context Understanding and Reasoning10 Sep 2024
- 2024Post-Training Sparse Attention with Double Sparsity11 Aug 2024
- 2024NACL: A General and Effective KV Cache Eviction Framework for LLMs at Inference Time7 Aug 2024
- 2024A2SF: Accumulative Attention Scoring with Forgetting Factor for Token Pruning in Transformer Decoder30 Jul 2024
- 2024ReAttention: Training-Free Infinite Context with Finite Attention Scope21 Jul 2024
- 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inference19 Jul 2024
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention2 Jul 2024
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformers24 Jun 2024
- 2024Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengths21 Jun 2024
- 2024CItruS: Chunked Instruction-aware State Eviction for Long Sequence Modeling17 Jun 2024
50 newest of 67 All 67 (JSON)
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
- 2024A Survey on Efficient Inference for Large Language Modelscited by 205
- 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inferencecited by 126
- 2024Transformers are Multi-State RNNscited by 120
- 2023Towards Efficient Generative Large Language Model Serving: A Survey from Algorithms to Systemscited by 102
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 95
- 2024LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inferencecited by 70
- 2025Token Reduction Should Go Beyond Efficiency in Generative Models -- From Vision, Language to Multimodalitycited by 50
- 2024NACL: A General and Effective KV Cache Eviction Framework for LLMs at Inference Timecited by 43
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Modelscited by 28
- 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budgetcited by 23
- 2024In-context KV-Cache Eviction for LLMs via Attention-Gatecited by 13
12 most cited of 24 All 24 (JSON)
- 2026EchoPress: Query-Agnostic KV Cache Pruning via Virtual Context Reconstruction30 Sep 2026
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2026Multi-Head Low-Rank Attention2 Mar 2026
- 2025Alleviating Forgetfulness of Linear Attention by Hybrid Sparse Attention and Contextualized Learnable Token Eviction23 Oct 2025
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May 2025
- 2025Token Reduction Should Go Beyond Efficiency in Generative Models -- From Vision, Language to Multimodality23 May 2025
- 2025Saliency-driven Dynamic Token Pruning for Large Language Models6 Apr 2025
- 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniques14 Mar 2025
- 2025Neural Attention Search18 Feb 2025
- 2024CSR:Achieving 1 Bit Key-Value Cache via Sparse Representation16 Dec 2024
- 2024EMS: Adaptive Evict-then-Merge Strategy for Head-wise KV Cache Compression Based on Global-Local Importance11 Dec 2024
- 2024MrT5: Dynamic Token Merging for Efficient Byte-level Language Models28 Oct 2024
12 newest of 24 All 24 (JSON)
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
- 2023Efficient Large Language Models: A Surveycited by 186
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 116
- 2024A Survey of Resource-efficient LLM and Multimodal Foundation Modelscited by 86
- 2024Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range Transformerscited by 52
- 2024A Survey on Transformer Compressioncited by 46
- 2024Post-Training Sparse Attention with Double Sparsitycited by 45
- 2024Mixture of Attention Spans: Optimizing LLM Inference Efficiency with Heterogeneous Sliding-Window Lengthscited by 44
- 2025CITER: Collaborative Inference for Efficient Large Language Model Decoding with Token-Level Routingcited by 30
- 2025Cognitive Memory in Large Language Modelscited by 29
- 2024Selective Attention Improves Transformercited by 26
12 most cited of 35 All 35 (JSON)
- 2026Resource-Efficient Pruning for Transformer via Low-Rank Importance Estimation25 Aug 2026
- 2026Prompting Complexity: Shortest Prompts for Texts and Behaviors in LLMs7 Jul 2026
- 2026Focus Session: Hardware and Software Techniques for Accelerating Multimodal Foundation Models23 Apr 2026
- 2026Resource Consumption Threats in Large Language Models17 Mar 2026
- 2026Parallelization Strategies for Dense LLM Deployment: Navigating Through Application-Specific Tradeoffs and Bottlenecks5 Mar 2026
- 2026EMFormer: Efficient Multi-Scale Transformer for Accumulative Context Weather Forecasting1 Feb 2026
- 2025KV Admission: Learning What to Write for Efficient Long-Context LLM Inference19 Dec 2025
- 2025ActVAR: Activating Mixtures of Weights and Tokens for Efficient Visual Autoregressive Generation17 Nov 2025
- 2025Efficient Large Language Models with Zero-Shot Adjustable Acceleration1 Sep 2025
- 2025High-Layer Attention Pruning with Rescaling2 Jul 2025
- 2025Exchangeability in Neural Network and its Application to Dynamic Pruning2 Jun 2025
- 2025Token Level Routing Inference System for Edge Devices10 Apr 2025
12 newest of 35 All 35 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2023Mini-GPTs: Efficient Large Language Models through Contextual Pruning
- 2025Pruning Laws for Large Language Models
- 2025Compress, Gather, and Recompute: REFORMing Long-Context Processing in Transformers
- 2024Dynamic Vocabulary Pruning in Early-Exit LLMs
- 2026When Does Context Help? Error Dynamics of Contextual Information in Large Language Models
- 2026DreamingGoose: Staged Distillation from Autoregressive Transformers to Bidirectional Recurrent Diffusion Language Models
- 2025SlimInfer: Accelerating Long-Context LLM Inference via Dynamic Token Pruning
- 2025Dynamic Vocabulary Pruning: Stable LLM-RL by Taming the Tail