From multi-scale grids to dynamic regions: Dual-relation enhanced transformer for image captioning

IF 7.2 1区 计算机科学 Q1 COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE
Wei Zhou , Chuanle Song , Dihu Chen , Tao Su , Haifeng Hu , Chun Shan
{"title":"From multi-scale grids to dynamic regions: Dual-relation enhanced transformer for image captioning","authors":"Wei Zhou ,&nbsp;Chuanle Song ,&nbsp;Dihu Chen ,&nbsp;Tao Su ,&nbsp;Haifeng Hu ,&nbsp;Chun Shan","doi":"10.1016/j.knosys.2025.113127","DOIUrl":null,"url":null,"abstract":"<div><div>The purpose of image captioning is to describe the visual content of an image in an accurate and natural sentence. Some previous methods adopt convolutional networks to encode grid-level features, whereas others use an object detector to extract region-level features. However, the spatial resolution of high-level grid features is typically low, thus capturing small-scale objects is challenging for such models. In addition, most region-based methods directly set the same number of regions to represent all images, failing to account for varying scene complexities across different images. They introduce noise in region relationship modeling and disrupt sentence reasoning. To address these issues, we propose a novel <strong>D</strong>ual-<strong>R</strong>elation <strong>E</strong>nhanced <strong>T</strong>ransformer (<strong>DRET</strong>) model that complements the advantages of multi-scale grid and dynamic region features. In the encoding phase, we first apply multiple sampling strategies to generate multi-scale grid features, then design a novel multi-scale grid attention (MGA) encoder that learns the relationships between features at different scales. Meanwhile, a new dynamic region selection (DRS) encoder is devised to dynamically select an appropriate number of regions based on the scene complexity of each input image, effectively pruning redundant regions and enhancing correlations between selected regions. In the decoding stage, we combine the advantages of grid and region features, using a cross-modal adaptive gating (CAG) decoder that automatically determines the gate weights of the two visual features at each time step. Extensive experiments on MS-COCO and Flickr30K show that our model achieves better performance compared to current methods.</div></div>","PeriodicalId":49939,"journal":{"name":"Knowledge-Based Systems","volume":"311 ","pages":"Article 113127"},"PeriodicalIF":7.2000,"publicationDate":"2025-02-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Knowledge-Based Systems","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0950705125001741","RegionNum":1,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, ARTIFICIAL INTELLIGENCE","Score":null,"Total":0}
引用次数: 0

Abstract

The purpose of image captioning is to describe the visual content of an image in an accurate and natural sentence. Some previous methods adopt convolutional networks to encode grid-level features, whereas others use an object detector to extract region-level features. However, the spatial resolution of high-level grid features is typically low, thus capturing small-scale objects is challenging for such models. In addition, most region-based methods directly set the same number of regions to represent all images, failing to account for varying scene complexities across different images. They introduce noise in region relationship modeling and disrupt sentence reasoning. To address these issues, we propose a novel Dual-Relation Enhanced Transformer (DRET) model that complements the advantages of multi-scale grid and dynamic region features. In the encoding phase, we first apply multiple sampling strategies to generate multi-scale grid features, then design a novel multi-scale grid attention (MGA) encoder that learns the relationships between features at different scales. Meanwhile, a new dynamic region selection (DRS) encoder is devised to dynamically select an appropriate number of regions based on the scene complexity of each input image, effectively pruning redundant regions and enhancing correlations between selected regions. In the decoding stage, we combine the advantages of grid and region features, using a cross-modal adaptive gating (CAG) decoder that automatically determines the gate weights of the two visual features at each time step. Extensive experiments on MS-COCO and Flickr30K show that our model achieves better performance compared to current methods.
求助全文
约1分钟内获得全文 求助全文
来源期刊
Knowledge-Based Systems
Knowledge-Based Systems 工程技术-计算机:人工智能
CiteScore
14.80
自引率
12.50%
发文量
1245
审稿时长
7.8 months
期刊介绍: Knowledge-Based Systems, an international and interdisciplinary journal in artificial intelligence, publishes original, innovative, and creative research results in the field. It focuses on knowledge-based and other artificial intelligence techniques-based systems. The journal aims to support human prediction and decision-making through data science and computation techniques, provide a balanced coverage of theory and practical study, and encourage the development and implementation of knowledge-based intelligence models, methods, systems, and software tools. Applications in business, government, education, engineering, and healthcare are emphasized.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信