Vision Transformer with Deformable Attention
Vision Transformer с деформируемым вниманием
2022-06-01
SCID: 54.1/8768wtv2
Discuss with AI
Deformable Attention TransformerDeformable self-attentiondense predictionsparse attentionvision transformer
Figures from the paper
Abstract (AI)
Transformers have recently shown superior performances on various vision tasks. The large, sometimes even global, receptive field endows Transformer models with higher representation power over their CNN counterparts. Nevertheless, simply enlarging receptive field also gives rise to several concerns. On the one hand, using dense attention e.g., in ViT, leads to excessive memory and computational cost, and features can be influenced by irrelevant parts which are beyond the region of interests. On the other hand, the sparse attention adopted in PVT or Swin Transformer is data agnostic and may limit the ability to model long range relations. To mitigate these issues, we propose a novel deformable selfattention module, where the positions of key and value pairs in selfattention are selected in a data-dependent way. This flexible scheme enables the self-attention module to focus on relevant re-gions and capture more informative features. On this basis, we present Deformable Attention Transformer, a general backbone model with deformable attention for both image classification and dense prediction tasks. Extensive experi-ments show that our models achieve consistently improved results on comprehensive benchmarks. Code is available at https://github.com/LeapLabTHU/DAT.
Key Findings
1
DAT addresses issues of dense attention (high memory/computation, influence from irrelevant regions) and sparse data-agnostic attention (limited long-range modeling).
2
Deformable attention allows the self-attention module to focus on relevant regions and capture more informative features.
3
Extensive experiments show DAT models achieve consistently improved results on comprehensive benchmarks.
4
Introduces Deformable Attention Transformer (DAT) as a general backbone for image classification and dense prediction tasks.
5
Proposes a deformable self-attention module that selects key and value positions in a data-dependent way.
Research Object
Vision Transformer model augmented with a deformable self-attention module (Deformable Attention Transformer backbone)
Research Subject
Design and evaluation of deformable (data-dependent) self-attention to select key/value positions, reducing cost and focusing on relevant regions to improve representation and performance for image classification and dense prediction tasks
Publication Details
Publication Date
2022-06-01
Journal
Publisher
ISSN
Cited by
940
Access Type
Author Information
Download PDF
Subscribe to digest
References available in scid.ai7
Exploiting Generative AI to Scale up Intelligent Tutoring Systems2023
Swin Transformer: Hierarchical Vision Transformer using Shifted Windows2021
Pyramid Vision Transformer: A Versatile Backbone for Dense Prediction without Convolutions2021
PVT v2: Improved baselines with pyramid vision transformer2022
CSWin Transformer: A General Vision Transformer Backbone with Cross-Shaped Windows2022
CMT: Convolutional Neural Networks Meet Vision Transformers2022
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale2020