Complementary Shifted Transformer for Image Captioning

被引:2
作者
Liu, Yanbo [1 ]
Yang, You [2 ]
Xiang, Ruoyu [1 ]
Ma, Jixin [1 ]
机构
[1] Chongqing Normal Univ, Sch Comp & Informat Sci, Chongqing 401331, Peoples R China
[2] Natl Ctr Appl Math Chongqing, Chongqing 401331, Peoples R China
关键词
Image captioning; Transformer; Positional encoding; Multi-branch self-attention; Spatial shift; ATTENTION;
D O I
10.1007/s11063-023-11314-0
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Transformer-basedmodels have dominated many vision and language tasks, including image captioning. However, such models still suffer from the limitation of expressive ability and information loss during dimensionality reduction. In order to solve the above problems, this paper proposes a Complementary Shifted Transformer (CST) for image captioning. We first introduce a complementary Multi-branch Bi-positional encoding Self-Attention (MBSA) module. It utilizes both absolute and relative positional encoding to learn precise positional representations. Meanwhile, MBSA is equipped with Multi-Branch Architecture, which replicates multiple branches for each head. To improve the expressive ability of the model, we utilize the drop branch technique, which trains the branches in a complementary way. Furthermore, we propose a Spatial Shift Augmented module, which takes advantage of both low-level and high-level features to enhance visual features with fewer parameters. To validate our model, we conduct extensive experiments on the MSCOCO benchmark dataset. Compared to the state-of-the-art methods, the proposed CST achieves a competitive performance of 135.3% CIDEr (+0.2%) on the Karpathy split and 136.3% CIDEr (+0.9%) on the official online test server. In addition, we also evaluate the inference performance of our model on a novel object dataset. The source codes and trained models are publicly available at https://github.com/noonisy/CST.
引用
收藏
页码:8339 / 8363
页数:25
相关论文
共 50 条
[21]   Dual Global Enhanced Transformer for image captioning [J].
Xian, Tiantao ;
Li, Zhixin ;
Zhang, Canlong ;
Ma, Huifang .
NEURAL NETWORKS, 2022, 148 :129-141
[22]   Context-assisted Transformer for Image Captioning [J].
Lian Z. ;
Wang R. ;
Li H.-C. ;
Yao H. ;
Hu X.-H. .
Zidonghua Xuebao/Acta Automatica Sinica, 2023, 49 (09) :1889-1903
[23]   Position-guided transformer for image captioning [J].
Hu, Juntao ;
Yang, You ;
Yao, Lu ;
An, Yongzhi ;
Pan, Longyue .
IMAGE AND VISION COMPUTING, 2022, 128
[24]   SPT: Spatial Pyramid Transformer for Image Captioning [J].
Zhang, Haonan ;
Zeng, Pengpeng ;
Gao, Lianli ;
Lyu, Xinyu ;
Song, Jingkuan ;
Shen, Heng Tao .
IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS FOR VIDEO TECHNOLOGY, 2024, 34 (06) :4829-4842
[25]   Transformer-based local-global guidance for image captioning [J].
Parvin, Hashem ;
Naghsh-Nilchi, Ahmad Reza ;
Mohammadi, Hossein Mahvash .
EXPERT SYSTEMS WITH APPLICATIONS, 2023, 223
[26]   Efficient Image Captioning Based on Vision Transformer Models [J].
Elbedwehy, Samar ;
Medhat, T. ;
Hamza, Taher ;
Alrahmawy, Mohammed F. .
CMC-COMPUTERS MATERIALS & CONTINUA, 2022, 73 (01) :1483-1500
[27]   Dual-Spatial Normalized Transformer for image captioning [J].
Hu, Juntao ;
Yang, You ;
An, Yongzhi ;
Yao, Lu .
ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2023, 123
[28]   Caption TLSTMs: combining transformer with LSTMs for image captioning [J].
Yan, Jie ;
Xie, Yuxiang ;
Luan, Xidao ;
Guo, Yanming ;
Gong, Quanzhi ;
Feng, Suru .
INTERNATIONAL JOURNAL OF MULTIMEDIA INFORMATION RETRIEVAL, 2022, 11 (02) :111-121
[29]   Reinforcement Learning Transformer for Image Captioning Generation Model [J].
Yan, Zhaojie .
FIFTEENTH INTERNATIONAL CONFERENCE ON MACHINE VISION, ICMV 2022, 2023, 12701
[30]   Multimodal learning with feature fusion transformer for image captioning [J].
Zhu, Wenqing ;
Yuan, Feiniu .
DISPLAYS, 2025, 90