2024-11-11 · 专家 · 计算机视觉 · 机器学习

RaVL: Discovering and Mitigating Spurious Correlations in Fine-Tuned Vision-Language Models

RAVL通过发现和缓解视觉-语言模型中图像特征和文本属性之间的虚假相关性,提高了模型在零样本任务中的鲁棒性。

更新于 2024-11-11。作者:Maya Varma、Jean-Benoit Delbrouck、Zhihong Chen、Akshay Chaudhari、Curtis Langlotz。

中文摘要

微调后的视觉语言模型(VLMs)往往会在图像特征和文本属性之间捕捉到虚假的相关性,导致测试时的零样本性能下降。现有解决虚假相关性的方法(i)主要在全局图像层面操作,而不是直接干预细粒度图像特征;(ii)主要设计用于单模态环境。在这项工作中,我们提出了RaVL,它从细粒度视角出发,通过发现和减轻虚假相关性来提高VLM的鲁棒性,而不是在全局图像层面操作。给定一个微调的VLM,RaVL首先通过利用区域级聚类方法来识别导致零样本分类错误的精确图像特征,从而发现虚假相关性。然后,RaVL通过一个新颖的区域感知损失函数来减轻已识别的虚假相关性,该函数使得VLM能够在微调过程中专注于相关区域并忽略虚假关系。我们在654个具有不同模型架构、数据域和学习的虚假相关性的VLM上评估了RaVL。我们的结果表明,RaVL能够准确发现(比最接近的基线提高191%)并减轻(在最差组图像分类准确率上提高了8.2%)虚假相关性。对通用领域和医疗领域VLM的定性评估证实了我们的发现。

英文摘要

Fine-tuned vision-language models (VLMs) often capture spurious correlations between image features and textual attributes, resulting in degraded zero-shot performance at test time. Existing approaches for addressing spurious correlations (i) primarily operate at the global image-level rather than intervening directly on fine-grained image features and (ii) are predominantly designed for unimodal settings. In this work, we present RaVL, which takes a fine-grained perspective on VLM robustness by discovering and mitigating spurious correlations using local image features rather than operating at the global image level. Given a fine-tuned VLM, RaVL first discovers spurious correlations by leveraging a region-level clustering approach to identify precise image features contributing to zero-shot classification errors. Then, RaVL mitigates the identified spurious correlation with a novel region-aware loss function that enables the VLM to focus on relevant regions and ignore spurious relationships during fine-tuning. We evaluate RaVL on 654 VLMs with various model architectures, data domains, and learned spurious correlations. Our results show that RaVL accurately discovers (191% improvement over the closest baseline) and mitigates (8.2% improvement on worst-group image classification accuracy) spurious correlations. Qualitative evaluations on general-domain and medical-domain VLMs confirm our findings.

解读

一句话总结

RAVL通过发现和缓解视觉-语言模型中图像特征和文本属性之间的虚假相关性,提高了模型在零样本任务中的鲁棒性。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:微调后的视觉-语言模型(VLMs)经常捕捉到图像特征和文本属性之间的虚假相关性,导致测试时的零样本性能下降。 • 现有方案不足:现有的解决方案主要在全局图像级别操作,而不是直接干预细粒度图像特征;且主要针对单模态设置。 • 研究目标:通过使用局部图像特征而非全局图像级别操作,发现和缓解虚假相关性,从而提高VLM的鲁棒性。

问题2:论文的核心创新点是什么?

• 技术创新:RAVL使用区域级聚类方法来识别导致零样本分类错误的精确图像特征。 • 方法改进:引入了一种新的区域感知损失函数,使VLM在微调过程中能够关注相关区域并忽略虚假关系。 • 优势:与现有方法相比,RAVL能够更准确地发现和缓解虚假相关性。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在654个VLMs上进行了评估,涵盖了不同的模型架构、数据域和学习的虚假相关性。 • 性能提升:RAVL在发现虚假相关性方面比最接近的基线提高了191%,在缓解虚假相关性方面在最差的图像分类准确率上提高了8.2%。 • 对比结果:与基线方法相比,RAVL在发现和缓解虚假相关性方面均表现出显著的优势。

问题4:这个研究的实际应用价值是什么?

• 应用场景:在需要鲁棒的零样本性能的领域,如医学图像分析、产品图像分类等。 • 实施建议:在微调VLM之前使用RAVL来识别和缓解虚假相关性。 • 局限与展望:RAVL主要关注局部、细粒度的虚假特征,对于全局虚假特征可能效果有限。未来可以探索更全面的虚假相关性检测和缓解方法。

来源