arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2201.00520cs.CV

Vision Transformer with Deformable Attention

Tsinghua University(清华大学);BNRist(北京国家信息科学与技术研究中心);Amazon(亚马逊);Beijing Academy of Artificial Intelligence(北京智源人工智能研究院)

Zhuofan Xia, Xuran Pan, Shiji Song, Li Erran Li, Gao Huang

英文摘要:

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 self-attention module, where the positions of key and value pairs in self-attention are selected in a data-dependent way. This flexible scheme enables the self-attention module to focus on relevant regions 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 experiments show that our models achieve consistently improved results on comprehensive benchmarks. Code is available at https://github.com/LeapLabTHU/DAT.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑