SwiftFormer: Efficient Additive Attention for Transformer-based Real-time Mobile Vision Applications
Not on the map. Why?
Abstract (arXiv)
Self-attention has become a defacto choice for capturing global context in various vision applications. However, its quadratic computational complexity with respect to image resolution limits its use in real-time applications, especially for deployment on resource-constrained mobile devices. Although hybrid approaches have been proposed to combine the advantages of convolutions and self-attention for a better speed-accuracy trade-off, the expensive matrix multiplication operations in self-attention remain a bottleneck. In this work, we introduce a novel efficient additive attention mechanism that effectively replaces the quadratic matrix multiplication operations with linear element-wise multiplications. Our design shows that the key-value interaction can be replaced with a linear layer without sacrificing any accuracy. Unlike previous state-of-the-art methods, our efficient formulation of self-attention enables its usage at all stages of the network. Using our proposed efficient additive attention, we build a series of models called "SwiftFormer" which achieves state-of-the-art performance in terms of both accuracy and mobile inference speed. Our small variant achieves 78.5% top-1 ImageNet-1K accuracy with only 0.8 ms latency on iPhone 14, which is more accurate and 2x faster compared to MobileViT-v2. Code: https://github.com/Amshaker/SwiftFormer
Key facts. Cited by 66 papers in the map (data through 7 Oct 2026). Builds on 53 of its 63 references that are in the map. First posted on arXiv 27 Mar 2023.
Builds on
53 of 63 references.
References · 53
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2022A ConvNet for the 2020scited by 3,545
38 more
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,291
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2020Reformer: The Efficient Transformercited by 1,658
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
- 2022DINO: DETR with Improved DeNoising Anchor Boxes for End-to-End Object Detectioncited by 1,306
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
- 2018ShuffleNet V2: Practical Guidelines for Efficient CNN Architecture Designcited by 1,132
- 2020Designing Network Design Spacescited by 954
- 2018MnasNet: Platform-Aware Neural Architecture Search for Mobilecited by 937
- 2021Multiscale Vision Transformerscited by 896
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2019Panoptic Feature Pyramid Networkscited by 644
- 2021MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformercited by 636
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2016Learning Structured Sparsity in Deep Neural Networkscited by 538
- 2021MetaFormer Is Actually What You Need for Visioncited by 523
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2021Conditional DETR for Fast Training Convergencecited by 422
- 2021Rethinking Spatial Dimensions of Vision Transformerscited by 361
- 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
- 2021Adaptive Token Sampling For Efficient Vision Transformerscited by 181
- 2022Separable Self-attention for Mobile Vision Transformerscited by 163
- 2022EdgeNeXt: Efficiently Amalgamated CNN-Transformer Architecture for Mobile Vision Applicationscited by 121
- 2022EdgeViTs: Competing Light-weight CNNs on Mobile Devices with Vision Transformerscited by 116
- 2022UNETR++: Delving into Efficient and Accurate 3D Medical Image Segmentationcited by 112
- 2021Efficient Training of Visual Transformers with Small Datasetscited by 107
- 2022Global Context Vision Transformerscited by 98
- 2018ESPNetv2: A Light-weight, Power Efficient, and General Purpose Convolutional Neural Networkcited by 90
- 2021Class-agnostic Object Detection with Multi-modal Transformercited by 85
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2023: 6; 2024: 23; 2025: 25; 2026: 12.
66 papers.
Sort:
By area:
- 2023Spike-driven Transformercited by 141
- 2023RepViT: Revisiting Mobile CNN From ViT Perspectivecited by 123
- 2023MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Trainingcited by 96
- 2024SHViT: Single-Head Vision Transformer with Memory Efficient Macro Designcited by 55
- 2024PEM: Prototype-based Efficient MaskFormer for Image Segmentationcited by 35
- 2024Lodge++: High-quality and Long Dance Generation with Vivid Choreography Patternscited by 21
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Dualitycited by 17
- 2024GroupMamba: Efficient Group-Based Visual State Space Modelcited by 15
- 2024TinyViM: Frequency Decoupling for Tiny Hybrid Vision Mambacited by 15
- 2025LSNet: See Large, Focus Smallcited by 15
- 2024CAS-ViT: Convolutional Additive Self-attention Vision Transformers for Efficient Mobile Applicationscited by 12
- 2023Which Transformer to Favor: A Comparative Analysis of Efficiency in Vision Transformerscited by 9
38 more
- 2025iFormer: Integrating ConvNet and Transformer for Mobile Applicationcited by 9
- 2024CUE-Net: Violence Detection Video Analytics with Spatial Cropping, Enhanced UniformerV2 and Modified Efficient Additive Attentioncited by 8
- 2025The Fourth Monocular Depth Estimation Challengecited by 8
- 2025SurgRIPE challenge: Benchmark of Surgical Robot Instrument Pose Estimationcited by 7
- 2024HSViT: Horizontally Scalable Vision Transformercited by 6
- 2024PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformercited by 5
- 2025RePaViT: Scalable Vision Transformer Acceleration via Structural Reparameterization on Feedforward Network Layerscited by 5
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
- 2024CAMS: Convolution and Attention-Free Mamba-based Cardiac Image Segmentationcited by 4
- 2024ToSA: Token Selective Attention for Efficient Vision Transformerscited by 4
- 2024RepNeXt: A Fast Multi-Scale CNN using Structural Reparameterizationcited by 4
- 2024Automatic Channel Pruning for Multi-Head Attentioncited by 3
- 2024Decoupling Forgery Semantics for Generalizable Deepfake Detectioncited by 3
- 2025S2AFormer: Strip Self-Attention for Efficient Vision Transformercited by 3
- 2025LL-ViT: Edge Deployable Vision Transformers with Look Up Table Neuronscited by 3
- 2026FaceLiVTv2: An Improved Hybrid Architecture for Efficient Mobile Face Recognitioncited by 3
- 2024Crop and Couple: cardiac image segmentation using interlinked specialist networkscited by 2
- 2024NimbleD: Enhancing Self-supervised Monocular Depth Estimation with Pseudo-labels and Large-scale Video Pre-trainingcited by 2
- 2024MambaMIC: An Efficient Baseline for Microscopic Image Classification with State Space Modelscited by 2
- 2025Image Recognition with Online Lightweight Vision Transformer: A Surveycited by 2
- 2025RainDiff: End-to-end Precipitation Nowcasting Via Token-wise Attention Diffusioncited by 2
- 2023Efficient Large-Scale Visual Representation Learning And Evaluationcited by 1
- 2023Single-sample versus case-control sampling scheme for Positive Unlabeled data: the story of two scenarioscited by 1
- 2024FFNet: MetaMixer-based Efficient Convolutional Mixer Designcited by 1
- 2024Compositional Segmentation of Cardiac Images Leveraging Metadatacited by 1
- 2025Mobile-VideoGPT: Fast and Accurate Model for Mobile Video Understandingcited by 1
- 2025MambaHash: Visual State Space Deep Hashing Model for Large-Scale Image Retrievalcited by 1
- 2024Efficient High-Resolution Visual Representation Learning with State Space Model for Human Pose Estimationcited by 0
- 2024RecConv: Efficient Recursive Convolutions for Multi-Frequency Representationscited by 0
- 2025A Separable Self-attention Inspired by the State Space Model for Computer Visioncited by 0
- 2025Rethinking Encoder-Decoder Flow Through Shared Structurescited by 0
- 2025Neural Attention: A Novel Mechanism for Enhanced Expressive Power in Transformer Modelscited by 0
- 2025Partial Convolution Meets Visual Attentioncited by 0
- 2025Fraesormer: Learning Adaptive Sparse Transformer for Efficient Food Recognitioncited by 0
- 2025GmNet: Revisiting Gating Mechanisms From A Frequency Viewcited by 0
- 2025EdgeSpotter: Multi-Scale Dense Text Spotting for Industrial Panel Monitoringcited by 0
- 2025AI-CNet3D: An Anatomically-Informed Cross-Attention Network with Multi-Task Consistency Fine-tuning for 3D Glaucoma Classificationcited by 0
- 2025Attentive Convolution: Unifying the Expressivity of Self-Attention with Convolutional Efficiencycited by 0
50 most cited of 66 All 66 (JSON)
- 2026PICO: Projection-Informed Consistency Optimisation for 6DoF Surgical Tool Pose Estimation25 Sep 2026
- 2026AgroVisNet: A lightweight Convolutional Network and the BD-PlantDX Expert-Validated Benchmark for Radish, Potato and Pointed Gourd Disease Classification9 Sep 2026
- 2026CF-YOLO: Context-Aware Feature Refinement for Camouflaged Industrial Micro-Defect Detection28 Aug 2026
- 2026BanglaMemeEvidence: A Multimodal Benchmark Dataset for Explanatory Evidence Detection in Bengali Memes4 Jul 2026
- 2026TCP-SSM: Efficient Vision State Space Models with Token-Conditioned Poles12 May 2026
- 2026Cross-Modal RGB-D Fusion Transformer for 6D Pose Estimation of Non-Cooperative Spacecraft with Stereo-Derived Depth9 May 2026
- 2026ShellfishNet: A Domain-Specific Benchmark for Visual Recognition of Marine Molluscs8 May 2026
- 2026ZoomSpec: A Physics-Guided Coarse-to-Fine Framework for Wideband Spectrum Sensing15 Apr 2026
- 2026FaceLiVTv2: An Improved Hybrid Architecture for Efficient Mobile Face Recognition10 Apr 2026
- 2026ReGLA: Efficient Receptive-Field Modeling with Gated Linear Attention Network5 Feb 2026
- 2026Human-inspired Global-to-Parallel Multi-scale Encoding for Lightweight Vision Models13 Jan 2026
- 2026An Efficient Additive Kolmogorov-Arnold Transformer for Point-Level Maize Localization in Unmanned Aerial Vehicle Imagery12 Jan 2026
38 more
- 2025C-DIRA: Computationally Efficient Dynamic ROI Routing and Domain-Invariant Adversarial Learning for Lightweight Driver Behavior Recognition9 Dec 2025
- 2025Transformer-Driven Triple Fusion Framework for Enhanced Multimodal Author Intent Classification in Low-Resource Bangla28 Nov 2025
- 2025Rethinking Vision Transformer Depth via Structural Reparameterization24 Nov 2025
- 2025LL-ViT: Edge Deployable Vision Transformers with Look Up Table Neurons2 Nov 2025
- 2025Beyond ImageNet: Understanding Cross-Dataset Robustness of Lightweight Vision Models1 Nov 2025
- 2025WaveSeg: Enhancing Segmentation Precision via High-Frequency Prior and Mamba-Driven Spectrum Decomposition24 Oct 2025
- 2025Attentive Convolution: Unifying the Expressivity of Self-Attention with Convolutional Efficiency23 Oct 2025
- 2025RainDiff: End-to-end Precipitation Nowcasting Via Token-wise Attention Diffusion16 Oct 2025
- 2025AI-CNet3D: An Anatomically-Informed Cross-Attention Network with Multi-Task Consistency Fine-tuning for 3D Glaucoma Classification1 Oct 2025
- 2025MambaHash: Visual State Space Deep Hashing Model for Large-Scale Image Retrieval19 Jun 2025
- 2025EdgeSpotter: Multi-Scale Dense Text Spotting for Industrial Panel Monitoring8 Jun 2025
- 2025S2AFormer: Strip Self-Attention for Efficient Vision Transformer28 May 2025
- 2025RePaViT: Scalable Vision Transformer Acceleration via Structural Reparameterization on Feedforward Network Layers28 May 2025
- 2025Image Recognition with Online Lightweight Vision Transformer: A Survey6 May 2025
- 2025The Fourth Monocular Depth Estimation Challenge24 Apr 2025
- 2025LSNet: See Large, Focus Small29 Mar 2025
- 2025GmNet: Revisiting Gating Mechanisms From A Frequency View28 Mar 2025
- 2025Mobile-VideoGPT: Fast and Accurate Model for Mobile Video Understanding27 Mar 2025
- 2025Fraesormer: Learning Adaptive Sparse Transformer for Efficient Food Recognition15 Mar 2025
- 2025Partial Convolution Meets Visual Attention5 Mar 2025
- 2025Neural Attention: A Novel Mechanism for Enhanced Expressive Power in Transformer Models24 Feb 2025
- 2025iFormer: Integrating ConvNet and Transformer for Mobile Application26 Jan 2025
- 2025Rethinking Encoder-Decoder Flow Through Shared Structures24 Jan 2025
- 2025SurgRIPE challenge: Benchmark of Surgical Robot Instrument Pose Estimation6 Jan 2025
- 2025A Separable Self-attention Inspired by the State Space Model for Computer Vision3 Jan 2025
- 2024RecConv: Efficient Recursive Convolutions for Multi-Frequency Representations27 Dec 2024
- 2024TinyViM: Frequency Decoupling for Tiny Hybrid Vision Mamba26 Nov 2024
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality22 Nov 2024
- 2024Compositional Segmentation of Cardiac Images Leveraging Metadata30 Oct 2024
- 2024Lodge++: High-quality and Long Dance Generation with Vivid Choreography Patterns27 Oct 2024
- 2024Efficient High-Resolution Visual Representation Learning with State Space Model for Human Pose Estimation4 Oct 2024
- 2024MambaMIC: An Efficient Baseline for Microscopic Image Classification with State Space Models12 Sep 2024
- 2024NimbleD: Enhancing Self-supervised Monocular Depth Estimation with Pseudo-labels and Large-scale Video Pre-training26 Aug 2024
- 2024CAS-ViT: Convolutional Additive Self-attention Vision Transformers for Efficient Mobile Applications7 Aug 2024
- 2024GroupMamba: Efficient Group-Based Visual State Space Model18 Jul 2024
- 2024PADRe: A Unifying Polynomial Attention Drop-in Replacement for Efficient Vision Transformer16 Jul 2024
- 2024RepNeXt: A Fast Multi-Scale CNN using Structural Reparameterization23 Jun 2024
- 2024Decoupling Forgery Semantics for Generalizable Deepfake Detection14 Jun 2024
50 newest of 66 All 66 (JSON)
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Dualitycited by 17
- 2024GroupMamba: Efficient Group-Based Visual State Space Modelcited by 15
- 2024TinyViM: Frequency Decoupling for Tiny Hybrid Vision Mambacited by 15
- 2024CAMS: Convolution and Attention-Free Mamba-based Cardiac Image Segmentationcited by 4
- 2025MambaHash: Visual State Space Deep Hashing Model for Large-Scale Image Retrievalcited by 1
- 2025A Separable Self-attention Inspired by the State Space Model for Computer Visioncited by 0
- 2025WaveSeg: Enhancing Segmentation Precision via High-Frequency Prior and Mamba-Driven Spectrum Decompositioncited by 0
- 2025WaveSeg: Enhancing Segmentation Precision via High-Frequency Prior and Mamba-Driven Spectrum Decomposition24 Oct 2025
- 2025MambaHash: Visual State Space Deep Hashing Model for Large-Scale Image Retrieval19 Jun 2025
- 2025A Separable Self-attention Inspired by the State Space Model for Computer Vision3 Jan 2025
- 2024TinyViM: Frequency Decoupling for Tiny Hybrid Vision Mamba26 Nov 2024
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality22 Nov 2024
- 2024GroupMamba: Efficient Group-Based Visual State Space Model18 Jul 2024
- 2024CAMS: Convolution and Attention-Free Mamba-based Cardiac Image Segmentation9 Jun 2024
- 2023Spike-driven Transformercited by 141
- 2023RepViT: Revisiting Mobile CNN From ViT Perspectivecited by 123
- 2023MobileCLIP: Fast Image-Text Models through Multi-Modal Reinforced Trainingcited by 96
- 2024SHViT: Single-Head Vision Transformer with Memory Efficient Macro Designcited by 55
- 2024PEM: Prototype-based Efficient MaskFormer for Image Segmentationcited by 35
- 2024Lodge++: High-quality and Long Dance Generation with Vivid Choreography Patternscited by 21
- 2025LSNet: See Large, Focus Smallcited by 15
- 2024CAS-ViT: Convolutional Additive Self-attention Vision Transformers for Efficient Mobile Applicationscited by 12
- 2023Which Transformer to Favor: A Comparative Analysis of Efficiency in Vision Transformerscited by 9
- 2025iFormer: Integrating ConvNet and Transformer for Mobile Applicationcited by 9
- 2024CUE-Net: Violence Detection Video Analytics with Spatial Cropping, Enhanced UniformerV2 and Modified Efficient Additive Attentioncited by 8
- 2025The Fourth Monocular Depth Estimation Challengecited by 8
12 most cited of 58 All 58 (JSON)
- 2026PICO: Projection-Informed Consistency Optimisation for 6DoF Surgical Tool Pose Estimation25 Sep 2026
- 2026AgroVisNet: A lightweight Convolutional Network and the BD-PlantDX Expert-Validated Benchmark for Radish, Potato and Pointed Gourd Disease Classification9 Sep 2026
- 2026CF-YOLO: Context-Aware Feature Refinement for Camouflaged Industrial Micro-Defect Detection28 Aug 2026
- 2026BanglaMemeEvidence: A Multimodal Benchmark Dataset for Explanatory Evidence Detection in Bengali Memes4 Jul 2026
- 2026TCP-SSM: Efficient Vision State Space Models with Token-Conditioned Poles12 May 2026
- 2026Cross-Modal RGB-D Fusion Transformer for 6D Pose Estimation of Non-Cooperative Spacecraft with Stereo-Derived Depth9 May 2026
- 2026ShellfishNet: A Domain-Specific Benchmark for Visual Recognition of Marine Molluscs8 May 2026
- 2026ZoomSpec: A Physics-Guided Coarse-to-Fine Framework for Wideband Spectrum Sensing15 Apr 2026
- 2026FaceLiVTv2: An Improved Hybrid Architecture for Efficient Mobile Face Recognition10 Apr 2026
- 2026ReGLA: Efficient Receptive-Field Modeling with Gated Linear Attention Network5 Feb 2026
- 2026Human-inspired Global-to-Parallel Multi-scale Encoding for Lightweight Vision Models13 Jan 2026
- 2026An Efficient Additive Kolmogorov-Arnold Transformer for Point-Level Maize Localization in Unmanned Aerial Vehicle Imagery12 Jan 2026
12 newest of 58 All 58 (JSON)