Skip to main content
QUICK REVIEW

[Paper Review] Ordering-Based Causal Discovery with Reinforcement Learning

Xiaoqiang Wang, Yali Du|arXiv (Cornell University)|May 14, 2021
Bayesian Modeling and Causal InferenceComputer Science23 references7 citations
TL;DR

This paper proposes CORL, a reinforcement learning-based method for causal discovery that reformulates the problem as learning a variable ordering via a multi-step Markov decision process. Using an encoder-decoder architecture to generate orderings and RL with tailored rewards, CORL achieves state-of-the-art performance on both synthetic and real data, outperforming existing RL-based methods and matching or exceeding gradient-based methods like NOTEARS on 150-node linear graphs.

ABSTRACT

It is a long-standing question to discover causal relations among a set of variables in many empirical sciences. Recently, Reinforcement Learning (RL) has achieved promising results in causal discovery from observational data. However, searching the space of directed graphs and enforcing acyclicity by implicit penalties tend to be inefficient and restrict the existing RL-based method to small scale problems. In this work, we propose a novel RL-based approach for causal discovery, by incorporating RL into the ordering-based paradigm. Specifically, we formulate the ordering search problem as a multi-step Markov decision process, implement the ordering generating process with an encoder-decoder architecture, and finally use RL to optimize the proposed model based on the reward mechanisms designed for~each ordering. A generated ordering would then be processed using variable selection to obtain the final causal graph. We analyze the consistency and computational complexity of the proposed method, and empirically show that a pretrained model can be exploited to accelerate training. Experimental results on both synthetic and real data sets shows that the proposed method achieves a much improved performance over existing RL-based method.

Motivation & Objective

  • Address the inefficiency and scalability limitations of existing reinforcement learning (RL)-based causal discovery methods that search over the space of directed acyclic graphs (DAGs).
  • Overcome the high computational cost and infeasibility of exploring large DAG spaces by shifting the search to the smaller space of variable orderings.
  • Leverage the strong search capability of modern RL while ensuring acyclicity through ordering-based structure learning.
  • Improve sample efficiency and convergence speed by incorporating a pretrained model into the RL training pipeline.
  • Demonstrate superior performance on both linear and non-linear causal models, including real-world biological data.

Proposed method

  • Formulate the variable ordering search as a multi-step Markov decision process (MDP), where each step corresponds to selecting the next variable in the ordering.
  • Implement the ordering generation process using an encoder-decoder neural network architecture, with the decoder generating the ordering step-by-step.
  • Design a reward mechanism that evaluates the quality of each generated ordering based on a score function derived from variable selection and data fit.
  • Use proximal policy optimization (PPO) for training the RL agent, enabling stable and efficient policy updates.
  • Apply variable selection (e.g., CAM pruning) to convert the final ordering into a causal DAG, ensuring acyclicity and structural validity.
  • Integrate a pretrained model to accelerate training, reducing convergence time without sacrificing performance.

Experimental results

Research questions

  • RQ1Can RL-based causal discovery be made more efficient and scalable by shifting from DAG space to variable ordering space?
  • RQ2How does the performance of an RL-based method that learns orderings compare to gradient-based methods like NOTEARS on large-scale linear data?
  • RQ3Can a pretrained model significantly accelerate training in RL-based causal discovery without compromising final accuracy?
  • RQ4How does the proposed method perform on non-linear, identifiable causal models such as those with Gaussian process structural equations?
  • RQ5What is the empirical performance of the method on real-world biological data, such as the Sachs dataset?

Key findings

  • CORL-2 outperforms the state-of-the-art gradient-based method NOTEARS on 150-node linear graphs, achieving a lower structural Hamming distance (SHD).
  • On 30-node non-linear data with Gaussian process models, CORL-2 achieves the best SHD among all RL-based methods and matches or exceeds CAM on ER1 and ER4 graphs.
  • CORL-1 and CORL-2 converge in approximately 7 hours for 100-node linear graphs, significantly faster than RL-BIC2, which fails to converge within the 15-hour time limit.
  • The use of a pretrained model reduces training time substantially, with CORL-2 achieving convergence in about 700 iterations on 30-node graphs and 5000 iterations on 10-node graphs.
  • On the real Sachs dataset (11 nodes), CORL-1, CORL-2, and RL-BIC2 achieve the best SHD of 11, outperforming CAM (SHD 12) and NOTEARS (SHD 19).
  • The method maintains strong performance across different graph types (ER1, ER4) and data distributions, demonstrating robustness to structural complexity and sample size variations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.