通过基于大语言模型的嵌入器实现渐进式视觉-语言对齐的ProCLIP
ProCLIP: Progressive Vision-Language Alignment via LLM-based Embedder
AI总结:
ProCLIP通过课程学习逐步对齐CLIP图像编码器与基于大语言模型的嵌入器,提升长文本处理和多语言理解能力。
摘要:
原始CLIP文本编码器受限于最大输入长度为77个标记,这限制了其有效处理长文本和执行细粒度语义理解的能力。此外,CLIP文本编码器不支持多语言输入。所有这些限制都显著限制了其在更广泛任务中的适用性。最近的研究尝试用基于大语言模型的嵌入器替代CLIP文本编码器,以增强其处理长文本、多语言理解和细粒度语义理解的能力。然而,由于大语言模型的表示空间和CLIP的视觉-语言空间是预训练独立的,没有对齐先验,直接使用对比学习进行对齐会破坏CLIP图像编码器中的内在视觉-语言对齐,导致预训练过程中获得的知识被浪费。为了解决这一挑战,我们提出了ProCLIP,一种基于课程学习的渐进式视觉-语言对齐框架,以有效将CLIP图像编码器与基于大语言模型的嵌入器对齐。具体而言,ProCLIP首先将CLIP文本编码器的知识蒸馏到基于大语言模型的嵌入器中,以利用CLIP丰富的预训练知识,同时在大语言模型嵌入器和CLIP图像编码器之间建立初始对齐。随后,ProCLIP通过图像-文本对比训练进一步对齐CLIP图像编码器和基于大语言模型的嵌入器,采用自我蒸馏正则化以避免过拟合。为了实现更有效的对齐,在表示继承和对比训练过程中采用实例语义对齐损失和嵌入结构对齐损失。代码可在https://github.com/VisionXLab/ProCLIP上获得。
英文摘要:
The original CLIP text encoder is limited by a maximum input length of 77 tokens, which hampers its ability to effectively process long texts and perform fine-grained semantic understanding. In addition, the CLIP text encoder lacks support for multilingual inputs. All these limitations significantly restrict its applicability across a broader range of tasks. Recent studies have attempted to replace the CLIP text encoder with an LLM-based embedder to enhance its ability in processing long texts, multilingual understanding, and fine-grained semantic comprehension. However, because the representation spaces of LLMs and the vision-language space of CLIP are pretrained independently without alignment priors, direct alignment using contrastive learning can disrupt the intrinsic vision-language alignment in the CLIP image encoder, leading to an underutilization of the knowledge acquired during pre-training. To address this challenge, we propose ProCLIP, a curriculum learning-based progressive vision-language alignment framework to effectively align the CLIP image encoder with an LLM-based embedder. Specifically, ProCLIP first distills knowledge from CLIP's text encoder into the LLM-based embedder to leverage CLIP's rich pretrained knowledge while establishing initial alignment between the LLM embedder and CLIP image encoder. Subsequently, ProCLIP further aligns the CLIP image encoder with the LLM-based embedder through image-text contrastive tuning, employing self-distillation regularization to avoid overfitting. To achieve a more effective alignment, instance semantic alignment loss and embedding structure alignment loss are employed during representation inheritance and contrastive tuning. The Code is available at https://github.com/VisionXLab/ProCLIP.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。