Manuscript Offprint

arXiv:2609.37664

Learning Causal Normalizing Flows from Incomplete Data via Observed-Data Likelihood

Trung-Dung Hoang, Alceu Bissoto, Tim Flühmann, David Herzig, Christos Nakas, Lia Bally, Lisa M. Koch

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

ABSTRACT

Causal Normalizing Flows (CNFs) enable causal inference from observational data given the causal structure, but they assume fully observed training data. We introduce MissCNF, which trains CNFs directly on incomplete data by maximizing the marginal likelihood of each partially observed sample, without discarding rows or constructing a completed dataset. Thanks to the causal structure encoded in the autoregressive factorization of CNFs, only missing variables in the ancestral closure of the observed set are integrated out, while the others are dropped without computation. We further establish the conditions under which MissCNF recovers the true joint distribution, and introduce causal-family positivity, where identification is possible even when no record in the dataset is ever complete. We compare MissCNF with two common strategies for handling missing data: listwise deletion and impute-then-fit pipelines. Across eight synthetic causal benchmarks, three missingness mechanisms, and missing rates up to 90%, MissCNF achieves the lowest KL divergence in 23 of 24 nonlinear MCAR and MAR settings and in all nonlinear MNAR settings, as well as the lowest counterfactual error in 20 of 24 settings. On linear SCMs, where linear imputation performs best, MissCNF ranks in the top two in 22 of 24 settings.

1 INTRODUCTION

Randomized controlled trials remain the reference standard for estimating causal effects, but they are expensive, slow, and in many settings impossible to run. This has motivated a large body of work on causal inference from observational data, including Deep Structural Causal Models (Pawlowski et al., 2020), Variational Graph Autoencoders (Sánchez-Martin et al., 2022), and Diffusion-based approaches (Chao et al., 2024). Causal Normalizing Flows (CNFs) (Javaloy et al., 2023) parameterize the structural equations with an invertible flow masked according to the causal graph. CNFs have two key advantages: they yield exact likelihoods rather than bounds, and their density factorizes along the graph, so a model fitted to observational data answers interventional and counterfactual queries directly.

However, like many machine learning methods, CNFs were developed assuming complete training data. This is a significant limitation in domains such as healthcare, where missing data is unavoidable. One option is to discard incomplete records, also known as listwise deletion, which wastes data and, more importantly, introduces bias whenever the probability of being fully observed depends on the values themselves, which Missing At Random (MAR) does not rule out. The other common option is first to fit an imputation model, then fit the causal model on its output as if it were the true data (Parra et al., 2026). Treating imputed values as observed data discards the uncertainty in the imputation stage and lets any error there propagate into the causal modelling stage.

In this work, we introduce MissCNF, which trains CNFs directly on missing data, without discarding rows or constructing any completed dataset, by computing the marginal likelihood of an arbitrary observed subset of variables. The proposed method can be traced back to Full Information Maximum Likelihood (FIML), originally developed for the multivariate normal distribution (Anderson, 1957) and linear-Gaussian Structural Equation Models (Lee, 1986; Muthén et al., 1987), in which the marginal likelihood is available in closed form. In our setting, the Structural Causal Models represented by CNFs are not necessarily linear and Gaussian, so no closed form is available. We instead compute the required marginal likelihood by a Monte Carlo estimator that exploits the Directed Acyclic Graph (DAG) factorization: it samples only missing variables in the ancestral closure of that observed subset, while variables outside the ancestral closure are marginalized without simulation.

We then study what can be learned from the resulting observed-data likelihood. Under Missing At Random (MAR), the missingness mechanism is ignorable for likelihood-based inference (Rubin, 1976), but ignorability alone does not guarantee that the complete-data distribution is identified: if a set of variables is never jointly observed in some region of their support, the observed data carry no information about their joint distribution there. Recovering the complete-data distribution therefore requires some form of support-overlap assumption relating what is missing to what is observed (Näf et al., 2026). Exploiting the causal structure a CNF encodes, we show that identifying the complete joint distribution requires only a causal-family positivity condition that holds even if no row is ever fully observed: every variable must be jointly observed with its causal parents in some pattern, with positive probability for almost every value in the relevant support. We further show that MissCNF already recovers, as a byproduct, every conditional an imputation model would need to target. Identification under MNAR requires additional assumptions and is left to future work, though our experiments on eight synthetic causal graphs, across three missingness mechanisms and multiple missingness rates, show MissCNF still performs well in different regimes, including MNAR.

Our contributions are as follows: (1) We derive a marginal-likelihood objective that trains CNFs directly from incomplete data by integrating only over missing ancestral variables (Section 3.1); (2) Under MAR, we separate likelihood ignorability from identification and establish a causal-family positivity condition that can be strictly weaker than full-pattern positivity and is enough to recover the full joint even when no row is fully observed (Section 3.2); (3) We characterize the population target of impute-then-fit pipelines and show that MissCNF recovers every such conditional as a byproduct (Section 3.3); (4) We empirically validate the method on eight synthetic SCMs, showing consistent improvements in density estimation, counterfactual prediction, and average treatment effect estimation over baselines across missingness mechanisms and rates (Section 4).

References (91)