paper-with-me

Papers

QuadTree Attention for Vision Transformers

2022-01-08 · ICLR 2022 4 · Shitao Tang, Jiahui Zhang, Siyu Zhu, Ping Tan

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.

📄 PDF Abstract BibTeX arXiv:2201.02767

Code (1)

tangshitao/quadtreeattention 공식 구현 pytorch

Tasks

object-detectionObject DetectionSemantic SegmentationStereo Matching

Similar Papers 제목 키워드 기반

MARS: Mask Attention Refinement with Sequential Quadtree Nodes for Car Damage Instance Segmentation

2023-05-01 · Teerapong Panboonyuen, Naphat Nithisopa, Panin Pienroj, Laphonchai Jirachuphun 외

Evaluating car damages from misfortune is critical to the car insurance industry. However, the accuracy is still insufficient for real-world applications since the deep learning network is not designed for car damage ima…

Instance SegmentationSegmentationSemantic Segmentation

Vision Transformers with Mixed-Resolution Tokenization

2023-04-01 · Tomer Ronen, Omer Levy, Avram Golbert

Vision Transformer models process input images by dividing them into a spatially regular grid of equal-size patches. Conversely, Transformers were originally introduced over natural language sequences, where each token r…

image-classificationImage Classification

A QuadTree Image Representation for Computational Pathology

2021-08-24 · Rob Jewsbury, Abhir Bhalerao, Nasir Rajpoot

The field of computational pathology presents many challenges for computer vision algorithms due to the sheer size of pathology images. Histopathology images are large and need to be split up into image tiles or patches …

QuadMamba: Learning Quadtree-based Selective Scan for Visual State Space Model

2024-10-09 · Fei Xie, Weijia Zhang, Zhongdao Wang, Chao Ma

Recent advancements in State Space Models, notably Mamba, have demonstrated superior performance over the dominant Transformer models, particularly in reducing the computational complexity from quadratic to linear. Yet, …

image-classificationImage ClassificationInstance SegmentationLong-range modeling+5

AQuaUI: Visual Token Reduction for GUI Agents with Adaptive Quadtrees

2026-05-19 · Yuankai Li, Tinghui Zhu, Ha Min Son, Zhe Zhao 외 arxiv

Large Multimodal Models (LMMs) have recently emerged as promising backbones for GUI-agent models, where high-resolution GUI screenshots are introduced to the prompts at each iteration step. However, these screenshots exh…