Causal normalizing flows: from theory to practice

Adrián Javaloy, Pablo Sánchez-Martín, Isabel Valera
6/8/2023
cs.LGcs.AIstat.ME

Official code: psanch21/causal-flows (55 stars, GPL-3.0, last commit 2024-07-23).

Abstract

In this work, we deepen on the use of normalizing flows for causal reasoning. Specifically, we first leverage recent results on non-linear ICA to show that causal models are identifiable from observational data given a causal ordering, and thus can be recovered using autoregressive normalizing flows (NFs). Second, we analyze different design and learning choices for causal normalizing flows to capture the underlying causal data-generating process. Third, we describe how to implement the do-operator in causal NFs, and thus, how to answer interventional and counterfactual questions. Finally, in our experiments, we validate our design and training choices through a comprehensive ablation study; compare causal NFs to other approaches for approximating causal models; and empirically demonstrate that causal NFs can be used to address real-world problems, where the presence of mixed discrete-continuous data and partial knowledge on the causal graph is the norm. The code for this work can be found at https://github.com/psanch21/causal-flows.

View on arXivView PDF

Code Implementations(1)

GPL-3.0
558PythonJun 7, 20232 years agoGPL-3.0

Similar Papers

Cite this paper

@article{javaloy2023causal,
  title  = {Causal normalizing flows: from theory to practice},
  author = {Adrián Javaloy and Pablo Sánchez-Martín and Isabel Valera},
  year   = {2023},
  eprint = {2306.05415},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.05415v2},
  journal = {NEURIPS 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.05415.svg)](https://codeofpaper.com/paper/2306.05415)

Discussion