Learning causal structure from observational data is central to scientific modeling and decision-making. Constraint-based methods aim to recover conditional independence (CI) relations in a causal directed acyclic graph (DAG). Classical approaches such as PC and subsequent methods orient v-structures first and then propagate edge directions from these seeds, assuming perfect CI tests and exhaustive search of separating subsets -- assumptions often violated in practice, leading to cascading errors in the final graph. Recent work has explored using large language models (LLMs) as experts, prompting sets of nodes for edge directions, and could augment edge orientation when assumptions are not met. However, such methods implicitly assume perfect experts, which is unrealistic for hallucination-prone LLMs. We propose MosaCD, a causal discovery method that propagates edges from a high-confidence set of seeds derived from both CI tests and LLM annotations. To filter hallucinations, we introduce shuffled queries that exploit LLMs' positional bias, retaining only high-confidence seeds. We then apply a novel confidence-down propagation strategy that orients the most reliable edges first, and can be integrated with any skeleton-based discovery method. Across multiple real-world graphs, MosaCD achieves higher accuracy in final graph construction than existing constraint-based methods, largely due to the improved reliability of initial seeds and robust propagation strategies.
Figures & tables
F1/SHD
Group
Method
Cancer (5 nodes)
Asia (8 nodes)
Covid Resp. (11 nodes)
ALZ (11 nodes)
Child (20 nodes)
Insurance (27 nodes)
Water (32 nodes)
Non-LLM
PC
0.50 / 2
0.67 / 3
0.31/ 18
0.49/13
0.70/11
0.62/28
0.45/53
Meek
0.50 / 2
0.67 / 3
0.32/ 16
0.53 / 11
0.78 / 6
0.70 / 19
0.57 / 38
Shapley-PC
1.00 / 0
0.53/4
0.28/26
0.31/25
0.67/19
0.67 /28
0.47 /53
NOTEARS
0.00/4
0.57/5
0.45 / 16
0.07/19
0.48/17
0.15/50
0.29/54
DAG-GNN
0.00/4
0.27/9
0.46 /25
0.68 /16
0.24/23
0.20/60
0.26/55
Table 1: Benchmark evaluation. Each entry reports F1/SHD for each dataset and method (nodes in brackets). Best F1 and SHD is bold and second-best is underlined within the LLM and non-LLM groups. Oracle rows receive one ground-truth edge and are separate diagnostics, excluded from non-oracle rankings.
Figure 1: Accuracy of orientation seeds. Number of true and false directions found by MosaCD LLM-based orientation seeding (Step 2) and standard PC v-structure orientation, averaged for each dataset across PC, PC-stable, and CPC skeletons.
Figure 2: Secondary analysis. (a) F1 score, true seeds, and false seeds for MosaCD, PC, and Meek as uninformative variable descriptions increase, using PC, PC-Stable, and CPC skeletons on Insurance. (b) F1 score for SPR and Meek on Insurance across PC, PC-Stable, and CPC skeletons: left, varying true seeds with no false seeds; right, varying false-seed proportion with 20 total seeds. (c) F1 scores and LLM correctness across seven LLMs on Asia, Insurance, and Hepar2 using PC skeletons.
Appendix figures & tables23 assets
Supplementary material from the paper’s appendix.
Appendix
F1/SHD
Cancer (5)
Asia (8)
Covid Resp. (11)
Alzheimers (11)
Child (20)
Insurance (27)
Water (32)
PC-Stable
0.50/2
0.67/3
0.32/17
0.44/14
0.70/11
0.63/28
0.48/51
CPC
0.50/2
0.75/4
0.32/17
0.47/14
0.90/3
0.63/28
0.47/52
PC-Stable + Meek
0.50/2
0.67/3
0.40/14
0.48/12
0.78/6
0.69/20
0.58/39
CPC + Meek
0.50/2
0.93/1
0.40/14
0.55/11
0.90/3
0.72/19
0.57/40
PC-Stable + MosaCD
1.00/0
0.93/1
0.65/11
0.73/8
0.90/3
0.84/13
0.65/11
Appendix
Table 2: Benchmark evaluation. Each entry reports F1/SHD for each dataset and method (nodes in brackets).
Figure 3: Initial orientation correctness. The average number of true and false seeds discovered by MosaCD and PC variants in each dataset, aggregated across PC, PC-stable, and CPC.
Figure 4: Average count of total votes in each direction for a given prompt. Forward appears before backward, and thus is chosen more frequently by the LLM. Shaded bars indicate votes in the wrong direction. Of note, I don’t know was the first option, which was never selected.
Asia (8 nodes)
Insurance (27 nodes)
Hepar2 (70 nodes)
PC
PC-Stable
CPC
PC
PC-Stable
CPC
PC
PC-Stable
CPC
Skeleton
0.23
0.50
0.55
50.32
76.51
75.89
187.05
313.21
264.50
LLM
256.82
232.13
264.14
1501.94
1397.03
1434.65
2492.51
2453.28
2260.18
Propagation
0.00
0.00
0.00
0.01
0.01
0.01
0.03
0.03
0.03
Appendix
Table 3: Runtime analysis. Runtime (seconds) of each stage of MosaCD for each dataset and PC variant.
Dataset
MosaCD
Randomized conflict
Cancer
1.00
1.00
Asia
0.93
0.93
Covid Resp.
0.65
0.52
Alzheimer’s
0.73
0.73
Child
0.90
0.86
Insurance
0.87
0.87
Appendix
Table 4: F1 scores for the conflict-resolution ablation comparing MosaCD with a randomized conflict tie-breaker.
Dataset
Names + descriptions
Names only
Cancer
1.00
1.00
Asia
0.93
0.93
Covid Resp.
0.65
0.65
Alzheimer’s
0.73
0.73
Child
0.90
0.83
Insurance
0.87
0.87
Appendix
Table 5: F1 scores for the variable-description ablation, when MosaCD sees variable names and descriptions, or variable names only.
Dataset
MosaCD
Logprobs
Cancer
1.00
1.00
Asia
0.93
0.93
Covid Resp.
0.65
0.32
Alzheimer’s
0.73
0.53
Child
0.90
0.56
Insurance
0.87
0.61
Appendix
Table 6: F1 scores for the logprob-based confidence ablation, comparing MosaCD with a variant using logprobs instead of randomized shuffling and voting.
Figure 5: Varying sample size. Results showing F1 score, true seed counts, and false seed counts for MosaCD, PC, and Meek’s rules for sample size from 100 to 10000.
Dataset
PC
Meek
MosaCD (0% null)
MosaCD (40% null)
MosaCD (100% null)
Asia
0.67
0.67
0.93
0.81
0.67
Hepar2
0.36
0.39
0.72
0.60
0.42
Appendix
Table 7: F1 scores for the null information experiment on Asia and Hepar2.
Figure 6: Experiments varying number of true seeds. F1 score for SPR (using PC, PC-Stable, and CPC skeletons) and Meek.
Figure 7: Experiments varying number of false seeds. F1 score for SPR (using PC, PC-Stable, and CPC skeletons) and Meek.
Stage
Asia
Insurance
Hepar2
Skeleton
.38
.36
.32
+ cross-order consistency
.75
.78
.67
+ CI/cycle filtering
.75
.78
.66
+ SPR closure
.93
.85
.69
+ least-conflict
.93
.85
.69
+ optional vote completion
.93
.87
.72
Appendix
Table 8: Stage-wise reported F1. Each row is the output after the named stage on Asia, Insurance, or Hepar2. The SPR and least-conflict rows precede optional full-DAG completion.
Figure 8: Contribution of propagation and completion. Reported F1 at successive pipeline stages for Asia (circles), Insurance (squares), and Hepar2 (triangles), using the numerical values in Table 8 . The shaded band marks SPR closure. The comparison after CI/cycle filtering holds the accepted seed set fixed; least-conflict orientation does not change F1 in these three cases. Lines connect stage measurements and do not imply a continuous or monotone process.
Method
Asia
Insurance
Hepar2
MosaCD
.93→.67
.87→.65
.72→.36
Memorization
.71→.22
.27→.05
.11→.05
SCP
.67→.67
.68→.60
.36→.25
Vashishtha
.93→.54
.77→.30
.70→.25
Jiralerspong
.46→.22
.16→.05
.16→.05
LLM-CD
.94→.62
.22→.22
.18→.16
Appendix
Table 9: Reported F1 with graph-independent aliases. Each arrow gives original-label F1 followed by random-alias F1. The final row gives the statistical controls reported for this experiment. The alias measurements are separate from the main benchmark and null-information runs; their baseline values should not be interchanged. Five replicates per alias type were performed.
Figure 9: Effect of removing informative variable names. Open circles denote original-label F1 and blue squares denote random-alias F1 for each method, using Table 9 . Each line connects the two reported aggregate values for one method and dataset. Aliases are readable animal, color, or atom labels assigned independently of the graph. All methods receive the same naming intervention. This figure quantifies changes in F1, not false-positive counts or a causal attribution of the change to memorization.
Method
Covid Resp.
ALZ
Covid Comp.
MACH
MosaCD
.65
.73
.39
.40
Vashishtha
.65
.48
.27
.32
Memorization
.55
.55
.17
.22
Best PC-family
.32
.53
.28
.25
Appendix
Table 10: Reported F1 on post-cutoff tasks. The first three tasks belong to the original 13-dataset comparison; MACH is an additional evaluation. “Best PC-family” denotes the best reported PC, Meek, or SPR result for each task.
MACH (211 nodes)
BEELINE (283 nodes)
Method
F1
Time (s)
USD
F1
Time (s)
USD
MosaCD
.40
530
.70
.18
761
1.18
Memorization
.22
25
.01
.08
33
.01
Vashishtha
.32
987
.13
.05
2074
.25
SCP
.29
85
.01
.06
28
.01
PC
.25
501
—
.06
690
—
Appendix
Table 11: Additional larger-graph evaluations. Time is reported end-to-end runtime in seconds; USD is the reported LLM API cost, with a dash for methods without an LLM API cost. Only the methods shown were reported in these evaluations. These measurements are separate from the original stage-timing study in Appendix E and the small-graph resource table below.
Figure 10: Finite-sample performance relative to the learned skeleton. Reported F1 for MosaCD (blue circles), Meek (orange squares), and the skeleton ceiling (dashed gray triangles) on Insurance and Hepar2 at N∈{100,200,500,1000,2000,5000,10000} . The horizontal axis is logarithmic. The ceiling conditions on the learned skeleton and assumes correct directions for its retained true edges. Lines connect the reported sample sizes. Exact values appear in Table 12 .
Insurance
Hepar2
N
MosaCD
Meek
Ceiling
MosaCD
Meek
Ceiling
100
.35
.16
.44
.12
.06
.15
200
.31
.21
.47
.19
.11
.22
500
.56
.32
.62
.26
.14
.33
1,000
.65
.33
.70
.38
.20
.45
2,000
.73
.39
.76
.47
.28
.53
Appendix
Table 12: Reported sample-size sensitivity. Entries are directed-edge F1. “Ceiling” is the maximum attainable F1 conditional on the learned skeleton, as defined in the text.
Method
Baseline F1
With one oracle edge
PC
.48
.54
Meek
.52
.54
NOTEARS
.23
.28
GES
.38
.40
SPR
.53
.57
Appendix
Table 13: Matched access to one correct orientation. The same sampled ground-truth edge is supplied to every compatible method. Values are the reported aggregate F1 across 13 datasets.
Asia
Insurance
Hepar2
Method
Time (s)
USD
Time (s)
USD
Time (s)
USD
Memorization
1.80
.01
4.00
.01
12.60
.01
SCP
.20
.00
52.90
.01
247.50
.01
Vashishtha
18.60
.01
186.70
.01
507.00
.02
Jiralerspong
16.60
.01
72.50
.01
82.10
.01
LLM-CD
55.10
.01
812.40
.01
1291.90
.01
Appendix
Table 14: Reported runtime and API cost for LLM methods. Times and costs are transcribed from the comparative small-graph analysis. API costs are reported to two decimal places. These are parallelized measurements across all queries and thus differ from the sequential stage timings in Appendix E .
Method
Asia (s)
Insurance (s)
Hepar2 (s)
PC
.18
46.08
237.52
Meek
.18
46.08
237.53
SPR
.18
46.09
237.54
Shapley-PC
.43
347.84
>7200
NOTEARS
1.83
72.03
25.07
DAG-GNN
26.30
>7200
>7200
Appendix
Table 15: Reported non-LLM wall-clock runtimes. Entries are seconds for the three small-graph tasks. Values above 7,200 indicate runs exceeding two hours.
network
PC (colliders-first)
PC (nonc-first)
CPC (colliders-first)
CPC (nonc-first)
asia
0.177849
0.000926
0.071491
5.×10−8
alarm
0.583846
0.000159
0.128392
5.×10−37
cancer
0.102895
0.001906
0.059310
6.×10−5
child
0.399529
0.000309
0.105279
5.×10−20
hailfinder
0.700605
0.000103
0.138733
5.×10−56
hepar2
0.755133
0.000082
0.141944
5.×10−70
Appendix
Table 16: Expected false positive rates (FPRs) during identifications.
Causal discovery seeks to uncover causal relations from data, typically represented as causal graphs, and is essential for predicting the effects of interventions. While expert knowledge is required to construct principled causal graphs, many statistical methods have been proposed to leverage observational data with varying formal guarantees. Causal Assumption-based Argumentation (ABA) is a framework that uses symbolic reasoning to ensure correspondence between input constraints and output graphs, while offering a principled way to combine data and expertise. We explore the use of large language models (LLMs) as imperfect experts for Causal ABA, eliciting semantic structural priors from variable names and descriptions and integrating them with conditional-independence evidence. Experiments on standard benchmarks and semantically grounded synthetic graphs demonstrate state-of-the-art performance, and we additionally introduce an evaluation protocol to mitigate memorisation bias when assessing LLMs for causal discovery.
Zihao Li, Fabrizio Russo
Department of Computing, Imperial College London, UK
Causal discovery from observational data remains challenging due to the fundamental limitations of purely statistical methods, such as statistical distinguishability within equivalence classes and sensitivity to finite sample sizes. While large language models (LLMs) offer a promising source of domain knowledge to complement statistical inference, existing LLM-augmented methods are vulnerable to LLM errors and incur high token costs. Moreover, reliance on a single data-centric algorithm can make results sensitive to algorithm-specific biases. To address these limitations, we propose CauTion, a framework that reliably integrates LLM domain knowledge into an ensemble of statistical causal discovery algorithms through consensus filtering and LLM reliability estimation. CauTion proceeds in three stages. First, an algorithm ensemble utilizes a consensus voting to resolve up to 96% of edges on which algorithms agree, achieving near-perfect accuracy on the filtered consensus edges. Second, a trust-calibrated arbitration mechanism estimates the relative reliability of the LLM and the algorithms via an annotation-free trust calibration procedure, which is then utilized to govern a trust-weighted voting process that restricts LLM arbitration exclusively to edges with unreliable algorithmic evidence. Third, a cycle repair step is applied to guarantee the final causal graph is validly acyclic. Experiments on six datasets demonstrate that CauTion consistently outperforms both data-centric and LLM-augmented baselines, with larger gains on larger graphs and strong robustness to LLM errors. Code is available at https://github.com/OpenCausaLab/CauTion.
Bo Peng, Kaiwen Wu, Sirui Chen +3
Shanghai AI Laboratory · Shanghai Innovation Institute · Shanghai Jiao Tong University +2
Causal discovery has shifted from data-centric methods to hybrid strategies that integrate semantic knowledge from experts or large language models (LLMs). Such external information is vital for identifying causal structures beyond the Markov Equivalence Class (MEC), which data alone cannot resolve. However, expert availability is often limited, and LLMs frequently misidentify causal directions in specialized domains. To overcome such shortcomings, we propose a tag-based approach that leverages semantically meaningful labels while deriving causal directionality directly from data. Using variable-level tag assignments from available sources (e.g., LLMs), our tags for DAGs method learns from identifiable data structures to extract higher-level causal relations. These are then used to orient undirected edges, enabling causal discovery to move beyond the MEC without reliance on fallible external knowledge.
Florian Peter Busch, Moritz Willig, Florian Guldan +2
Computer Science Department, Technical University of Darmstadt · Hessian Center for AI (hessian.AI) · German Research Center for AI (DFKI) +2