QuadTree Attention for Vision Transformers
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
- 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
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2017Mask R-CNNcited by 7,259
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2017ScanNet: Richly-annotated 3D Reconstructions of Indoor Scenescited by 3,088
- 2016Aggregated Residual Transformations for Deep Neural Networkscited by 2,540
- 2013Sinkhorn Distances: Lightspeed Computation of Optimal Transportation Distancescited by 2,277
- 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
31 more
- 2021Vision Transformers for Dense Predictioncited by 1,789
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Rethinking Attention with Performerscited by 1,584
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2019SuperGlue: Learning Feature Matching with Graph Neural Networkscited by 1,437
- 2017SuperPoint: Self-Supervised Interest Point Detection and Descriptioncited by 1,313
- 2021Tokens-to-Token ViT: Training Vision Transformers from Scratch on ImageNetcited by 1,096
- 2021LoFTR: Detector-Free Local Feature Matching with Transformerscited by 974
- 2020Designing Network Design Spacescited by 954
- 2021CvT: Introducing Convolutions to Vision Transformerscited by 946
- 2015A Large Dataset to Train Convolutional Networks for Disparity, Optical Flow, and Scene Flow Estimationcited by 878
- 2018Hierarchical Graph Representation Learning with Differentiable Poolingcited by 786
- 2021PVT v2: Improved Baselines with Pyramid Vision Transformercited by 749
- 2018MegaDepth: Learning Single-View Depth Prediction from Internet Photoscited by 731
- 2021Transformer in Transformercited by 632
- 2021CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windowscited by 526
- 2021Focal Self-attention for Local-Global Interactions in Vision Transformerscited by 286
- 2021Incorporating Convolution Designs into Visual Transformerscited by 248
- 2019GA-Net: Guided Aggregation Net for End-to-end Stereo Matchingcited by 242
- 2019Group-wise Correlation Stereo Networkcited by 235
- 2020Revisiting Stereo Depth Estimation From a Sequence-to-Sequence Perspective with Transformerscited by 190
- 2019Learning Two-View Correspondences and Geometry Using Order-Aware Networkcited by 148
- 2021Learning to Match Features with Seeded Graph Matching Networkcited by 92
- 2020Dual-Resolution Correspondence Networkscited by 90
- 2019ContextDesc: Local Descriptor Augmentation with Cross-Modality Contextcited by 79
- 2021KVT: k-NN Attention for Boosting Vision Transformerscited by 64
- 2019Explicit Sparse Transformer: Concentrated Attention Through Explicit Selectioncited by 61
- 2020Bi3D: Stereo Depth Estimation via Binary Classificationscited by 34
- 2021Dynamic Token Normalization Improves Vision Transformerscited by 10
- 2021Visual Correspondence Hallucinationcited by 5
- 2020Channel Equilibrium Networks for Learning Deep Representationcited by 3
Built on by
Citing papers per year: 2022: 16; 2023: 43; 2024: 35; 2025: 18; 2026: 17.
129 papers.
Sort:
By area:
- 2023DUSt3R: Geometric 3D Vision Made Easycited by 1,526
- 2024Grounding Image Matching in 3D with MASt3Rcited by 960
- 2023RoMa: Robust Dense Feature Matchingcited by 296
- 2022DKM: Dense Kernelized Feature Matching for Geometry Estimationcited by 174
- 2022DaViT: Dual Attention Vision Transformerscited by 174
- 2022ASpanFormer: Detector-Free Image Matching with Adaptive Span Transformercited by 170
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
- 2023Run, Don't Walk: Chasing Higher FLOPS for Faster Neural Networkscited by 129
- 2022MatchFormer: Interleaving Attention in Transformers for Feature Matchingcited by 126
- 2024Efficient LoFTR: Semi-Dense Local Feature Matching with Sparse-Like Speedcited by 119
- 2022Fast Vision Transformers with HiLo Attentioncited by 78
- 2023Detector-Free Structure from Motioncited by 71
38 more
- 2023Towards Accurate Post-Training Quantization for Vision Transformercited by 70
- 2025Pow3R: Empowering Unconstrained 3D Reconstruction with Camera and Scene Priorscited by 69
- 2023RMT: Retentive Networks Meet Vision Transformerscited by 68
- 2022CF-ViT: A General Coarse-to-Fine Method for Vision Transformercited by 63
- 2023DeDoDe: Detect, Don't Describe -- Describe, Don't Detect for Local Feature Matchingcited by 62
- 2023TransNeXt: Robust Foveal Visual Perception for Vision Transformerscited by 61
- 2024MVSFormer++: Revealing the Devil in Transformer's Details for Multi-View Stereocited by 49
- 2024A Survey on Transformer Compressioncited by 44
- 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selectioncited by 40
- 2025MatchAnything: Universal Cross-Modality Image Matching with Large-Scale Pre-Trainingcited by 40
- 2024DeDoDe v2: Analyzing and Improving the DeDoDe Keypoint Detectorcited by 38
- 2023Vision Transformers with Mixed-Resolution Tokenizationcited by 35
- 2023PATS: Patch Area Transportation with Subdivision for Local Feature Matchingcited by 33
- 2023Rethinking Optical Flow from Geometric Matching Consistent Perspectivecited by 33
- 2023OcTr: Octree-based Transformer for 3D Object Detectioncited by 32
- 2024Breaking the Low-Rank Dilemma of Linear Attentioncited by 31
- 2022Adaptive Assignment for Geometry Aware Local Feature Matchingcited by 30
- 2022ViTALiTy: Unifying Low-rank and Sparse Approximation for Vision Transformer Acceleration with a Linear Taylor Attentioncited by 29
- 2023PMatch: Paired Masked Image Modeling for Dense Geometric Matchingcited by 29
- 2022Castling-ViT: Compressing Self-Attention via Switching Towards Linear-Angular Attention at Vision Transformer Inferencecited by 28
- 2022NeuMap: Neural Coordinate Mapping by Auto-Transdecoder for Camera Localizationcited by 26
- 2024Local Feature Matching Using Deep Learning: A Surveycited by 26
- 2023LeftRefill: Filling Right Canvas based on Left Reference through Generalized Text-to-Image Diffusion Modelcited by 25
- 2023Lightweight Vision Transformer with Bidirectional Interactioncited by 25
- 2025OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernelscited by 24
- 2022Vicinity Vision Transformercited by 22
- 2023Adaptive Spot-Guided Transformer for Consistent Local Feature Matchingcited by 22
- 2023DAT++: Spatially Dynamic Vision Transformer with Deformable Attentioncited by 21
- 2023TransXNet: Learning Both Global and Local Dynamics with a Dual Dynamic Token Mixer for Visual Recognitioncited by 21
- 2023SGDViT: Saliency-Guided Dynamic Vision Transformer for UAV Trackingcited by 20
- 2023MSViT: Dynamic Mixed-Scale Tokenization for Vision Transformerscited by 19
- 2023DeepMatcher: A Deep Transformer-based Network for Robust and Accurate Local Feature Matchingcited by 18
- 2024QuadMamba: Learning Quadtree-based Selective Scan for Visual State Space Modelcited by 18
- 2024Pick of the Bunch: Detecting Infrared Small Targets Beyond Hit-Miss Trade-Offs via Selective Rank-Aware Attentioncited by 17
- 2022Dynamic Focus-aware Positional Queries for Semantic Segmentationcited by 16
- 2024MESA: Matching Everything by Segmenting Anythingcited by 16
- 2023Improving Transformer-based Image Matching by Cascaded Capturing Spatially Informative Keypointscited by 15
- 2023CorresNeRF: Image Correspondence Priors for Neural Radiance Fieldscited by 15
50 most cited of 129 All 129 (JSON)
- 2026QuadTok: Quadtree Visual Tokenizer for Autoregressive Image Generation7 Oct 2026
- 2026UltraMatch: Transport Path Routing for Ultra-Fast and Memory-Efficient Image Matching29 Sep 2026
- 2026Structure-Guided Masked Autoencoders for Ultra-High Resolution Scientific Image Understanding25 Sep 2026
- 2026Token Clustering and Semantic Sequence Mamba for Hyperspectral Image Classification23 Sep 2026
- 2026Learning Where to Focus: Self-Supervised Multi-Scale ViTs for Histopathology16 Sep 2026
- 2026Variable-Granularity Tokenization for High-Resolution Object Detection27 Aug 2026
- 2026Social Graph Mamba: Forecasting Pedestrian Movements Based on Social Context11 Aug 2026
- 2026XFeat Revisited: Reproducibility and Evaluation of a Lightweight Image Matcher10 Aug 2026
- 2026Semi-Dense Matching Uncertainty Is Not Just Local Confidence9 Aug 2026
- 2026SGFormer: Structure-Guided Transformer for Robust Local Feature Matching4 Aug 2026
- 2026Anatomy-Grounded Synthetic Coronary Angiography for Geometry-Informed Multi-View Matching26 Jun 2026
- 2026REDI-Match: Rotation-Equivariant Distillation for Efficient and Robust Dense Matching23 Jun 2026
38 more
- 2026TWINGS: Thin Plate Splines Warp-aligned Initialization for Sparse-View Gaussian Splatting21 May 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
- 2026Improving Local Feature Matching by Entropy-inspired Scale Adaptability and Flow-endowed Local Consistency8 Apr 2026
- 2026Scene Representation using 360deg Saliency Graph and its Application in Vision-based Indoor Navigation20 Mar 2026
- 2026Random Wins All: Rethinking Grouping Strategies for Vision Tokens28 Feb 2026
- 2025Unlocking Zero-shot Potential of Semi-dense Image Matching via Gaussian Splatting26 Nov 2025
- 2025SPIDER: Spatial Image CorresponDence Estimator for Robust Calibration21 Nov 2025
- 2025CasP: Improving Semi-Dense Feature Matching Pipeline Leveraging Cascaded Correspondence Priors for Guidance23 Jul 2025
- 2025DeepTraverse: A Depth-First Search Inspired Network for Algorithmic Visual Understanding11 Jun 2025
- 2025Deep Learning Reforms Image Matching: A Survey and Outlook5 Jun 2025
- 2025QLIP: A Dynamic Quadtree Vision Prior Enhances MLLM Performance Without Retraining29 May 2025
- 2025Crafting Query-Aware Selective Attention for Single Image Super-Resolution9 Apr 2025
- 2025To Match or Not to Match: Revisiting Image Matching for Reliable Visual Place Recognition8 Apr 2025
- 2025CoMatch: Dynamic Covisibility-Aware Transformer for Bilateral Subpixel-Level Semi-Dense Image Matching31 Mar 2025
- 2025Pow3R: Empowering Unconstrained 3D Reconstruction with Camera and Scene Priors21 Mar 2025
- 2025QDM: Quadtree-Based Region-Adaptive Sparse Diffusion Models for Efficient Image Super-Resolution15 Mar 2025
- 2025HOTFormerLoc: Hierarchical Octree Transformer for Versatile Lidar Place Recognition Across Ground and Aerial Views11 Mar 2025
- 2025Alligat0R: Pre-Training Through Co-Visibility Segmentation for Relative Camera Pose Regression10 Mar 2025
- 2025EDM: Efficient Deep Feature Matching7 Mar 2025
- 2025OverLoCK: An Overview-first-Look-Closely-next ConvNet with Context-Mixing Dynamic Kernels27 Feb 2025
- 2025RUBIK: A Structured Benchmark for Image Matching across Geometric Challenges27 Feb 2025
- 2025MatchAnything: Universal Cross-Modality Image Matching with Large-Scale Pre-Training13 Jan 2025
- 2025CorrFill: Enhancing Faithfulness in Reference-based Inpainting with Correspondence Guidance in Diffusion Models4 Jan 2025
- 2024Can Generative Video Models Help Pose Estimation?20 Dec 2024
- 2024SEW: Self-calibration Enhanced Whole Slide Pathology Image Analysis14 Dec 2024
- 2024SAT-HMR: Real-Time Multi-Person 3D Mesh Estimation via Scale-Adaptive Tokens29 Nov 2024
- 2024Image Matching Filtering and Refinement by Planes and Beyond14 Nov 2024
- 2024Breaking the Low-Rank Dilemma of Linear Attention12 Nov 2024
- 2024ETO:Efficient Transformer-based Local Feature Matching by Organizing Multiple Homography Hypotheses30 Oct 2024
- 2024DeBiFormer: Vision Transformer with Deformable Agent Bi-level Routing Attention11 Oct 2024
- 2024QuadMamba: Learning Quadtree-based Selective Scan for Visual State Space Model9 Oct 2024
- 2024Correspondence-Guided SfM-Free 3D Gaussian Splatting for NVS16 Aug 2024
- 2024Pick of the Bunch: Detecting Infrared Small Targets Beyond Hit-Miss Trade-Offs via Selective Rank-Aware Attention7 Aug 2024
- 2024Improving Neural Surface Reconstruction with Feature Priors from Multi-View Image4 Aug 2024
- 2024MESA: Effective Matching Redundancy Reduction by Semantic Area Segmentation1 Aug 2024
- 2024SRPose: Two-view Relative Pose Estimation with Sparse Keypoints11 Jul 2024
- 2024Point Tree Transformer for Point Cloud Registration25 Jun 2024
- 2024Grounding Image Matching in 3D with MASt3R14 Jun 2024
50 newest of 129 All 129 (JSON)
- 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selectioncited by 40
- 2024QuadMamba: Learning Quadtree-based Selective Scan for Visual State Space Modelcited by 18
- 2026Social Graph Mamba: Forecasting Pedestrian Movements Based on Social Contextcited by 0
- 2026Token Clustering and Semantic Sequence Mamba for Hyperspectral Image Classificationcited by 0
- 2026Token Clustering and Semantic Sequence Mamba for Hyperspectral Image Classification23 Sep 2026
- 2026Social Graph Mamba: Forecasting Pedestrian Movements Based on Social Context11 Aug 2026
- 2024QuadMamba: Learning Quadtree-based Selective Scan for Visual State Space Model9 Oct 2024
- 2024MambaMixer: Efficient Selective State Space Models with Dual Token and Channel Selection29 Mar 2024
- 2023LeftRefill: Filling Right Canvas based on Left Reference through Generalized Text-to-Image Diffusion Modelcited by 25
- 2025CorrFill: Enhancing Faithfulness in Reference-based Inpainting with Correspondence Guidance in Diffusion Modelscited by 8
- 2025QDM: Quadtree-Based Region-Adaptive Sparse Diffusion Models for Efficient Image Super-Resolutioncited by 2
- 2025QDM: Quadtree-Based Region-Adaptive Sparse Diffusion Models for Efficient Image Super-Resolution15 Mar 2025
- 2025CorrFill: Enhancing Faithfulness in Reference-based Inpainting with Correspondence Guidance in Diffusion Models4 Jan 2025
- 2023LeftRefill: Filling Right Canvas based on Left Reference through Generalized Text-to-Image Diffusion Model19 May 2023
- 2023DUSt3R: Geometric 3D Vision Made Easycited by 1,526
- 2024Grounding Image Matching in 3D with MASt3Rcited by 960
- 2023RoMa: Robust Dense Feature Matchingcited by 296
- 2022DKM: Dense Kernelized Feature Matching for Geometry Estimationcited by 174
- 2022DaViT: Dual Attention Vision Transformerscited by 174
- 2022ASpanFormer: Detector-Free Image Matching with Adaptive Span Transformercited by 170
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
- 2023Run, Don't Walk: Chasing Higher FLOPS for Faster Neural Networkscited by 129
- 2022MatchFormer: Interleaving Attention in Transformers for Feature Matchingcited by 126
- 2024Efficient LoFTR: Semi-Dense Local Feature Matching with Sparse-Like Speedcited by 119
- 2022Fast Vision Transformers with HiLo Attentioncited by 78
- 2023Detector-Free Structure from Motioncited by 71
12 most cited of 121 All 121 (JSON)
- 2026QuadTok: Quadtree Visual Tokenizer for Autoregressive Image Generation7 Oct 2026
- 2026UltraMatch: Transport Path Routing for Ultra-Fast and Memory-Efficient Image Matching29 Sep 2026
- 2026Structure-Guided Masked Autoencoders for Ultra-High Resolution Scientific Image Understanding25 Sep 2026
- 2026Learning Where to Focus: Self-Supervised Multi-Scale ViTs for Histopathology16 Sep 2026
- 2026Variable-Granularity Tokenization for High-Resolution Object Detection27 Aug 2026
- 2026XFeat Revisited: Reproducibility and Evaluation of a Lightweight Image Matcher10 Aug 2026
- 2026Semi-Dense Matching Uncertainty Is Not Just Local Confidence9 Aug 2026
- 2026SGFormer: Structure-Guided Transformer for Robust Local Feature Matching4 Aug 2026
- 2026Anatomy-Grounded Synthetic Coronary Angiography for Geometry-Informed Multi-View Matching26 Jun 2026
- 2026REDI-Match: Rotation-Equivariant Distillation for Efficient and Robust Dense Matching23 Jun 2026
- 2026TWINGS: Thin Plate Splines Warp-aligned Initialization for Sparse-View Gaussian Splatting21 May 2026
- 2026Advancing Vision Transformer with Enhanced Spatial Priors20 Apr 2026
12 newest of 121 All 121 (JSON)