Benchmarking Pre-Trained Vision-Language Models for Bidirectional Image-Text Retrieval on MS-COCO: BERT+ResNet, CLIP, and BLIP
Abstract
Bidirectional image-text retrieval evaluates whether a model can align visual and textual representations for both text-to-image and image-to-text search. This paper presents a controlled benchmark on the Microsoft Common Objects in Context (MS-COCO) Karpathy split, using the same 5,000-image test gallery, 25,000 captions, similarity-matrix layout, and Recall@K/Recall Sum (RSUM) evaluation for four settings: a frozen Bidirectional Encoder Representations from Transformers (BERT)+ Residual Network (ResNet) dual encoder, Contrastive Language-Image Pre-training (CLIP) Vision Transformer Base (ViT-B)/32 zero-shot, CLIP ViT-B/32 fine-tuned on COCO, and Bootstrapping Language-Image Pre-training (BLIP) image-text contrastive only (ITC-only). The results show a clear gap between independently combined unimodal encoders and pre-trained vision-language models. BERT+ResNet obtains RSUM 148.740, while CLIP zero-shot reaches 361.868. Fine-tuning CLIP improves RSUM to 423.496, while the COCO-trained BLIP checkpoint evaluated with ITC-only scoring achieves the strongest result in this experiment, with RSUM 489.588. Image-to-text retrieval scores higher under COCO's asymmetric protocol, while longer captions are associated with higher text-to-image recall. Qualitative errors center on attributes, counting, spatial relations, and plausible false negatives. These results characterize the evaluated checkpoints and training conditions on this benchmark; they do not establish a universal model hierarchy.
References
- Li, T., Kong, L., Yang, X., Wang, B., & Xu, J. (2024). Bridging modalities: A survey of cross-modal image-text retrieval.Chinese Journal of Information Fusion, 1(1), 79–92.
- Lin, T.-Y., Maire, M., Belongie, S., Hays, J., Perona, P., Ramanan, D., Dollár, P., & Zitnick, C. L. (2014). Microsoft COCO: Common objects in context. InProceedings of the European Conference on Computer Vision (ECCV), Lecture Notes in Computer Science 8693, 740–755.
- Radford, A., Kim, J. W., Hallacy, C., Ramesh, A., Goh, G., Agarwal, S., Sastry, G., Askell, A., Mishkin, P., Clark, J., Krueger, G., & Sutskever, I. (2021). Learning transferable visual models from natural language supervision. InProceedings of the 38th International Conference on Machine Learning (ICML), PMLR 139, 8748–8763.
- Li, J., Li, D., Xiong, C., & Hoi, S. C. H. (2022). BLIP: Bootstrapping language-image pre-training for unified vision-language understanding and generation. InProceedings of the 39th International Conference on Machine Learning (ICML), PMLR 162, 12888–12900.
- Li, Z., Guo, C., Wang, X., Zhang, H., & Wang, Y. (2024). Integrating listwise ranking into pairwise-based image-text retrieval.Knowledge-Based Systems, 287, 111431.
- Khan, A., Sohail, A., Zahoora, U., & Qureshi, A. S. (2020). A survey of the recent architectures of deep convolutional neural networks.Artificial Intelligence Review, 53(8), 5455–5516.
- Rogers, A., Kovaleva, O., & Rumshisky, A. (2020). A primer in BERTology: What we know about how BERT works.Transactions of the Association for Computational Linguistics, 8, 842–866.
- Wang, T., Li, F., Zhu, L., Li, J., Zhang, Z., & Shen, H. T. (2024). Cross-modal retrieval: A systematic review of methods and future directions.Proceedings of the IEEE, 112(11), 1716–1754.
- Gao, P., Geng, S., Zhang, R., Ma, T., Fang, R., Zhang, Y., Li, H., & Qiao, Y. (2024). CLIP-Adapter: Better vision-language models with feature adapters.International Journal of Computer Vision, 132(2), 581–595.
- Zhou, K., Hassan, F. H., & Gan, K. H. (2024). Pretrained models for cross-modal retrieval: Experiments and improvements.Signal, Image and Video Processing, 18(5), 4915–4923.
- Hu, P., Huang, Z., Peng, D., Wang, X., & Peng, X. (2023). Cross-modal retrieval with partially mismatched pairs.IEEE Transactions on Pattern Analysis and Machine Intelligence, 45(8), 9595–9610.