arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2411.04997cs.CVcs.CL
收藏

LLM2CLIP: 强大语言模型解锁更丰富的跨模态表示

LLM2CLIP: Powerful Language Model Unlocks Richer Cross-Modality Representation

Weiquan Huang, Aoqi Wu, Yifan Yang, Xufang Luo, Yuqing Yang, Usman Naseem, Chunyu Wang, Chunyu Wang, Qi Dai, Xiyang Dai, Dongdong Chen, Chong Luo, Lili Qiu, Liang Hu

AI总结:

LLM2CLIP通过将强大语言模型与CLIP结合,提升跨模态表示能力,实现多种下游任务的性能改进。

摘要:

CLIP是一种开创性的多模态模型,通过在数十亿张图像-描述词对上进行对比学习,将图像和文本映射到共享的表示空间中。受大型语言模型(LLMs)快速进展的启发,我们研究如何利用LLMs卓越的语言理解和广泛的领域知识进一步增强CLIP,特别是在处理长且复杂的描述词方面。我们引入了一个高效的微调框架,将LLM嵌入到预训练的CLIP中,其训练成本几乎与标准的CLIP微调相同。我们的方法首先将LLM转换为与CLIP设置兼容的嵌入形式,然后通过一个轻量级的适配器将其与预训练的CLIP视觉编码器耦合,该适配器仅在数百万个图像-描述词对上进行训练。通过这一策略,我们实现了显著的性能提升,而无需大规模重新训练,优于最先进的CLIP变种,如EVA02和SigLIP-2。LLM增强的CLIP在广泛的任务中均表现出一致的改进,包括线性探测分类、使用短和长描述词(英文和其他语言)的零样本图像-文本检索、零样本和监督图像分割、目标检测,以及作为多模态大模型基准的分词器基础架构。代码和模型可在:https://aka.ms/llm2clip获取。

英文摘要:

CLIP is a seminal multimodal model that maps images and text into a shared representation space through contrastive learning on billions of image-caption pairs. Inspired by the rapid progress of large language models (LLMs), we investigate how the superior linguistic understanding and broad world knowledge of LLMs can further strengthen CLIP, particularly in handling long and complex captions. We introduce an efficient fine-tuning framework that embeds an LLM into a pretrained CLIP while incurring nearly the same training cost as standard CLIP fine-tuning. Our method first converts the LLM into an embedding-compatible form for the CLIP setting, and then couples it with the pretrained CLIP vision encoder through a lightweight adaptor trained on only a few million image-caption pairs. With this strategy, we achieve large performance gains without large-scale retraining, outperforming state-of-the-art CLIP variants such as EVA02 and SigLIP-2. The LLM-enhanced CLIP delivers consistent improvements across a wide range of downstream tasks, including linear-probe classification, zero-shot image-text retrieval with both short and long captions (in English and other languages), zero-shot and supervised image segmentation, object detection, and serving as a tokenizer backbone for multimodal large-model benchmarks. Code and models are available at: https://aka.ms/llm2clip

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

↑