mlsanityData to 7 Oct 2026

When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models

arXiv 2406.07368 ↗First posted 11 Jun 2024cs.CL cs.AI cs.LGcited by 9

On the map: Efficient LLM inference and serving → Speculative decoding

Abstract (arXiv)

Autoregressive Large Language Models (LLMs) have achieved impressive performance in language tasks but face two significant bottlenecks: (1) quadratic complexity in the attention module as the number of tokens increases, and (2) limited efficiency due to the sequential processing nature of autoregressive LLMs during generation. While linear attention and speculative decoding offer potential solutions, their applicability and synergistic potential for enhancing autoregressive LLMs remain uncertain. We conduct the first comprehensive study on the efficacy of existing linear attention methods for autoregressive LLMs, integrating them with speculative decoding. We introduce an augmentation technique for linear attention that ensures compatibility with speculative decoding, enabling more efficient training and serving of LLMs. Extensive experiments and ablation studies involving seven existing linear attention models and five encoder/decoder-based LLMs consistently validate the effectiveness of our augmented linearized LLMs. Notably, our approach achieves up to a 6.67 reduction in perplexity on the LLaMA model and up to a 2× speedup during generation compared to prior linear attention methods. Codes and models are available at https://github.com/GATECH-EIC/Linearized-LLM.

Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Placed in Speculative decoding, one of 12 directions in Efficient LLM inference and serving. Builds on 56 of its 78 references that are in the map. First posted on arXiv 11 Jun 2024.

Builds on

56 of 78 references.

Closest ancestors · 4

Same direction, newest first

  1. 2024Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads19 Jan
  2. 2023Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding9 Oct
  3. 2023Accelerating Large Language Model Decoding with Speculative Sampling2 Feb
  4. 2022Fast Inference from Transformers via Speculative Decoding30 Nov

Other references · 52

  1. 2017Attention Is All You Needcited by 59,932
  2. 2020Language Models are Few-Shot Learnerscited by 32,199
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2023GPT-4 Technical Reportcited by 18,132
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  7. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  8. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  9. 2023Judging LLM-as-a-Judge with MT-Bench and Chatbot Arenacited by 8,393
  10. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  11. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
  12. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
38 more
  1. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,710
  2. 2021Zero-Shot Text-to-Image Generationcited by 4,276
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  5. 2016Pointer Sentinel Mixture Modelscited by 2,992
  6. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,818
  7. 2023MiniGPT-4: Enhancing Vision-Language Understanding with Advanced Large Language Modelscited by 2,689
  8. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
  9. 2015Character-level Convolutional Networks for Text Classificationcited by 2,293
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  11. 2022Challenging BIG-Bench Tasks and Whether Chain-of-Thought Can Solve Themcited by 1,767
  12. 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
  13. 2020Rethinking Attention with Performerscited by 1,584
  14. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  15. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
  16. 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
  17. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  18. 2016Language Modeling with Gated Convolutional Networkscited by 688
  19. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 643
  20. 2023MiniGPT-v2: large language model as a unified interface for vision-language multi-task learningcited by 617
  21. 2024Taming Throughput-Latency Tradeoff in LLM Inference with Sarathi-Servecited by 507
  22. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 490
  23. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  24. 2021Nystr"omformer: A Nystr"om-Based Algorithm for Approximating Self-Attentioncited by 468
  25. 2021Random Feature Attentioncited by 350
  26. 2022Confident Adaptive Language Modelingcited by 297
  27. 2022Transformer Quality in Linear Timecited by 189
  28. 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
  29. 2021SOFT: Softmax-free Transformer with Linear Complexitycited by 128
  30. 2021Long-Short Transformer: Efficient Transformers for Language and Visioncited by 102
  31. 2022The Devil in Linear Transformercited by 98
  32. 2022ViTCoD: Vision Transformer Acceleration via Dedicated Algorithm and Accelerator Co-Designcited by 41
  33. 2021FLAT: An Optimized Dataflow for Mitigating Attention Bottleneckscited by 38
  34. 2017Parallel Multi Channel Convolution using General Matrix Multiplicationcited by 30
  35. 2022Castling-ViT: Compressing Self-Attention via Switching Towards Linear-Angular Attention at Vision Transformer Inferencecited by 28
  36. 2021Learned Queries for Efficient Local Attentioncited by 27
  37. 2021You Only Sample (Almost) Once: Linear Cost Self-Attention Via Bernoulli Samplingcited by 17
  38. 2024Effective Interplay between Sparsity and Quantization: From Theory to Practicecited by 16

50 most cited of 52 All 52 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 5; 2026: 3.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024Think Big, Generate Quick: LLM-to-SLM for Fast Autoregressive Decoding
  2. 2024Unlocking Efficiency in Large Language Model Inference: A Comprehensive Survey of Speculative Decoding
  3. 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Models
  4. 2024Closer Look at Efficient Inference Methods: A Survey of Speculative Decoding
  5. 2023Shall We Pretrain Autoregressive Language Models with Retrieval? A Comprehensive Study
  6. 2026LLMs as High-Dimensional Nonlinear Autoregressive Models with Attention: Training, Alignment and Inference
  7. 2024A Survey on Efficient Inference for Large Language Models
  8. 2023TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormer