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

Maya Varma, Jean-Benoit Delbrouck, Zhihong Chen, Akshay S. Chaudhari, Curtis P. Langlotz
2/3/2026

No official code found. Best implementation: Stanford-AIMI/RaVL (31 stars, MIT, last commit 2024-11-12).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Stanford-AIMI/RaVLCommunity100%
MIT

[NeurIPS 2024] RaVL: Discovering and Mitigating Spurious Correlations in Fine-Tuned Vision-Language Models

311Python, Jupyter NotebookOct 3, 20241 years agoMIT

Similar Papers

Cite this paper

@article{varma2026ravl,
  title  = {RaVL: Discovering and Mitigating Spurious Correlations in Fine-Tuned Vision-Language Models},
  author = {Maya Varma and Jean-Benoit Delbrouck and Zhihong Chen and Akshay S. Chaudhari and Curtis P. Langlotz},
  year   = {2026},
  eprint = {2411.04097},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2411.04097},
  url    = {https://arxiv.org/abs/2411.04097},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.04097.svg)](https://codeofpaper.com/paper/2411.04097)

Discussion