Measuring axiomatic soundness of counterfactual image models

M. Monteiro, Fabio De Sousa Ribeiro, Nick Pawlowski, Daniel Coelho de Castro, B. Glocker
2/12/2026

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We present a general framework for evaluating image counterfactuals. The power and flexibility of deep generative models make them valuable tools for learning mechanisms in structural causal models. However, their flexibility makes counterfactual identifiability impossible in the general case. Motivated by these issues, we revisit Pearl's axiomatic definition of counterfactuals to determine the necessary constraints of any counterfactual inference model: composition, reversibility, and effectiveness. We frame counterfactuals as functions of an input variable, its parents, and counterfactual parents and use the axiomatic constraints to restrict the set of functions that could represent the counterfactual, thus deriving distance metrics between the approximate and ideal functions. We demonstrate how these metrics can be used to compare and choose between different approximate counterfactual inference models and to provide insight into a model's shortcomings and trade-offs.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{monteiro2026measuring,
  title  = {Measuring axiomatic soundness of counterfactual image models},
  author = {M. Monteiro and Fabio De Sousa Ribeiro and Nick Pawlowski and Daniel Coelho de Castro and B. Glocker},
  year   = {2026},
  eprint = {2303.01274},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/pdf/2303.01274},
  journal = {ICLR 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/2303.01274.svg)](https://codeofpaper.com/paper/2303.01274)

Discussion