Confounder Identification-free Causal Visual Feature Learning

Xin Li, Zhizheng Zhang, Guoqiang Wei, Cuiling Lan, Wenjun Zeng, Xin Jin, Zhibo Chen

Abstract

Deep learning models often fail to generalize because they rely on spurious correlations—confounders—rather than true causal features. This paper introduces Confounder Identification-free Causal Visual Feature Learning (CICF), a method that utilizes the front-door criterion to eliminate the influence of hidden confounders without requiring their explicit identification. We also provide a theoretical bridge between causal learning and Model-Agnostic Meta-Learning (MAML), showing that MAML's success in domain generalization stems from its implicit causal intervention mechanism.

1. Introduction

Standard Deep Neural Networks (DNNs) are highly effective at identifying correlations but often struggle with Domain Generalization (DG). When a model learns to associate a label with a non-causal background feature (e.g., a bird always appearing on a branch), it fails when tested on data where that correlation does not hold. These misleading features are known as confounders. Existing causal methods typically rely on the back-door criterion, which requires manual identification and labeling of these confounders—a task that is often impossible in real-world scenarios with infinite potential hidden variables.

2. The Front-Door Criterion for Causal Learning

To overcome the limitations of confounder identification, the authors propose CICF, which shifts the focus to the front-door criterion. Unlike the back-door approach, which attempts to block the path from the confounder to the input, the front-door criterion introduces an intermediate variable $Z$ (the learned features). By analyzing the causal flow from input $X$ to features $Z$, and from $Z$ to the label $Y$, the effect of any unobserved confounder $C$ can be mathematically neutralized.

Figure 1: Comparison of causal strategies. (a) Examples of common visual confounders. (b) The back-door criterion, which requires identifying $C$. (c) The front-door criterion, which uses an intermediate variable $Z$ to bypass unidentifiable confounders.

3. Methodology: Gradient-based Interventions

CICF implements the front-door strategy through gradient-based interventions. By utilizing the gradients of other samples during training, the model simulates the "do-operation," effectively breaking spurious correlations. To maintain computational efficiency, the method introduces a clustering-then-sampling mechanism. This approach allows for global-scope interventions while adding only a negligible overhead (approx. 4.8%) to the training time.

4. Theoretical Connection to Meta-Learning

A significant contribution of this work is the formal proof that Model-Agnostic Meta-Learning (MAML) is implicitly performing causal learning. The authors demonstrate that MAML’s inner-loop updates act as local interventions. CICF improves upon this by scaling these interventions to a global level, providing a more robust framework for learning invariant features.

5. Experimental Results

The effectiveness of CICF was evaluated on four standard DG benchmarks: PACS, Digits-DG, Office-Home, and VLCS. CICF consistently achieved state-of-the-art performance. For example, on the PACS dataset, CICF improved the baseline accuracy from 79.5% to 81.9%, with particularly strong gains in the difficult "Sketch" domain (+2.3%). Visualizations using Grad-CAM further demonstrate that CICF-trained models focus on the causal objects themselves rather than irrelevant background features.

6. Conclusion

CICF offers a practical and theoretically grounded approach to causal visual feature learning. By removing the need for explicit confounder identification, it provides a scalable solution for building models that generalize better across diverse and unpredictable real-world domains.

Summary updated

BibTeX
@inproceedings{li2023confounder,
  author = {Xin Li and Zhizheng Zhang and Guoqiang Wei and Cuiling Lan and Wenjun Zeng and Xin Jin and Zhibo Chen},
  title = {{Confounder Identification-free Causal Visual Feature Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2023},
  url = {https://openreview.net/forum?id=8e5xTOIQpj7},
}
Figure