CLIP-Prefix for Image Captioning and an Experiment on Blind Image Guessing

Minh Huynh, Triet and Linh Nguyen, Duy and Tri Nguyen, Thanh and Thi Vu, Thuy-Duong and Dang-Ngoc, Hanh and Ngoc Minh Dang, Duc (2024) CLIP-Prefix for Image Captioning and an Experiment on Blind Image Guessing. In: Industrial Networks and Intelligent Systems. 10th EAI International Conference, INISCOM 2024, Da Nang, Vietnam, February 20–21, 2024, Proceedings.

[thumbnail of 77889.pdf] PDF
77889.pdf

Download (1MB)

Abstract

Image caption generation resides at the intersection of computer vision and natural language processing, with its primary goal being the creation of descriptive and coherent textual narratives that faithfully depict the content of an image. This paper presents two models that leverage CLIP as the image encoder and fine-tune GPT-2 for caption generation on the Flickr30k and Flickr8k datasets. The first model utilizes a straightforward mapping network and outperforms the original architecture with a BLEU-1 score of 0.700, BLEU-4 score of 0.257, and ROUGE score of 0.569 on the Flickr8k dataset. The second model constitutes a new architecture exploring the boundaries of minimal visual information required for captioning. It incorporates CLIP’s text encoder to produce input for the generator, while the image embedding serves solely as a validation mechanism. Despite its relatively lower performance, with a BLEU-1 score of 0.546, BLEU-4 score of 0.108, and ROUGE score of 0.444 on the Flickr8k dataset, this model demonstrates the decoder’s ability to create captions based on keyword descriptions alone, without direct access to the context vector.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: GPT-2, image caption generation, CLIP, OpenCLIP, sentence transformer, zero-shot text classification
Date Deposited: 04 Mar 2026 19:55
Last Modified: 20 Nov 2026 11:54
URI: https://eprints.eai.eu/id/eprint/58545

Actions (login required)

View Item
View Item