Causal Discovery from Incomplete Data using An Encoder and Reinforcement Learning

Xiaoshui Huang, Fujin Zhu, Lois Holloway, Ali HaidararXiv 2020

Introduction

Identifying causal relationships—represented as Directed Acyclic Graphs (DAGs)—is fundamental to fields like biology, medicine, and economics. However, causal discovery is an NP-hard problem, and real-world observational data is frequently incomplete due to sensor failures, skipped tests, or missing survey responses.

While recent breakthroughs leverage continuous optimization and reinforcement learning (RL) for graph search, they typically assume complete datasets. The standard "pipeline" approach—imputing missing values first and then performing discovery—is often suboptimal because the imputation process is agnostic to the downstream goal of finding causal links. This paper introduces an end-to-end RL framework that integrates these steps into a single learning process.

Methodology: Integrated Actor-Critic Framework

The proposed framework utilizes an Actor-Critic reinforcement learning architecture designed to handle "toxic" missing values by learning representations that emphasize causal signals.

The Actor-Critic reinforcement learning framework for causal discovery.

The Actor (Graph Generator)

The Actor is an encoder-decoder network comprising three main components:

  1. ImNet (Imputation Network): Instead of simple mean imputation, this sub-network uses a generative adversarial approach to learn realistic data completion.
  2. FeatNet (Feature Extraction): A Transformer-based architecture utilizing self-attention to capture complex dependencies across variables. This mechanism is particularly effective at identifying relevant variables for edge orientation.
  3. Decoder: A fully-connected layer that outputs edge probabilities to sample candidate DAGs.

The Critic (Evaluator)

The Critic guides the Actor using a Value Network (VNet) to estimate feature quality and a Reward Function. The reward is calculated based on a score function (measuring how well the graph fits the data via least squares) and an acyclicity constraint to penalize illegal loops. This joint optimization ensures the encoder learns to represent data in a way that specifically aids causal discovery.

Experimental Results

The framework was evaluated on synthetic linear and nonlinear datasets (with 20% missing data) and the real-world Sachs biological dataset (protein signaling networks).

Performance comparison on 30-node synthetic graphs with 20% missing data.

Key Findings

  • Superior Accuracy: The proposed method consistently outperformed two-step baselines (e.g., GAIN+NOTEARS). As shown in the 30-node synthetic tests, the model reduced the Structural Hamming Distance (SHD) from 79 (baseline) to 47.
  • Nonlinear Robustness: In complex Gaussian Process tests, the model achieved a 43.2 percentage point gain in True Positive Rate (TPR) compared to the next best baseline.
  • Real-World Application: On the Sachs dataset, the method identified the most accurate structure with the lowest error rate, despite the inherent difficulty of real-world biological data.

Conclusion and Future Work

By treating imputation and causal discovery as a unified task, this RL-based framework effectively handles the challenges of missing data. While the computational cost of training Transformer-based RL agents remains a hurdle for scaling to thousands of variables, the results demonstrate that joint optimization is a powerful paradigm for real-world causal discovery. Future research will explore "Missing Not at Random" (MNAR) scenarios, where the absence of data itself serves as a causal clue.

Summary updated

BibTeX
@misc{huang2020causal,
  author = {Xiaoshui Huang and Fujin Zhu and Lois Holloway and Ali Haidar},
  title = {{Causal Discovery from Incomplete Data using An Encoder and Reinforcement Learning}},
  year = {2020},
  eprint = {2006.05554},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.05554},
}
Figure