Introduction
Causal discovery—the process of identifying the underlying directed acyclic graph (DAG) from observational data—is a cornerstone of scientific inquiry. However, real-world datasets in fields such as clinical medicine, economics, and genomics are frequently incomplete. Traditional approaches to this problem typically follow a two-step pipeline: first, missing values are filled in using off-the-shelf imputation methods (e.g., MissForest or Mean Imputation); second, a causal discovery algorithm is applied to the completed dataset.
This paper introduces MissDAG, a framework that identifies a fundamental flaw in this two-step approach: "imputation bias." Standard imputation methods prioritize recovering the overall data distribution or minimizing prediction error without respecting the structural constraints of the underlying causal model. This disconnect can lead to the introduction of spurious correlations or the masking of true causal links. MissDAG addresses this by unifying data imputation and structure learning into a single, coherent Expectation-Maximization (EM) process.
The MissDAG Framework
MissDAG is designed for Additive Noise Models (ANMs), where each variable is a function of its parents and an independent noise term. The framework treats missing data as latent variables and optimizes the causal structure and model parameters simultaneously.
The EM Approach
Instead of committing to a single "best guess" for missing values, MissDAG utilizes the Expectation-Maximization algorithm to maximize the expected log-likelihood of the data:
- E-step (Expectation): The algorithm calculates the expected log-likelihood of the complete data given the observed values and the current estimate of the DAG. In Linear Gaussian cases, this can be solved in closed form. For more complex nonlinear or non-Gaussian models, the authors employ Monte Carlo EM (MCEM) with rejection sampling to approximate the distribution of the missing values.
- M-step (Maximization): The algorithm updates the causal graph and model parameters to maximize the likelihood calculated in the E-step.
Continuous Optimization and Density Transformation
To navigate the discrete space of possible DAGs efficiently, MissDAG leverages recent advances in differentiable causal discovery (such as NOTEARS and GOLEM). It transforms the combinatorial graph search into a continuous optimization problem, utilizing a smooth mathematical constraint to ensure the resulting graph remains acyclic. Furthermore, the framework employs density transformation rules to focus on the distributions of the noise terms, making the likelihood calculations tractable even for complex joint distributions.
Experimental Evaluation
The researchers evaluated MissDAG against a variety of synthetic and real-world benchmarks to test its accuracy, robustness, and scalability.
Synthetic Data
Using Erdos-Rényi and Scale-Free graph models, the authors simulated datasets with varying numbers of nodes (up to 100+) and different missingness mechanisms: Missing Completely at Random (MCAR), Missing at Random (MAR), and Missing Not at Random (MNAR).
Across these settings, MissDAG consistently achieved a lower Structural Hamming Distance (SHD) compared to two-step baselines. This indicates that by integrating the discovery process with imputation, MissDAG makes significantly fewer errors in edge addition, deletion, and orientation. Notably, the framework remained robust even when up to 50% of the data was missing.
Real-World Benchmark: Dream4
The framework was also tested on the Dream4 Challenge dataset, a biological benchmark simulating gene expression networks. While biological systems often contain feedback loops that violate the DAG assumption, MissDAG outperformed existing methods, demonstrating its utility in complex, noisy environments.
Key Insights
- The Imputation Bias: The paper provides evidence that even statistically "perfect" imputation (e.g., Gaussian-EM) can be sub-optimal for causal discovery if it does not account for the DAG structure. Recovering the covariance matrix is not sufficient to preserve the directional signals required for causal inference.
- Versatility: MissDAG is a flexible wrapper rather than a rigid algorithm. It can incorporate various score-based discovery methods (like NOTEARS-ICA), allowing it to adapt to different data types and noise distributions.
- Scalability: Despite the iterative nature of EM, MissDAG demonstrated impressive scalability, outperforming some imputation-based baselines as the number of variables increased to 640. This suggests the framework is viable for high-dimensional real-world applications.
Limitations and Future Work
While MissDAG represents a significant step forward, several challenges remain:
- Computational Cost: The use of Monte Carlo sampling for nonlinear models can be computationally intensive. Future iterations may explore Variational Inference to accelerate the E-step.
- Causal Sufficiency: The model currently assumes no unobserved confounders—a condition rarely met in uncontrolled real-world settings.
- Cyclic Graphs: The framework is restricted to DAGs. Extending MissDAG to handle cyclic structures (feedback loops) would broaden its applicability in fields like biology and engineering.
Conclusion
MissDAG offers a robust solution to the problem of causal discovery with incomplete data. By treating imputation and structure learning as a joint optimization problem, it avoids the pitfalls of traditional two-step methods and provides a scalable, flexible framework for recovering causal relationships from messy, real-world datasets.
Summary updated