Introduction
Causal discovery—the process of identifying "what causes what"—is a cornerstone of scientific inquiry across disciplines such as medicine, economics, and biology. Traditionally, this task relies on extensive observational or interventional datasets, which are often costly, ethically constrained, or technically unfeasible to obtain. While Large Language Models (LLMs) have demonstrated an ability to infer causal links using semantic metadata (variable names), they frequently struggle with complex graph structures, suffer from hallucinations, and typically operate in a "one-shot" manner that precludes learning from new evidence.
This paper introduces the Interactive Graph Discovery Agent (IGDA), a framework that transforms LLMs into active participants in the causal discovery process. By mimicking a human-like experimental loop, IGDA intelligently selects experiments and updates its internal model of the world based on real-world feedback.
The IGDA Framework
IGDA operates through an iterative pipeline designed to maximize discovery efficiency while minimizing the number of required interventions.
The process consists of two primary phases:
- Zero-shot Prediction and Uncertainty Estimation: The LLM generates an initial graph ($\hat{G}_0$) based on variable descriptions. Rather than a binary existence check, the model provides a confidence score (1-100). By sampling the model 16 times, the system derives a stable uncertainty estimate for every potential edge.
- Interactive Discovery Loop:
- Edge Experiment Selection: The agent prioritizes "queries" for edges where its confidence is lowest, seeking ground-truth validation from the environment.
- Local Graph Updates: Upon receiving new information about an edge, the LLM reasons about how this evidence impacts neighboring nodes. This "local" approach prevents the reasoning failures observed when LLMs attempt to update global graph structures simultaneously.
Experimental Evaluation
The authors evaluated IGDA across eight real-world causal benchmarks, including medical (Asia, Covid), environmental (Arctic), and chemical (Sangiovese) systems. To address concerns regarding data leakage, the framework was tested on a Brain gene regulatory network published in July 2024—well after the training cutoff for the base Llama-3 model.
Key Results
- Efficiency and Accuracy: IGDA consistently outperformed random selection and static baselines. In several benchmarks, it achieved an F1 score improvement of up to 0.5 absolute points over random agents.
- Comparison with Statistical Methods: IGDA surpassed GIT (Gradient-based Interventional Targeting), a state-of-the-art numerical method, particularly in scenarios where numerical data was sparse.
- Robustness to Initial Errors: Even when initial zero-shot predictions were inaccurate (e.g., the Asphyxia graph), the interactive loop allowed the agent to rapidly converge on the correct structure.
Discussion and Insights
The success of IGDA highlights several critical properties of LLM-based agents. First, uncertainty is an effective heuristic; the model's internal confidence serves as a reliable guide for active learning. Second, locality is essential for LLM reasoning; the models excel at micro-reasoning about specific neighborhoods but falter when tasked with global system updates. Finally, the performance on the 2024 Brain graph confirms that LLMs utilize latent scientific knowledge to infer causal mechanisms rather than simply reciting memorized training data.
Conclusion and Future Work
IGDA demonstrates that LLMs can serve as sophisticated agents for interactive scientific discovery. While the current framework relies heavily on semantic metadata and incurs significant computational costs due to its iterative nature, it paves the way for hybrid systems. Future research will focus on combining the semantic intuition of LLMs with the rigorous numerical precision of traditional statistical causal discovery methods.
Summary updated