English

Large Language Models for Constrained-Based Causal Discovery

Artificial Intelligence 2024-06-12 v1 Computation and Language

Abstract

Causality is essential for understanding complex systems, such as the economy, the brain, and the climate. Constructing causal graphs often relies on either data-driven or expert-driven approaches, both fraught with challenges. The former methods, like the celebrated PC algorithm, face issues with data requirements and assumptions of causal sufficiency, while the latter demand substantial time and domain knowledge. This work explores the capabilities of Large Language Models (LLMs) as an alternative to domain experts for causal graph generation. We frame conditional independence queries as prompts to LLMs and employ the PC algorithm with the answers. The performance of the LLM-based conditional independence oracle on systems with known causal graphs shows a high degree of variability. We improve the performance through a proposed statistical-inspired voting schema that allows some control over false-positive and false-negative rates. Inspecting the chain-of-thought argumentation, we find causal reasoning to justify its answer to a probabilistic query. We show evidence that knowledge-based CIT could eventually become a complementary tool for data-driven causal discovery.

Keywords

Cite

@article{arxiv.2406.07378,
  title  = {Large Language Models for Constrained-Based Causal Discovery},
  author = {Kai-Hendrik Cohrs and Gherardo Varando and Emiliano Diaz and Vasileios Sitokonstantinou and Gustau Camps-Valls},
  journal= {arXiv preprint arXiv:2406.07378},
  year   = {2024}
}
R2 v1 2026-06-28T17:01:44.133Z