CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows
Not on the map. Why?
Cited by 25 in State-space sequence models (S4, Mamba), but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
We present CSWin Transformer, an efficient and effective Transformer-based backbone for general-purpose vision tasks. A challenging issue in Transformer design is that global self-attention is very expensive to compute whereas local self-attention often limits the field of interactions of each token. To address this issue, we develop the Cross-Shaped Window self-attention mechanism for computing self-attention in the horizontal and vertical stripes in parallel that form a cross-shaped window, with each stripe obtained by splitting the input feature into stripes of equal width. We provide a mathematical analysis of the effect of the stripe width and vary the stripe width for different layers of the Transformer network which achieves strong modeling capability while limiting the computation cost. We also introduce Locally-enhanced Positional Encoding (LePE), which handles the local positional information better than existing encoding schemes. LePE naturally supports arbitrary input resolutions, and is thus especially effective and friendly for downstream tasks. Incorporated with these designs and a hierarchical structure, CSWin Transformer demonstrates competitive performance on common vision tasks. Specifically, it achieves 85.4% Top-1 accuracy on ImageNet-1K without any extra training data or label, 53.9 box AP and 46.4 mask AP on the COCO detection task, and 52.2 mIOU on the ADE20K semantic segmentation task, surpassing previous state-of-the-art Swin Transformer backbone by +1.2, +2.0, +1.4, and +2.0 respectively under the similar FLOPs setting. By further pretraining on the larger dataset ImageNet-21K, we achieve 87.5% Top-1 accuracy on ImageNet-1K and high segmentation performance on ADE20K with 55.7 mIoU. The code and models are available at https://github.com/microsoft/CSWin-Transformer.
Key facts. Cited by 526 papers in the map (data through 7 Oct 2026). Builds on 63 of its 78 references that are in the map. First posted on arXiv 1 Jul 2021.
Builds on
63 of 78 references.
References · 63
- 2017Attention Is All You Needcited by 59,932
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2014Microsoft COCO: Common Objects in Contextcited by 17,498
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2017Mask R-CNNcited by 7,259
- 2016Densely Connected Convolutional Networkscited by 6,691
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
- 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
- 2017Squeeze-and-Excitation Networkscited by 4,763
38 more
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2014Going Deeper with Convolutionscited by 4,231
- 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
- 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
- 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
- 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
- 2020Reformer: The Efficient Transformercited by 1,658
- 2020Rethinking Attention with Performerscited by 1,584
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
- 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
- 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
- 2017Random Erasing Data Augmentationcited by 1,235
- 2018Self-Attention with Relative Position Representationscited by 1,112
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2016Deep Networks with Stochastic Depthcited by 973
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2021Multiscale Vision Transformerscited by 896
- 2020Pre-Trained Image Processing Transformercited by 891
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
- 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
- 2021Going deeper with Image Transformerscited by 759
- 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2019Panoptic Feature Pyramid Networkscited by 644
- 2021Transformer in Transformercited by 632
- 2019Stand-Alone Self-Attention in Vision Modelscited by 542
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2020End-to-End Video Instance Segmentation with Transformerscited by 443
- 2021TransReID: Transformer-based Object Re-Identificationcited by 432
50 most cited of 63 All 63 (JSON)
Built on by
Citing papers per year: 2021: 30; 2022: 134; 2023: 143; 2024: 109; 2025: 76; 2026: 34.
526 papers.
Sort:
By area:
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2022Token Merging: Your ViT But Fastercited by 995
- 2024VMamba: Visual State Space Modelcited by 955
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 714
- 2023Point Transformer V3: Simpler, Faster, Strongercited by 579
- 2022Vision Transformer Adapter for Dense Predictionscited by 564
- 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2022Activating More Pixels in Image Super-Resolution Transformercited by 433
38 more
- 2022DeiT III: Revenge of the ViTcited by 417
- 2022Point Transformer V2: Grouped Vector Attention and Partition-based Poolingcited by 384
- 2022V2X-ViT: Vehicle-to-Everything Cooperative Perception with Vision Transformercited by 320
- 2025YOLOv12: Attention-Centric Real-Time Object Detectorscited by 300
- 2022Vision Transformer with Deformable Attentioncited by 293
- 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 287
- 2022Vision Transformers for Single Image Dehazingcited by 255
- 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
- 2022CoBEVT: Cooperative Bird's Eye View Semantic Segmentation with Sparse Transformerscited by 227
- 2022UniFormer: Unifying Convolution and Self-attention for Visual Recognitioncited by 206
- 2021PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformerscited by 204
- 2022MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognitioncited by 189
- 2024CBraMod: A Criss-Cross Brain Foundation Model for EEG Decodingcited by 188
- 2022Focal Modulation Networkscited by 186
- 2022UniFormer: Unified Transformer for Efficient Spatiotemporal Representation Learningcited by 182
- 2022DaViT: Dual Attention Vision Transformerscited by 174
- 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 170
- 2021BEVT: BERT Pretraining of Video Transformerscited by 169
- 2023SCLIP: Rethinking Self-Attention for Dense Vision-Language Inferencecited by 169
- 2022Recurrent Video Restoration Transformer with Guided Deformable Attentioncited by 168
- 2022Stratified Transformer for 3D Point Cloud Segmentationcited by 166
- 2022Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNscited by 155
- 2021StyleSwin: Transformer-based GAN for High-resolution Image Generationcited by 152
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
- 2022Advancing Plain Vision Transformer Towards Remote Sensing Foundation Modelcited by 149
- 2023AIM: Adapting Image Models for Efficient Video Action Recognitioncited by 145
- 2022OmniVL:One Foundation Model for Image-Language and Video-Language Taskscited by 143
- 2022More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsitycited by 142
- 2024MambaOut: Do We Really Need Mamba for Vision?cited by 142
- 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognitioncited by 141
- 2022MetaFormer Baselines for Visioncited by 131
- 2022QuadTree Attention for Vision Transformerscited by 129
- 2023Spherical Transformer for LiDAR-based 3D Recognitioncited by 124
- 2023RepViT: Revisiting Mobile CNN From ViT Perspectivecited by 123
- 2023Token Fusion: Bridging the Gap between Token Pruning and Token Mergingcited by 123
- 2023DSVT: Dynamic Sparse Voxel Transformer with Rotated Setscited by 122
- 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
- 2022UniFormerV2: Spatiotemporal Learning by Arming Image ViTs with Video UniFormercited by 116
50 most cited of 526 All 526 (JSON)
- 2026Pixel-Level Transformers in Remote Sensing: A Canopy Height Case Study29 Sep 2026
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026TailProp: content-adaptive light- and heavy-tailed propagation for vision10 Sep 2026
- 2026nnMNet: Baseline for Martian Terrain Semantic Segmentation30 Aug 2026
- 2026Semantic Head Specialization Guides Hybrid ViT Attention for Multimodal LLMs28 Aug 2026
- 2026YOLOv14: Adaptive Real-Time Object Detection for Diverse Imaging Conditions5 Aug 2026
- 2026Norm or Direction? Decoding Vision Mambas for High-Resolution Vision21 Jul 2026
- 2026CUST: Clustered Unit-level Similarity Transformer for Lightweight Image Super-Resolution13 Jul 2026
- 2026FlexViT: A Flexible FPGA-based Accelerator for Edge Vision Transformers30 Jun 2026
- 2026CSWinUNETR: Segmentation of Thin Anatomical Structures in Medical Images18 Jun 2026
- 2026ATT-CR: Adaptive Triangular Transformer for Cloud Removal4 Jun 2026
- 2026SwInception -- Local Attention Meets Convolutions28 May 2026
38 more
- 2026Small Models, Strong Priors: Architectural Inductive Bias for Parameter-Efficient Neural PDE Solvers25 May 2026
- 2026Activation-Free Backbones for Image Recognition: Polynomial Alternatives within MetaFormer-Style Vision Models20 May 2026
- 2026Representative Attention For Vision Transformers14 May 2026
- 2026Can Graphs Help Vision SSMs See Better?11 May 2026
- 2026USEMA: a Scalable Efficient Mamba Like Attention for Medical Image Segmentation11 May 2026
- 2026Edge-Efficient Image Restoration: Transformer Distillation into State-Space Models4 May 2026
- 2026Linearizing Vision Transformer with Test-Time Training4 May 2026
- 2026Adaptive Slicing-Assisted Hyper Inference for Enhanced Small Object Detection in High-Resolution Imagery21 Apr 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2026Gated-SwinRMT: Unifying Swin Windowed Attention with Retentive Manhattan Decay via Input-Dependent Gating7 Apr 2026
- 2026ExFusion: Efficient Transformer Training via Multi-Experts Fusion30 Mar 2026
- 2026UEPS: Robust and Efficient MRI Reconstruction19 Mar 2026
- 2026Locality-Attending Vision Transformer5 Mar 2026
- 2026Random Wins All: Rethinking Grouping Strategies for Vision Tokens28 Feb 2026
- 2026MUOT_3M: A 3 Million Frame Multimodal Underwater Benchmark and the MUTrack Tracking Method20 Feb 2026
- 2026Prior-guided Hierarchical Instance-pixel Contrastive Learning for Ultrasound Speckle Noise Suppression14 Feb 2026
- 2026Can Image Splicing and Copy-Move Forgery Be Detected by the Same Model? Forensim: An Attention-Based State-Space Approach10 Feb 2026
- 2026Partial Ring Scan: Revisiting Scan Order in Vision State Space Models4 Feb 2026
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weights1 Feb 2026
- 2026From Local Windows to Adaptive Candidates via Individualized Exploratory: Rethinking Attention for Image Super-Resolution13 Jan 2026
- 2026How to Build Robust, Scalable Models for GSV-Based Indicators in Neighborhood Research10 Jan 2026
- 2026IDESplat: Iterative Depth Probability Estimation for Generalizable 3D Gaussian Splatting7 Jan 2026
- 2025YOLO-Master: MOE-Accelerated with Specialized Transformers for Enhanced Real-time Detection29 Dec 2025
- 2025Edge-Aware and Content-Adaptive Infrared Gas Leak Detection for Industrial Safety Monitoring29 Dec 2025
- 2025Neighbor-Aware Token Reduction via Hilbert Curve for Vision Transformers28 Dec 2025
- 2025Vision Transformers are Circulant Attention Learners25 Dec 2025
- 2025Power of Boundary and Reflection: Semantic Transparent Object Segmentation using Pyramid Vision Transformer with Transparent Cues7 Dec 2025
- 2025DisentangleFormer: Spatial-Channel Decoupling for Multi-Channel Vision3 Dec 2025
- 2025Hierarchical Attention for Sparse Volumetric Anomaly Detection in Subclinical Keratoconus3 Dec 2025
- 2025ViT3: Unlocking Test-Time Training in Vision1 Dec 2025
- 2025GSPN-2: Efficient Parallel Sequence Modeling28 Nov 2025
- 2025EVCC: Enhanced Vision Transformer-ConvNeXt-CoAtNet Fusion for Classification24 Nov 2025
- 2025Enhancing Adversarial Transferability through Block Stretch and Shrink21 Nov 2025
- 2025DiffPixelFormer: Differential Pixel-Aware Transformer for RGB-D Indoor Scene Segmentation17 Nov 2025
- 2025Hilbert-Guided Sparse Local Attention8 Nov 2025
- 2025Linear Differential Vision Transformer: Learning Visual Contrasts via Pairwise Differentials2 Nov 2025
- 2025Alias-Free ViT: Fractional Shift Invariance via Linear Attention26 Oct 2025
- 2025Attentive Convolution: Unifying the Expressivity of Self-Attention with Convolutional Efficiency23 Oct 2025
50 newest of 526 All 526 (JSON)
- 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
- 2024MambaOut: Do We Really Need Mamba for Vision?cited by 142
- 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognitioncited by 141
- 2024Demystify Mamba in Vision: A Linear Attention Perspectivecited by 101
- 2024Mamba-ND: Selective State Space Modeling for Multi-Dimensional Datacited by 84
- 2024SiMBA: Simplified Mamba-Based Architecture for Vision and Multivariate Time seriescited by 81
- 2024CDMamba: Incorporating Local Clues into Mamba for Remote Sensing Image Binary Change Detectioncited by 48
- 2024VSSD: Vision Mamba with Non-Causal State Space Dualitycited by 29
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Dualitycited by 17
- 2024SparX: A Sparse Cross-Layer Connection Mechanism for Hierarchical Vision Mamba and Transformer Networkscited by 14
- 2024LoG-VMamba: Local-Global Vision Mamba for Medical Image Segmentationcited by 8
- 2025TransMamba: Fast Universal Architecture Adaption from Transformers to Mambacited by 6
12 most cited of 24 All 24 (JSON)
- 2026Norm or Direction? Decoding Vision Mambas for High-Resolution Vision21 Jul 2026
- 2026Can Graphs Help Vision SSMs See Better?11 May 2026
- 2026USEMA: a Scalable Efficient Mamba Like Attention for Medical Image Segmentation11 May 2026
- 2025A2Mamba: Attention-augmented State Space Models for Visual Recognition22 Jul 2025
- 2025AtrousMamaba: An Atrous-Window Scanning Visual State Space Model for Remote Sensing Change Detection22 Jul 2025
- 2025VSRM: A Robust Mamba-Based Framework for Video Super-Resolution28 Jun 2025
- 2025SEMA: a Scalable and Efficient Mamba like Attention via Token Localization and Averaging10 Jun 2025
- 2025FMNet: Frequency-Assisted Mamba-Like Linear Attention Network for Camouflaged Object Detection14 Mar 2025
- 2025TransMamba: Fast Universal Architecture Adaption from Transformers to Mamba21 Feb 2025
- 2025Medical Image Classification with KAN-Integrated Transformers and Dilated Neighborhood Attention19 Feb 2025
- 2024EfficientViM: Efficient Vision Mamba with Hidden State Mixer based State Space Duality22 Nov 2024
- 2024MLLA-UNet: Mamba-like Linear Attention in an Efficient U-Shape Model for Medical Image Segmentation31 Oct 2024
12 newest of 24 All 24 (JSON)
- 2022Token Merging: Your ViT But Fastercited by 995
- 2023Token Fusion: Bridging the Gap between Token Pruning and Token Mergingcited by 123
- 2024Accelerating Transformers with Spectrum-Preserving Token Mergingcited by 35
- 2023GTP-ViT: Efficient Vision Transformers via Graph-based Token Propagationcited by 19
- 2023CAIT: Triple-Win Compression towards High Accuracy, Fast Inference, and Favorable Transferability For ViTscited by 9
- 2025Efficient Token Compression for Vision Transformer with Spatial Information Preservedcited by 2
- 2025Neighbor-Aware Token Reduction via Hilbert Curve for Vision Transformerscited by 0
- 2026Representative Attention For Vision Transformerscited by 0
- 2026Representative Attention For Vision Transformers14 May 2026
- 2025Neighbor-Aware Token Reduction via Hilbert Curve for Vision Transformers28 Dec 2025
- 2025Efficient Token Compression for Vision Transformer with Spatial Information Preserved30 Mar 2025
- 2024Accelerating Transformers with Spectrum-Preserving Token Merging25 May 2024
- 2023Token Fusion: Bridging the Gap between Token Pruning and Token Merging2 Dec 2023
- 2023GTP-ViT: Efficient Vision Transformers via Graph-based Token Propagation6 Nov 2023
- 2023CAIT: Triple-Win Compression towards High Accuracy, Fast Inference, and Favorable Transferability For ViTs27 Sep 2023
- 2022Token Merging: Your ViT But Faster17 Oct 2022
- 2025A Survey of Token Compression for Efficient Multimodal Large Language Modelscited by 22
- 2024Inf-MLLM: Efficient Streaming Inference of Multimodal Large Language Models on a Single GPUcited by 20
- 2024GPT4Ego: Unleashing the Potential of Pre-trained Models for Zero-Shot Egocentric Action Recognitioncited by 8
- 2023Vision Language Transformers: A Surveycited by 5
- 2026Semantic Head Specialization Guides Hybrid ViT Attention for Multimodal LLMscited by 1
- 2026Semantic Head Specialization Guides Hybrid ViT Attention for Multimodal LLMs28 Aug 2026
- 2025A Survey of Token Compression for Efficient Multimodal Large Language Models27 Jul 2025
- 2024Inf-MLLM: Efficient Streaming Inference of Multimodal Large Language Models on a Single GPU11 Sep 2024
- 2024GPT4Ego: Unleashing the Potential of Pre-trained Models for Zero-Shot Egocentric Action Recognition18 Jan 2024
- 2023Vision Language Transformers: A Survey6 Jul 2023
- 2022Residual Mixture of Expertscited by 39
- 2025YOLO-Master: MOE-Accelerated with Specialized Transformers for Enhanced Real-time Detectioncited by 4
- 2025A Retrospective Systematic Study on Hierarchical Sparse Query Transformer-assisted Ultrasound Screening for Early Hepatocellular Carcinomacited by 1
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weightscited by 1
- 2026ExFusion: Efficient Transformer Training via Multi-Experts Fusioncited by 0
- 2026ExFusion: Efficient Transformer Training via Multi-Experts Fusion30 Mar 2026
- 2026Mixture-of-Top-k Attention: Efficient Attention via Scalable Fast Weights1 Feb 2026
- 2025YOLO-Master: MOE-Accelerated with Specialized Transformers for Enhanced Real-time Detection29 Dec 2025
- 2025A Retrospective Systematic Study on Hierarchical Sparse Query Transformer-assisted Ultrasound Screening for Early Hepatocellular Carcinoma6 Feb 2025
- 2022Residual Mixture of Experts20 Apr 2022
- 2024Soft Masked Mamba Diffusion Model for CT to MRI Conversion22 Jun 2024
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
- 2024VMamba: Visual State Space Modelcited by 955
- 2021Florence: A New Foundation Model for Computer Visioncited by 802
- 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 714
- 2023Point Transformer V3: Simpler, Faster, Strongercited by 579
- 2022Vision Transformer Adapter for Dense Predictionscited by 564
- 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
- 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
- 2022MaxViT: Multi-Axis Vision Transformercited by 476
- 2022Activating More Pixels in Image Super-Resolution Transformercited by 433
- 2022DeiT III: Revenge of the ViTcited by 417
- 2022Point Transformer V2: Grouped Vector Attention and Partition-based Poolingcited by 384
12 most cited of 482 All 482 (JSON)
- 2026Pixel-Level Transformers in Remote Sensing: A Canopy Height Case Study29 Sep 2026
- 2026VisionHOPE: Visual Backbones as Self-Modifying Learning Systems27 Sep 2026
- 2026TailProp: content-adaptive light- and heavy-tailed propagation for vision10 Sep 2026
- 2026nnMNet: Baseline for Martian Terrain Semantic Segmentation30 Aug 2026
- 2026YOLOv14: Adaptive Real-Time Object Detection for Diverse Imaging Conditions5 Aug 2026
- 2026CUST: Clustered Unit-level Similarity Transformer for Lightweight Image Super-Resolution13 Jul 2026
- 2026FlexViT: A Flexible FPGA-based Accelerator for Edge Vision Transformers30 Jun 2026
- 2026CSWinUNETR: Segmentation of Thin Anatomical Structures in Medical Images18 Jun 2026
- 2026ATT-CR: Adaptive Triangular Transformer for Cloud Removal4 Jun 2026
- 2026SwInception -- Local Attention Meets Convolutions28 May 2026
- 2026Small Models, Strong Priors: Architectural Inductive Bias for Parameter-Efficient Neural PDE Solvers25 May 2026
- 2026Activation-Free Backbones for Image Recognition: Polynomial Alternatives within MetaFormer-Style Vision Models20 May 2026
12 newest of 482 All 482 (JSON)