Image–Text Matching Model Based on CLIP Bimodal Encoding
Open Access
- 12 November 2024
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 14 (22) , 10384
Abstract
Image–text matching is a fundamental task in the multimodal research field, connecting computer vision and natural language processing by aligning visual content with corresponding textual descriptions. Accurate matching is critical for applications such as image captioning and text-based image retrieval yet remains challenging due to the differences in data modalities. This paper addresses these challenges by proposing a robust image–text matching model inspired by Contrastive Language–Image Pre-training (CLIP). Our approach employs the Vision Transformer (ViT) model as the image encoder and Bidirectional Encoder Representations from Transformers (Bert) as the text encoder, integrating these into a shared vector space to measure semantic similarity. We enhance the model’s training efficiency using the LiT-tuning paradigm to optimize learning through a cosine decay strategy for dynamic adjustment of the learning rate. We validate our method on two benchmark datasets, WuKong and Flickr30k, demonstrating that our model achieves superior performance and significantly improves key evaluation metrics. The results underscore the model’s effectiveness in achieving accurate and robust image–text alignment.Keywords
Funding Information
- Jilin Provincial Department of Education (JJKH20230841KJ)
This publication has 17 references indexed in Scilit:
- In Pursuit of Beauty: Aesthetic-Aware and Context-Adaptive Photo Selection in CrowdsensingIEEE Transactions on Knowledge and Data Engineering, 2023
- Light-Guided and Cross-Fusion U-Net for Anti-Illumination Image Super-ResolutionIEEE Transactions on Circuits and Systems for Video Technology, 2022
- Negative-Aware Attention Framework for Image-Text Matching2022
- Context-Aware Attention Network for Image-Text Retrieval2020
- Momentum Contrast for Unsupervised Visual Representation Learning2020
- Multi-Modality Cross Attention Network for Image and Sentence Matching2020
- Stacked Cross Attention for Image-Text Matching2018
- Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering2018
- Dual Attention Networks for Multimodal Reasoning and Matching2017
- Graph-Structured Representations for Visual Question Answering2017