Improving Vision Transformers with Nested Multi-head Attentions

Jiquan Peng, Chaozhuo Li, Yi Zhao, Yuting Lin, Xiaohan Fang, Jibing GongICME 2023

Abstract

Vision transformers have significantly advanced the field of computer vision in recent years. The cornerstone of these transformers is the multi-head attention mechanism, which models interactions between visual elements within a feature map. However, the vanilla multi-head attention paradigm independently learns parameters for each head, which ignores crucial interactions across different attention heads and may result in redundancy and under-utilization of the model’s capacity. To enhance model expressiveness, we propose a novel nested attention mechanism, Ne-Att, that explicitly models cross-head interactions via a hierarchical variational distribution. We conducted extensive experiments on image classification, and the results demonstrate the superiority of Ne-Att.
BibTeX
@inproceedings{peng2023improving,
  author = {Jiquan Peng and Chaozhuo Li and Yi Zhao and Yuting Lin and Xiaohan Fang and Jibing Gong},
  title = {{Improving Vision Transformers with Nested Multi-head Attentions}},
  booktitle = {ICME},
  year = {2023},
  url = {https://openreview.net/forum?id=5689nLmdCJ},
}

Loading related content...

Figure