RaVL:发现并缓解微调视觉-语言模型中的虚假相关性
RaVL: Discovering and Mitigating Spurious Correlations in Fine-Tuned Vision-Language Models
AI总结:
RaVL通过区域级聚类发现虚假相关性,并用区域感知损失函数在微调中缓解,在654个VLM上实现191%的发现提升和8.2%的最差组准确率提升。
摘要:
微调的视觉-语言模型(VLM)经常捕获图像特征与文本属性之间的虚假相关性,导致测试时零样本性能下降。现有的解决虚假相关性的方法(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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。