The Transformer Enhanced Feature Representation with CNNs
The self-attention-based Transformer has revolutionized artificial intelligence, achieving remarkable success across various applications beyond traditional convolutional neural networks (CNNs). While multiple studies have explored integrating self-attention mechanisms into CNNs to enhance their performance, these approaches often encounter insufficiency in effectively utilizing self-attention principles. This research proposes a novel approach to address this challenge by integrating the rich and valuable nonlinear information encasulated in the feature maps generated by CNNs with the self-attention mechanisms. Specifically, we leverage the self-attention encoder mechanism to further capture the global dependencies and contextual relations from the informative feature maps, thus enabling more robust and discriminative feature representations. Through experiments and evaluations with benchmark datasets on classification tasks, the findings indicate that our proposed approach not only boosts the performance of CNNs but also delivers a more efficient and scalable solution, achieving the accuracies of 95.65%, 78.48% and 95.65% on datasets CIFAR10/100 and fashion mnist, respectively. This work points to a potential path for future investigations and applications in integrating the transformer encoder with CNNs.
Authors
- Hengyi Li (ORCID: https://orcid.org/0000-0003-4112-7297)
- Shuang Gao (ORCID: https://orcid.org/0000-0001-5988-9287)
- Yongping Dan
- Aihui Wang (ORCID: https://orcid.org/0000-0002-4497-7441)
- Yan Wang (ORCID: https://orcid.org/0000-0001-9070-6653)
- Shiyong Geng
Institutions
- Zhongyuan University of Technology (CN)
Publication Details
- Published
- 2024-12-06
- DOI
- https://doi.org/10.1109/iiki65561.2024.00013
- Primary Topic
- Neural Networks and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.00