paper-with-me

Papers

Self-attention in Vision Transformers Performs Perceptual Grouping, Not Attention

2023-03-02 · Paria Mehrani, John K. Tsotsos

Recently, a considerable number of studies in computer vision involves deep neural architectures called vision transformers. Visual processing in these models incorporates computational models that are claimed to implement attention mechanisms. Despite an increasing body of work that attempts to understand the role of attention mechanisms in vision transformers, their effect is largely unknown. Here, we asked if the attention mechanisms in vision transformers exhibit similar effects as those known in human visual attention. To answer this question, we revisited the attention formulation in these models and found that despite the name, computationally, these models perform a special class of relaxation labeling with similarity grouping effects. Additionally, whereas modern experimental findings reveal that human visual attention involves both feed-forward and feedback mechanisms, the purely feed-forward architecture of vision transformers suggests that attention in these models will not have the same effects as those known in humans. To quantify these observations, we evaluated grouping performance in a family of vision transformers. Our results suggest that self-attention modules group figures in the stimuli based on similarity in visual features such as color. Also, in a singleton detection experiment as an instance of saliency detection, we studied if these models exhibit similar effects as those of feed-forward visual salience mechanisms utilized in human visual attention. We found that generally, the transformer-based attention modules assign more salience either to distractors or the ground. Together, our study suggests that the attention mechanisms in vision transformers perform similarity grouping and not attention.

📄 PDF Abstract BibTeX arXiv:2303.01542

Code (0)

등록된 구현이 없습니다.

Tasks

Saliency Detection

Similar Papers 제목 키워드 기반

CrossFormer: A Versatile Vision Transformer Hinging on Cross-scale Attention

2021-07-31 · ICLR 2022 4 · Wenxiao Wang, Lu Yao, Long Chen, Binbin Lin 외

Transformers have made great progress in dealing with computer vision tasks. However, existing vision transformers do not yet possess the ability of building the interactions among features of different scales, which is …

image-classificationImage ClassificationInstance Segmentationobject-detection+3

CrossFormer++: A Versatile Vision Transformer Hinging on Cross-scale Attention

2023-03-13 · Wenxiao Wang, Wei Chen, Qibo Qiu, Long Chen 외

While features of different scales are perceptually important to visual inputs, existing vision transformers do not yet take advantage of them explicitly. To this end, we first propose a cross-scale vision transformer, C…

image-classificationImage ClassificationInstance Segmentationobject-detection+2

Dissecting Query-Key Interaction in Vision Transformers

2024-04-04 · Xu Pan, Aaron Philip, Ziqian Xie, Odelia Schwartz

Self-attention in vision transformers is often thought to perform perceptual grouping where tokens attend to other tokens with similar embeddings, which could correspond to semantically similar features of an object. How…

BOAT: Bilateral Local Attention Vision Transformer

2022-01-31 · Tan Yu, Gangming Zhao, Ping Li, Yizhou Yu

Vision Transformers achieved outstanding performance in many computer vision tasks. Early Vision Transformers such as ViT and DeiT adopt global self-attention, which is computationally expensive when the number of patche…

Axially Expanded Windows for Local-Global Interaction in Vision Transformers

2022-09-19 · Zhemin Zhang, Xun Gong

Recently, Transformers have shown promising performance in various vision tasks. A challenging issue in Transformer design is that global self-attention is very expensive to compute, especially for the high-resolution vi…