arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2402.15120cs.CVcs.AIcs.LG
收藏

通过两步改述微调CLIP文本编码器

Fine-tuning CLIP Text Encoders with Two-step Paraphrasing

Korea University(高丽大学);Adobe Research(奥多比研究院)

Hyunjae Kim, Seunghyun Yoon, Trung Bui, Handong Zhao, Quan Tran, Franck Dernoncourt, Jaewoo Kang

AI总结:

本文提出ParaCLIP,通过两步改述生成增强CLIP文本编码器对改述查询的表示能力,在改述检索和语义相似度等任务上显著优于基线CLIP。

摘要:

对比语言-图像预训练(CLIP)模型在多种视觉-语言任务中已展现出显著成功,例如文本到图像检索,该任务要求模型有效处理自然语言输入以产生准确的视觉输出。然而,当前模型在处理输入查询中的语言变体(如改述)方面仍存在局限,这使得在现实应用中难以应对广泛的用户查询。在本研究中,我们引入了一种直接的微调方法来增强CLIP模型对改述的表示能力。我们的方法包含一个两步改述生成过程,在此过程中我们利用大型语言模型从网络规模的图像描述中自动创建两类改述。随后,我们在冻结图像编码器的同时,使用这些生成的改述对CLIP文本编码器进行微调。我们得到的模型称为ParaCLIP,在多项任务上相比基线CLIP模型表现出显著改进,包括改述检索(排名相似度分数最高提升2.0%和5.6%)、Visual Genome Relation and Attribution,以及七个语义文本相似度任务。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑