arrow
返回

TripleFormer: improving transformer-based image classification method using multiple self-attention inputs

delete2024-03-01
delete2
PRE
AI
Y
Yu Gong
P
Peng Wu *
R
Renjie Xu *
张晓明 封面图
张晓明 (Xiaoming Zhang) *
T
Tao Wang
X
Xuan Li
DOI:10.1007/s00371-024-03294-6delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Transformer network structures have significantly improved the performance of computer vision (CV) tasks. However, due to the restriction of taking high-dimensional tokens as model inputs and the singularity of tokenization method, it is computationally intensive and easily deteriorates local fine-grained features when recognizing images based on Transformer architecture. In this paper, we incorporate a novel triple self-attention mechanism as a single encoder block and integrate it with the Transformer structure to introduce a new model, namely TripleFormer. Firstly, modeling information inside the window rather than the entire image, we present two sequence inputs from orthogonal perspectives, which are named Patch Attention In Spatial (PAIS) and Patch Attention In Channel (PAIC) for capturing more detailed features. We further partition the multi-channel of one feature map along spatial dimensions and compute attention belonging to same channels. In this way, the proposed encoder block incorporates local feature extraction and long-range visual dependencies to boost the feature learning capability. Finally, experiments on ImageNet-1K and CIFAR100 datasets exhibit the superiority of our proposed models as compared to other methods in terms of lower FLOPs and complexity while maintaining similar accuracy. In addition, our models demonstrate competitive performance on small-scale datasets in comparison to other pure Transformer models.
Keyword:
Image classification
Convolution neural networks
Visual transformer
Deep learning

期刊

Visual Computer 封面图
Visual Computer
IF:
2.9
论文数:
4.6K
被引数:
6.5K

机构

Z
Zhejiang Sci-Tech University
学者数:
1.7W
论文数: 1.0W
被引数: 1.3W
引用论文

引用论文

Abdominal aortic aneurysms – glycaemic status and mortality腹主动脉瘤-血糖状态和死亡率
err2016-04-01
err0
PREAI
errIren Drange Hjellestad; Eirik Søfteland; Roy Miodini Nilsen; Eystein Sverre Husebye; Torbjørn Jonung
err分享
err收藏
学者 查看更多内容