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

模态间隙是bug还是feature?从鲁棒性视角

Is the Modality Gap a Bug or a Feature? A Robustness Perspective

Hebrew University(希伯来大学);IBM Research(IBM研究院)

Rhea Chowers, Oshri Naparstek, Udi Barzelay, Yair Weiss

AI总结:

本文从鲁棒性角度探讨模态间隙的存在原因,发现减少间隙可提升模型鲁棒性而不影响清洁准确率。

摘要:

许多现代多模态模型(如CLIP)试图构建一个对齐两种模态的嵌入空间。令人惊讶的是,现有模型几乎都表现出显著的模态间隙:图像分布与文本分布在共享嵌入空间中明显分离。尽管已有大量相关研究,仍不清楚为何存在此间隙,以及关闭间隙是否能提升下游任务性能。本文证明,在特定条件下,最小化对比损失会得到一种模态间由全局间隙向量正交分离的表示。我们还发现,在这些条件下,模态间隙与鲁棒性呈单调关系:减少间隙不改变模型的清洁准确率,但使模型在嵌入扰动下更不易改变输出。实验表明,对许多现实中的视觉语言模型(VLMs),通过简单的后处理步骤将一种模态向另一种模态的均值方向移动,可显著提升鲁棒性,而不会损失清洁准确率。

英文摘要:

Many modern multi-modal models (e.g. CLIP) seek an embedding space in which the two modalities are aligned. Somewhat surprisingly, almost all existing models show a strong modality gap: the distribution of images is well-separated from the distribution of texts in the shared embedding space. Despite a series of recent papers on this topic, it is still not clear why this gap exists nor whether closing the gap in post-processing will lead to better performance on downstream tasks. In this paper we show that under certain conditions, minimizing the contrastive loss yields a representation in which the two modalities are separated by a global gap vector that is orthogonal to their embeddings. We also show that under these conditions the modality gap is monotonically related to robustness: decreasing the gap does not change the clean accuracy of the models but makes it less likely that a model will change its output when the embeddings are perturbed. Our experiments show that for many real-world VLMs we can significantly increase robustness by a simple post-processing step that moves one modality towards the mean of the other modality, without any loss of clean accuracy.

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

↑