mlsanityData to 7 Oct 2026

CrossFormer: A Versatile Vision Transformer Hinging on Cross-scale Attention

arXiv 2108.00154 ↗First posted 31 Jul 2021cs.CV cs.LGcited by 139

Not on the map. Why?

Abstract (arXiv)

Transformers have made great progress in dealing with computer vision tasks. However, existing vision transformers do not yet possess the ability of building the interactions among features of different scales, which is perceptually important to visual inputs. The reasons are two-fold: (1) Input embeddings of each layer are equal-scale, so no cross-scale feature can be extracted; (2) to lower the computational cost, some vision transformers merge adjacent embeddings inside the self-attention module, thus sacrificing small-scale (fine-grained) features of the embeddings and also disabling the cross-scale interactions. To this end, we propose Cross-scale Embedding Layer (CEL) and Long Short Distance Attention (LSDA). On the one hand, CEL blends each embedding with multiple patches of different scales, providing the self-attention module itself with cross-scale features. On the other hand, LSDA splits the self-attention module into a short-distance one and a long-distance counterpart, which not only reduces the computational burden but also keeps both small-scale and large-scale features in the embeddings. Through the above two designs, we achieve cross-scale attention. Besides, we put forward a dynamic position bias for vision transformers to make the popular relative position bias apply to variable-sized images. Hinging on the cross-scale attention module, we construct a versatile vision architecture, dubbed CrossFormer, which accommodates variable-sized inputs. Extensive experiments show that CrossFormer outperforms the other vision transformers on image classification, object detection, instance segmentation, and semantic segmentation tasks. The code has been released: https://github.com/cheerss/CrossFormer.

Key facts. Cited by 139 papers in the map (data through 7 Oct 2026). Builds on 42 of its 50 references that are in the map. First posted on arXiv 31 Jul 2021.

Builds on

42 of 50 references.

References · 42

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2020Language Models are Few-Shot Learnerscited by 32,199
  5. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  6. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  8. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  9. 2020End-to-End Object Detection with Transformerscited by 7,384
  10. 2017Mask R-CNNcited by 7,259
  11. 2016Layer Normalizationcited by 5,579
  12. 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
30 more
  1. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  2. 2014Going Deeper with Convolutionscited by 4,231
  3. 2020Longformer: The Long-Document Transformercited by 3,362
  4. 2019CutMix: Regularization Strategy to Train Strong Classifiers with Localizable Featurescited by 2,875
  5. 2019RandAugment: Practical automated data augmentation with a reduced search spacecited by 2,261
  6. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
  7. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  8. 2019Generating Long Sequences with Sparse Transformerscited by 1,523
  9. 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,379
  10. 2018Unified Perceptual Parsing for Scene Understandingcited by 1,265
  11. 2017Random Erasing Data Augmentationcited by 1,235
  12. 2017ShuffleNet: An Extremely Efficient Convolutional Neural Network for Mobile Devicescited by 1,194
  13. 2018Self-Attention with Relative Position Representationscited by 1,112
  14. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  15. 2016Deep Networks with Stochastic Depthcited by 973
  16. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  17. 2021CrossViT: Cross-Attention Multi-Scale Vision Transformer for Image Classificationcited by 806
  18. 2019Panoptic Feature Pyramid Networkscited by 644
  19. 2021Transformer in Transformercited by 632
  20. 2020Sparse R-CNN: End-to-End Object Detection with Learnable Proposalscited by 494
  21. 2021Bottleneck Transformers for Visual Recognitioncited by 364
  22. 2021Co-Scale Conv-Attentional Image Transformerscited by 224
  23. 2021ViTAE: Vision Transformer Advanced by Exploring Intrinsic Inductive Biascited by 216
  24. 2021Multi-Scale Vision Longformer: A New Vision Transformer for High-Resolution Image Encodingcited by 207
  25. 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 126
  26. 2021Shuffle Transformer: Rethinking Spatial Shuffle for Vision Transformercited by 115
  27. 2019MixConv: Mixed Depthwise Convolutional Kernelscited by 108
  28. 2021CAT: Cross Attention in Vision Transformercited by 92
  29. 2021ResT: An Efficient Transformer for Visual Recognitioncited by 79
  30. 2017Interleaved Group Convolutions for Deep Neural Networkscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 2; 2022: 35; 2023: 44; 2024: 32; 2025: 18; 2026: 8.

139 papers.

Sort:

By area:

  1. 2022Masked Autoencoders for Point Cloud Self-supervised Learningcited by 456
  2. 2022ViTPose: Simple Vision Transformer Baselines for Human Pose Estimationcited by 450
  3. 2022Vision Transformers for Single Image Dehazingcited by 255
  4. 2022EfficientFormer: Vision Transformers at MobileNet Speedcited by 240
  5. 2023SCLIP: Rethinking Self-Attention for Dense Vision-Language Inferencecited by 169
  6. 2022Multi-Agent Reinforcement Learning is a Sequence Modeling Problemcited by 153
  7. 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
  8. 2023Dual Aggregation Transformer for Image Super-Resolutioncited by 124
  9. 2022Rethinking Vision Transformers for MobileNet Size and Speedcited by 121
  10. 2022ViTAEv2: Vision Transformer Advanced by Exploring Inductive Bias for Image Recognition and Beyondcited by 117
  11. 2023Swin3D: A Pretrained Transformer Backbone for 3D Indoor Scene Understandingcited by 111
  12. 2024Efficient Multimodal Large Language Models: A Surveycited by 95
38 more
  1. 2022Cross Aggregation Transformer for Image Restorationcited by 92
  2. 2022Accurate Image Restoration with Attention Retractable Transformercited by 85
  3. 2022Improving Vision Transformers by Revisiting High-frequency Componentscited by 75
  4. 2023FlatFormer: Flattened Window Attention for Efficient Point Cloud Transformercited by 72
  5. 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
  6. 2022ViTPose++: Vision Transformer for Generic Body Pose Estimationcited by 65
  7. 2022The Devil is in the Labels: Noisy Label Correction for Robust Scene Graph Generationcited by 60
  8. 2023SparseViT: Revisiting Activation Sparsity for Efficient High-Resolution Vision Transformercited by 60
  9. 2024Scaling Spike-driven Transformer with Efficient Spike Firing Approximation Trainingcited by 57
  10. 2023A Comparative Study of Image Restoration Networks for General Backbone Network Designcited by 56
  11. 2023Cascaded Local Implicit Transformer for Arbitrary-Scale Super-Resolutioncited by 51
  12. 2023Revisiting Token Pruning for Object Detection and Instance Segmentationcited by 50
  13. 2023Vision Transformer with Quadrangle Attentioncited by 46
  14. 2022VSA: Learning Varied-Size Window Attention in Vision Transformerscited by 43
  15. 2022Vision Transformer with Super Token Samplingcited by 43
  16. 2024HiT-SR: Hierarchical Transformer for Efficient Image Super-Resolutioncited by 42
  17. 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selectioncited by 40
  18. 2022ScalableViT: Rethinking the Context-oriented Generalization of Vision Transformercited by 36
  19. 2023LipsFormer: Introducing Lipschitz Continuity to Vision Transformerscited by 33
  20. 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
  21. 2025DFormerv2: Geometry Self-Attention for RGBD Semantic Segmentationcited by 30
  22. 2022Towards Efficient Adversarial Training on Vision Transformerscited by 29
  23. 2022DynaMixer: A Vision MLP Architecture with Dynamic Mixingcited by 28
  24. 2023Making Vision Transformers Efficient from A Token Sparsification Viewcited by 28
  25. 2022EATFormer: Improving Vision Transformer Inspired by Evolutionary Algorithmcited by 27
  26. 2023Lightweight Vision Transformer with Bidirectional Interactioncited by 25
  27. 2022Are Deep Neural Networks SMARTer than Second Graders?cited by 24
  28. 2025OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernelscited by 24
  29. 2021Classification-Then-Grounding: Reformulating Video Scene Graphs as Temporal Bipartite Graphscited by 23
  30. 2023HDFormer: High-order Directed Transformer for 3D Human Pose Estimationcited by 23
  31. 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attentioncited by 21
  32. 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognitioncited by 21
  33. 2024An Efficient and Effective Transformer Decoder-Based Framework for Multi-Task Visual Groundingcited by 21
  34. 2022NICEST: Noisy Label Correction and Training for Robust Scene Graph Generationcited by 19
  35. 2023CrossFormer++: A Versatile Vision Transformer Hinging on Cross-scale Attentioncited by 18
  36. 2025DefMamba: Deformable Visual State Space Modelcited by 18
  37. 2022TransKD: Transformer Knowledge Distillation for Efficient Semantic Segmentationcited by 17
  38. 2021Efficient Self-Ensemble for Semantic Segmentationcited by 16

50 most cited of 139 All 139 (JSON)