A vision explainability method for image captioning using transformer decoder attention maps

Image Captioning is a crucial task that enables systems to generate descriptive sentences for visual content. Though image captioning systems bloom at the intersection of Computer Vision and Natural Language Processing, these models act mostly as black boxes offering little or no insight into how captions are derived. We present a novel explainable image captioning framework that integrates a Convolutional Neural Network encoder with a Transformer decoder. Attention-based heatmaps are used to explain the visuals offering transparency in the decision making process. The method evaluates captioning quality and interpretability on the MS COCO dataset using BLEU, METEOR, CIDER and SPICE. The method enhances the trustworthiness and transparency, making it reliable for applications like healthcare, education, security, surveillance and forecasting. A reproducible method for integrating visual explainability into image captioning exploring transformer decoder attention maps. The method contributes to the growing body of eXplainable AI (XAI) by addressing the transparency gap in vision-language models Balance performance with interpretability paving the way for more transparent and trustworthy AI systems.

Authors

Institutions

Publication Details

Journal
MethodsX
Published
2025-11-28
DOI
https://doi.org/10.1016/j.mex.2025.103744
Primary Topic
Multimodal Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A vision explainability method for image captioning using transformer decoder attention maps

Suchitra, Dragan Pamučar, Rajesh Kumar Dhanaraj, Meena Kowshalya
MethodsX
Multimodal Machine Learning Applications
article

A vision explainability method for image captioning using transformer decoder attention maps

Suchitra, Dragan Pamučar, Rajesh Kumar Dhanaraj, Meena Kowshalya
article en

Abstract

Image Captioning is a crucial task that enables systems to generate descriptive sentences for visual content. Though image captioning systems bloom at the intersection of Computer Vision and Natural Language Processing, these models act mostly as black boxes offering little or no insight into how captions are derived. We present a novel explainable image captioning framework that integrates a Convolutional Neural Network encoder with a Transformer decoder. Attention-based heatmaps are used to explain the visuals offering transparency in the decision making process. The method evaluates captioning quality and interpretability on the MS COCO dataset using BLEU, METEOR, CIDER and SPICE. The method enhances the trustworthiness and transparency, making it reliable for applications like healthcare, education, security, surveillance and forecasting. A reproducible method for integrating visual explainability into image captioning exploring transformer decoder attention maps. The method contributes to the growing body of eXplainable AI (XAI) by addressing the transparency gap in vision-language models Balance performance with interpretability paving the way for more transparent and trustworthy AI systems.

MethodsXVol. 15
Symbiosis International University (IN), Széchenyi István University (HU)
Openalex Percentile: Top 62%
Multimodal Machine Learning Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.