Sparsifiner: Learning Sparse Instance-Dependent Attention for Efficient Vision Transformers
Not on the map. Why?
Abstract (arXiv)
Vision Transformers (ViT) have shown their competitive advantages performance-wise compared to convolutional neural networks (CNNs) though they often come with high computational costs. To this end, previous methods explore different attention patterns by limiting a fixed number of spatially nearby tokens to accelerate the ViT's multi-head self-attention (MHSA) operations. However, such structured attention patterns limit the token-to-token connections to their spatial relevance, which disregards learned semantic connections from a full attention mask. In this work, we propose a novel approach to learn instance-dependent attention patterns, by devising a lightweight connectivity predictor module to estimate the connectivity score of each pair of tokens. Intuitively, two tokens have high connectivity scores if the features are considered relevant either spatially or semantically. As each token only attends to a small number of other tokens, the binarized connectivity masks are often very sparse by nature and therefore provide the opportunity to accelerate the network via sparse computations. Equipped with the learned unstructured attention pattern, sparse attention ViT (Sparsifiner) produces a superior Pareto-optimal trade-off between FLOPs and top-1 accuracy on ImageNet compared to token sparsity. Our method reduces 48% to 69% FLOPs of MHSA while the accuracy drop is within 0.4%. We also show that combining attention and token sparsity reduces ViT FLOPs by over 60%.
Key facts. Cited by 16 papers in the map (data through 7 Oct 2026). Builds on 41 of its 49 references that are in the map. First posted on arXiv 24 Mar 2023.
Builds on
41 of 49 references.
References · 41
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2021Masked-attention Mask Transformer for Universal Image Segmentationcited by 2,338
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
29 more
- 2020Reformer: The Efficient Transformercited by 1,658
- 2021Is Space-Time Attention All You Need for Video Understanding?cited by 1,609
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2021Per-Pixel Classification is Not All You Need for Semantic Segmentationcited by 1,148
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2021DynamicViT: Efficient Vision Transformers with Dynamic Token Sparsificationcited by 849
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2018Image Transformercited by 770
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2021Twins: Revisiting the Design of Spatial Attention in Vision Transformerscited by 565
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2019Axial Attention in Multidimensional Transformerscited by 350
- 2021Random Feature Attentioncited by 350
- 2020Sparse Sinkhorn Attentioncited by 250
- 2018End-to-End Dense Video Captioning with Masked Transformercited by 214
- 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
- 2020Learning Joint Spatial-Temporal Transformations for Video Inpaintingcited by 162
- 2019Blockwise Self-Attention for Long Document Understandingcited by 158
- 2021All Tokens Matter: Token Labeling for Training Better Vision Transformerscited by 144
- 2021Patch Slimming for Efficient Vision Transformerscited by 131
- 2020End-to-End Object Detection with Adaptive Clustering Transformercited by 109
- 2021SSTVOS: Sparse Spatiotemporal Transformers for Video Object Segmentationcited by 106
- 2022Monarch: Expressive Structured Matrices for Efficient and Accurate Trainingcited by 100
- 2022Not All Tokens Are Equal: Human-centric Visual Analysis via Token Clustering Transformercited by 99
- 2022Learning to Merge Tokens in Vision Transformerscited by 64
- 2022EViT: Privacy-Preserving Image Retrieval via Encrypted Vision Transformer in Cloud Computingcited by 5
Built on by
Citing papers per year: 2023: 1; 2024: 7; 2025: 5; 2026: 3.
16 papers.
Sort:
By area:
- 2025FlashVGGT: Efficient and Scalable Visual Geometry Transformers with Compressed Descriptor Attentioncited by 15
- 2024Agglomerative Token Clusteringcited by 13
- 2025Accelerating Vision Transformers with Adaptive Patch Sizescited by 12
- 2023AiluRus: A Scalable ViT Framework for Dense Predictioncited by 10
- 2024You Only Need Less Attention at Each Stage in Vision Transformerscited by 7
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
- 2024Fibottention: Inceptive Visual Representation Learning with Diverse Attention Across Headscited by 3
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learningcited by 3
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformercited by 3
- 2024ACC-ViT : Atrous Convolution's Comeback in Vision Transformerscited by 2
- 2024Efficiently Dispatching Flash Attention For Partially Filled Attention Maskscited by 2
- 2025Two-stage Vision Transformers and Hard Masking offer Robust Object Representationscited by 1
4 more
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weightscited by 1
- 2026TurboVGGT: Fast Visual Geometry Reconstruction with Adaptive Alternating Attentioncited by 1
- 2024GLMHA A Guided Low-rank Multi-Head Self-Attention for Efficient Image Restoration and Spectral Reconstructioncited by 0
- 2026Less Tokens, Better Forecasts: Sparse Residual Routing for Efficient Weather Predictioncited by 0
- 2026Less Tokens, Better Forecasts: Sparse Residual Routing for Efficient Weather Prediction2 Jul 2026
- 2026TurboVGGT: Fast Visual Geometry Reconstruction with Adaptive Alternating Attention14 May 2026
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weights1 Feb 2026
- 2025FlashVGGT: Efficient and Scalable Visual Geometry Transformers with Compressed Descriptor Attention1 Dec 2025
- 2025Accelerating Vision Transformers with Adaptive Patch Sizes20 Oct 2025
- 2025Two-stage Vision Transformers and Hard Masking offer Robust Object Representations10 Jun 2025
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformer22 May 2025
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learning3 Apr 2025
- 2024GLMHA A Guided Low-rank Multi-Head Self-Attention for Efficient Image Restoration and Spectral Reconstruction1 Oct 2024
- 2024Efficiently Dispatching Flash Attention For Partially Filled Attention Masks23 Sep 2024
- 2024Agglomerative Token Clustering18 Sep 2024
- 2024Fibottention: Inceptive Visual Representation Learning with Diverse Attention Across Heads27 Jun 2024
4 more
- 2024You Only Need Less Attention at Each Stage in Vision Transformers1 Jun 2024
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insights28 Mar 2024
- 2024ACC-ViT : Atrous Convolution's Comeback in Vision Transformers7 Mar 2024
- 2023AiluRus: A Scalable ViT Framework for Dense Prediction2 Nov 2023
- 2025FlashVGGT: Efficient and Scalable Visual Geometry Transformers with Compressed Descriptor Attentioncited by 15
- 2024Agglomerative Token Clusteringcited by 13
- 2025Accelerating Vision Transformers with Adaptive Patch Sizescited by 12
- 2023AiluRus: A Scalable ViT Framework for Dense Predictioncited by 10
- 2024You Only Need Less Attention at Each Stage in Vision Transformerscited by 7
- 2024Enhancing Efficiency in Vision Transformer Networks: Design Techniques and Insightscited by 4
- 2024Fibottention: Inceptive Visual Representation Learning with Diverse Attention Across Headscited by 3
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learningcited by 3
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformercited by 3
- 2024ACC-ViT : Atrous Convolution's Comeback in Vision Transformerscited by 2
- 2024Efficiently Dispatching Flash Attention For Partially Filled Attention Maskscited by 2
- 2025Two-stage Vision Transformers and Hard Masking offer Robust Object Representationscited by 1
12 most cited of 15 All 15 (JSON)
- 2026Less Tokens, Better Forecasts: Sparse Residual Routing for Efficient Weather Prediction2 Jul 2026
- 2026TurboVGGT: Fast Visual Geometry Reconstruction with Adaptive Alternating Attention14 May 2026
- 2025FlashVGGT: Efficient and Scalable Visual Geometry Transformers with Compressed Descriptor Attention1 Dec 2025
- 2025Accelerating Vision Transformers with Adaptive Patch Sizes20 Oct 2025
- 2025Two-stage Vision Transformers and Hard Masking offer Robust Object Representations10 Jun 2025
- 2025AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformer22 May 2025
- 2025HGFormer: Topology-Aware Vision Transformer with HyperGraph Learning3 Apr 2025
- 2024GLMHA A Guided Low-rank Multi-Head Self-Attention for Efficient Image Restoration and Spectral Reconstruction1 Oct 2024
- 2024Efficiently Dispatching Flash Attention For Partially Filled Attention Masks23 Sep 2024
- 2024Agglomerative Token Clustering18 Sep 2024
- 2024Fibottention: Inceptive Visual Representation Learning with Diverse Attention Across Heads27 Jun 2024
- 2024You Only Need Less Attention at Each Stage in Vision Transformers1 Jun 2024
12 newest of 15 All 15 (JSON)