mlsanityData to 7 Oct 2026

CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows

arXiv 2107.00652 ↗First posted 1 Jul 2021cs.CV cs.LGcited by 526

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

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  5. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  6. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  7. 2020End-to-End Object Detection with Transformerscited by 7,384
  8. 2017Mask R-CNNcited by 7,259
  9. 2016Densely Connected Convolutional Networkscited by 6,691
  10. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,415
  11. 2018MobileNetV2: Inverted Residuals and Linear Bottleneckscited by 4,773
  12. 2017Squeeze-and-Excitation Networkscited by 4,763
38 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  2. 2014Going Deeper with Convolutionscited by 4,231
  3. 2017MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applicationscited by 3,827
  4. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,410
  5. 2020Longformer: The Long-Document Transformercited by 3,362
  6. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  7. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  8. 2016Xception: Deep Learning with Depthwise Separable Convolutionscited by 2,320
  9. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  10. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  11. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  12. 2020Reformer: The Efficient Transformercited by 1,658
  13. 2020Rethinking Attention with Performerscited by 1,584
  14. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  15. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
  16. 2020Rethinking Semantic Segmentation from a Sequence-to-Sequence Perspective with Transformerscited by 1,368
  17. 2019Deep High-Resolution Representation Learning for Human Pose Estimationcited by 1,339
  18. 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,275
  19. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  20. 2017Random Erasing Data Augmentationcited by 1,235
  21. 2018Self-Attention with Relative Position Representationscited by 1,112
  22. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  23. 2016Deep Networks with Stochastic Depthcited by 973
  24. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  25. 2021Multiscale Vision Transformerscited by 896
  26. 2020Pre-Trained Image Processing Transformercited by 891
  27. 2021Segmenter: Transformer for Semantic Segmentationcited by 855
  28. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  29. 2019Big Transfer (BiT): General Visual Representation Learningcited by 766
  30. 2021Going deeper with Image Transformerscited by 759
  31. 2018CCNet: Criss-Cross Attention for Semantic Segmentationcited by 717
  32. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  33. 2019Panoptic Feature Pyramid Networkscited by 644
  34. 2021Transformer in Transformercited by 632
  35. 2019Stand-Alone Self-Attention in Vision Modelscited by 542
  36. 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
  37. 2020End-to-End Video Instance Segmentation with Transformerscited by 443
  38. 2021TransReID: Transformer-based Object Re-Identificationcited by 432

50 most cited of 63 All 63 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 30; 2022: 134; 2023: 143; 2024: 109; 2025: 76; 2026: 34.

526 papers.

Sort:

By area:

  1. 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,215
  2. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,051
  3. 2022Token Merging: Your ViT But Fastercited by 995
  4. 2024VMamba: Visual State Space Modelcited by 955
  5. 2021Florence: A New Foundation Model for Computer Visioncited by 802
  6. 2022AdaptFormer: Adapting Vision Transformers for Scalable Visual Recognitioncited by 714
  7. 2023Point Transformer V3: Simpler, Faster, Strongercited by 579
  8. 2022Vision Transformer Adapter for Dense Predictionscited by 564
  9. 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 516
  10. 2022InternImage: Exploring Large-Scale Vision Foundation Models with Deformable Convolutionscited by 479
  11. 2022MaxViT: Multi-Axis Vision Transformercited by 476
  12. 2022Activating More Pixels in Image Super-Resolution Transformercited by 433
38 more
  1. 2022DeiT III: Revenge of the ViTcited by 417
  2. 2022Point Transformer V2: Grouped Vector Attention and Partition-based Poolingcited by 384
  3. 2022V2X-ViT: Vehicle-to-Everything Cooperative Perception with Vision Transformercited by 320
  4. 2025YOLOv12: Attention-Centric Real-Time Object Detectorscited by 300
  5. 2022Vision Transformer with Deformable Attentioncited by 293
  6. 2023Hiera: A Hierarchical Vision Transformer without the Bells-and-Whistlescited by 287
  7. 2022Vision Transformers for Single Image Dehazingcited by 255
  8. 2021Mobile-Former: Bridging MobileNet and Transformercited by 234
  9. 2022CoBEVT: Cooperative Bird's Eye View Semantic Segmentation with Sparse Transformerscited by 227
  10. 2022UniFormer: Unifying Convolution and Self-attention for Visual Recognitioncited by 206
  11. 2021PeCo: Perceptual Codebook for BERT Pre-training of Vision Transformerscited by 204
  12. 2022MeMViT: Memory-Augmented Multiscale Vision Transformer for Efficient Long-Term Video Recognitioncited by 189
  13. 2024CBraMod: A Criss-Cross Brain Foundation Model for EEG Decodingcited by 188
  14. 2022Focal Modulation Networkscited by 186
  15. 2022UniFormer: Unified Transformer for Efficient Spatiotemporal Representation Learningcited by 182
  16. 2022DaViT: Dual Attention Vision Transformerscited by 174
  17. 2023FLatten Transformer: Vision Transformer using Focused Linear Attentioncited by 170
  18. 2021BEVT: BERT Pretraining of Video Transformerscited by 169
  19. 2023SCLIP: Rethinking Self-Attention for Dense Vision-Language Inferencecited by 169
  20. 2022Recurrent Video Restoration Transformer with Guided Deformable Attentioncited by 168
  21. 2022Stratified Transformer for 3D Point Cloud Segmentationcited by 166
  22. 2022Scaling Up Your Kernels to 31x31: Revisiting Large Kernel Design in CNNscited by 155
  23. 2021StyleSwin: Transformer-based GAN for High-resolution Image Generationcited by 152
  24. 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
  25. 2022Advancing Plain Vision Transformer Towards Remote Sensing Foundation Modelcited by 149
  26. 2023AIM: Adapting Image Models for Efficient Video Action Recognitioncited by 145
  27. 2022OmniVL:One Foundation Model for Image-Language and Video-Language Taskscited by 143
  28. 2022More ConvNets in the 2020s: Scaling up Kernels Beyond 51x51 using Sparsitycited by 142
  29. 2024MambaOut: Do We Really Need Mamba for Vision?cited by 142
  30. 2024PlainMamba: Improving Non-Hierarchical Mamba in Visual Recognitioncited by 141
  31. 2022MetaFormer Baselines for Visioncited by 131
  32. 2022QuadTree Attention for Vision Transformerscited by 129
  33. 2023Spherical Transformer for LiDAR-based 3D Recognitioncited by 124
  34. 2023RepViT: Revisiting Mobile CNN From ViT Perspectivecited by 123
  35. 2023Token Fusion: Bridging the Gap between Token Pruning and Token Mergingcited by 123
  36. 2023DSVT: Dynamic Sparse Voxel Transformer with Rotated Setscited by 122
  37. 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
  38. 2022UniFormerV2: Spatiotemporal Learning by Arming Image ViTs with Video UniFormercited by 116

50 most cited of 526 All 526 (JSON)