ReViT: Enhancing vision transformers feature diversity with attention residual connections

被引:9
作者
Diko, Anxhelo [1 ]
Avola, Danilo [1 ]
Cascio, Marco [1 ,2 ]
Cinque, Luigi [1 ]
机构
[1] Sapienza Univ Rome, Dept Comp Sci, Via Salaria 113, I-00198 Rome, Italy
[2] Univ Rome UnitelmaSapienza, Dept Law & Econ, Piazza Sassari 4, I-00161 Rome, Italy
关键词
Vision transformer; Feature collapse; Self-attention mechanism; Residual attention learning; Visual recognition;
D O I
10.1016/j.patcog.2024.110853
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Vision Transformer (ViT) self-attention mechanism is characterized by feature collapse in deeper layers, resulting in the vanishing of low-level visual features. However, such features can be helpful to accurately represent and identify elements within an image and increase the accuracy and robustness of vision-based recognition systems. Following this rationale, we propose a novel residual attention learning method for improving ViT-based architectures, increasing their visual feature diversity and model robustness. In this way, the proposed network can capture and preserve significant low-level features, providing more details about the elements within the scene being analyzed. The effectiveness and robustness of the presented method are evaluated on five image classification benchmarks, including ImageNet1k, CIFAR10, CIFAR100, Oxford Flowers-102, and Oxford-IIIT Pet, achieving improved performances. Additionally, experiments on the COCO2017 dataset show that the devised approach discovers and incorporates semantic and spatial relationships for object detection and instance segmentation when implemented into spatial-aware transformer models.
引用
收藏
页数:13
相关论文
共 45 条
[31]  
Parkhi OM, 2012, PROC CVPR IEEE, P3498, DOI 10.1109/CVPR.2012.6248092
[32]   ImageNet Large Scale Visual Recognition Challenge [J].
Russakovsky, Olga ;
Deng, Jia ;
Su, Hao ;
Krause, Jonathan ;
Satheesh, Sanjeev ;
Ma, Sean ;
Huang, Zhiheng ;
Karpathy, Andrej ;
Khosla, Aditya ;
Bernstein, Michael ;
Berg, Alexander C. ;
Fei-Fei, Li .
INTERNATIONAL JOURNAL OF COMPUTER VISION, 2015, 115 (03) :211-252
[33]  
Selvaraju RR, 2020, INT J COMPUT VISION, V128, P336, DOI [10.1109/ICCV.2017.74, 10.1007/s11263-019-01228-7]
[34]   CATNet: Convolutional attention and transformer for monocular depth estimation [J].
Tang, Shuai ;
Lu, Tongwei ;
Liu, Xuanxuan ;
Zhou, Huabing ;
Zhang, Yanduo .
PATTERN RECOGNITION, 2024, 145
[35]  
Touvron H, 2021, PR MACH LEARN RES, V139, P7358
[36]  
Vaswani A, 2017, ADV NEUR IN, V30
[37]   Residual Attention Network for Image Classification [J].
Wang, Fei ;
Jiang, Mengqing ;
Qian, Chen ;
Yang, Shuo ;
Li, Cheng ;
Zhang, Honggang ;
Wang, Xiaogang ;
Tang, Xiaoou .
30TH IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2017), 2017, :6450-6458
[38]   KVT: κ-NN Attention for Boosting Vision Transformers [J].
Wang, Pichao ;
Wang, Xue ;
Wang, Fan ;
Lin, Ming ;
Chang, Shuning ;
Li, Hao ;
Jin, Rong .
COMPUTER VISION, ECCV 2022, PT XXIV, 2022, 13684 :285-302
[39]   Dual Vision Transformer [J].
Yao, Ting ;
Li, Yehao ;
Pan, Yingwei ;
Wang, Yu ;
Zhang, Xiao-Ping ;
Mei, Tao .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2023, 45 (09) :10870-10882
[40]   AGUnet: Annotation-guided U-net for fast one-shot video object segmentation [J].
Yin, Yingjie ;
Xu, De ;
Wang, Xingang ;
Zhang, Lei .
PATTERN RECOGNITION, 2021, 110