Towards Deconfounded Image-Text Matching with Causal Inference
Wenhui Li, Xinqi Su, Dan Song, Lanjun Wang, Kun Zhang, An-An Liu
TL;DR
The paper tackles spurious correlations in image–text matching caused by intra‑ and inter‑modal biases and biased external knowledge. It introduces the Deconfounded Causal Inference Network (DCIN), which leverages Structural Causal Models and backdoor adjustment to learn causal relations and debias external knowledge through confounder dictionaries and debiased knowledge embeddings. DCIN comprises modules for global embeddings, confounder dictionaries, debiased knowledge, and a deconfounding mechanism that yields a joint deconfounded similarity score, optimized with a hinge loss. Experiments on Flickr30K and MSCOCO demonstrate improved generalization and state‑of‑the‑art or competitive performance, validating the effectiveness of removing spurious correlations and learning causal associations in cross‑modal retrieval.
Abstract
Prior image-text matching methods have shown remarkable performance on many benchmark datasets, but most of them overlook the bias in the dataset, which exists in intra-modal and inter-modal, and tend to learn the spurious correlations that extremely degrade the generalization ability of the model. Furthermore, these methods often incorporate biased external knowledge from large-scale datasets as prior knowledge into image-text matching model, which is inevitable to force model further learn biased associations. To address above limitations, this paper firstly utilizes Structural Causal Models (SCMs) to illustrate how intra- and inter-modal confounders damage the image-text matching. Then, we employ backdoor adjustment to propose an innovative Deconfounded Causal Inference Network (DCIN) for image-text matching task. DCIN (1) decomposes the intra- and inter-modal confounders and incorporates them into the encoding stage of visual and textual features, effectively eliminating the spurious correlations during image-text matching, and (2) uses causal inference to mitigate biases of external knowledge. Consequently, the model can learn causality instead of spurious correlations caused by dataset bias. Extensive experiments on two well-known benchmark datasets, i.e., Flickr30K and MSCOCO, demonstrate the superiority of our proposed method.
