Deconfounded Visual Grounding

Jianqiang Huang, Yu Qin, Jiaxin Qi, Qianru Sun, Hanwang Zhang

Introduction

Visual grounding is a fundamental task in computer vision and natural language processing that involves localizing a specific object in an image based on a natural language description. While modern deep learning architectures have achieved impressive results, they are often plagued by a subtle yet pervasive issue: language-location bias.

This bias occurs when models learn to associate specific words with fixed image locations based on statistical regularities in the training data rather than true visual reasoning. For instance, because photographers often center their subjects, a model might learn that the word "sheep" implies a central location. This "shortcut" leads to failure when the object appears in an unconventional position, such as the corner of an image.

Figure 1: An illustration of language-location bias. The model predicts a central "biased" box for the sheep because the training distribution (histograms) shows a high probability of sheep appearing in the center, ignoring the actual ground-truth location.

Methodology: A Causal Inference Approach

To move beyond these spurious correlations, the researchers frame visual grounding through the lens of Causal Inference. They identify an unobserved confounder ($G$)—representing dataset-specific biases or "common sense" priors—that influences both the language query ($R$) and the predicted location ($L$).

The Do-Operation

The core of their solution is the $do$-operation, which simulates an intervention to break the causal link between the confounder and the query. By calculating $P(L | do(R), X)$, the model is forced to rely on the direct relationship between the image ($X$) and the language ($R$), effectively ignoring the statistical shortcuts provided by $G$.

Referring Expression Deconfounder (RED)

Since the true confounder $G$ is unobservable, the authors introduce the Referring Expression Deconfounder (RED). RED operates in two stages:

  1. Dictionary Building: An auto-encoder is trained on all language queries in the dataset. The resulting embeddings are clustered to create a "confounder dictionary," which serves as a proxy for the hidden biases. This clustering identifies common semantic patterns that are often associated with specific spatial priors.
  2. Deconfounded Training: During the grounding task, a language attention mechanism allows the model to attend to this dictionary. By performing a "backdoor adjustment," the model subtracts the biased components from the language features before making a prediction.

RED is designed to be model-agnostic, functioning as a lightweight attention layer that can be integrated into various existing one-stage or two-stage grounding architectures with minimal (approx. 8%) computational overhead, adding only about 2ms per sample.

Experimental Evaluation

The effectiveness of RED was validated across five major benchmarks: RefCOCO, RefCOCO+, RefCOCOg, ReferItGame, and Flickr30K Entities.

Key Results

  • Performance Gains: RED consistently improved accuracy across all baselines. The most significant improvements were observed in RefCOCOg, which features longer and more complex queries. In these cases, RED provided gains of up to +7.6%, demonstrating that more descriptive queries often contain more confounding elements.
  • State-of-the-Art (SOTA): When integrated with the "Look Before You Leap" (LBYL) model, RED established a new SOTA on RefCOCOg with 71.11% accuracy (val-u split).
  • Qualitative Improvements: Visualizations confirm that RED-equipped models successfully shift their attention away from biased "mean boxes" toward the actual objects described in the queries, even when they are in non-central or unusual locations.

Conclusion and Future Work

By addressing the causal roots of language-location bias, RED offers a robust method for improving the reliability of visual grounding models. The research highlights that the primary bottleneck in current systems is often a causal one rather than a lack of data or model capacity.

Future research directions include using more advanced generative models (like VAEs or GANs) to refine the substitute confounders and integrating large-scale vision-language pre-training (e.g., CLIP or ViLBERT) to provide models with broader world knowledge, further insulating them from dataset-specific biases.

Summary updated

BibTeX
@inproceedings{huang2022deconfounded,
  author = {Jianqiang Huang and Yu Qin and Jiaxin Qi and Qianru Sun and Hanwang Zhang},
  title = {{Deconfounded Visual Grounding}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i1.19983},
}
Figure