arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2410.01534cs.CV

面向CLIP模型鲁棒性的全面评估

Toward a Holistic Evaluation of Robustness in CLIP Models

The Australian National University(澳大利亚国立大学);Curtin University(科廷大学)

Weijie Tu, Weijian Deng, Tom Gedeon

AI总结:

该研究从视觉因素鲁棒性、安全目标、跨模态桥接、3D感知及多模态模型交互等多维度全面评估CLIP模型鲁棒性,分析六类影响因素,揭示新洞见并为模型优化提供指导。

摘要:

对比语言-图像预训练(Contrastive Language-Image Pre-training, CLIP)模型已展现出巨大潜力,尤其是在应对各类分布偏移的零样本分类任务中。本研究在现有分类整体鲁棒性评估的基础上,从多个全新视角对CLIP展开更全面的评估。首先,我们探究了CLIP对特定视觉因素变化的鲁棒性;其次,除单纯的分类准确率外,我们还评估了置信度不确定性和分布外检测这两项关键的安全目标;第三,我们评估了CLIP模型桥接图像与文本模态的精细程度;第四,我们将研究范围从传统的2D图像理解拓展至CLIP模型的3D感知能力;最后,我们探究了以CLIP作为视觉骨干的现代大多模态模型(large multimodal models, LMMs)中视觉编码器与语言编码器的交互作用,重点关注该交互对分类鲁棒性的影响。在每个评估维度中,我们均考察了六个因素对CLIP模型的影响:模型架构、训练分布、训练集规模、微调、对比损失以及测试时提示词。本研究揭示了若干此前未被发现的关于CLIP的洞见:例如,CLIP视觉编码器的架构对其抵御3D损坏的鲁棒性具有重要作用;CLIP模型在进行预测时往往存在形状偏好,且这种偏好在ImageNet上微调后会有所减弱;像LLaVA这类利用CLIP视觉编码器的视觉-语言模型,在困难类别的分类性能上可能优于单独使用CLIP的效果。我们的研究结果有望为提升CLIP模型的鲁棒性与可靠性提供有价值的指导。

英文摘要:

Contrastive Language-Image Pre-training (CLIP) models have shown significant potential, particularly in zero-shot classification across diverse distribution shifts. Building on existing evaluations of overall classification robustness, this work aims to provide a more comprehensive assessment of CLIP by introducing several new perspectives. First, we investigate their robustness to variations in specific visual factors. Second, we assess two critical safety objectives--confidence uncertainty and out-of-distribution detection--beyond mere classification accuracy. Third, we evaluate the finesse with which CLIP models bridge the image and text modalities. Fourth, we extend our examination to 3D awareness in CLIP models, moving beyond traditional 2D image understanding. Finally, we explore the interaction between vision and language encoders within modern large multimodal models (LMMs) that utilize CLIP as the visual backbone, focusing on how this interaction impacts classification robustness. In each aspect, we consider the impact of six factors on CLIP models: model architecture, training distribution, training set size, fine-tuning, contrastive loss, and test-time prompts. Our study uncovers several previously unknown insights into CLIP. For instance, the architecture of the visual encoder in CLIP plays a significant role in their robustness against 3D corruption. CLIP models tend to exhibit a bias towards shape when making predictions. Moreover, this bias tends to diminish after fine-tuning on ImageNet. Vision-language models like LLaVA, leveraging the CLIP vision encoder, could exhibit benefits in classification performance for challenging categories over CLIP alone. Our findings are poised to offer valuable guidance for enhancing the robustness and reliability of CLIP models.

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

↑