Manuscript Offprint

arXiv:2610.22846

Benchmarking and Enhancing Agentic Causal Discovery

Pingchuan Ma, Rui Ding, Shuai Wang

Abstract

LLM agents can now run causal discovery algorithms on a dataset and report what comes out. Whether they do more than that, such as noticing where an algorithm went wrong and fixing it with further tests, is hard to tell from current benchmarks. Most of them give the variables meaningful names, and an LLM shown only the names of the Tübingen cause-effect pairs already gets 99% of the directions right. With the names removed, the data are usually clean enough that picking a better algorithm than PC closes most of the gap. We introduce HEURESIS, a benchmark of anonymous simulated datasets whose mechanisms range from linear Gaussian to heavy-tailed. For each family of datasets it separates what a better existing algorithm can gain from what only a closer look at the data can gain, and it traces every edge an agent changes. Every family leaves a gap that none of the algorithms, the router and the two causal-discovery foundation models we ran can close, so a score above the best chosen algorithm has to come from using the data. We instantiate the benchmark with an agent harness and three LLMs, GPT-6.1 Sol, Claude Opus 5.5 and Qwen 3.8 Flash. GPT-6.1 Sol surpasses the best chosen algorithm on all six families, by 14% adjacency F1 on the most difficult one, and Claude Opus 5.5 does so by 7.4% there. A third of the true edges the two agents restore on the two hardest families appear in no algorithm's output. The code and data will be publicly released to facilitate future work.

1 Introduction

Early work asked LLMs for causal relations from the names of the variables (Kiciman et al., 2024), which tests what a model has read rather than whether it can find a structure nobody knows yet. The setting that matters in practice is an LLM agent that receives a dataset and carries out causal discovery itself, by running statistical tests, discovery algorithms and code on the data. Causal-Copilot (Wang et al., 2025) picks, tunes and interprets an algorithm; Zheng et al. (2026) argue that agents should coordinate the tools while the causal claims stay grounded in data, and Wu et al. (2025) that LLMs should stay out of the decisions altogether.

In this setting the agent decides at several granularities: which algorithm to run, such as PC, GES or LiNGAM; which component to use inside it, such as the conditional-independence (CI) test of PC; which local steps of a run to revisit, such as a test, a conditioning set or a single deletion; and how to revise the graph with further evidence. At the finest grain the LLM may even judge a dependence itself, in place of a small tool. The levels form no strict hierarchy, and each can be driven by the data: an agent that switches to a kernel test because the relations look nonlinear uses evidence as much as one that repairs an edge. A conventional pipeline fixes these decisions before it sees the data, whereas an agent can revisit any of them. We call this capability fine-grained, evidence-driven adaptation. Take PC (Spirtes et al., 2000), which deletes an edge as soon as one CI test misses a dependence and never reconsiders the deletion. When a true edge is lost this way, can the agent find the test, re-test the pair and restore the edge?

Current benchmarks cannot tell, for three reasons. ① Leakage. Most LLM evaluations of causal discovery name the variables (Kiciman et al., 2024; Zhou et al., 2024; Babakov et al., 2025): LLMs reproduce graphs such as Asia and Cancer of the BN-Learn benchmarks from the names alone (Srivastava et al., 2025), and given no data at all an LLM gets 99% of the Tübingen directions right (Figure 1a). ② Saturation. With the names removed, the data are usually clean enough that choosing the algorithm settles almost everything: on linear-Gaussian data the best of PC and GES is only ∼5%\sim 5\% below an ideal oracle that restores every true edge PC wrongly deleted (Figure 1b), which leaves the

(a) Leakage

Figure

(b) Saturation

Figure

(c) Heuresis

PC, Fisher-z best chosen alg. (GES; BCAφ)

PC, KCI oracle

GPT-6.1 Sol

Claude Opus 5.5

selection headroom

repair headroom

Figure 1: Overview of HEURESIS.

finer decisions no room to show. ③ Opacity. Existing benchmarks score only the final graph, so they cannot tell whether a gain came from a better existing algorithm or from analysis inside the run. Agents may well make fine-grained decisions already; what is missing is a measurement that credits a gain to them.

HEURESIS measures this adaptation without leakage, saturation or opacity. Its datasets are anonymous and drawn from six families of mechanisms, from linear Gaussian to heavy-tailed, so that substantial headroom remains after the algorithm is chosen. For every family it fixes reference points before any agent is scored: the best algorithm chosen globally and per family, and an ideal oracle that repairs every wrong deletion of PC (Figure 1c). Choosing per family gains nothing on five of the six families, where PC with a kernel CI test (KCI) is already best, while the gap to the oracle stays substantial on every family and is largest where every algorithm scores lowest. We probe the finer levels through the one decision type whose correctness the ground truth fixes exactly, PC's edge deletions: each is logged with its test and conditioning set, the ground truth says which were wrong, and every edge an agent restores can be traced to the calls before it. The benchmark therefore reports the gain over existing algorithms and selection strategies separately from the behavior in the trajectory that produced it.

We run a tool-enabled agent harness with GPT-6.1 Sol, Claude Opus 5.5 and Qwen 3.8 Flash, under one toolbox and budget and without telling them the family. GPT-6.1 Sol improves the best chosen algorithm on every family, by 14% on wild, the most difficult family, and Claude Opus 5.5 by 7.4% there; Qwen 3.8 Flash reaches the best chosen algorithm on linear-Gaussian data. Their traces show that no k-vote merge of the algorithms' outputs, with k chosen per family in hindsight, reproduces these gains, and that a third of the true edges they restore on the two hardest families appear in no algorithm's output at all. Our contributions are:

• We frame agentic causal discovery as evidence-driven decisions at several granularities and show that leakage, saturation and opacity keep existing benchmarks from crediting a gain to the decisions behind it.

• We propose HEURESIS, anonymous simulated data with headroom beyond algorithm choice, reference points for choosing and for repairing, a traced probe on PC’s deletions, and an agent harness that records every call.

• We find that two of the three LLMs surpass the best chosen algorithm by re-testing what PC deleted, and trace the edges they restore to the calls that produced them.

References (28)