We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:

Download:

Current browse context:

cs.CV

Change to browse by:

References & Citations

DBLP - CS Bibliography

Bookmark

(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Computer Vision and Pattern Recognition

Title: Twins: Revisiting the Design of Spatial Attention in Vision Transformers

Abstract: Very recently, a variety of vision transformer architectures for dense prediction tasks have been proposed and they show that the design of spatial attention is critical to their success in these tasks. In this work, we revisit the design of the spatial attention and demonstrate that a carefully-devised yet simple spatial attention mechanism performs favourably against the state-of-the-art schemes. As a result, we propose two vision transformer architectures, namely, Twins-PCPVT and Twins-SVT. Our proposed architectures are highly-efficient and easy to implement, only involving matrix multiplications that are highly optimized in modern deep learning frameworks. More importantly, the proposed architectures achieve excellent performance on a wide range of visual tasks, including image level classification as well as dense detection and segmentation. The simplicity and strong performance suggest that our proposed architectures may serve as stronger backbones for many vision tasks. Our code is released at this https URL .
Comments: Accepted to NeurIPS2021
Subjects: Computer Vision and Pattern Recognition (cs.CV); Artificial Intelligence (cs.AI); Machine Learning (cs.LG)
Cite as: arXiv:2104.13840 [cs.CV]
  (or arXiv:2104.13840v4 [cs.CV] for this version)

Submission history

From: Xiangxiang Chu [view email]
[v1] Wed, 28 Apr 2021 15:42:31 GMT (166kb,D)
[v2] Tue, 11 May 2021 15:41:36 GMT (169kb,D)
[v3] Fri, 11 Jun 2021 11:54:21 GMT (169kb,D)
[v4] Thu, 30 Sep 2021 02:16:36 GMT (169kb,D)

Link back to: arXiv, form interface, contact.