SLAB: Efficient Transformers with Simplified Linear Attention and Progressive Re-parameterized Batch Normalization
Not on the map. Why?
Abstract (arXiv)
Transformers have become foundational architectures for both natural language and computer vision tasks. However, the high computational cost makes it quite challenging to deploy on resource-constraint devices. This paper investigates the computational bottleneck modules of efficient transformer, i.e., normalization layers and attention modules. LayerNorm is commonly used in transformer architectures but is not computational friendly due to statistic calculation during inference. However, replacing LayerNorm with more efficient BatchNorm in transformer often leads to inferior performance and collapse in training. To address this problem, we propose a novel method named PRepBN to progressively replace LayerNorm with re-parameterized BatchNorm in training. Moreover, we propose a simplified linear attention (SLA) module that is simple yet effective to achieve strong performance. Extensive experiments on image classification as well as object detection demonstrate the effectiveness of our proposed method. For example, our SLAB-Swin obtains 83.6% top-1 accuracy on ImageNet-1K with 16.2ms latency, which is 2.4ms less than that of Flatten-Swin with 0.1% higher accuracy. We also evaluated our method for language modeling task and obtain comparable performance and lower latency.Codes are publicly available at https://github.com/xinghaochen/SLAB and https://github.com/mindspore-lab/models/tree/master/research/huawei-noah/SLAB.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). Builds on 39 of its 46 references that are in the map. First posted on arXiv 19 May 2024.
Builds on
39 of 46 references.
References · 39
- 2017Attention Is All You Needcited by 60,361
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2017Mask R-CNNcited by 7,277
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
- 2016Layer Normalizationcited by 5,669
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
27 more
- 2020Rethinking Attention with Performerscited by 1,601
- 2019Generating Long Sequences with Sparse Transformerscited by 1,546
- 2018Group Normalizationcited by 1,524
- 2016Instance Normalization: The Missing Ingredient for Fast Stylizationcited by 1,198
- 2020A Survey on Visual Transformercited by 654
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2021RepVGG: Making VGG-style ConvNets Great Againcited by 522
- 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2018Adaptive Input Representations for Neural Language Modelingcited by 226
- 2016FractalNet: Ultra-Deep Neural Networks without Residualscited by 216
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 171
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 151
- 2022RepQ-ViT: Scale Reparameterization for Post-Training Quantization of Vision Transformerscited by 137
- 2022Multimodal Token Fusion for Vision Transformerscited by 136
- 2023Dynamic Token Pruning in Plain Vision Transformers for Semantic Segmentationcited by 62
- 2022Hydra Attention: Efficient Attention with Many Headscited by 55
- 2024A Survey on Transformer Compressioncited by 46
- 2023Less is More: Focus Attention for Efficient DETRcited by 38
- 2023PPT: Token Pruning and Pooling for Efficient Vision Transformerscited by 38
- 2018Understanding the Disharmony between Dropout and Batch Normalization by Variance Shiftcited by 37
- 2022Re-parameterizing Your Optimizers rather than Architecturescited by 35
- 2024DenseMamba: State Space Models with Dense Hidden Connection for Efficient Large Language Modelscited by 22
- 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attentioncited by 21
- 2020Towards Stabilizing Batch Statistics in Backward Propagation of Batch Normalizationcited by 19
- 2022Unified Normalization for Accelerating and Stabilizing Transformerscited by 6
- 2023Category Feature Transformer for Semantic Segmentationcited by 3
Built on by
Citing papers per year: 2024: 3; 2025: 9; 2026: 5.
17 papers.
Sort:
By area:
- 2024LLMCBench: Benchmarking Large Language Model Compression for Efficient Deploymentcited by 16
- 2025LiT: Delving into a Simple Linear Diffusion Transformer for Image Generationcited by 10
- 2024CARE Transformer: Mobile-Friendly Linear Visual Transformer via Decoupled Dual Interactioncited by 5
- 2025RePaViT: Scalable Vision Transformer Acceleration via Structural Reparameterization on Feedforward Network Layerscited by 5
- 2025Attention-Only Transformers via Unrolled Subspace Denoisingcited by 5
- 2025Vision Transformers are Circulant Attention Learnerscited by 4
- 2025Diversity-Guided MLP Reduction for Efficient Large Vision Transformerscited by 3
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernelcited by 3
- 2026Neural Dynamics Self-Attention for Spiking Transformerscited by 2
- 2025Decision SpikeFormer: Spike-Driven Transformer for Decision Makingcited by 1
- 2025IPGPhormer: Interpretable Pathology Graph-Transformer for Survival Analysiscited by 1
- 2026Efficiency Follows Global-Local Decouplingcited by 1
5 more
- 2024SLaNC: Static LayerNorm Calibrationcited by 0
- 2025A Multi-task Learning Balanced Attention Convolutional Neural Network Model for Few-shot Underwater Acoustic Target Recognitioncited by 0
- 2025Lightweight Backbone Networks Only Require Adaptive Lightweight Self-Attention Mechanismscited by 0
- 2026LINA: Linear Autoregressive Image Generative Models with Continuous Tokenscited by 0
- 2026LiAuto-MindViT: A Hybrid Vision Backbone with Adaptive Bidirectional Mambacited by 0
- 2026LiAuto-MindViT: A Hybrid Vision Backbone with Adaptive Bidirectional Mamba21 Sep 2026
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernel22 Apr 2026
- 2026Efficiency Follows Global-Local Decoupling20 Mar 2026
- 2026Neural Dynamics Self-Attention for Spiking Transformers9 Mar 2026
- 2026LINA: Linear Autoregressive Image Generative Models with Continuous Tokens30 Jan 2026
- 2025Vision Transformers are Circulant Attention Learners25 Dec 2025
- 2025IPGPhormer: Interpretable Pathology Graph-Transformer for Survival Analysis17 Aug 2025
- 2025Lightweight Backbone Networks Only Require Adaptive Lightweight Self-Attention Mechanisms2 Aug 2025
- 2025Diversity-Guided MLP Reduction for Efficient Large Vision Transformers10 Jun 2025
- 2025Attention-Only Transformers via Unrolled Subspace Denoising4 Jun 2025
- 2025RePaViT: Scalable Vision Transformer Acceleration via Structural Reparameterization on Feedforward Network Layers28 May 2025
- 2025A Multi-task Learning Balanced Attention Convolutional Neural Network Model for Few-shot Underwater Acoustic Target Recognition17 Apr 2025
5 more
- 2025Decision SpikeFormer: Spike-Driven Transformer for Decision Making4 Apr 2025
- 2025LiT: Delving into a Simple Linear Diffusion Transformer for Image Generation22 Jan 2025
- 2024CARE Transformer: Mobile-Friendly Linear Visual Transformer via Decoupled Dual Interaction25 Nov 2024
- 2024LLMCBench: Benchmarking Large Language Model Compression for Efficient Deployment28 Oct 2024
- 2024SLaNC: Static LayerNorm Calibration14 Oct 2024
- 2024LLMCBench: Benchmarking Large Language Model Compression for Efficient Deploymentcited by 16
- 2024CARE Transformer: Mobile-Friendly Linear Visual Transformer via Decoupled Dual Interactioncited by 5
- 2025RePaViT: Scalable Vision Transformer Acceleration via Structural Reparameterization on Feedforward Network Layerscited by 5
- 2025Attention-Only Transformers via Unrolled Subspace Denoisingcited by 5
- 2025Vision Transformers are Circulant Attention Learnerscited by 4
- 2025Diversity-Guided MLP Reduction for Efficient Large Vision Transformerscited by 3
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernelcited by 3
- 2026Neural Dynamics Self-Attention for Spiking Transformerscited by 2
- 2025IPGPhormer: Interpretable Pathology Graph-Transformer for Survival Analysiscited by 1
- 2026Efficiency Follows Global-Local Decouplingcited by 1
- 2024SLaNC: Static LayerNorm Calibrationcited by 0
- 2025A Multi-task Learning Balanced Attention Convolutional Neural Network Model for Few-shot Underwater Acoustic Target Recognitioncited by 0
12 most cited of 14 All 14 (JSON)
- 2026LaplacianFormer:Rethinking Linear Attention with Laplacian Kernel22 Apr 2026
- 2026Efficiency Follows Global-Local Decoupling20 Mar 2026
- 2026Neural Dynamics Self-Attention for Spiking Transformers9 Mar 2026
- 2026LINA: Linear Autoregressive Image Generative Models with Continuous Tokens30 Jan 2026
- 2025Vision Transformers are Circulant Attention Learners25 Dec 2025
- 2025IPGPhormer: Interpretable Pathology Graph-Transformer for Survival Analysis17 Aug 2025
- 2025Lightweight Backbone Networks Only Require Adaptive Lightweight Self-Attention Mechanisms2 Aug 2025
- 2025Diversity-Guided MLP Reduction for Efficient Large Vision Transformers10 Jun 2025
- 2025Attention-Only Transformers via Unrolled Subspace Denoising4 Jun 2025
- 2025RePaViT: Scalable Vision Transformer Acceleration via Structural Reparameterization on Feedforward Network Layers28 May 2025
- 2025A Multi-task Learning Balanced Attention Convolutional Neural Network Model for Few-shot Underwater Acoustic Target Recognition17 Apr 2025
- 2024CARE Transformer: Mobile-Friendly Linear Visual Transformer via Decoupled Dual Interaction25 Nov 2024
12 newest of 14 All 14 (JSON)