TransNormerLLM: A Faster and Better Large Language Model with Improved TransNormer
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
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2020Measuring Massive Multitask Language Understandingcited by 7,963
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,893
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 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
- 2020Longformer: The Long-Document Transformercited by 3,413
30 more
- 2019PIQA: Reasoning about Physical Commonsense in Natural Languagecited by 2,883
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,598
- 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
- 2019BoolQ: Exploring the Surprising Difficulty of Natural Yes/No Questionscited by 2,183
- 2018Can a Suit of Armor Conduct Electricity? A New Dataset for Open Book Question Answeringcited by 2,164
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2019Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelismcited by 1,868
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2017Mixed Precision Trainingcited by 1,156
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2022GLM-130B: An Open Bilingual Pre-trained Modelcited by 843
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 827
- 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
- 2023PyTorch FSDP: Experiences on Scaling Fully Sharded Data Parallelcited by 660
- 2020HiPPO: Recurrent Memory with Optimal Polynomial Projectionscited by 605
- 2022On the Parameterization and Initialization of Diagonal State Space Modelscited by 424
- 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
- 2022Diagonal State Spaces are as Effective as Structured State Spacescited by 350
- 2019A Study of BFLOAT16 for Deep Learning Trainingcited by 232
- 2022cosFormer: Rethinking Softmax in Attentioncited by 213
- 2020Rethinking Positional Encoding in Language Pre-trainingcited by 197
- 2022Transformer Quality in Linear Timecited by 191
- 2022The Devil in Linear Transformercited by 98
- 2023Simple Hardware-Efficient Long Convolutions for Sequence Modelingcited by 62
- 2023Toeplitz Neural Network for Sequence Modelingcited by 43
- 2022Linear Complexity Randomized Self-attention Mechanismcited by 31
- 2023Efficient Attention via Control Variatescited by 23
- 2022Neural Architecture Search on Efficient Transformers and Beyondcited by 17
- 2023Linearized Relative Positional Encodingcited by 17
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 21; 2026: 5.
34 papers.
Sort:
By area:
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
- 2025A Survey of Efficient Reasoning for Large Reasoning Models: Language, Multimodality, and Beyondcited by 132
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 47
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
- 2025Liger: Linearizing Large Language Models to Gated Recurrent Structurescited by 33
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
- 2024SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Modelscited by 19
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlapcited by 17
- 2025Pandora3D: A Comprehensive Framework for High-Quality 3D Shape and Texture Generationcited by 14
22 more
- 2025Scaling Linear Attention with Sparse State Expansioncited by 13
- 2023The Languini Kitchen: Enabling Language Modelling Research at Different Scales of Computecited by 10
- 2025Every Attention Matters: An Efficient Hybrid Architecture for Long-Context Reasoningcited by 10
- 2025Massive Memorization with Hundreds of Trillions of Parameters for Sequential Transducer Generative Recommenderscited by 10
- 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNetcited by 9
- 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learningcited by 9
- 2025Linear-MoE: Linear Sequence Modeling Meets Mixture-of-Expertscited by 6
- 2025Lizard: An Efficient Linearization Framework for Large Language Modelscited by 6
- 2026Ling and Ring 2.6 Technical Report: Efficient and Instant Agentic Intelligence at Trillion-Parameter Scalecited by 6
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformerscited by 5
- 2025ReGLA: Refining Gated Linear Attentioncited by 4
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approachcited by 4
- 2025X-EcoMLA: Upcycling Pre-Trained Attention into MLA for Efficient and Extreme KV Compressioncited by 4
- 2025Autoregressive Image Generation with Linear Complexity: A Spatial-Aware Decay Perspectivecited by 4
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architecturescited by 4
- 2026STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMscited by 4
- 2025Higher-order Linear Attentioncited by 2
- 2025Transformer Based Linear Attention with Optimized GPU Kernel Implementationcited by 1
- 2025FlashEVA: Accelerating LLM inference via Efficient Attentioncited by 1
- 2025SAGE-Amine: Generative Amine Design with Multi-Property Optimization for Efficient CO2 Capturecited by 0
- 2026On The Application of Linear Attention in Multimodal Transformerscited by 0
- 2026Hyperparameter Scaling Laws Across MoE Sparsitycited by 0
- 2026Hyperparameter Scaling Laws Across MoE Sparsity8 Sep 2026
- 2026Ling and Ring 2.6 Technical Report: Efficient and Instant Agentic Intelligence at Trillion-Parameter Scale13 Jun 2026
- 2026On The Application of Linear Attention in Multimodal Transformers11 Apr 2026
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformers5 Feb 2026
- 2026STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMs2 Feb 2026
- 2025FlashEVA: Accelerating LLM inference via Efficient Attention1 Nov 2025
- 2025Higher-order Linear Attention31 Oct 2025
- 2025Kimi Linear: An Expressive, Efficient Attention Architecture30 Oct 2025
- 2025Massive Memorization with Hundreds of Trillions of Parameters for Sequential Transducer Generative Recommenders24 Oct 2025
- 2025Transformer Based Linear Attention with Optimized GPU Kernel Implementation24 Oct 2025
- 2025Every Attention Matters: An Efficient Hybrid Architecture for Long-Context Reasoning22 Oct 2025
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures6 Oct 2025
22 more
- 2025Efficient Attention Mechanisms for Large Language Models: A Survey25 Jul 2025
- 2025Scaling Linear Attention with Sparse State Expansion22 Jul 2025
- 2025Lizard: An Efficient Linearization Framework for Large Language Models11 Jul 2025
- 2025Autoregressive Image Generation with Linear Complexity: A Spatial-Aware Decay Perspective2 Jul 2025
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Training5 Jun 2025
- 2025A Survey of Efficient Reasoning for Large Reasoning Models: Language, Multimodality, and Beyond27 Mar 2025
- 2025X-EcoMLA: Upcycling Pre-Trained Attention into MLA for Efficient and Extreme KV Compression14 Mar 2025
- 2025Linear-MoE: Linear Sequence Modeling Meets Mixture-of-Experts7 Mar 2025
- 2025SAGE-Amine: Generative Amine Design with Multi-Property Optimization for Efficient CO2 Capture4 Mar 2025
- 2025Liger: Linearizing Large Language Models to Gated Recurrent Structures3 Mar 2025
- 2025Pandora3D: A Comprehensive Framework for High-Quality 3D Shape and Texture Generation20 Feb 2025
- 2025MoM: Linear Sequence Modeling with Mixture-of-Memories19 Feb 2025
- 2025On the Expressivity of Selective State-Space Layers: A Multivariate Polynomial Approach4 Feb 2025
- 2025ReGLA: Refining Gated Linear Attention3 Feb 2025
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rule9 Dec 2024
- 2024SPikE-SSM: A Sparse, Precise, and Efficient Spiking State Space Model for Long Sequences Learning7 Oct 2024
- 2024SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Models27 Aug 2024
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Duality31 May 2024
- 2024You Only Scan Once: Efficient Multi-dimension Sequential Modeling with LightNet31 May 2024
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlap29 Jan 2024
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Models9 Jan 2024
- 2023The Languini Kitchen: Enabling Language Modelling Research at Different Scales of Compute20 Sep 2023
- 2025Linear-MoE: Linear Sequence Modeling Meets Mixture-of-Expertscited by 6
- 2026Hyperparameter Scaling Laws Across MoE Sparsitycited by 0
- 2026Hyperparameter Scaling Laws Across MoE Sparsity8 Sep 2026
- 2025Linear-MoE: Linear Sequence Modeling Meets Mixture-of-Experts7 Mar 2025
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
- 2025Kimi Linear: An Expressive, Efficient Attention Architecture30 Oct 2025
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
- 2024Lightning Attention-2: A Free Lunch for Handling Unlimited Sequence Lengths in Large Language Modelscited by 57
- 2025MoM: Linear Sequence Modeling with Mixture-of-Memoriescited by 47
- 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
- 2025Liger: Linearizing Large Language Models to Gated Recurrent Structurescited by 33
- 2025Efficient Attention Mechanisms for Large Language Models: A Surveycited by 22
- 2024SpikingSSMs: Learning Long Sequences with Sparse and Parallel Spiking State Space Modelscited by 19
- 2024CO2: Efficient Distributed Training with Full Communication-Computation Overlapcited by 17
- 2025Pandora3D: A Comprehensive Framework for High-Quality 3D Shape and Texture Generationcited by 14
- 2025Scaling Linear Attention with Sparse State Expansioncited by 13
- 2023The Languini Kitchen: Enabling Language Modelling Research at Different Scales of Computecited by 10
- 2025Every Attention Matters: An Efficient Hybrid Architecture for Long-Context Reasoningcited by 10
12 most cited of 25 All 25 (JSON)
- 2026ZeroS: Zero-Sum Linear Attention for Efficient Transformers5 Feb 2026
- 2026STILL: Selecting Tokens for Intra-Layer Hybrid Attention to Linearize LLMs2 Feb 2026
- 2025FlashEVA: Accelerating LLM inference via Efficient Attention1 Nov 2025
- 2025Higher-order Linear Attention31 Oct 2025
- 2025Massive Memorization with Hundreds of Trillions of Parameters for Sequential Transducer Generative Recommenders24 Oct 2025
- 2025Transformer Based Linear Attention with Optimized GPU Kernel Implementation24 Oct 2025
- 2025Every Attention Matters: An Efficient Hybrid Architecture for Long-Context Reasoning22 Oct 2025
- 2025The End of Transformers? On Challenging Attention and the Rise of Sub-Quadratic Architectures6 Oct 2025
- 2025Efficient Attention Mechanisms for Large Language Models: A Survey25 Jul 2025
- 2025Scaling Linear Attention with Sparse State Expansion22 Jul 2025
- 2025Lizard: An Efficient Linearization Framework for Large Language Models11 Jul 2025
- 2025Autoregressive Image Generation with Linear Complexity: A Spatial-Aware Decay Perspective2 Jul 2025
12 newest of 25 All 25 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2025Sliding Window Attention Training for Efficient Large Language Models
- 2026Sliding-window beats linear attention
- 2024When Linear Attention Meets Autoregressive Decoding: Towards More Effective and Efficient Linearized Large Language Models
- 2023SparQ Attention: Bandwidth-Efficient LLM Inference
- 2024SepLLM: Accelerate Large Language Models by Compressing One Segment into One Separator
- 2024Efficient Heterogeneous Large Language Model Decoding with Model-Attention Disaggregation
- 2024Beyond KV Caching: Shared Attention for Efficient LLMs
- 2026Attention Editing: A Versatile Framework for Cross-Architecture Attention Conversion