mlsanityData to 7 Oct 2026

QuadTree Attention for Vision Transformers

arXiv 2201.02767 ↗First posted 8 Jan 2022cs.CVcited by 129

Not on the map. Why?

Abstract (arXiv)

Transformers have been successful in many vision tasks, thanks to their capability of capturing long-range dependency. However, their quadratic computational complexity poses a major obstacle for applying them to vision tasks requiring dense predictions, such as object detection, feature matching, stereo, etc. We introduce QuadTree Attention, which reduces the computational complexity from quadratic to linear. Our quadtree transformer builds token pyramids and computes attention in a coarse-to-fine manner. At each level, the top K patches with the highest attention scores are selected, such that at the next level, attention is only evaluated within the relevant regions corresponding to these top K patches. We demonstrate that quadtree attention achieves state-of-the-art performance in various vision tasks, e.g. with 4.0% improvement in feature matching on ScanNet, about 50% flops reduction in stereo matching, 0.4-1.5% improvement in top-1 accuracy on ImageNet classification, 1.2-1.8% improvement on COCO object detection, and 0.7-2.4% improvement on semantic segmentation over previous state-of-the-art transformers. The codes are available at https://github.com/Tangshitao/QuadtreeAttention.

Key facts. Cited by 129 papers in the map (data through 7 Oct 2026). Builds on 43 of its 46 references that are in the map. First posted on arXiv 8 Jan 2022.

Builds on

43 of 46 references.

References · 43

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  3. 2014Microsoft COCO: Common Objects in Contextcited by 17,498
  4. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  5. 2017Mask R-CNNcited by 7,259
  6. 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
  7. 2020Longformer: The Long-Document Transformercited by 3,362
  8. 2017ScanNet: Richly-annotated 3D Reconstructions of Indoor Scenescited by 3,088
  9. 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
  10. 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,277
  11. 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
  12. 2021Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutionscited by 1,960
31 more
  1. 2021Vision Transformers for Dense Predictioncited by 1,789
  2. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  3. 2020Rethinking Attention with Performerscited by 1,584
  4. 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
  5. 2019SuperGlue: Learning Feature Matching with Graph Neural Networkscited by 1,437
  6. 2017SuperPoint: Self-Supervised Interest Point Detection and Descriptioncited by 1,313
  7. 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
  8. 2021LoFTR: Detector-Free Local Feature Matching with Transformerscited by 974
  9. 2020Designing Network Design Spacescited by 954
  10. 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
  11. 2015A Large Dataset to Train Convolutional Networks for Disparity, Optical Flow, and Scene Flow Estimationcited by 878
  12. 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 786
  13. 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
  14. 2018MegaDepth: Learning Single-View Depth Prediction from Internet Photoscited by 731
  15. 2021Transformer in Transformercited by 632
  16. 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
  17. 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 286
  18. 2021Incorporating Convolution Designs into Visual Transformerscited by 248
  19. 2019GA-Net: Guided Aggregation Net for End-to-end Stereo Matchingcited by 242
  20. 2019Group-wise Correlation Stereo Networkcited by 235
  21. 2020Revisiting Stereo Depth Estimation From a Sequence-to-Sequence Perspective with Transformerscited by 190
  22. 2019Learning Two-View Correspondences and Geometry Using Order-Aware Networkcited by 148
  23. 2021Learning to Match Features with Seeded Graph Matching Networkcited by 92
  24. 2020Dual-Resolution Correspondence Networkscited by 90
  25. 2019ContextDesc: Local Descriptor Augmentation with Cross-Modality Contextcited by 79
  26. 2021KVT: k-NN Attention for Boosting Vision Transformerscited by 64
  27. 2019Explicit Sparse Transformer: Concentrated Attention Through Explicit Selectioncited by 61
  28. 2020Bi3D: Stereo Depth Estimation via Binary Classificationscited by 34
  29. 2021Dynamic Token Normalization Improves Vision Transformerscited by 10
  30. 2021Visual Correspondence Hallucinationcited by 5
  31. 2020Channel Equilibrium Networks for Learning Deep Representationcited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 16; 2023: 43; 2024: 35; 2025: 18; 2026: 17.

129 papers.

Sort:

By area:

  1. 2023DUSt3R: Geometric 3D Vision Made Easycited by 1,526
  2. 2024Grounding Image Matching in 3D with MASt3Rcited by 960
  3. 2023RoMa: Robust Dense Feature Matchingcited by 296
  4. 2022DKM: Dense Kernelized Feature Matching for Geometry Estimationcited by 174
  5. 2022DaViT: Dual Attention Vision Transformerscited by 174
  6. 2022ASpanFormer: Detector-Free Image Matching with Adaptive Span Transformercited by 170
  7. 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
  8. 2023Run, Don't Walk: Chasing Higher FLOPS for Faster Neural Networkscited by 129
  9. 2022MatchFormer: Interleaving Attention in Transformers for Feature Matchingcited by 126
  10. 2024Efficient LoFTR: Semi-Dense Local Feature Matching with Sparse-Like Speedcited by 119
  11. 2022Fast Vision Transformers with HiLo Attentioncited by 78
  12. 2023Detector-Free Structure from Motioncited by 71
38 more
  1. 2023Towards Accurate Post-Training Quantization for Vision Transformercited by 70
  2. 2025Pow3R: Empowering Unconstrained 3D Reconstruction with Camera and Scene Priorscited by 69
  3. 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
  4. 2022CF-ViT: A General Coarse-to-Fine Method for Vision Transformercited by 63
  5. 2023DeDoDe: Detect, Don't Describe -- Describe, Don't Detect for Local Feature Matchingcited by 62
  6. 2023TransNeXt: Robust Foveal Visual Perception for Vision Transformerscited by 61
  7. 2024MVSFormer++: Revealing the Devil in Transformer's Details for Multi-View Stereocited by 49
  8. 2024A Survey on Transformer Compressioncited by 44
  9. 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selectioncited by 40
  10. 2025MatchAnything: Universal Cross-Modality Image Matching with Large-Scale Pre-Trainingcited by 40
  11. 2024DeDoDe v2: Analyzing and Improving the DeDoDe Keypoint Detectorcited by 38
  12. 2023Vision Transformers with Mixed-Resolution Tokenizationcited by 35
  13. 2023PATS: Patch Area Transportation with Subdivision for Local Feature Matchingcited by 33
  14. 2023Rethinking Optical Flow from Geometric Matching Consistent Perspectivecited by 33
  15. 2023OcTr: Octree-based Transformer for 3D Object Detectioncited by 32
  16. 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
  17. 2022Adaptive Assignment for Geometry Aware Local Feature Matchingcited by 30
  18. 2022ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attentioncited by 29
  19. 2023PMatch: Paired Masked Image Modeling for Dense Geometric Matchingcited by 29
  20. 2022Castling-ViT: Compressing Self-Attention via Switching Towards Linear-Angular Attention at Vision Transformer Inferencecited by 28
  21. 2022NeuMap: Neural Coordinate Mapping by Auto-Transdecoder for Camera Localizationcited by 26
  22. 2024Local Feature Matching Using Deep Learning: A Surveycited by 26
  23. 2023LeftRefill: Filling Right Canvas based on Left Reference through Generalized Text-to-Image Diffusion Modelcited by 25
  24. 2023Lightweight Vision Transformer with Bidirectional Interactioncited by 25
  25. 2025OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernelscited by 24
  26. 2022Vicinity Vision Transformercited by 22
  27. 2023Adaptive Spot-Guided Transformer for Consistent Local Feature Matchingcited by 22
  28. 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attentioncited by 21
  29. 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognitioncited by 21
  30. 2023SGDViT: Saliency-Guided Dynamic Vision Transformer for UAV Trackingcited by 20
  31. 2023MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformerscited by 19
  32. 2023DeepMatcher: A Deep Transformer-based Network for Robust and Accurate Local Feature Matchingcited by 18
  33. 2024QuadMamba: Learning Quadtree-based Selective Scan for Visual State Space Modelcited by 18
  34. 2024Pick of the Bunch: Detecting Infrared Small Targets Beyond Hit-Miss Trade-Offs via Selective Rank-Aware Attentioncited by 17
  35. 2022Dynamic Focus-aware Positional Queries for Semantic Segmentationcited by 16
  36. 2024MESA: Matching Everything by Segmenting Anythingcited by 16
  37. 2023Improving Transformer-based Image Matching by Cascaded Capturing Spatially Informative Keypointscited by 15
  38. 2023CorresNeRF: Image Correspondence Priors for Neural Radiance Fieldscited by 15

50 most cited of 129 All 129 (JSON)