TL;DR
While recent trends attempt to inject Large Language Models (LLMs) directly into causal discovery to predict graph structures, this paper argues that AI agents should never provide causal evidence. Instead, the authors introduce causal-learn+, an online platform where agents assist with the surrounding workflow (data prep, method recommendation, and interpretation) while keeping the actual causal inference strictly protected within provably correct, data-driven algorithms.
What Problem Does This Paper Address?
Causal discovery—the process of learning causal relationships from observational data—is notoriously difficult for practitioners. It requires navigating a minefield of statistical assumptions, choosing between highly specialized algorithm families, and carefully interpreting complex graph outputs like CPDAGs or PAGs.
With the rise of LLMs, many researchers have tried to bypass this complexity by asking models to infer causal directions directly from variable names or use them as graph priors. The authors point out a fundamental flaw in this approach: LLMs are trained to predict patterns in text, not to find causal truth in data. Mixing LLM outputs into the discovery process creates an ambiguous graph where it is impossible to separate genuine data-driven evidence from textual associations, prompt artifacts, or hallucinations.
Methods
The core philosophy of the paper is simple: Agents assist; algorithms discover; scientists judge.
To operationalize this, the authors present causal-learn+, a web-based platform built around a "Protected Inferential Core." The system enforces a strict separation between the AI agent's assistance and the mathematical execution of causal discovery.
As shown in Figure 1, the agent operates entirely outside the core, providing five key support functions:
- Data Analysis: Summarizing variables, detecting missingness, and flagging unusual distributions.
- Preprocessing Guidance: Explaining how transformations (like scaling or discretization) impact downstream graphs, without making silent changes.
- Algorithm Recommendation: Translating a user's scientific goals into appropriate algorithm families (e.g., constraint-based vs. functional methods).
- Expert Knowledge Incorporation: Retrieving literature context via Retrieval-Augmented Generation (RAG) to inform user decisions.
- Result Interpretation: Translating abstract graph marks and latent-variable caveats into accessible language.
The actual causal discovery relies entirely on the established algorithmic ecosystem of causal-learn, spanning constraint-based, score-based, and functional causal models.
Datasets
The authors demonstrate their framework using a real-world Big Five personality questionnaire dataset.
- Details: The dataset consists of roughly 20,000 complete online responses to 50 observed indicators (10 questions for each of the five personality dimensions: Openness, Conscientiousness, Extraversion, Agreeableness, and Neuroticism).
- Characteristics: Responses are coded on a 5-point agreement scale and standardized. This dataset is an excellent test case because personality traits are latent (unobserved) variables that must be inferred from patterns across multiple observed questionnaire responses.
Key Insights and Ideas
- Fluency $\neq$ Evidence: An LLM can generate highly fluent, plausible explanations for a causal link, but this does not constitute data-based evidence.
- The Danger of Silent Workflow Decisions: Small automated agent actions—like silently dropping a variable or lowering a threshold to make a graph look cleaner—fundamentally alter what the algorithm treats as input or output. Causal-learn+ insists that every workflow modification must be a visible, user-approved choice.
- Bridging the Expertise Gap: The true value of agents in science isn't replacing the math, but acting as a translator. The agent helps domain experts map their scientific questions to the correct mathematical assumptions (e.g., identifying when a latent-variable method like RLCD is required).
Key Results
The authors successfully deployed causal-learn+ as a free, no-installation online platform at causallearn.com.
In the Big Five personality case study, the agent successfully guided the user through identifying reverse-worded questions and selecting a latent-variable discovery method (RLCD combined with Generalized Independent Noise, or GIN).
As illustrated in Figure 2, the resulting graph successfully grouped observed indicators near common hidden variables (matching established psychological dimensions) and mapped out complex latent pathways (e.g., $L1 \rightarrow L6 \rightarrow L3$). Crucially, this complex structure was discovered entirely by provably correct algorithms operating on data, while the agent merely helped the user navigate and interpret the pipeline without corrupting the evidence.
Limitations and Future Work
While causal-learn+ establishes a safe design pattern for current technology, the authors note several areas for future development:
- Lack of Benchmarks: The community currently lacks standardized benchmarks to evaluate whether agent guidance actually improves data diagnosis or reduces human overinterpretation of graphs.
- Audit Trails: Future iterations need more robust, automated audit trails that explicitly separate data, user decisions, agent suggestions, and algorithmic outputs.
- Causal Foundation Models: A more ambitious future direction involves training foundation models from the ground up on formal causal principles. If future models can inherently provide formal mathematical guarantees, they may eventually be allowed inside the inferential core. Until then, keeping them on the periphery is the only way to maintain trust.
Summary updated