High Fidelity Image Counterfactuals with Probabilistic Causal Models

Fabio De Sousa Ribeiro, Tian Xia, Miguel Monteiro, Nick Pawlowski, Ben Glocker
6/27/2023
cs.LGstat.ME

Official code: biomedia-mira/causal-gen (72 stars, MIT, PyTorch, last commit 2025-03-24).

Abstract

We present a general causal generative modelling framework for accurate estimation of high fidelity image counterfactuals with deep structural causal models. Estimation of interventional and counterfactual queries for high-dimensional structured variables, such as images, remains a challenging task. We leverage ideas from causal mediation analysis and advances in generative modelling to design new deep causal mechanisms for structured variables in causal models. Our experiments demonstrate that our proposed mechanisms are capable of accurate abduction and estimation of direct, indirect and total effects as measured by axiomatic soundness of counterfactuals.

View on arXivView PDF

Code Implementations(1)

PyTorchMIT

(ICML 2023) High Fidelity Image Counterfactuals with Probabilistic Causal Models

7210Shell, PythonMay 30, 20231 years agoMIT
causalitycomputer-visioncounterfactualgenerative-modelmachine-learning+5 more

Similar Papers

Cite this paper

@article{ribeiro2023high,
  title  = {High Fidelity Image Counterfactuals with Probabilistic Causal Models},
  author = {Fabio De Sousa Ribeiro and Tian Xia and Miguel Monteiro and Nick Pawlowski and Ben Glocker},
  year   = {2023},
  eprint = {2306.15764},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.15764v2},
  journal = {ICML 2023 2023}
}

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

Discussion