Heuresis: Evaluating and enhancing agent causal discoveryBenchmarking and Enhancing Agentic Causal Discovery
The authors use HEURESIS to evaluate three LLMs: GPT-6.1 Sol achieves adjacency F1 of .935 on the hardest family, wild, with ∆rϕ of .115.
- LLM agents can already run causal discovery on data, but existing benchmarks have variable-name leakage, overly clean data, and evaluate only the final graph, so they cannot distinguish whether a gain comes from switching algorithms or from revising the graph after examining the data closely.
- HEURESIS uses six anonymous simulated mechanism families, and before scoring fixes the per-family selected algorithm and an ideal oracle that repairs all of PC's false deletions. The framework records every call; the agent can run algorithms, choose its own conditioning sets for CI tests, and check mechanisms with numerical programs in isolated processes.
- The three models are not told the mechanism family. In Table 6, GPT-6.1 Sol has adjacency F1 of .935 and ∆rϕ of .115 on wild, and Claude's ∆rϕ is .060. In Table 4, 35/104 of the true edges GPT recovers on wild and gauntlet were not proposed by any algorithm.
- The authors state that all instances are simulated, and whether the gains transfer to real data with trustworthy ground-truth graphs remains open; the repair space is explained only through differences from PC's output. The experiments use d=10, n=600, three models, and 32 test instances per family.
- Evaluated models
- GPT-6.1 SolClaude Opus 5.5Qwen 3.8 Flash
- Benchmarks
- HEURESISBNLearnTübingen cause-effect pairs
- Metrics
- adjacency F1nSHD∆rϕ
The researchers propose Heuresis—an agent causal discovery benchmark built from anonymized simulated datasets, used to distinguish gains from stronger algorithms from gains obtainable only by scrutinizing the data. Across six dataset families, GPT-6.1 Sol exceeds the best selected algorithm on all of them, with a 14% improvement in adjacency F1 on the hardest family, and Claude Opus 5.5 improves by 7.4%. On the two hardest families, one third of the true edges recovered by the two agents do not appear in any algorithm's output. Code and data will be released publicly.
Paper analysis
What problem does this paper attempt to solve?
Existing benchmarks cannot distinguish whether a gain comes from algorithm selection or from examining the data closely; HEURESIS aims to separate the two.
Existing causal discovery benchmarks cannot separate the gain from switching algorithms from the gain from revising the graph after examining the data closely.
- Practical setting: The authors state that what matters is an LLM agent doing causal discovery itself after receiving data, not recalling already-read relationships from variable names. It must decide on algorithms (e.g., PC, GES, LiNGAM), internal components (e.g., CI tests), which step to revisit, and how to revise the graph with further evidence.
- Three shortcomings: Leakage—given only Tübingen pairwise variable names and no data, direction is 99% correct (Figure 1a; Appendix D). Saturation—after removing names, on linear Gaussian the better of PC and GES is only ∼5% below an ideal oracle that can restore PC's wrongly deleted true edges (Figure 1b). Opacity—only the final graph is evaluated, so gains cannot be attributed to decisions in the trajectory.
- The authors' observation: These granularities do not form a strict hierarchy and can all be data-driven; the authors call this fine-grained, evidence-driven adaptation. PC deletes an edge once a CI test misses a dependence and never reconsiders it; the authors ask whether, after a true edge is lost, the agent can find that test, retest, and recover it.
- This paper proposes: the benchmark HEURESIS. Anonymous data, six mechanism families; before scoring, it fixes the globally selected algorithm BCAg, the per-family selected algorithm BCAϕ, and an ideal oracle that repairs all of PC's wrong deletions, and it tracks which edges are changed. The authors state that scores above the selected algorithms must come from using data. Instantiated on three LLMs with the same toolbox and budget, without disclosing the mechanism family.
What related research exists?
Related work either evaluates names or evaluates only the final graph; HEURESIS uses anonymous data, fixed references, and traces calls.
Causality from names, or embedding LLMs into classical algorithms
- Kıcıman et al. (2024) recover causal direction from variable names alone. Corr2Cause and CLadder (Jin et al., 2024, 2023) remove names but are closed-form questions without data.
- CausalBN-Bench and CausalGraphBench (Zhou et al., 2024; Babakov et al., 2025) compare LLMs with classical algorithms on named BNLearn graphs. The paper states that these graphs have been heavily memorized (Srivastava et al., 2025; Yu and Zhou, 2026).
- Another line answers or orders independence tests using variable names (Cohrs et al., 2024; Hiremath et al., 2025), or checks and orients learned edges (Ban et al., 2023; Khatibi et al., 2024; Lyu et al., 2025). The paper states that these works mainly evaluate causal knowledge relative to variable names, not purely statistics-driven discovery.
Agents that run the full analysis
- Causal-Copilot and CausalAgent (Wang et al., 2025; Han et al., 2024) let an LLM run the whole analysis. The introduction separately notes that Zheng et al. (2026) argue tools should be coordinated by agents while causal claims remain data-based, and Wu et al. (2025) argue LLMs should not enter the decisions.
- QRData, DSBench, CauSciBench, P-Bench (Liu et al., 2024; Jing et al., 2025; Acharya et al., 2026; Miao et al., 2026) evaluate final answers on real data. The paper states that final answers cannot show whether a better method was selected or evidence was used, and that scores vary with budget and framework (Kapoor et al., 2024, 2026).
Discovery benchmarks on simulated data
- CausalDS, CausaLab, CausalArena (Leban and Sun, 2026; Yang et al., 2026; Li et al., 2026a) generate data from hidden causal graphs and evaluate the recovered graph. The paper states that CausalArena also finds that which algorithm is better depends on the data type.
- The paper states that the closest is ACDB (Deb et al., 2026): anonymous simulated data, compared with PC; the data is only linear Gaussian with very few variables, and only the final graph is evaluated.
Baselines and comparison table
- Experimental baselines are BCAϕ, a non-LLM router, CDFM (Qiao et al., 2026), TabCausal (Li et al., 2026b), and the scripted repair of PC's output in Appendix F. The main data is HEURESIS; the probe in Figure 1 separately uses BNLearn and Tübingen.
- Table 1 compares Corr2Cause, CausalBN-Bench, chatPC, CausalArena, ACDB on D1–D4. The paper marks that only HEURESIS satisfies all four.
The authors position this work as: variable anonymity, space remaining beyond algorithm selection, gains scored separately relative to fixed references, and every call traceable. ACDB is named as the closest but still covers only few-variable linear Gaussian and evaluates only the final graph.
How does the paper address this problem?
Six anonymous mechanism families plus a traceable framework separate the space of algorithm selection from the space of repairing PC's false deletions.
Using the benchmark HEURESIS and a framework that records every call, the authors score the gain from selecting the right existing algorithm separately from the gain from using data during the run to revise the graph.
Task and Mechanism Families
- The agent sees only an anonymous matrix X with randomly ordered columns and must recover the hidden DAG. The SCM assigns a function and noise to each variable; a family is a distribution over mechanisms: first draw a DAG, then let each variable independently draw a mechanism (Definitions 1, 2).
- The first three families are single-mechanism: lg is linear Gaussian, anm is MLP mean, hetero is MLP mean with noise scale depending on parents. The last three families are mixtures. The authors treat wild as the hardest: nonlinear, non-monotonic, heavy-tailed, with mechanisms that can differ across variables. gauntlet draws from the widest nonlinear, non-monotonic, input-dependent noise, so that one instance breaks multiple assumptions at once. mixed is also a mixture.
- Graphs are Erdős–Rényi or Barabási–Albert, with expected degree 2 by default. Continuous columns are standardized to mean 0 and variance 1, so that variance does not reveal causal position (Appendix C). Experimental instances have d=10, n=600. The full generative process is in Appendix C.
References and the Two-Level Space
- D1 anonymity. D2 measured per family: how much a better existing algorithm can fill, and how much no existing algorithm or router can recover. D3 separates gain relative to BCAg from gain relative to BCAϕ. D4 each graph is decomposable and each call is recorded. Table 1 uses these four to compare against existing benchmarks.
- BCAg (highest all-family average adjacency F1) and BCAϕ (highest for that family) are selected on the development set. The ideal oracle recovers every edge PC wrongly deleted, leaving the rest unchanged. The paper states it is an upper bound on repairing deletions, not a task upper bound, because gains beyond PC's deletions are also possible (§3).
- Selection space and repair space are Hϕs=F1(BCAϕ)−F1(BCAg) and Hϕr=F1(oracle)−F1(BCAϕ). The former is the margin for selecting the right within-family algorithm; the latter is the margin the paper calls left to in-run decisions, relative to that family's BCAϕ, and is measured in terms of PC's deletions.
Agent Framework
- A round is an iterative edit to the working graph (Figure 5). Each pair of variables is either no edge, an undirected edge, or one of the two directions. Each round one can run structure learning, query evidence, analyze data, or edit and submit.
- The graph-level menu returns whole graphs: Fisher-z PC, KCI PC, FCI, GES, DirectLiNGAM, additive noise methods, linear NOTEARS. At the edge level one can choose a conditioning set for Fisher-z or KCI and check under resampling whether the decision is stable. At the mechanism level one can summarize data, look at candidate parents' explanations, probe directions, and run short numpy/scipy programs in an isolated process.
- Tests return a decision with a coarse strength level, not raw p-values. Algorithm identities are masked within a round. The default prompt does not state the metric or the algorithms' applicability conditions. Analysis code sees only data, not ground truth or framework state. The budget is visible to the agent: 1000 CI tests, 60 rounds, 16000 output tokens per round, 2400 seconds, 12 menu calls (Table 12). After any limit is exhausted, there is one more round in which it can only submit.
- The guided condition starts from PC-KCI's output and provides the deletion log (conditioning sets, tests, evidence strength, no ground-truth labels). Unguided starts from a fully undirected graph. The difference is the joint effect of a good starting point and knowing how PC decided. Every call records type, parameters, result, and cost.
Success Criteria
- Submitted graphs are first oriented per Meek (1995). The primary score is adjacency F1; the paper states that under faithfulness, observational data identifies the skeleton; the secondary score is normalized SHD. ∆rϕ and ∆sϕ are the adjacency F1 differences relative to BCAϕ and BCAg, respectively.
- Behavioral statistics include shortcut rate (the fraction of rounds where the final graph differs from the output of the first call to some PC variant by no more than 1 SHD), the number of distinct algorithms, and the mutual information between family and called tools. Each cell reports both all-round and completed-round values, and capability is claimed only when the two agree (Appendix H).
What experiments did the paper conduct?
The authors state that GPT-6.1 Sol exceeds BCAϕ on all six families; on wild, adjacency F1 is .935 and ∆rϕ is .115.
Experimental Setup
- Instances: 100 development and 32 test instances per each of six families, d=10, n=600. Reference algorithms are selected on the development set, and results are on the test set. The mechanism family is not disclosed.
- Models and budget: GPT-6.1 Sol (reasoning effort medium), Claude Opus 5.5 (adaptive thinking, effort high), Qwen 3.8 Flash (thinking mode). Same toolbox and budget: 1000 CI tests, 60 rounds, 16000 output tokens per round, 2400 seconds, 12 menu calls (Table 12).
- Comparisons: BCAϕ, ideal oracle, non-LLM router, CDFM, TabCausal (released configuration, default thresholds, no family labels), and the scripted repair in Appendix F.
- Metrics: First oriented per Meek (1995). Primary metric adjacency F1, secondary metric nSHD. Intervals are 95% paired bootstrap over instances. Comparisons hide the true graph and are not LLM review. The main experiment does not state sampling temperature.
- Repeats: GPT-6.1 Sol and Claude Opus 5.5 run 3 times on lg, anm, hetero, wild; mixed and gauntlet are repeat 1; Qwen see Table 13. The table below uses repeat 1.
- Graph submission: A graph must be submitted every round. In Table 13, Qwen, wild, no final round: all-round F1 .773, ∆rϕ −.047 (6 rounds hit the wall without submitting); the completed 26 rounds are .865 and .044 (Figure 9). The authors state that counting only completed rounds would inflate the score.
Main Results
Adjacency F1, with ∆rϕ relative to that family's BCAϕ in parentheses. BCAϕ and oracle per Table 3, the three models per Table 6 repeat 1.
Swipe horizontally to read the table
Family BCAϕ oracle GPT-6.1 Sol Claude Opus 5.5 Qwen 3.8 Flash lg .921 .973 .978(.043) .972(.037) .945(.009) anm .906 .984 .958(.052) .906(−.000) .899(−.008) hetero .934 .982 .967(.042) .934(.010) .903(−.022) wild .814 .977 .935(.115) .880(.060) .843(.023) mixed .920 .986 .972(.045) .952(.025) .924(−.003) gauntlet .849 .983 .933(.084) .894(.046) .871(.023) - The abstract and §5.2 state that GPT-6.1 Sol is 14% higher on the hardest family and Claude Opus 5.5 is 7.4% higher, and say the latter is about one third of that family's repair space. The paper does not explain how these two percentages correspond to the ∆rϕ in the table. The authors state that GPT is above oracle on lg because there are gains beyond PC deletions; Claude is comparable to oracle on lg and does not get worse on any family. In Table 6, Claude's intervals on anm, hetero, mixed contain 0 or have a lower bound of −.000.
- The authors state that on all-family ∆rϕ, GPT is about twice Claude (Table 6: .064 vs .030, not in the table above). Three repeats do not change the ordering of the two models, nor the families where the ∆rϕ point estimate is above zero (Table 13). The authors state that both models reduce nSHD of that run's PC-KCI output on every family (Table 7).
- The authors state that Qwen reaches BCAϕ on lg, thereby closing the selection space but not the repair space; it is comparable to PC-KCI on anm, wild, mixed, and slightly lower on hetero. Its all-family ∆rϕ is .004, with an interval containing 0; ∆sϕ is .015, with an interval not containing 0. In Table 13, Qwen on hetero at repeats 2 and 3 has ∆rϕ of −.035 and −.044, with intervals not containing 0.
Trajectory Attribution
- What was measured: Edges newly added relative to that run's PC-KCI, compared against other algorithms called in that round (Table 4). merge* adds back to PC-KCI edges proposed by at least k other algorithms, with k chosen post hoc per family.
- Results: The authors state that even so, merge* remains far below the agents; GPT-6.1 Sol is on average 8.9% higher than merge*. On wild and gauntlet, merge* has no gain over PC-KCI; of the true edges GPT recovers, 35/104 are not in the output of any called algorithm (20/57, 15/47 by family). Claude is 13/40 and 7/32.
- The authors' interpretation: The gain is not voting over multiple algorithm outputs. The PC-KCI column in Table 4 is that run's output (lg is .854); do not conflate it with BCAϕ in Table 3.
Guided Condition and Toolbox
- What was measured: The guided condition provides the PC-KCI output and the deletion log; the minimal toolbox removes code tools, stability checks, and targeted probing (Table 8, Figure 7). Covers lg, anm, hetero, wild, with 32 test instances per family.
- Results: Under full toolbox, guided minus unguided for GPT and Claude has intervals containing 0 on all four families. For GPT's recall of wrongly deleted edges, full is .94 on lg, and on wild full is .70 and minimal is .47. Qwen's recall on wild, full toolbox is .35.
- The authors' interpretation: Neither PC's output nor the deletion log explains the gains of GPT and Claude. The toolbox matters: they perform their own edge-level tests and use code to probe mechanisms.
Prompts and Budget
- What was measured: On lg, which has selection space, and wild, which has the largest repair space, four prompt levels (neutral, scoring explanation, nonlinear or heteroscedastic warning, PC deletion rule) and three declared objectives (none, CPDAG, DAG), plus per-round token and wall (Table 9, Table 10). First 16 test instances, rows averaged over the other factor.
- Results: The authors state that GPT's and Claude's ∆rϕ persist under these prompts and objectives, with cell differences smaller than the intervals. The authors state that raising per-round tokens nearly eightfold (4096 to 32000 in the table) also produces no change. Only halving wall has an effect, and only on Qwen: on wild, ∆rϕ drops from .032 to .016, with .34 of rounds reaching the wall; the other two models do not reach the wall even with the shorter wall.
- The authors' interpretation: The residual gain does not depend on prompts, declared objectives, or token budget. Qwen's rounds are the longest, so only a shorter wall reduces its gain.
Other Ablations and Analyses
- Table 3: Hϕs is .069 on lg, and the authors state the rest do not exceed ±.007; on five families PC-KCI is already BCAϕ. Hϕr is .163 on wild and .134 on gauntlet. The authors state that oracle is .97 to .99, and BCAϕ lags by 5% to 16%; and that what opens the gap is non-monotonic relationships rather than heavy-tailed noise (Figure 1b, bar heights not visible in plain text).
- Table 3: The authors state that router, CDFM, TabCausal exceed BCAϕ by no more than .03, and CDFM is 10% to 19% lower. Cells for example: router is −.029 on lg and .007 on mixed; CDFM is −.186 on lg and −.104 on wild; TabCausal is .019 on wild and .029 on gauntlet.
- Appendix E: router uses the gap between distance correlation and Pearson correlation to decide between PC-KCI and Fisher-z PC, with threshold τ=0.2; when it takes the KCI branch, the output is PC-KCI.
- Appendix F, Figure 8: p-values in the log and conditioning set size are only moderately ranked for wrong deletions; the signal requiring new tests has AUC from 0.64 to 0.90; the minimum KCI p-value is the best single signal on every family. Setting a threshold on that signal to recover edges lowers adjacency F1 on the four families run; a gradient-boosted classifier's gain at the best threshold is indistinguishable from zero. Proposition 1 states that as power tends to α, a ranker relying only on recorded p-values has AUC tending to 1/2.
- Appendix D (Qwen 3.8 Flash, thinking mode, temperature 0): with names, Tübingen direction is 99%; removing names drops it to chance, and near zero on HEURESIS. In the saturation probe, GES recovers 31% (Insurance) to all (Cancer, Earthquake) of oracle's gain over PC-KCI; Qwen is comparable to GES, and 28% of rounds return PC unchanged.
- Table 12: GPT-6.1 Sol is about $0.19/round (448 rounds about $86), Claude averages $1.60 (median 1.06, max 10.64), Qwen averages $0.085. The authors state that GPT's gain is about twice Claude's and its cost about one eighth.
What are some points that can be further explored?
The authors state that gains on real data remain open, and that the repair space is explained only relative to PC's deletions.
Limitations and Future Directions Noted by the Authors
- Simulated data (Limitations): Real data with trustworthy ground-truth graphs is scarce, and space estimation and per-edge decomposition require an exact true graph, so all instances are simulated. Whether the gains transfer to real data remains open and can be tested when such data is available.
- Setting (Limitations): Six families, the graph prior, and continuous variables with d=10, n=600 define every number in the paper. The generator is parameterized by d, n, and graph density, and new families can be added.
- Models and number of runs (Limitations): The agent numbers come from three models under a neutral prompt, with 32 test instances per family, and four families have repeats (Appendix H). The guided condition and the prompt and budget sweeps (16 test instances per family) are run only once per model. Each gain is a statement about that model with this toolbox.
- API (Limitations): Hosted LLM APIs are nondeterministic, so tokens and cost are recorded per round.
- References (Limitations): The set of existing algorithms is the authors' own and is released with the benchmark; adding algorithms remeasures both spaces. The repair space is defined on PC's deletions, and the decomposition explains only where the graph differs from PC's output.
- Scores and code tools (Limitations): The primary score is adjacency F1, with nSHD as secondary. The code analysis tool runs in a subprocess with a cleaned environment, not a security sandbox.
Scope of Experiments
- Test instances are six families with 32 each, d=10, n=600; the development set has 100 per family and is used to select reference algorithms (§5, Appendix C). Variables are continuous and anonymous.
- The LLMs tested are GPT-6.1 Sol, Claude Opus 5.5, Qwen 3.8 Flash. Comparisons include router, CDFM, TabCausal, scripted repair, BCAϕ, and oracle (§5.1–5.2, Table 3, Table 6).
- The main condition is repeated 3 times on four families. The guided condition and full and minimal toolboxes cover lg, anm, hetero, wild (Table 8). The four prompt levels, three objectives, and token and wall sweeps are on the first 16 test instances of lg and wild (Table 9, Table 10).
- The algorithm menu is PC (Fisher-z and KCI), FCI, GES, DirectLiNGAM, additive noise methods, and linear NOTEARS (§4.2). Scoring is against the hidden DAG. The paper does not report sampling temperature for the main experiments, only reasoning effort and thinking settings (Table 12); the probe in Appendix D uses temperature 0.
- The paper defines shortcut rate, number of algorithms called, and mutual information between family and tools (§4.3). Table 9 reports shortcut rate. The main text and appendix excerpts do not give values for that mutual information.
Summarize the main content of the paper
HEURESIS scores gains beyond algorithm selection separately; on wild, GPT-6.1 Sol's adjacency F1 is .935.
HEURESIS measures how much of a causal discovery agent's gain comes from using data during the run, rather than from switching to another existing algorithm.
Existing evaluations either leak variable names—looking only at the Tübingen names already yields 99% direction—or leave the margin to algorithm selection on clean data, or look only at the final graph. The authors care about evidence-driven adaptation at multiple granularities, including re-testing edges that PC has deleted and no longer considers.
The data are simulated tables from six anonymous mechanism families, ranging from linear Gaussian to heavy-tailed mixtures. Before scoring, BCAg, BCAϕ, and an ideal oracle that repairs all of PC's false deletions are fixed. The framework records every call. Three LLMs use the same toolbox and budget, and are not told the mechanism family. The main metric is adjacency F1.
- Table 6 repeat 1: GPT-6.1 Sol's ∆rϕ is positive on all six families, with adjacency F1 of .935 and ∆rϕ of .115 on wild; Claude Opus 5.5 is .060 on wild; Qwen 3.8 Flash is .023, with an interval containing 0. The abstract separately writes 14% and 7.4%, and the paper does not state how these correspond to ∆rϕ.
- Across all families, ∆rϕ is GPT .064, Claude .030, Qwen .004 (the latter's interval contains 0). The authors state GPT is about twice Claude.
- Table 4: post-hoc selected k-vote merging still falls below the agent. Of the true edges GPT recovers on wild and gauntlet, 35/104 were not proposed by any invoked algorithm.
- Providing PC-KCI output and the deletion log does not produce an F1 difference whose interval separates from 0 (Table 8). After removing code, stability checks, and targeted probing, GPT's recall on falsely deleted edges on wild drops from .70 to .47.
- The authors' conclusion is that GPT-6.1 Sol and Claude Opus 5.5 exceed BCAϕ because they gather their own evidence and recover true edges absent from algorithm output. Whether the gain transfers to real data with trustworthy ground-truth graphs remains open, the authors state; the numbers in the text correspond to d=10, n=600, and this toolbox.