Counterfactual Maximum Likelihood Estimation for Training Deep Networks

Xinyi Wang, Wenhu Chen, Michael Saxon, William Yang Wang
6/7/2021
cs.LGcs.CLstat.ML

Official code: WANGXinyiLinda/CMLE (8 stars, Python, last commit 2022-11-02).

Abstract

Although deep learning models have driven state-of-the-art performance on a wide array of tasks, they are prone to spurious correlations that should not be learned as predictive clues. To mitigate this problem, we propose a causality-based training framework to reduce the spurious correlations caused by observed confounders.

Show full abstract

We give theoretical analysis on the underlying general Structural Causal Model (SCM) and propose to perform Maximum Likelihood Estimation (MLE) on the interventional distribution instead of the observational distribution, namely Counterfactual Maximum Likelihood Estimation (CMLE). As the interventional distribution, in general, is hidden from the observational data, we then derive two different upper bounds of the expected negative log-likelihood and propose two general algorithms, Implicit CMLE and Explicit CMLE, for causal predictions of deep learning models using observational data. We conduct experiments on both simulated data and two real-world tasks: Natural Language Inference (NLI) and Image Captioning. The results show that CMLE methods outperform the regular MLE method in terms of out-of-domain generalization performance and reducing spurious correlations, while maintaining comparable performance on the regular evaluations.

View on arXivView PDF

Code Implementations(1)

This is the repository for the paper: Counterfactual Maximum Likelihood Estimation for Training Deep Networks.

81Python, ShellJun 6, 20214 years ago

Similar Papers

Cite this paper

@article{wang2021counterfactual,
  title  = {Counterfactual Maximum Likelihood Estimation for Training Deep Networks},
  author = {Xinyi Wang and Wenhu Chen and Michael Saxon and William Yang Wang},
  year   = {2021},
  eprint = {2106.03831},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.03831}
}

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

Discussion