AnchorFormer: Differentiable Anchor Attention for Efficient Vision Transformer
Not on the map. Why?
Abstract (arXiv)
Recently, vision transformers (ViTs) have achieved excellent performance on vision tasks by measuring the global self-attention among the image patches. Given n patches, they will have quadratic complexity such as O(n2) and the time cost is high when splitting the input image with a small granularity. Meanwhile, the pivotal information is often randomly gathered in a few regions of an input image, some tokens may not be helpful for the downstream tasks. To handle this problem, we introduce an anchor-based efficient vision transformer (AnchorFormer), which employs the anchor tokens to learn the pivotal information and accelerate the inference. Firstly, by estimating the bipartite attention between the anchors and tokens, the complexity will be reduced from O(n2) to O(mn), where m is an anchor number and m < n. Notably, by representing the anchors with the neurons in a neural layer, we can differentiably learn these anchors and approximate global self-attention through the Markov process. It avoids the burden caused by non-differentiable operations and further speeds up the approximate attention. Moreover, we extend the proposed model to three downstream tasks including classification, detection, and segmentation. Extensive experiments show the effectiveness of our AnchorFormer, e.g., achieving up to a 9.0% higher accuracy or 46.7% FLOPs reduction on ImageNet classification, 81.3% higher mAP on COCO detection under comparable FLOPs, as compared to the current baselines.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 61 of its 79 references that are in the map. First posted on arXiv 22 May 2025.
Builds on
61 of 79 references.
References · 61
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2020End-to-End Object Detection with Transformerscited by 7,414
- 2016Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localizationcited by 6,733
- 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,586
- 2018YOLOv3: An Incremental Improvementcited by 2,659
- 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,962
38 more
- 2020Big Bird: Transformers for Longer Sequencescited by 1,684
- 2018Unified Perceptual Parsing for Scene Understandingcited by 1,271
- 2021YOLOX: Exceeding YOLO Series in 2021cited by 1,071
- 2019EfficientDet: Scalable and Efficient Object Detectioncited by 1,020
- 2020Designing Network Design Spacescited by 960
- 2021Segmenter: Transformer for Semantic Segmentationcited by 855
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2020A Survey on Visual Transformercited by 654
- 2019Panoptic Feature Pyramid Networkscited by 645
- 2021Transformer in Transformercited by 633
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 527
- 2021MViTv2: Improved Multiscale Vision Transformers for Classification and Detectioncited by 519
- 2021LeViT: a Vision Transformer in ConvNet's Clothing for Faster Inferencecited by 475
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
- 2021XCiT: Cross-Covariance Image Transformerscited by 338
- 2022Vision Transformer with Deformable Attentioncited by 295
- 2021DeepViT: Towards Deeper Vision Transformercited by 289
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 288
- 2021Post-Training Quantization for Vision Transformercited by 278
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 251
- 2019Structured Pruning of Large Language Modelscited by 203
- 2021AutoFormer: Searching Transformers for Visual Recognitioncited by 188
- 2019The Evolved Transformercited by 180
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 151
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
- 2019Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Modelcited by 59
- 2020MobileDets: Searching for Object Detection Architectures for Mobile Acceleratorscited by 55
- 2022Positive-incentive Noisecited by 39
- 2020XtremeDistil: Multi-stage Distillation for Massive Multilingual Modelscited by 38
- 2023Slide-Transformer: Hierarchical Vision Transformer with Local Self-Attentioncited by 38
- 2023Variational Positive-incentive Noise: How Noise Benefits Modelscited by 38
- 2019Fully Quantized Transformer for Machine Translationcited by 36
- 2022Contrastive Language-Image Pre-Training with Knowledge Graphscited by 34
- 2024Enhance Vision-Language Alignment with Noisecited by 34
- 2019NAT: Neural Architecture Transformer for Accurate and Compact Architecturescited by 33
- 2022Castling-ViT: Compressing Self-Attention via Switching Towards Linear-Angular Attention at Vision Transformer Inferencecited by 28
- 2021PP-LCNet: A Lightweight CPU Convolutional Neural Networkcited by 27
50 most cited of 61 All 61 (JSON)
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.