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

Causal Structure Learning Supervised by Large Language Model

Taiyu Ban, Lyuzhou Chen, Derui Lyu, Xiangyu Wang, Huanhuan Chen · DOI

Abstract

Causal Structure Learning (CSL) aims to identify Directed Acyclic Graphs (DAGs) that represent underlying cause-and-effect relationships from observational data. This task is inherently challenging due to the super-exponential growth of the search space and the problem of Markov equivalence. We present Iterative LLM Supervised Causal Structure Learning (ILS-CSL), a framework that integrates the extensive world knowledge of Large Language Models (LLMs) with statistical CSL algorithms. By focusing the LLM on verifying edges suggested by data-driven models rather than full graph discovery, ILS-CSL achieves significant accuracy improvements and computational efficiency.

Introduction

Identifying causal structures is a cornerstone of scientific inquiry. While traditional data-driven methods are statistically rigorous, they often fail to distinguish between directionally ambiguous relationships (e.g., $A \to B$ vs. $B \to A$) without interventional data. Large Language Models (LLMs) like GPT-4 offer a potential solution by providing "common sense" domain knowledge. However, directly querying LLMs for complex graphs is prone to errors and high costs. This paper proposes a hybrid approach, ILS-CSL, where the LLM acts as an iterative supervisor to refine statistically learned structures.

The ILS-CSL Framework

The core innovation of ILS-CSL is its iterative feedback loop between a data-driven "backbone" algorithm and an LLM supervisor. The process consists of four main stages:

  1. Initial Learning: A baseline algorithm (e.g., MINOBSx or CaMML) generates a candidate DAG from observational data.
  2. LLM Verification: The framework prompts the LLM to verify each edge $X_i \to X_j$ in the candidate DAG using domain-specific context.
  3. Constraint Generation: If the LLM identifies a discrepancy—such as a reversed edge or a non-existent relationship—it generates a structural constraint.
  4. Iterative Refinement: The backbone algorithm is re-executed, incorporating these constraints to produce a refined DAG. This cycle repeats until the statistical model and the LLM's knowledge converge.

The framework supports both Hard Constraints, which strictly enforce LLM feedback, and Soft Constraints, which adjust the scoring function to favor LLM-validated edges, providing robustness against potential LLM hallucinations.

Key Insights: The Correction Ripple

A significant finding of this research is the "Correction Ripple" effect. Because the CSL algorithm must maintain a Directed Acyclic Graph, correcting a single misoriented edge can have global implications. Fixing one error often resolves structural inconsistencies, allowing the statistical model to correctly orient or discover other edges it previously missed.

The correction ripple effect: correcting a reversed edge allows the model to recover a previously missing edge while maintaining DAG properties.

Experimental Evaluation

The ILS-CSL framework was evaluated across eight benchmark datasets ranging from 5 to 48 nodes. Results demonstrate that ILS-CSL consistently outperforms pure data-driven baselines and previous LLM-augmented methods like "sepLLM."

Performance comparison (SHD) across various datasets. Red percentages indicate the reduction in error compared to the baseline algorithms.

As shown in the experimental data, ILS-CSL achieved substantial reductions in Scaled Structural Hamming Distance (SHD). For instance, on the Alarm dataset, the error rate was reduced by up to 82% compared to the baseline. Notably, the framework's advantages become more pronounced as the complexity and scale of the dataset increase, demonstrating its robustness for real-world applications.

Conclusion

ILS-CSL represents a significant step forward in causal discovery by effectively combining statistical evidence with LLM-based domain knowledge. By shifting the LLM's role from discovery to iterative verification, the framework achieves higher accuracy with lower computational costs ($O(N)$ vs. $O(N^2)$). Future work will focus on handling latent variables and further refining prompting strategies to minimize the impact of LLM knowledge cutoffs.

Source: Ban et al., "Causal Structure Learning Supervised by Large Language Model," arXiv:2311.11689v1, 2023.

Summary updated

BibTeX
@misc{ban2023causal,
  author = {Taiyu Ban and Lyuzhou Chen and Derui Lyu and Xiangyu Wang and Huanhuan Chen},
  title = {{Causal Structure Learning Supervised by Large Language Model}},
  year = {2023},
  eprint = {2311.11689},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.11689},
}
Figure