Exposing and Mitigating Spurious Correlations for Cross-Modal Retrieval

Jae Myung Kim, A. Sophia Koepke, Cordelia Schmid, Zeynep Akata
4/6/2023
cs.CV

Official code: ExplainableML/Spurious_CM_Retrieval (7 stars, last commit 2023-04-03).

Abstract

Cross-modal retrieval methods are the preferred tool to search databases for the text that best matches a query image and vice versa. However, image-text retrieval models commonly learn to memorize spurious correlations in the training data, such as frequent object co-occurrence, instead of looking at the actual underlying reasons for the prediction in the image. For image-text retrieval, this manifests in retrieved sentences that mention objects that are not present in the query image. In this work, we introduce ODmAP@k, an object decorrelation metric that measures a model's robustness to spurious correlations in the training data. We use automatic image and text manipulations to control the presence of such object correlations in designated test data. Additionally, our data synthesis technique is used to tackle model biases due to spurious correlations of semantically unrelated objects in the training data. We apply our proposed pipeline, which involves the finetuning of image-text retrieval frameworks on carefully designed synthetic data, to three state-of-the-art models for image-text retrieval. This results in significant improvements for all three models, both in terms of the standard retrieval performance and in terms of our object decorrelation metric. The code is available at https://github.com/ExplainableML/Spurious_CM_Retrieval.

View on arXivView PDF

Code Implementations(1)

Official PyTorch implementation of CVPR 2023 MULA Workshop paper "Exposing and Mitigating Spurious Correlations for Cross-Modal Retrieval"

70Apr 3, 20233 years ago

Similar Papers

Cite this paper

@article{kim2023exposing,
  title  = {Exposing and Mitigating Spurious Correlations for Cross-Modal Retrieval},
  author = {Jae Myung Kim and A. Sophia Koepke and Cordelia Schmid and Zeynep Akata},
  year   = {2023},
  eprint = {2304.03391},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2304.03391v1}
}

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/2304.03391.svg)](https://codeofpaper.com/paper/2304.03391)

Discussion