arXiv:2502.04263cs.CVcs.AI2025-02ICLR被引 47

CLIP模型内部模态对齐不足,跨模态操作反而更优。

Cross the Gap: Exposing the Intra-modal Misalignment in CLIP via Modality Inversion

论文配图:Cross the Gap: Exposing the Intra-modal Misalignment in CLIP via Modality Inversion
图 1 · 摘自论文原文
  • 用反向生成技术揭示图像与文本编码器的内部错位
  • 跨模态检索在15个数据集上显著优于纯图像/文本检索
  • 适合研究多模态对齐或想提升检索性能的开发者

预训练的多模态视觉-语言模型(如CLIP)被广泛用于各类任务。本文指出,单独使用其图像或文本编码器进行图像到图像检索等内部模态任务时表现不佳,根本原因在于CLIP式的跨模态对比损失未施加任何内部模态约束,导致所谓的内部模态错位。我们采用两种基于优化的模态反演技术,将输入模态的表示映射到互补模态,无需额外数据或训练适配器。实验表明,在超过十五个数据集上的图像到图像和文本到文本检索任务中,采用跨模态方式显著优于纯内部模态基线。此外,将原生跨模态任务(如零样本图像分类)改为内部模态处理会降低性能,进一步验证了上述发现。最后,我们证明在预训练目标中加入内部模态项,或缩小文本与图像特征空间间的模态差距,有助于缓解内部模态错位。代码已开源:https://github.com/miccunifi/Cross-the-Gap。

原文摘要 · Abstract (English)

Pre-trained multi-modal Vision-Language Models like CLIP are widely used off-the-shelf for a variety of applications. In this paper, we show that the common practice of individually exploiting the text or image encoders of these powerful multi-modal models is highly suboptimal for intra-modal tasks like image-to-image retrieval. We argue that this is inherently due to the CLIP-style inter-modal contrastive loss that does not enforce any intra-modal constraints, leading to what we call intra-modal misalignment. To demonstrate this, we leverage two optimization-based modality inversion techniques that map representations from their input modality to the complementary one without any need for auxiliary data or additional trained adapters. We empirically show that, in the intra-modal tasks of image-to-image and text-to-text retrieval, approaching these tasks inter-modally significantly improves performance with respect to intra-modal baselines on more than fifteen datasets. Additionally, we demonstrate that approaching a native inter-modal task (e.g. zero-shot image classification) intra-modally decreases performance, further validating our findings. Finally, we show that incorporating an intra-modal term in the pre-training objective or narrowing the modality gap between the text and image feature embedding spaces helps reduce the intra-modal misalignment. The code is publicly available at: https://github.com/miccunifi/Cross-the-Gap.

多模态模型对齐CLIP检索

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。