Skip to main content
QUICK REVIEW

[Paper Review] Causal Discovery with Language Models as Imperfect Experts

Stephanie Long, Alexandre Piché|arXiv (Cornell University)|Jul 5, 2023
Bayesian Modeling and Causal InferenceComputer Science6 citations
TL;DR

This paper proposes a greedy, consistency-aware method to refine Markov equivalence classes (MECs) in causal discovery by incorporating imperfect expert knowledge—such as from large language models—while ensuring the true causal graph remains in the refined equivalence class with high probability. The approach leverages acyclicity and conditional independence constraints to correct erroneous expert orientations, significantly reducing MEC size and structural Hamming distance (SHD) on real-world datasets.

ABSTRACT

Understanding the causal relationships that underlie a system is a fundamental prerequisite to accurate decision-making. In this work, we explore how expert knowledge can be used to improve the data-driven identification of causal graphs, beyond Markov equivalence classes. In doing so, we consider a setting where we can query an expert about the orientation of causal relationships between variables, but where the expert may provide erroneous information. We propose strategies for amending such expert knowledge based on consistency properties, e.g., acyclicity and conditional independencies in the equivalence class. We then report a case study, on real data, where a large language model is used as an imperfect expert.

Motivation & Objective

  • To address the limitation of causal discovery methods that can only identify causal graphs up to Markov equivalence classes (MECs), leading to uncertainty in intervention estimation.
  • To develop a framework that incorporates expert knowledge—particularly from imperfect experts like large language models (LLMs)—to refine MECs and reduce uncertainty.
  • To ensure the true causal graph remains in the refined MEC with high probability, even when expert feedback contains errors.
  • To evaluate the effectiveness of this approach on real-world datasets using both synthetic noisy experts and LLM-based experts.
  • To assess the impact of expert reliability and uncertainty calibration on the performance of causal refinement.

Proposed method

  • Formalize the use of imperfect experts as an optimization problem that minimizes MEC size while preserving the true graph with high probability.
  • Propose a greedy algorithm that incrementally incorporates expert feedback by testing consistency with acyclicity and conditional independence constraints in the MEC.
  • Introduce two strategies: $S_{\text{size}}$ (minimizing MEC size) and $S_{\text{risk}}$ (controlling the risk of excluding the true graph) using Bayesian inference.
  • Use a noise model to simulate expert error, where each expert orientation is correct with probability $1 - \varepsilon$, and reject inconsistent graphs accordingly.
  • Apply the method to real-world Bayesian networks (e.g., Insurance, Asia, ALARM) by first extracting the MEC from a ground-truth DAG, then refining it via expert queries.
  • Evaluate performance using MEC size, SHD to the true graph, and empirical probability of including the true graph ($p(G^\star \in \mathcal{M}^{E,S})$).

Experimental results

Research questions

  • RQ1Can imperfect expert knowledge, such as from LLMs, be effectively used to reduce uncertainty in causal discovery beyond Markov equivalence classes?
  • RQ2How can we ensure that the true causal graph remains in the refined equivalence class when expert feedback may contain errors?
  • RQ3What are the performance trade-offs between different expert strategies (e.g., risk-controlled vs. size-optimized) in refining MECs?
  • RQ4How do the reliability and uncertainty calibration of LLMs affect the quality of causal refinement?
  • RQ5Can LLMs provide causally relevant knowledge that improves causal discovery performance compared to naive expert integration?

Key findings

  • The proposed method successfully reduces MEC size and SHD across all tested networks (Insurance, Asia, ALARM) when using $\varepsilon$-experts with controlled error rates, while maintaining $p(G^\star \in \mathcal{M}^{E,S}) \geq 1 - \eta$.
  • For $\eta = 1$, the method achieves lower SHD than naive LLM integration (Long et al., 2023), demonstrating improved accuracy and control.
  • On all datasets except ALARM, LLM-based experts perform comparably to at least one $\varepsilon$-expert, indicating useful causal knowledge extraction from LLMs.
  • In the ALARM network, the true graph was excluded from $\mathcal{M}^{E,S}$ even for small $\eta$, due to ambiguous metadata and expert confusion.
  • The text-davinci-003 model showed poor uncertainty calibration, often overestimating confidence and leading to incorrect rejections of the true graph, even at low $\eta$.
  • The method’s performance degrades with less reliable experts, highlighting the need for better noise models and uncertainty calibration when using LLMs as experts.

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.