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
- Tanvir Azhar (ORCID: https://orcid.org/0009-0004-4248-2172)
- Asaduzzaman Asaduzzaman (ORCID: https://orcid.org/0000-0001-5418-2450)
- Shadika Afroze Ome
Institutions
- Chittagong University of Engineering & Technology (BD)
- East Delta University (BD)
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