Autoregressive flow-based causal discovery and inference

Ricardo Pio Monti, Ilyes Khemakhem, Aapo Hyvarinen
7/18/2020
4 citations
stat.MLcs.LG

Official code: piomonti/carefl (45 stars, Python, MIT, last commit 2021-04-08).

Abstract

We posit that autoregressive flow models are well-suited to performing a range of causal inference tasks - ranging from causal discovery to making interventional and counterfactual predictions. In particular, we exploit the fact that autoregressive architectures define an ordering over variables, analogous to a causal ordering, in order to propose a single flow architecture to perform all three aforementioned tasks.

Show full abstract

We first leverage the fact that flow models estimate normalized log-densities of data to derive a bivariate measure of causal direction based on likelihood ratios. Whilst traditional measures of causal direction often require restrictive assumptions on the nature of causal relationships (e.g., linearity),the flexibility of flow models allows for arbitrary causal dependencies. Our approach compares favourably against alternative methods on synthetic data as well as on the Cause-Effect Pairs bench-mark dataset. Subsequently, we demonstrate that the invertible nature of flows naturally allows for direct evaluation of both interventional and counterfactual predictions, which require marginalization and conditioning over latent variables respectively. We present examples over synthetic data where autoregressive flows, when trained under the correct causal ordering, are able to make accurate interventional and counterfactual predictions

View on arXivView PDF

Code Implementations(1)

piomonti/careflOfficial100%
MIT

Code for "Causal autoregressive flows" - AISTATS, 2021

459Python, ShellJul 3, 20205 years agoMIT

Similar Papers

Cite this paper

@article{monti2020autoregressive,
  title  = {Autoregressive flow-based causal discovery and inference},
  author = {Ricardo Pio Monti and Ilyes Khemakhem and Aapo Hyvarinen},
  year   = {2020},
  eprint = {2007.09390},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.09390}
}

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

Discussion