mlsanityData to 14 Oct 2026

TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormer

arXiv 2307.14995 ↗First posted 27 Jul 2023cs.CLcited by 34

Not on the map. Why?

Abstract (arXiv)

We present TransNormerLLM, the first linear attention-based Large Language Model (LLM) that outperforms conventional softmax attention-based models in terms of both accuracy and efficiency. TransNormerLLM evolves from the previous linear attention architecture TransNormer by making advanced modifications that include positional embedding, linear attention acceleration, gating mechanisms, tensor normalization, and inference acceleration and stabilization. Specifically, we use LRPE together with an exponential decay to avoid attention dilution issues while allowing the model to retain global interactions between tokens. Additionally, we propose Lightning Attention, a cutting-edge technique that accelerates linear attention by more than twice in runtime and reduces memory usage by a remarkable four times. To further enhance the performance of TransNormer, we leverage a gating mechanism for smooth training and a new tensor normalization scheme to accelerate the model, resulting in an impressive acceleration of over 20%. Furthermore, we develop a robust inference algorithm that ensures numerical stability and consistent inference speed, regardless of the sequence length, showcasing superior efficiency during both training and inference stages. We also implement an efficient model parallel schema for TransNormerLLM, enabling seamless deployment on large-scale clusters and facilitating expansion to even more extensive models, i.e., LLMs with 175B parameters. We validate our model design through a series of ablations and train models with sizes of 385M, 1B, and 7B on our self-collected corpus. Benchmark results demonstrate that our models not only match the performance of state-of-the-art LLMs with Transformer but are also significantly faster. Code is released at: https://github.com/OpenNLPLab/TransnormerLLM.

Key facts. Cited by 34 papers in the map (data through 14 Oct 2026). Builds on 42 of its 62 references that are in the map. First posted on arXiv 27 Jul 2023.

Builds on

42 of 62 references.

References · 42

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2020Measuring Massive Multitask Language Understandingcited by 7,963
  7. 2020Scaling Laws for Neural Language Modelscited by 6,586
  8. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
  9. 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
  10. 2019HellaSwag: Can a Machine Really Finish Your Sentence?cited by 4,100
  11. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  12. 2020Longformer: The Long-Document Transformercited by 3,413
30 more
  1. 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
  2. 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
  3. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  4. 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
  5. 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
  6. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
  7. 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
  8. 2020Rethinking Attention with Performerscited by 1,601
  9. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  10. 2017Mixed Precision Trainingcited by 1,156
  11. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  12. 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
  13. 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
  14. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
  15. 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
  16. 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
  17. 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
  18. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  19. 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
  20. 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
  21. 2022cosFormer: Rethinking Softmax in Attentioncited by 213
  22. 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
  23. 2022Transformer Quality in Linear Timecited by 191
  24. 2022The Devil in Linear Transformercited by 98
  25. 2023Simple Hardware-Efficient Long Convolutions for Sequence Modelingcited by 62
  26. 2023Toeplitz Neural Network for Sequence Modelingcited by 43
  27. 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
  28. 2023Efficient Attention via Control Variatescited by 23
  29. 2022Neural Architecture Search on Efficient Transformers and Beyondcited by 17
  30. 2023Linearized Relative Positional Encodingcited by 17

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 7; 2025: 21; 2026: 5.

34 papers.

Sort:

By area:

  1. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  2. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  3. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
  4. 2025A Survey of Efficient Reasoning for Large Reasoning Models: Language, Multimodality, and Beyondcited by 132
  5. 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
  6. 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 47
  7. 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
  8. 2025Liger: Linearizing Large Language Models to Gated Recurrent Structurescited by 33
  9. 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
  10. 2024SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Modelscited by 19
  11. 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlapcited by 17
  12. 2025Pandora3D: A Comprehensive Framework for High-Quality 3D Shape and Texture Generationcited by 14
22 more
  1. 2025Scaling Linear Attention with Sparse State Expansioncited by 13
  2. 2023The Languini Kitchen: Enabling Language Modelling Research at Different Scales of Computecited by 10
  3. 2025Every Attention Matters: An Efficient Hybrid Architecture for Long-Context Reasoningcited by 10
  4. 2025Massive Memorization with Hundreds of Trillions of Parameters for Sequential Transducer Generative Recommenderscited by 10
  5. 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNetcited by 9
  6. 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learningcited by 9
  7. 2025Linear-MoE: Linear Sequence Modeling Meets Mixture-of-Expertscited by 6
  8. 2025Lizard: An Efficient Linearization Framework for Large Language Modelscited by 6
  9. 2026Ling and Ring 2.6 Technical Report: Efficient and Instant Agentic Intelligence at Trillion-Parameter Scalecited by 6
  10. 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformerscited by 5
  11. 2025ReGLA: Refining Gated Linear Attentioncited by 4
  12. 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approachcited by 4
  13. 2025X-EcoMLA: Upcycling Pre-Trained Attention into MLA for Efficient and Extreme KV Compressioncited by 4
  14. 2025Autoregressive Image Generation with Linear Complexity: A Spatial-Aware Decay Perspectivecited by 4
  15. 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architecturescited by 4
  16. 2026STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMscited by 4
  17. 2025Higher-order Linear Attentioncited by 2
  18. 2025Transformer Based Linear Attention with Optimized GPU Kernel Implementationcited by 1
  19. 2025FlashEVA: Accelerating LLM inference via Efficient Attentioncited by 1
  20. 2025SAGE-Amine: Generative Amine Design with Multi-Property Optimization for Efficient CO2 Capturecited by 0
  21. 2026On The Application of Linear Attention in Multimodal Transformerscited by 0
  22. 2026Hyperparameter Scaling Laws Across MoE Sparsitycited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025Sliding Window Attention Training for Efficient Large Language Models
  2. 2026Sliding-window beats linear attention
  3. 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models
  4. 2023SparQ Attention: Bandwidth-Efficient LLM Inference
  5. 2024SepLLM: Accelerate Large Language Models by Compressing One Segment into One Separator
  6. 2024Efficient Heterogeneous Large Language Model Decoding with Model-Attention Disaggregation
  7. 2024Beyond KV Caching: Shared Attention for Efficient LLMs
  8. 2026Attention Editing: A Versatile Framework for Cross-Architecture Attention Conversion