IJCAI 2022poster16 citations

Dynamic Group Transformer: A General Vision Transformer Backbone with Dynamic Group Attention

Kai Liu, Tianyi Wu, Cong Liu, Guodong Guo

Abstract

Recently, Transformers have shown promising performance in various vision tasks. To reduce the quadratic computation complexity caused by each query attending to all keys/values, various methods have constrained the range of attention within local regions, where each query only attends to keys/values within a hand-crafted window. However, these hand-crafted window partition mechanisms are data-agnostic and ignore their input content, so it is likely that one query maybe attend to irrelevant keys/values. To address this issue, we propose a Dynamic Group Attention (DG-Attention), which dynamically divides all queries into multiple groups and selects the most relevant keys/values for each group. Our DG-Attention can flexibly model more relevant dependencies without any spatial constraint that is used in hand-crafted window based attention. Built on the DG-Attention, we develop a general vision transformer backbone named Dynamic Group Transformer (DGT). Extensive experiments show that our models can outperform the state-of-the-art methods on multiple common vision tasks, including image classification, semantic segmentation, object detection, and instance segmentation.

Computer Vision: Recognition (object detection, categorization)Computer Vision: Segmentation
BibTeX
@inproceedings{ijcai2022p166,
  title     = {Dynamic Group Transformer: A General Vision Transformer Backbone with Dynamic Group Attention},
  author    = {Liu, Kai and Wu, Tianyi and Liu, Cong and Guo, Guodong},
  booktitle = {Proceedings of the Thirty-First International Joint Conference on
               Artificial Intelligence, {IJCAI-22}},
  publisher = {International Joint Conferences on Artificial Intelligence Organization},
  editor    = {Lud De Raedt},
  pages     = {1187--1193},
  year      = {2022},
  month     = {7},
  note      = {Main Track},
  doi       = {10.24963/ijcai.2022/166},
  url       = {https://doi.org/10.24963/ijcai.2022/166},
}
Dynamic Group Transformer: A General Vision Transformer Backbone with Dynamic Group Attention · IJCAI 2022