A Transformer-Based Model for Image Caption Generation with Memory Enhancement

This study proposes a convolution-free transformer-based method for generating accurate descriptions of images. A Vision Transformer is utilized as the primary encoder, replacing traditional CNN, and a Meshed Memory Transformer is integrated for generating captions. The Vision Transformer splits images into fixed-size patches for extracting visual features, which are further processed by a memory-augmented encoder to integrate prior knowledge. It ensures key features are preserved and reused and the meshed decoder combines the text embedding with the outputs from each encoding layer to generate more contextually rich and accurate captions compared to conventional approaches. The model's performance is evaluated on the Flickr30K and the MSCOCO datasets, demonstrating that the Meshed Memory architecture in our approach improves both the image encoding and caption generation step. Our model outperforms the conventional “CNN-LSTM” models and “CNN-Transformer” methods, achieving a 1.02% improvement in METEOR and 1.31% in SPICE on the MSCOCO dataset. Additionally, on the Flickr30k dataset, our approach exhibits superior performance across most metrics, notably a 6.37% increase in the METEOR score.

Authors

Institutions

Publication Details

Published
2024-12-06
DOI
https://doi.org/10.1109/wiecon-ece64149.2024.10915030
Citations
3
Primary Topic
Multimodal Machine Learning Applications
Type
article
Field-Weighted Citation Impact
0.75
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Transformer-Based Model for Image Caption Generation with Memory Enhancement

Tanvir Azhar, Asaduzzaman Asaduzzaman, Shadika Afroze Ome
3 citations
Multimodal Machine Learning Applications
0.75
article

A Transformer-Based Model for Image Caption Generation with Memory Enhancement

Tanvir Azhar, Asaduzzaman Asaduzzaman, Shadika Afroze Ome
article en
3 citations

Abstract

This study proposes a convolution-free transformer-based method for generating accurate descriptions of images. A Vision Transformer is utilized as the primary encoder, replacing traditional CNN, and a Meshed Memory Transformer is integrated for generating captions. The Vision Transformer splits images into fixed-size patches for extracting visual features, which are further processed by a memory-augmented encoder to integrate prior knowledge. It ensures key features are preserved and reused and the meshed decoder combines the text embedding with the outputs from each encoding layer to generate more contextually rich and accurate captions compared to conventional approaches. The model's performance is evaluated on the Flickr30K and the MSCOCO datasets, demonstrating that the Meshed Memory architecture in our approach improves both the image encoding and caption generation step. Our model outperforms the conventional “CNN-LSTM” models and “CNN-Transformer” methods, achieving a 1.02% improvement in METEOR and 1.31% in SPICE on the MSCOCO dataset. Additionally, on the Flickr30k dataset, our approach exhibits superior performance across most metrics, notably a 6.37% increase in the METEOR score.

Chittagong University of Engineering & Technology (BD), East Delta University (BD)
Affordable and clean energy
Openalex Percentile: Top 26%
Multimodal Machine Learning Applications
0.75
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.