NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Optimal Transport for Structure Learning Under Missing Data

Vy Vo, He Zhao, Trung Le, Edwin V. Bonilla, Dinh Phung

Introduction

Causal discovery—the process of identifying directed acyclic graphs (DAGs) from observational data—is a fundamental task in scientific research. While algorithms for complete datasets have matured significantly, real-world data is frequently riddled with missing values. This creates a "chicken-and-egg" dilemma: an accurate causal graph is often required to impute missing values correctly, yet complete data is typically necessary to learn the causal graph.

This paper introduces OTM (Optimal Transport for Missing data), a framework designed to break this cycle. By leveraging Optimal Transport (OT), OTM jointly learns the causal structure and rectifies missing data, ensuring that imputations obey the underlying causal laws of the system rather than merely minimizing local reconstruction errors.

The Challenge of Missing Data in Causal Discovery

The standard approach to missing data in causal discovery is a two-stage pipeline: fill the gaps using an off-the-shelf imputer (such as Mean imputation or MissForest) and then apply a causal discovery algorithm to the completed dataset. However, the authors demonstrate that this approach is fundamentally sub-optimal.

A primary insight of the research is that reconstruction accuracy does not equal causal accuracy. An imputer optimized to minimize Mean Squared Error (MSE) may effectively "guess" missing values but fail to preserve the specific statistical dependencies and conditional independencies required to identify the true causal structure. Existing sophisticated alternatives, such as those based on Expectation-Maximization (EM), often struggle with scalability and non-linear relationships, limiting their utility in high-dimensional or complex real-world scenarios.

The OTM Framework

OTM addresses these limitations by framing the problem as one of density fitting using the Wasserstein distance. Instead of treating imputation and structure learning as isolated tasks, OTM optimizes them simultaneously within a continuous optimization framework.

Key Components

  1. Score-based Optimization: OTM builds upon modern continuous optimization methods for DAG learning (such as DAGMA or NOTEARS). These methods transform the discrete combinatorial search for a graph into a smooth optimization problem over a weighted adjacency matrix.
  2. Optimal Transport and MMD: The algorithm seeks to minimize the discrepancy between the distribution induced by the proposed causal model and the empirical distribution of the observed data. To make this computationally tractable, the authors utilize Maximum Mean Discrepancy (MMD) as a proxy for the Wasserstein distance.
  3. The Correction Network ($\phi$): This stochastic mapping serves as the "secret sauce" of the framework. Because initial imputations are often causally inconsistent, the network $\phi$ rectifies these values. This forces the imputed data to align with the dependencies defined by the current iteration of the causal graph.

This creates a symbiotic relationship: as the graph parameters ($\theta$) improve, they provide better causal constraints for the imputer; as the imputer ($\phi$) improves, it provides cleaner, more representative data for the graph learner.

Experimental Evaluation

The researchers evaluated OTM against several baselines, including MissForest combined with DAGMA and the EM-based MissDAG, using both synthetic and real-world benchmarks.

  • Synthetic Data: The team used Erdos-Renyi (ER) and Scale-Free (SF) models with complex functional forms, such as Multi-Layer Perceptrons (MLP) and Multiple Index Models (MIM), to simulate non-linear causal relationships.
  • Real-world Benchmarks:
    • Sachs: A classic signaling pathway dataset (11 variables).
  • Dream4: A gene expression simulation (100 variables).
  • Neuropathic Pain: A high-dimensional dataset of patient diagnosis records (222 variables).

Key Results and Insights

Superior Accuracy and Robustness

OTM consistently outperformed baselines in terms of Structural Hamming Distance (SHD) and F1 scores. Notably, the framework proved robust across different missingness mechanisms, including Missing Completely At Random (MCAR), Missing At Random (MAR), and the challenging Missing Not At Random (MNAR) scenario, where the cause of the missingness is itself unobserved.

Scalability

Unlike EM-based methods like MissDAG, which suffer from exponential runtime increases due to rejection sampling in high dimensions, OTM scales gracefully. This efficiency allowed it to handle the 222-variable Neuropathic Pain dataset, where other sophisticated methods became computationally prohibitive.

Flexibility

OTM is largely agnostic to the specific underlying causal discovery method. Its ability to handle non-linearities and various noise types without the strict assumptions required by linear Gaussian models makes it a versatile tool for diverse datasets.

Conclusion and Future Work

OTM represents a significant step forward in making causal discovery practical for "messy" real-world data. By aligning the goals of imputation and structure learning through Optimal Transport, it avoids the pitfalls of naive reconstruction.

Despite its success, the authors note several avenues for future research. The objective function remains non-convex, posing challenges for theoretical convergence guarantees. Additionally, while OTM performs well on MNAR data, the theoretical identifiability of graphs under such conditions remains an open question. Finally, extending the framework to accommodate cyclic graphs or latent confounders would further broaden its applicability to complex biological and social systems.

Summary updated

BibTeX
@inproceedings{vo2024optimal,
  author = {Vy Vo and He Zhao and Trung Le and Edwin V. Bonilla and Dinh Phung},
  title = {{Optimal Transport for Structure Learning Under Missing Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=09Robz3Ppy},
}
Figure