---
title: "Scalability of Bayesian Network Structure Elicitation with Large"
description: "How Bayesian network structure elicitation by expert voting compares with a single conversation, and why both approaches struggle on larger…"
canonical: "https://research.elamur.ai/free/en/papers/babakov-2025-scalability-bayesian-network-structure-elicitation/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/babakov-2025-scalability-bayesian-network-structure-elicitation/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2025](https://md.research.elamur.ai/free/en/papers/2025/) / Scalability of Bayesian Network Structure Elicitation with Large Language Models: a Novel Methodology and Comparative Analysis

# Scalability of Bayesian Network Structure Elicitation with Large Language Models: a Novel Methodology and Comparative Analysis

Paper · 2025 · Nikolay Babakov, Ehud Reiter and Alberto Bugarín

**Authors:** [Nikolay Babakov](https://md.research.elamur.ai/free/en/authors/nikolay-babakov/), [Ehud Reiter](https://md.research.elamur.ai/free/en/authors/ehud-reiter/) and Alberto Bugarín · **Year:** 2025 · **Venue:** Proceedings of the 31st International Conference on Computational Linguistics · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Cited by **3** papers in our library of more than 163,000 papers whose bibliographies we read · Proceedings of the 31st International Conference on Computational Linguistics · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2025.coling-main.713/)
- [PDF](https://aclanthology.org/2025.coling-main.713.pdf)

## Summary

A Bayesian network represents a set of variables and the dependencies among them. Before it can be used to reason about uncertain outcomes, someone has to decide which variables to connect and which way each arrow should point. When observations are unavailable, those decisions can come from domain experts. Babakov and colleagues ask whether [large language models](https://md.research.elamur.ai/free/en/concepts/large-language-models/) can help with that task when given the variables and the purpose of the network. They also ask how the answer changes as the network grows. Their method gives separate conversations different expert profiles, asks each to propose a graph, and keeps only the directed edges supported by a majority.

The authors compare this approach with Harness, an earlier method that uses one conversation to interpret variable names, propose direct causal links, and review the proposal. Before comparing the two, they check whether the benchmarks are suitable. Some public networks use labels that the systems cannot reliably distinguish. Some large networks exceed available context or cannot be interpreted in full even when the input fits. A separate test asks the systems to recover a network from its source description. Familiar names and partially recovered edges raise concerns about prior exposure for alarm and insurance, so the authors leave both out of the main comparison.

On the networks retained for evaluation, the voting method improves on Harness with GPT-3.5. Its mean structural Hamming distance, divided by the number of reference edges in each network, is 0.97, compared with 1.18 for Harness. The paired difference is statistically significant in the paper’s test. GPT-4 also has a lower mean distance with voting, but the paired comparison provides weaker evidence of a reliable improvement. Llama2 has a higher mean distance with voting than with Harness. Groups of three or more experts generally improve on a single expert in the authors’ profile-count experiment, although no group size works best throughout.

Both approaches lose accuracy as the reference graphs grow. The detailed GPT-4 results show that many reference edges go missing, even when few extra arrows are proposed. The authors suggest that the systems can identify some prominent relationships while losing track of the detail needed to reconstruct a larger network. The study therefore ties the usefulness of language-based elicitation to three conditions that can look deceptively simple at the outset: the variables must be understandable, the benchmark must give a fair test of reconstruction, and the task must allow enough attention to the relationships that make up the whole graph.

## Deep dive: Scalability of Bayesian Network Structure Elicitation with Large Language Models: a Novel Methodology and Comparative Analysis

How Bayesian network structure elicitation by expert voting compares with a single conversation, and why both approaches struggle on larger graphs. · about 35 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Building the graph before assigning probabilities

A Bayesian network has a graphical part and a numerical part. In the graph, a node stands for a variable, and an arrow records a dependency in a particular direction. The numerical part describes the probabilities of a variable’s possible values given the values of the variables that point into it. The paper’s illustration uses pollution and smoking as possible causes of lung cancer, with an X-ray result and dyspnoea among the consequences. The arrows organize the variables so that the corresponding probabilities can be specified. The illustration leaves those probabilities out, as does the paper’s reconstruction task.

The graph must be directed and acyclic. An arrow points from one variable to another, and following a series of arrows cannot take the reader back to the starting variable. This matters because deciding on arrows independently can produce an invalid graph. At the level of an individual proposal, the clearest example is a pair of variables for which the response asserts a direct effect in both directions. At the level of a combined proposal, separate judgments about different pairs must still fit together as one acyclic structure.

The authors start with the variables already chosen. The elicitation task is to decide which of the candidate relationships are direct and what their directions should be. Knowing that two factors are related is insufficient. A system may connect them in the wrong direction, or give a direct arrow to an association that the reference graph represents through an intermediate variable. It may also identify convincing local relationships while overlooking others that the graph needs. Because the intended output is a complete structure, its quality depends on the coverage and consistency of many individual decisions.

The paper distinguishes structure learning from observations and structure elicitation from expertise. If observations are available, structure-learning algorithms can look for patterns in the recorded values. An elicitation procedure instead asks people with relevant knowledge to describe how the variables depend on one another. In the experiments, the language systems receive information such as a domain and a list of factors, rather than rows of observations. Existing graphs provide the targets for evaluation. Hence, reconstructing a graph from its variables is the experimental proxy for eliciting a structure in a domain where a graph still needs to be built.

This choice changes the role of a variable name. In a data-driven task, the measurements attached to a column can be used even if the label is an opaque identifier. In a language-based task, the label and any explanation of it may be the system’s main evidence about what that variable means. Two columns can be plainly distinct in a data file while their abbreviations give a language system almost no basis for distinguishing them. The authors make this difference part of the evaluation by testing whether the variables of established benchmarks can be interpreted before asking for a graph.

#### From expert judgment to prompted roles

The authors take inspiration from the Delphi protocol, in which human experts give judgments independently, can reconsider disagreements through a facilitated process, and interact without having to identify themselves to one another. The paper traces the use of this approach in Bayesian network elicitation from work on strategic risk assessment to BARD, which incorporates structured collective judgment into a larger elicitation procedure. The relevant precedent is the organization of expertise around a shared question. A group can bring different perspectives to the same variables, and a facilitator can arrange those contributions into a decision process.

The language-based study adapts a specific part of that practice. A facilitator generates descriptions of relevant experts, and the resulting roles guide separate conversations. Each conversation produces its own proposed network. The experiment then uses votes to settle which edges to retain. In a full Delphi-style process, an expert may change a judgment after considering other participants’ reasoning. In the authors’ experiments, the experts do their causal analysis independently. The extra exchange used to resolve conflicting directions concerns a proposal from an individual expert.

The paper also situates the design among experiments with prompted roles and multiple collaborating instances. A role can put particular experience in the foreground of a response. Other work described in the paper gives different roles responsibility for parts of a common task or brings separate responses into a discussion. These precedents motivate the possibility that elicitation benefits from varied perspectives. Giving conversations different profiles creates a way to test that possibility. The profile descriptions themselves provide no evidence that the resulting conversations possess independently acquired knowledge.

Graph problems add a representational difficulty. In a drawing, branching paths and repeated endpoints are visible together. In a text exchange, the system receives names and returns a sequence of statements or a list of pairs. The paper points to earlier work that expressed general graph problems, including connectivity and maximum flow, in natural language. Work on causal graphs similarly found ways to turn an arrow into a question about the direction of a direct effect. Those approaches suggested that prompting could express the task, while leaving open how much of a large graph a single conversation could reconstruct. [Can Language Models Solve Graph Problems in Natural Language?](https://md.research.elamur.ai/free/en/papers/wang-2023-language-models-solve-graph-problems/)

#### The alternatives and the benchmark problem

Some earlier causal elicitation methods ask about possible pairs or triplets of variables. A local question limits what a response has to consider at once, but each additional variable adds more groups to query. The authors wanted a comparison that could be run on graphs of different sizes without issuing a separate request for every possible group. They also discuss an approach that uses a language system as an imperfect expert alongside a causal discovery algorithm. That approach presupposes structural information that the elicitation methods in this study are meant to obtain from the task description and variables.

Harness satisfies the two conditions the authors chose for the comparison. It uses a short sequence of prompts whose scope is the given network. It can begin with information about the variables and their possible values, without a candidate structure from a discovery algorithm. Its successive prompts ask for interpretation, causal reasoning, and a review of the resulting statements. The comparison is therefore between two ways of organizing language-based elicitation from broadly similar starting information. Harness revisits one proposal in conversation, while the new method combines independently proposed edges.

A separate issue is what a successful answer on an established benchmark actually demonstrates. A publicly available network may have appeared in material used to train a system. If the system can recover distinctive variable names or graph fragments from memory, the evaluation can mix recall of a published artifact with reasoning about its variables. This possibility matters even when the elicitation prompt omits the graph. Knowledge of the domain can help solve the intended task, but familiarity with the particular target network can also give the system access to some of the answers.

The authors describe earlier approaches that look for exposure through output likelihoods, compare generated material with a candidate source, or use specially constructed tasks and quizzes. They draw particularly on the idea of a guided instruction, which names a specific source and asks for information associated with it. For a Bayesian network, the natural first question is whether the system can retrieve the variable inventory. A follow-up can then probe its knowledge of the edges. The test has a different purpose from the main elicitation task. It looks for access to the identity of a particular published network before the authors use that network as a target. [Time Travel in LLMs: Tracing Data Contamination in Large Language Models](https://md.research.elamur.ai/free/en/papers/golchin-2023-time-travel-llms-tracing-data/)

### The method, step by step

#### Define the variables and generate the panel

The authors start with the aim of the network, the relevant area of expertise, and the variables that the graph should contain. The variables supply the allowed endpoints for proposed arrows. The aim and domain help narrow what an expert should consider a relevant relationship. For an existing network, the original labels may need explanation before they can serve this purpose. The authors borrow the Understand prompt from Harness, which presents the variable names and their possible values and asks for an interpretation of each variable. The clarified names then appear in the expert prompts.

Separately, a facilitator receives the general purpose of the network and the kind of knowledge needed for it. The facilitator first considers the experience that would be useful, then generates a set of distinct profiles in JSON, a structured text format. The instruction seeks a panel whose members cover the task collectively while bringing different kinds of experience to it. The method allows an odd number of profiles, and the facilitator prompts reproduced in the paper ask for 9. The panel-size analysis later examines different sizes within that design.

Every profile becomes the role instruction for a separate expert conversation. The dialogue threads share the problem and the allowed variables, while their profile descriptions differ. These are separate instances of the same system within a run. The experiment changes the underlying system across comparisons, so what counts as diversity within one panel is the variation in profiles and resulting responses. The authors do not combine GPT-3.5, GPT-4, and Llama2 into a single voting panel.

From a network brief to a voted graph The steps in order.

#### Elicit a graph from each conversation

In the first expert prompt, the conversation receives the clarified names and is asked to reason about which factors directly affect others. For any pair under consideration, the prompt distinguishes an effect in one direction, an effect in the opposite direction, and no direct effect. The wording asks for significant relationships. It gives the expert an opportunity to explain the proposed connections in prose before having to express them in a rigid format.

The next prompt requests a JSON list of the directed edges that follow from that reasoning. Each edge is represented by an ordered pair of variable names. The first position names the factor presented as the direct cause and the second names the factor affected. Changing the order changes the claim even when the same variables appear. The prompt requires the expert to reuse the original spelling of the supplied names. That requirement allows a program to match proposals made in different conversations.

The notation below expresses the direction used in the prompts and scoring.

```
A → B
```

A is the proposed cause or source variable. B is the proposed effect or destination variable. The arrow points from the source to the destination and denotes a direct edge. A prediction in the opposite direction is a different edge for both the vote and the evaluation.

The second exchange also creates a distinction between reasoning and delivery. At the first stage a response may explain a relationship using synonyms or shortened names. At the second stage it must map the claim back to the supplied variable inventory. A plausible explanation can produce an unusable pair if one endpoint is renamed or if a new variable appears. Conversely, valid JSON shows that the result can be parsed. It says nothing by itself about whether the arrows are correct or form an acyclic graph.

When an individual proposal contains arrows in both directions between the same pair, the authors can ask the expert to resolve the conflict. The follow-up describes the two claims and asks for the direction that should be retained. It requests a structured answer so that the corrected pair can be incorporated into the proposal. The published prompt handles a reciprocal pair. Its description gives no general procedure for selecting edges to remove from a longer cycle in the aggregate graph.

The error analysis describes additional handling for mismatched names. If a name differs slightly from a permitted endpoint, the authors try matching it by Levenshtein distance, which measures the edits needed to change one string into another. Capitalization differences are an example of the kind of variation this reconciliation can address. Outputs with substantially different names may require manual inspection. When a conversation refuses to supply any structure, the authors treat the resulting list as empty. That conversation consequently supplies no supporting edges.

#### Vote for directed edges

Once each expert has supplied an edge list, the proposed method counts directed edges across the panel. An arrow from one variable to another receives a vote from every expert whose list contains that ordered pair. A proposal in the opposite direction contributes to a different count. An edge omitted from a list receives no support from that expert, irrespective of whether the expert considered it and decided against it or simply overlooked it.

The paper describes the decision as a strict majority. Its rule can be written as follows.

```
v(e) > N ÷ 2
```

Here e is one candidate directed edge, and v(e) is the number of expert lists containing it. N is the number of experts in the panel. The division sign gives half the panel size, with 2 meaning that the total is divided into halves. The greater-than sign requires support above that threshold for the edge to be kept.

The majority is counted over the panel, without assigning a larger weight to the specialist whose experience appears most relevant to a particular edge. An arrow can benefit from agreement across differently framed conversations, and an isolated suggestion will fail the threshold. The same rule can suppress a genuine but easily overlooked dependency. In particular, silence about an edge has the same effect on its vote count whether it reflects a considered decision or incomplete coverage.

The vote is local to each directed edge. An odd panel and a strict threshold determine which individual proposals have majority support. Acyclicity is a property of the entire graph, including paths that use several edges, so each successful edge vote gives only part of the information needed to establish that property. This difference matters when interpreting the cycle analysis. The authors investigate conflicts produced during elicitation and describe a correction for reciprocal arrows, while the aggregation rule itself is a count of support for each edge.

#### Run Harness in one continuing conversation

The Harness baseline begins with Understand. The prompt provides the domain, variable names, and possible values. The response explains what those variables mean. A causal discovery prompt then asks for direct cause-and-effect relationships in a directed graph format. The interpretation remains in the conversation and can be used when deciding which arrows to include. The revision prompt presents the statements produced at the preceding stage and asks the same conversation to check their correctness and explain its judgments.

This baseline already has a review step. The proposed procedure introduces a different form of checking by asking whether separate proposals agree on an edge. It uses the Understand step for clarifying the inputs, then has a facilitator generate roles and has each role reason and produce its own structured response. Some of those responses need additional correction. Differences in outcome therefore reflect the operation of the two complete procedures, including their different prompt sequences and ways of producing the final network.

The paper reports the code for the proposed elicitation procedure as publicly available. The experiments use the proprietary GPT-3.5 release identified as `gpt-3.5-turbo-1106`, the proprietary GPT-4 release identified as `gpt-4-0613`, and the open-source Llama2 70b system. The study uses prompting and the available reference graphs for evaluation. It trains neither a new graph predictor nor the underlying language systems for the task.

#### Screen reference networks for signs of familiarity

The screening procedure begins with a prompt that identifies a network’s source paper and, for a public repository network, its address. It asks for the variables in that particular network and what they represent. The second request asks for the directed edges among the variables named in the first response. The replies can therefore be assessed at two levels: whether they recover the identity of the variables and whether they recover the graph that links them.

For the variable test, the authors manually match generated names to reference nodes when the meanings agree. They compare the length of the generated list with the actual node count and report recall, the fraction of the reference inventory recovered. They also mark cases where the replies reproduce names precisely as they appear in the public versions. Exact repository wording bears differently on the contamination question from a reasonable guess at a concept in the domain. A system can know what factors are generally relevant without having encountered the particular network.

The recall calculation can be expressed directly from the quantities the authors compare.

```
R = M ÷ T
```

R is node recall for a source-cued answer. M is the number of reference nodes matched to a generated node. T is the number of nodes in the reference network. The equals sign defines the measure, and the division sign expresses the matched fraction of the reference inventory. The number of names proposed is reported separately, so a long answer and a high-recall answer remain distinguishable.

The authors examine the edge responses in detail when the node evidence gives them a reason to suspect familiarity. This makes the edge query a follow-up diagnostic. It asks whether the system can recover something of the published structure after producing recognizable variable names. Finally, the study uses the screening results to decide which reference graphs to retain. The main comparison concerns networks that survive the screening for familiarity, readable labels, and feasible input size.

### Experiments and results

#### Choose a range of reference networks

The initial benchmark selection spans networks from public repositories and networks published in domain-specific studies. The repository sources are BayesFusion and bnlearn. The study treats their readily available networks as popular candidates and looks to application papers for less widely known ones. The distinction gives the screening procedure cases where public familiarity might plausibly vary. It also creates a range of graph sizes, although the authors found the largest reusable graphs only in bnlearn. They explain that large application networks are hard to fit into a paper and are rarely distributed as runnable files by themselves.

The smallest listed network, coma, has 5 nodes and 5 reference edges. At the other end of the initial collection, andes has 223 nodes and 338 edges, while diabetes has 413 nodes and 602 edges. The collection also includes munin, with 186 nodes and 273 edges. These very large candidates help reveal where the prompt procedure breaks down. They do not contribute graph scores to the final paired comparison, which concerns the smaller set that passed the preliminary checks.

After screening, the main comparison covers a range of sizes within that smaller set. In addition to coma, the shorter graphs include agro, with 6 nodes and 10 edges, sperm, with 9 nodes and 11 edges, and screen, with 16 nodes and 21 edges. The covid network has 20 nodes and 26 edges, while sids has 17 nodes and 27 edges. These cases illustrate why the authors examine both node and edge counts. A graph with more variables can have fewer reference arrows than a graph with fewer variables.

The larger surviving cases are apple, with 29 nodes and 62 edges, and hailfinder, with 56 nodes and 66 edges. Urinary has 36 nodes and 107 edges, and hepar2 has 70 nodes and 123 edges. These graphs account for the higher end of the scored size comparisons. Together with the short graphs, they let the authors examine whether the methods still cover the reference relationships as there are more edges to find. The reference edge count also enters directly into the normalization of one of the main metrics.

#### Measure missing, extra, and reversed edges

The first metric is structural Hamming distance, abbreviated SHD. In this paper it measures the edits needed to turn the proposed structure into the reference structure. An extra directed edge requires a deletion and a missing edge requires an addition. A reversed arrow incurs two errors under the authors’ convention. One is for the wrong direction that appeared, and the other is for the reference direction that was absent. Lower SHD means that the proposed edge list needs fewer corrections.

The authors also report false positives and false negatives separately. A false positive is a proposed arrow absent from the reference graph. A false negative is a reference arrow absent from the proposal. Looking at these counts can distinguish a graph that proposes many unsupported links from one that makes only a few proposals and overlooks most of the target. A single distance can give comparable totals to graphs with very different distributions of those errors.

Raw SHD tends to increase with the size of the reference network. The paper therefore divides it by the number of reference edges, allowing distances on different networks to be read against the amount of structure each graph contains.

```
D = SHD ÷ E
```

D is the normalized structural Hamming distance. SHD is the edit count under the paper’s direction-sensitive convention. E is the edge count of the reference network for that comparison. The equals sign defines D, and the division sign scales the edit count by the reference edge count. A score of 1 corresponds to an edit count equal to the number of reference edges. A score above 1 can occur because a proposed graph may contain extra arrows as well as omit required ones.

The second metric is macro F-score, computed from the adjacency matrices of the elicited and reference graphs. An adjacency matrix gives each ordered node pair a place in an array. A 1 indicates an edge from the source to the destination and a 0 indicates its absence. F-score combines precision, which asks how frequently a predicted class is correct, and recall, which asks how much of the reference class is recovered. The macro calculation gives the classes equal weight, so the absent-edge class and the present-edge class both contribute to the score. A higher value is preferable.

These measures answer different questions. Normalized SHD describes the size of the required correction relative to the reference graph. Macro F-score reflects performance across edge and non-edge decisions. The false positive and false negative counts show the direction in which the mistakes accumulate. This last view is especially useful on a large, sparsely reconstructed graph, where a relatively short list of mistaken additions can coexist with a much longer list of omitted reference edges.

#### Which networks could be tested?

The Understand prompt failed to separate important variables in barley and pathfinder. In barley, the systems assigned the same general meaning, nitrogen content in soil used for growing brewing ingredients, to labels including `nmin`, `jordn`, and `ngodnt`. They also applied that interpretation to `ngodnn` and `ngodn`. The proposed graph would need to distinguish all of these variables as separate endpoints. Treating them as interchangeable at the interpretation stage deprives the later causal step of a way to make those distinctions.

Pathfinder presents a more basic problem because its variables include identifiers of the form `F1`. The names give little guidance about the concepts they denote, and the authors report that the tested interpretation procedure could not decipher the nodes. The study excludes both networks. This outcome concerns what these benchmarks make available to the language-based procedure. Their original use for numerical structure learning does not depend on the same interpretation of labels.

The tests on the largest networks show separate problems with fitting a prompt and completing the requested reasoning. The Understand prompt for andes exceeded the context available to the GPT-4 and Llama2 versions in the study. It fit into the particular GPT-3.5 release, which had the larger context of the two GPT releases tested, but that system still failed to interpret every variable. The corresponding diabetes prompt did not fit any of the tested contexts. Munin’s Understand prompt fit all of them, yet none succeeded in clarifying its entire variable inventory.

The prompts for the proposed method could not fit the contexts of the tested systems for those large candidates. The authors excluded andes, diabetes, and munin from further experiments. These are informative failures even without a resulting SHD or F-score. The methods have a practical boundary at the point where the complete request cannot be processed. Within the region where a prompt fits, the munin result shows that covering the meanings of the input variables can still fail before edge elicitation begins.

#### What the familiarity screen recovered

The strongest node-recovery results concern alarm and insurance. For alarm, the reference graph lists 37 nodes. GPT-4 generated 37 names and had a node recall of 0.86. The matching count of list entries and reference nodes therefore coexists with incomplete recall. The paper’s example includes repeated concepts in the generated list, which helps explain why producing a list of the right length is weaker evidence than recovering the complete inventory. The authors emphasize the close resemblance of many names to the public version.

GPT-3.5 generated 10 names for alarm and had a node recall of 0.24. The authors still considered its response suspicious because it used distinctive labels resembling those in bnlearn. For insurance, whose reference graph has 27 nodes, GPT-4 generated 17 names and achieved node recall of 0.52. The authors also marked the insurance response for its repository-style names. In these cases the screen uses qualitative evidence from the actual strings alongside the quantitative recall.

The edge follow-up further separates the cases. For GPT-4 on alarm, the ratio of generated edges to reference edges was 0.91, the macro F-score was 0.63, and raw SHD was 60. For GPT-4 on insurance, the corresponding values were 0.46 for the edge-count ratio, 0.64 for macro F-score, and 52 for raw SHD. The ratios quantify how many edges were proposed relative to the reference count. They give no guarantee that the generated edges are the correct ones. The macro F-scores and distances indicate partial recovery even in the replies that raised the strongest concerns about familiarity.

GPT-3.5 recovered much less of the alarm structure in its follow-up. Its edge-count ratio was 0.17, with macro F-score 0.51 and raw SHD 51. The authors found the graph unconvincing despite the recognizable variable names. This case distinguishes familiarity with some terms from knowledge sufficient to reconstruct many of the edges. Screening on names alone would miss that difference, while screening only on graph accuracy would overlook the evidence carried by the terminology.

The authors found little indication that Llama2 knew any of the networks in the probe. They note that some variable overlap can be accounted for by the subject of the cited paper. A title about a particular diagnosis or event can suggest relevant factors without supplying a precise variable inventory. GPT-4 sometimes declined to attribute a list to a source or labeled its suggestions as hypothetical. The authors recorded such hypothetical responses as supplying no recovered nodes. They removed alarm and insurance from the main comparison because they wanted a common set without strong signs of familiarity for any tested system.

#### Compare Harness with voting

The main method comparison fixes the panel size at 7 and evaluates both procedures against the retained reference graphs. The mean normalized SHD favors voting for GPT-3.5 and GPT-4, while the mean for Llama2 favors Harness. The chart reports the values from the overall comparison. Each value summarizes performance across the network set for one system and procedure.

Mean normalized SHD on the retained Bayesian networks Voting lowers the mean for GPT-3.5 and GPT-4, while Harness has the lower mean for Llama2.

**The numbers**

| System or setting | normalized SHD |
| --- | --- |
| Llama2 with Harness | 1.07 |
| Llama2 with voting | 1.14 |
| GPT-3.5 with Harness | 1.18 |
| GPT-3.5 with voting | 0.97 |
| GPT-4 with Harness | 0.94 |
| GPT-4 with voting (this paper) | 0.86 |

The authors use a Wilcoxon signed-rank test to compare the paired distances for each system. Each pair comes from running Harness and voting on the same reference graph. The test uses the direction and ranks of the paired differences, so the result reflects the pattern over networks as well as their average scores. For GPT-3.5 the reported p-value is 0.04, and the authors describe the voting method as significantly better. For Llama2 and GPT-4, the p-values are 0.43 and 0.17, respectively. The authors report no statistically significant method difference for either of those systems.

The GPT-3.5 results include a pronounced change on urinary. In the main comparison, Harness has a normalized SHD of 1.97 and voting scores 0.94. The detailed breakdown for that network reports 108 false positives for Harness and 2 for voting. Its false negative counts are 103 and 99, respectively. This case shows how the better distance can arise even while most of the target structure remains hard to recover. In these runs, the voting procedure produces far fewer extra arrows, while the predicted graphs from both methods still leave many reference edges out.

On GPT-4, coma is the clearest small-graph success. Voting reaches normalized SHD 0 and macro F-score 1. Harness, on the same 5-edge reference, has normalized SHD 0.4 and macro F-score 0.85. Once the graph grows, the picture becomes less consistent. On covid the detailed breakdown reports macro F-scores of 0.79 with Harness and 0.82 with voting. On apple they are 0.66 and 0.63, respectively, and the false negative counts are 48 for Harness and 49 for voting. Success on coma shows that precise reconstruction can occur in this setup. The larger cases show how sensitive that result is to the target graph.

#### Follow performance as the graphs grow

The paper’s size plots arrange scores against reference edge count, with companion plots against node count. It reports an overall decline, with occasional stronger cases among networks of similar size. The authors single out sids, which has 17 nodes and 27 edges, as the beginning of a range where F-scores are generally low in their experiments. The result is a pattern across the tested instances. It does not give a sharp size threshold at which every future network would become unsuitable.

The chart below uses GPT-4 with the voting method to show how macro F-score changes across the scored networks. The labels follow the reference edge counts used in the paper’s comparison. Including smaller and larger networks in the same series makes the exceptions visible along with the decline.

GPT-4 voting macro F-score across Bayesian networks ordered by reference edge count The smaller graphs include the strongest reconstructions, with a local rise at covid before lower scores on the larger networks.

**The numbers**

| System or setting | macro F-score |
| --- | --- |
| coma (this paper) | 1 |
| agro | 0.62 |
| sperm | 0.77 |
| screen | 0.59 |
| covid | 0.82 |
| sids | 0.54 |
| apple | 0.63 |
| hailfinder | 0.5 |
| urinary | 0.52 |
| hepar2 | 0.53 |

In the detailed GPT-4 results, the error counts show why a large graph can receive a weak score without an especially long list of false links. On hepar2, Harness has 7 false positives and 121 false negatives. Voting has 5 false positives and 118 false negatives. On urinary, the corresponding counts are 5 false positives and 101 false negatives for Harness, and 6 false positives and 102 false negatives for voting. Missing edges make the larger contribution in each case. The mean advantage of voting with GPT-4 therefore does little to change the central problem visible in these networks.

The authors describe macro F-scores for graphs with more than 60 edges as approaching the level they associate with random guessing across the tested combinations. The main benchmark compares Harness and voting and reports their scores against the published structures. The random-guessing wording is the authors’ interpretation of the low scores, rather than the outcome of a separate comparison with a chance-based procedure. The false negative counts provide the direct evidence for the broader conclusion that the methods have difficulty covering the larger structures.

### What the ablations show

#### Changing the number of experts

The principal controlled comparison varies the number of profiles in the proposed method. The authors run it with odd panel sizes from 1 to 9 on the networks that remain after screening. They compare the mean normalized SHD obtained with the corresponding profiles. With a single profile, the elicitation and structured response steps still apply, but the returned graph reflects one expert’s edge list. With multiple profiles, retaining an edge depends on agreement across lists. This puts the role of aggregation under direct examination within the new procedure.

The authors report that panels of three or more generally give lower mean normalized SHD than a single expert. They find no panel size that is best throughout the experiment. That combination of findings matters. It is possible to gain from having several attempts at the same graph without benefiting every time another profile is included. Additional votes can preserve a useful agreement when some experts disagree, but changes in the panel can also remove support from a correct arrow or reinforce a shared mistake.

For the main method comparison, the authors fix the panel at 7. They explain the choice as a way to engage a substantial set of opinions while keeping enough combinations to study how the selected profiles affect the output. The paper reports 36 combinations. This design gives the comparison a common panel size across networks. Its justification is experimental convenience and variety, with the profile-count analysis showing that the setting is one reasonable choice among the sizes studied.

The experiment varies the size of a role-based panel. It does not isolate the effect of role diversity from the effect of collecting multiple outputs. A comparison against several runs with identical role instructions would address a different question: how much of the improvement comes specifically from assigning different experience descriptions? The observed panel-size effect supports using multiple proposals in the studied setup. The statistical comparison with Harness concerns the complete voting method.

#### Measuring how much experts disagree

The authors also compare expert proposals directly. For the apple network they show pairwise normalized distances between structures generated by 9 GPT-4 experts. Some pairs of experts produce noticeably different graphs from the same inputs. This comparison measures disagreement between proposals. It uses the reference edge count for scale, while the two graphs being compared are expert outputs. The experiment therefore examines the diversity available to the vote separately from the quality of its final prediction.

Across the retained networks, GPT-3.5 has a mean pairwise normalized SHD of 0.6 between individual expert proposals. Llama2 has a mean of 0.45, and GPT-4 has a mean of 0.37. GPT-3.5 gives the most variable proposals on average in this analysis. GPT-4’s proposals tend to be more alike, while particular cases still show substantial disagreement. For instance, the GPT-4 mean pairwise normalized distance on apple is 0.63. On sperm it is 0.09.

The ordering helps explain why the authors examine profile combinations. A panel can change the final answer only when the proposals differ on edges near the retention threshold. Pairwise distance establishes that there are genuine differences for the vote to resolve. It does not show whether those differences come from complementary expertise, missed relations, inconsistent naming, or conflicting causal judgments. Measuring correctness against the reference and measuring disagreement between experts answer distinct questions.

The evidence also cautions against reading variability alone as a measure of panel quality. GPT-3.5 has the largest mean disagreement and the clearest improvement in the paired comparison with Harness. GPT-4 has the smallest mean disagreement and the lowest overall voting distance. Llama2 falls between them on disagreement while recording a higher mean distance with voting than with Harness. In this setup, diversity supplies material for aggregation. The scores depend on which proposals are correct and on whether correct directions get enough votes.

#### Test whether plausible inventories can be invented

To interpret the contamination responses, the authors also ask about papers that do not exist. These probes let them see how the systems respond when a title supplies plausible domain information but there is no published network to retrieve. GPT-3.5 and Llama2 still produce variable lists in much the same way that they do for real source titles. A fabricated paper about severe freezing during road construction, for instance, elicits factors related to weather and construction. The title gives enough clues for a coherent answer even though it cannot identify an actual reference inventory.

GPT-4 is more hesitant in the reported examples. It flags the lack of a reliable source and separates hypothetical variable suggestions from claims about the named paper. That behavior explains some of the zero entries in the node screen, where the authors treated expressly hypothetical suggestions as no recovered inventory. It means the screening results also reflect how willing the system is to claim that an answer came from the stated source. The fabricated titles demonstrate this difference in behavior without measuring the full sensitivity of the screening procedure.

The authors give more weight to exact public labels and substantial recovery of a specific graph than to thematic plausibility. The fictitious-source comparison supports that interpretation of the evidence. Ordinary domain knowledge can account for a convincing answer in general terms. Recovering several repository-specific labels is a stronger clue, especially when the follow-up recovers some directed edges as well. The authors use the combination to make conservative choices about which benchmarks to include.

#### Inspect graph failures behind the scores

The cycle analysis covers a kind of error that a distance alone cannot diagnose. The authors report an average of 15.6 cycles with GPT-3.5 under the proposed method, compared with 1.2 with Harness, across the evaluated networks. For Llama2, the reported averages are 0.6 with the proposed method and 0 with Harness. GPT-4 has the same reported averages of 0.6 and 0 for the respective procedures. These counts describe cycles generated in the elicitation process. The additional correction prompt handles cases with opposed directions between two nodes.

The error is unevenly distributed. In the proposed method’s GPT-3.5 runs, the cycle table reports 60 for screen and 49 for sperm. It reports 0 for hailfinder and urinary. Thus the networks with the largest reference edge counts are not necessarily the ones that produce the most reciprocal conflicts. The analysis helps distinguish one burden of the proposed prompt procedure from the broad scalability trend. Graphs can lose accuracy with size because reference edges go missing, even in runs with few recorded direction conflicts.

The authors give examples where a response departs from the allowed variable inventory. An expert profile for urinary mentions urinary tract infection. A Llama2 response then uses that concept as a node and connects many supplied factors to it, although that node was absent from the list for the task. This is more than a spelling discrepancy. A string matcher can frequently reconcile variants of the same label, but a newly introduced outcome changes the network the system is producing. The example traces one way profile information can affect the substance of a graph as well as the style of its reasoning.

Other cases expose different failure modes. A GPT-4 conversation assigned a medical ethics profile declines to determine the direct relationships in urinary, and the procedure records an empty list. In hailfinder, a Llama2 example turns a series of factors into a chain that largely follows their presentation order. The chain supplies many formatted arrows while giving little evidence of the more selective analysis the prompt sought. These examples show why the study inspects both the structured output and the conversation that led to it. Similar edge errors can arise from refusal, substitution of the wrong variables, or an unsuitable pattern of reasoning.

### Limitations

#### Limits stated by the authors

The authors limit their claims to the tested releases of GPT-3.5, GPT-4, and Llama2. They point to newer systems, including Llama 3 and GPT-4o, as possible ways to accommodate prompts that exceeded the available context. They also report that they did not use task-specific [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/). The experiments consequently characterize the prompted behavior of the systems available to them, without testing how training on Bayesian network structures would change that behavior.

Input clarity is a substantive limitation in the authors’ discussion. Benchmark variables arrive with the names chosen for their original use. Those names may make sense to the people who built a network or to software that simply reads a data column. They may supply too little meaning for eliciting a causal graph in language. In a new application, the authors suggest that a domain specialist could specify the variable definitions, relevant area of knowledge, and desired expert profiles. This study gives the facilitator responsibility for generating the profiles and uses prompted clarification for the variables. It does not measure the effect of supplying all those definitions and roles through human expertise.

The authors distinguish capacity for a long input from capacity for detailed causal analysis. A larger context can make it possible to send a request that previously exceeded the limit. The failures on inputs that fit suggest a further problem. The systems still have to keep the meanings of many variables in view and decide which possible links are direct. The authors interpret the large false negative counts as evidence that prominent relationships are easier to identify than all the required ones. Their experiments establish the coverage problem in the studied procedures. They leave open how much additional context, different prompts, or task-specific training might help.

Network availability limits the size comparison as well. The authors found the largest reusable reference graphs in a public repository, while the less familiar graphs came from application papers that tended to make smaller structures accessible. Size, source, domain, and label conventions therefore vary together across parts of the benchmark. The project demonstrates trouble at the upper end of its collection, but it lacks a set of matched small and large versions of the same network that could isolate the effect of size.

#### Limits visible in the experimental design

The screening procedure supplies evidence of possible exposure without access to a training record. Successful recovery is especially suggestive when the response reproduces unusual labels and some graph structure. Failure to recover them can reflect weak recall, the phrasing of the cue, or caution about what the system is willing to claim. The retained graphs are best understood as cases with weak evidence of familiarity under these prompts. The method cannot certify that the material was absent during training, and excluding alarm and insurance narrows the benchmark using the evidence the authors were able to gather.

The reference graphs also define correctness operationally. An arrow is credited if it matches the established direction and endpoints of the published network. A domain expert might make a defensible argument for a different edge under a different choice of assumptions, but the comparison scores it against the published structure. That is appropriate for asking how well the procedure reconstructs an existing graph. It leaves a separate question about whether a newly elicited graph would be judged adequate by domain experts or perform well for its intended application.

The proposed workflow uses extra opportunities to reason and several sets of responses, while Harness uses a single continuing conversation. The paired test shows how the complete procedures perform in the experiment. It does not determine whether an observed improvement comes from profile diversity, repeated generation, the voting rule, or a combination of those factors. It also does not establish which method would do better given equal numbers of requests. The study’s choice of Harness keeps the baseline feasible on the network-level task, while leaving pairwise and triplet methods outside the quantitative comparison.

Output handling introduces another boundary on interpretation. Some responses can be parsed directly, some require matching slightly altered names, and some require manual judgment about unfamiliar endpoints. A refusal becomes an empty proposal. Reciprocal directions can trigger an extra request. These steps are part of the tested workflow and affect the edge lists that reach evaluation. The paper gives concrete examples of them, but the comparison does not measure how much each repair contributes to the reported scores or how reliably the process could run without manual inspection.

Likewise, the aggregate vote establishes support for individual arrows. A full Bayesian network requires an acyclic graph, and checking the final structure for that property is a separate operation from counting support. The described reciprocal-pair correction leaves open how to handle longer cycles among otherwise well-supported edges. The experiments evaluate structural resemblance to reference graphs and discuss cycles in the outputs. They do not establish that the voting rule by itself guarantees a valid graph for every panel.

Finally, the evaluation ends with the graph. It does not estimate the conditional probabilities needed to use a Bayesian network for prediction or inference. It therefore supplies no downstream measurement of how the missing and extra edges would affect decisions made with a completed network. A short graph with a good structural score and a larger graph with many absent links can be compared on reconstruction using these results. Their usefulness for a particular probabilistic task would require its own assessment.

### What came after

No later citing studies are available to trace how this method was taken up. The paper itself identifies several extensions, each directed at a problem that emerged in the experiments. It leaves their outcomes open.

For large graphs, the authors propose eliciting structures over smaller sets of variables, repeating the procedure until every possible pair has occurred together in a request. This would change where the reasoning burden falls. A conversation could concentrate on a shorter inventory, while a later stage would have to reconcile decisions made across overlapping groups. The idea speaks directly to the distinction between fitting the whole prompt and reasoning carefully about the relationships it contains. The study reports no comparison of this partitioned approach against eliciting the graph in one request.

For the expert panel, the authors suggest allowing participants to discuss their initial judgments before asking each to reconsider independently. That would bring the method closer to the Delphi practice that inspired it. A specialist’s explanation could bring an overlooked relationship to the others’ attention, while agreement after discussion might also reflect common influence. The observed differences among individual outputs motivate testing an exchange of reasons. They do not tell us whether discussion would improve the final graph or make experts more alike without improving their accuracy.

The authors also propose training specifically for structure elicitation using existing Bayesian networks. Their results supply concrete behaviors that such a study could measure, including coverage of reference edges, reliable use of the supplied variable names, and agreement with the required direction of each link. The familiarity test would remain relevant because good reconstruction of a known graph can be difficult to distinguish from recall. The open question is whether a system trained or prompted differently can preserve detail on larger networks whose particular structures it has no demonstrated access to.

## Cite

Cite as Nikolay Babakov, Ehud Reiter and Alberto Bugarín. 2025. Scalability of Bayesian Network Structure Elicitation with Large Language Models: a Novel Methodology and Comparative Analysis. Proceedings of the 31st International Conference on Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{babakov2025scalability,
  title = {{Scalability of Bayesian Network Structure Elicitation with Large Language Models: a Novel Methodology and Comparative Analysis}},
  author = {Nikolay Babakov, Ehud Reiter and Alberto Bugarín},
  booktitle = {Proceedings of the 31st International Conference on Computational Linguistics},
  year = {2025},
  url = {https://aclanthology.org/2025.coling-main.713/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
