Salvato in:
Dettagli Bibliografici
Autori principali: Kim, Hyunjae, Yoon, Seunghyun, Bui, Trung, Zhao, Handong, Tran, Quan, Dernoncourt, Franck, Kang, Jaewoo
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:https://arxiv.org/abs/2402.15120
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910341728829440
author Kim, Hyunjae
Yoon, Seunghyun
Bui, Trung
Zhao, Handong
Tran, Quan
Dernoncourt, Franck
Kang, Jaewoo
author_facet Kim, Hyunjae
Yoon, Seunghyun
Bui, Trung
Zhao, Handong
Tran, Quan
Dernoncourt, Franck
Kang, Jaewoo
contents Contrastive language-image pre-training (CLIP) models have demonstrated considerable success across various vision-language tasks, such as text-to-image retrieval, where the model is required to effectively process natural language input to produce an accurate visual output. However, current models still face limitations in dealing with linguistic variations in input queries, such as paraphrases, making it challenging to handle a broad range of user queries in real-world applications. In this study, we introduce a straightforward fine-tuning approach to enhance the representations of CLIP models for paraphrases. Our approach involves a two-step paraphrase generation process, where we automatically create two categories of paraphrases from web-scale image captions by leveraging large language models. Subsequently, we fine-tune the CLIP text encoder using these generated paraphrases while freezing the image encoder. Our resulting model, which we call ParaCLIP, exhibits significant improvements over baseline CLIP models across various tasks, including paraphrased retrieval (with rank similarity scores improved by up to 2.0% and 5.6%), Visual Genome Relation and Attribution, as well as seven semantic textual similarity tasks.
format Preprint
id arxiv_https___arxiv_org_abs_2402_15120
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Fine-tuning CLIP Text Encoders with Two-step Paraphrasing
Kim, Hyunjae
Yoon, Seunghyun
Bui, Trung
Zhao, Handong
Tran, Quan
Dernoncourt, Franck
Kang, Jaewoo
Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
Contrastive language-image pre-training (CLIP) models have demonstrated considerable success across various vision-language tasks, such as text-to-image retrieval, where the model is required to effectively process natural language input to produce an accurate visual output. However, current models still face limitations in dealing with linguistic variations in input queries, such as paraphrases, making it challenging to handle a broad range of user queries in real-world applications. In this study, we introduce a straightforward fine-tuning approach to enhance the representations of CLIP models for paraphrases. Our approach involves a two-step paraphrase generation process, where we automatically create two categories of paraphrases from web-scale image captions by leveraging large language models. Subsequently, we fine-tune the CLIP text encoder using these generated paraphrases while freezing the image encoder. Our resulting model, which we call ParaCLIP, exhibits significant improvements over baseline CLIP models across various tasks, including paraphrased retrieval (with rank similarity scores improved by up to 2.0% and 5.6%), Visual Genome Relation and Attribution, as well as seven semantic textual similarity tasks.
title Fine-tuning CLIP Text Encoders with Two-step Paraphrasing
topic Computer Vision and Pattern Recognition
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2402.15120