Conditional Generative Models are Sufficient to Sample from Any Causal Effect Estimand

Md. Musfiqur Rahman, Matt Jordan, Murat Kocaoglu
2/1/2024

No official code found. Best implementation: Musfiqshohan/IDGEN (1 star, last commit 2025-01-15). 1 more below.

Abstract

Causal inference from observational data plays critical role in many applications in trustworthy machine learning. While sound and complete algorithms exist to compute causal effects, many of them assume access to conditional likelihoods, which is difficult to estimate for high-dimensional (particularly image) data. Researchers have alleviated this issue by simulating causal relations with neural models. However, when we have high-dimensional variables in the causal graph along with some unobserved confounders, no existing work can effectively sample from the un/conditional interventional distributions. In this work, we show how to sample from any identifiable interventional distribution given an arbitrary causal graph through a sequence of push-forward computations of conditional generative models, such as diffusion models. Our proposed algorithm follows the recursive steps of the existing likelihood-based identification algorithms to train a set of feed-forward models, and connect them in a specific way to sample from the desired distribution. We conduct experiments on a Colored MNIST dataset having both the treatment ($X$) and the target variables ($Y$) as images and sample from $P(y|do(x))$. Our algorithm also enables us to conduct a causal analysis to evaluate spurious correlations among input features of generative models pre-trained on the CelebA dataset. Finally, we generate high-dimensional interventional samples from the MIMIC-CXR dataset involving text and image variables.

View on arXivView PDF

Code Implementations(2)

Musfiqshohan/IDGENCommunity100%

[NeurIPS 2024] Conditional Generative Models are Sufficient to Sample from Any Causal Effect Estimand

11Shell, PythonFeb 11, 20241 years ago
CausalML-Lab/IDGENCommunity65%

Code for the NeurIPS'24 paper Conditional Generative Models are Sufficient to Sample from Any Causal Effect Estimand

00Nov 29, 20241 years ago

Similar Papers

Cite this paper

@article{rahman2024conditional,
  title  = {Conditional Generative Models are Sufficient to Sample from Any Causal Effect Estimand},
  author = {Md. Musfiqur Rahman and Matt Jordan and Murat Kocaoglu},
  year   = {2024},
  eprint = {2402.07419},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2402.07419},
  url    = {https://arxiv.org/abs/2402.07419},
  journal = {NEURIPS 2024 2024}
}

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

Discussion