[Paper Review] Causal normalizing flows: from theory to practice
This paper proposes causal normalizing flows (Causal NFs), a deep generative model that leverages autoregressive normalizing flows to identify and estimate structural causal models from observational data using a causal ordering. It enables exact intervention and counterfactual inference via an implemented do-operator, demonstrating strong performance on mixed discrete-continuous data and partial causal graphs, outperforming existing single-DNN approaches in causal inference tasks.
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.
Motivation & Objective
- To develop a deep generative model that can identify and estimate structural causal models from observational data using only a causal ordering.
- To design normalizing flows that inherently encode causal dependencies and respect the causal graph structure.
- To implement the do-operator within normalizing flows for exact interventional and counterfactual inference.
- To validate the framework on real-world datasets with mixed discrete-continuous variables and partial causal knowledge.
- To outperform existing single-DNN approaches in approximating causal data-generating processes.
Proposed method
- The method uses autoregressive normalizing flows (NFs) to model the joint distribution of endogenous variables, parameterized by a causal ordering.
- It embeds causal structure via an adjacency matrix A and a causal ordering π, which define the autoregressive flow's conditional dependencies.
- The do-operator is implemented by modifying the flow's conditional distributions to fix intervened variables, enabling exact interventional density estimation.
- The model supports mixed discrete-continuous data through appropriate conditional distributions in the NF, such as categorical and continuous flows.
- Causal knowledge is incorporated by conditioning each variable's distribution on its causal parents via the flow’s autoregressive structure.
- The framework allows for end-to-end training of the full causal model using maximum likelihood estimation on observational data.
Experimental results
Research questions
- RQ1Can causal normalizing flows identify structural causal models from observational data under a known causal ordering?
- RQ2How can causal structure be embedded within normalizing flows to ensure correct conditional dependencies?
- RQ3Can the do-operator be effectively implemented in normalizing flows to enable exact interventional and counterfactual inference?
- RQ4How does the proposed Causal NF perform compared to other deep generative models in causal inference tasks?
- RQ5Can Causal NFs handle real-world data with mixed discrete-continuous variables and partial causal knowledge?
Key findings
- Causal NFs successfully recover the true interventional distributions in synthetic benchmarks such as SIMPSONNLIN and 5-CHAINLIN, with accurate estimation of do(x3 = −1.09) and do(x3 = 2.18).
- The model preserves correlations not involving the intervened variable, demonstrating that dependencies from ancestors to descendants are correctly broken after intervention.
- On the German Credit dataset, Causal NFs achieve a strong fit to both observational and interventional distributions (do(x1 = 1)), even with partial causal graph knowledge and mixed data types.
- The ablation study confirms that the proposed design choices—such as using NSF with 3-layer MLPs and Adam with learning rate 0.01—yield optimal performance.
- Causal NFs outperform competing single-DNN methods in approximating causal data-generating processes, particularly in handling complex dependencies and mixed data.
- The framework successfully handles fairness auditing tasks, accurately modeling the causal effect of sex on credit outcomes using only observational data and partial causal structure.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.