TL;DR
Finding true cause-and-effect relationships from observational data is notoriously tricky: pure statistics can hallucinate nonsensical links when data is noisy, while Large Language Models (LLMs) understand real-world context but can act like overconfident "causal parrots" without empirical backing. This paper introduces LLM-CR, a framework that puts statistical algorithms and constrained LLMs on equal footing—keeping the causal links they agree on and settling their disputes with an uncertainty-aware mathematical referee. The result is cleaner, more accurate causal graphs that actually make sense in the real world.
What Problem Does This Paper Address?
Randomized controlled trials are the gold standard for proving causation, but we can’t always run them—you can't ethically force half a study group to smoke to see what happens. Instead, researchers use causal discovery to map out Directed Acyclic Graphs (DAGs)—networks of arrows showing what causes what—purely from observational data.
Historically, we’ve had two flawed detectives on this case:
- Data-driven algorithms look purely at statistical patterns. They are mathematically rigorous, but vulnerable to small sample sizes and violated assumptions. Worse, they are semantically blind—they have no problem concluding that a rooster crowing causes the sun to rise if the math lines up.
- LLMs bring rich domain knowledge and understand what variables actually mean. However, left unchecked, they confuse correlation in text with causation, ignore the actual dataset in front of them, and fail to enforce basic structural rules (like avoiding causal loops).
Existing hybrid methods usually let one side dominate—either using unverified LLM guesses to steer statistical searches, or letting rigid statistical tests veto good LLM intuition. How do we make them true collaborators?
Methods
Instead of tangling the two approaches together early on, LLM-based Conflict Resolution (LLM-CR) lets each build its own independent causal graph, and then arbitrates their disagreements.
Here is how the four-stage pipeline works:
- 1. Schema-Guided LLM Inference (New): Rather than blindly asking an LLM "Does $X$ cause $Y$?", the system first prompts the LLM to generate a domain schema from variable descriptions—establishing variable roles (e.g., root cause vs. outcome) and forbidden directions (e.g., clinical measurements cannot change your age). Next, it queries the LLM 10 times per variable pair under these rules, and passes the majority vote through a Verifier LLM to ensure a specific mechanism justifies the link.
- 2. Data-Driven Discovery (Standard): In parallel, a classic statistical algorithm (specifically GES, or Greedy Equivalence Search, paired with GPT-4o in their main setup) builds a graph purely from the numbers.
- 3. Uncertainty-Aware Conflict Resolution (New): Edges present in both graphs are immediately locked in. Disputed edges (present in only one graph, or pointing in opposite directions) are judged by a standardized three-part score:
- Local BIC Gain: Does adding this edge improve statistical fit enough to justify the extra model complexity?
- HSIC Gain: Does the edge explain tricky nonlinear dependencies left over in the data?
- Calibrated LLM Prior: How strongly did the LLM support this edge, weighted by semantic entropy (a measure of how consistent the LLM's explanations were across its 10 runs—penalizing wishy-washy guesses)?
- 4. Missing Edge Recovery (New): Finally, the system looks back at omitted edges that the LLM really liked ($p \ge 0.7$), re-scores them, and adds them if they clear a strict threshold without creating circular causal loops.
Datasets
The authors did something refreshing before running benchmarks: they tested the LLMs for data contamination (memorization during pretraining). Because LLMs easily recalled the variable names of the famous Sachs biology dataset, the authors quarantined Sachs as an auxiliary test used for hyperparameter tuning, and focused their primary structural evaluations on five lower-risk benchmarks with known ground-truth graphs:
- Coma (5 nodes), Agro (6 nodes), Gait (8 nodes), Alzheimer (9 nodes), and Cerebral Palsy / CP (11 nodes).
- They also evaluated downstream clinical utility on MIMIC-IV (18 nodes, 4,630 patients), which lacks a ground-truth causal graph, tasking models with identifying parent variables to predict lung cancer.
(No brand-new datasets were introduced in this paper.)
Key Insights and Ideas
- Put guardrails on the LLM before asking for causal links: Ablation studies showed that removing the schema generator or variable metadata caused massive performance drops (e.g., Alzheimer F1 dropped from 0.881 to 0.567 without the schema). Structured rules prevent the LLM from hallucinating structurally absurd graphs.
- Calibrating LLM confidence matters: Weighting LLM priors by semantic entropy ensures that confident, consistent domain reasoning carries weight, while uncertain, erratic LLM guesses yield the floor to statistical evidence.
- Late fusion beats early screening: Hybrid baselines like LLM-CD inject LLM decisions early into statistical algorithms, where a single bad LLM guess cascades into downstream errors. Resolving conflicts after independent graph generation isolates mistakes.
- Semantic intuition breaks statistical ties, and vice versa: Pure BIC, pure HSIC, or pure LLM priors all introduce too many false positives on their own; combining linear/model-fit statistics, nonlinear dependence, and semantic priors creates a much sharper filter.
Key Results
F1 scores across the five primary causal-structure benchmarks.
- Structural Recovery: LLM-CR achieved the highest F1 score on 4 out of 5 primary benchmarks: 0.978 on Coma (+22.3% over the next best baseline), 0.871 on Agro (+21.3%), 0.881 on Alzheimer (+20.2%), and 0.805 on CP (+42.0%).
- Where pure math still won: On the Gait dataset—where variables are mathematical aggregations of multiple underlying measurements, blurring intuitive semantics—classic statistical GES took first place (0.786 F1) while LLM-CR came in second (0.683 F1).
- Clinical Prediction: On MIMIC-IV lung cancer prediction, selecting features via LLM-CR achieved the highest AUC of 0.784 (compared to 0.645 for hybrid LLM-CD and 0.535 for statistical PC), proving its causal parent sets are genuinely useful for patient risk stratification.
Limitations and Future Work
- Garbage metadata, less magic: LLM-CR relies on meaningful variable names and descriptions. If your dataset columns are named
Var_1throughVar_20(or represent complex aggregated metrics like in the Gait dataset), the LLM branch adds little value and the framework leans heavily on the statistical backbone. - Hidden confounders: While LLM-CR guarantees valid, loop-free DAGs, it currently assumes all relevant variables are observed. Explicitly handling latent confounding (unmeasured hidden causes) and adapting the scoring components to new data regimes are left for future work.
Summary updated