Bayesian Uncertainty Propagation for Agentic RAG Pipelines: A Proof-of-Concept Study on Multi-Hop Question Answering
Summary
This paper presents a Bayesian uncertainty propagation framework for Agentic RAG systems, evaluating it on multi-hop QA benchmarks with GPT models, showing promise for monitoring reliability in industrial decision support.
View Cached Full Text
Cached at: 07/02/26, 05:41 AM
# Bayesian Uncertainty Propagation for Agentic RAG Pipelines: A Proof-of-Concept Study on Multi-Hop Question Answering
Source: [https://arxiv.org/html/2607.00972](https://arxiv.org/html/2607.00972)
11institutetext:University of Hull, Hull HU6 7RX, UK
11email:l\.donaldson\-2020@hull\.ac\.uk###### Abstract
Trustworthy deployment of Agentic Retrieval\-Augmented Generation \(RAG\) systems requires mechanisms for estimating when multi\-stage reasoning pipelines may fail\. This paper presents an uncertainty\-aware Agentic Retrieval\-Augmented Generation \(RAG\) framework in which planner, evaluator and generator stages produce uncertainty signals derived from semantic divergence and generator self\-evaluation\. These signals are propagated through a Bayesian Network \(BN\) to estimate system\-level uncertainty and provide node\-level indicators of potential failure points across the workflow\. The approach is evaluated on StrategyQA and HotpotQA using GPT\-3\.5\-Turbo and GPT\-4\.1\-Nano, with Area Under the Receiver Operating Characteristic Curve \(AUROC\), Area Under the Accuracy\-Rejection Curve \(AUARC\), Expected Calibration Error \(ECE\), and Brier Score used to assess discrimination, selective prediction and calibration\. Results show that Bayesian propagation is more effective on HotpotQA, where uncertainty accumulates across multi\-hop reasoning stages, while StrategyQA exposes limitations caused by miscalibration and unreliable upstream signals\. The study positions Bayesian uncertainty propagation as a promising but preliminary mechanism for monitoring Agentic RAG systems, with future validation required in industrial domains such as Offshore Wind \(OSW\) maintenance decision support\.
AI\-Enabled Industrial Decision Support Systems
## 1Introduction
AsLarge Language Models \(LLMs\)become increasingly integrated into industrial workflows, their ability to automate routine tasks and provide human\-understandable interpretations of complex data has the potential to improve operational efficiency across a wide range of sectors\. As confidence in these systems grows, they are expected to play increasingly important roles in business\-critical processes\. One potential application area isOffshore Wind \(OSW\)maintenance scheduling, where increasing turbine complexity and expanding wind farm capacity require the interpretation of large volumes of operational data to support maintenance planning\. Recent work has demonstrated the potential ofLLM\-based decision\-support and safety monitoring within this domain, while also highlighting the need for reliable run\-time monitoring and trustworthy uncertainty estimation\[[16](https://arxiv.org/html/2607.00972#bib.bib28)\]\.
### 1\.1Background and Motivation
The adoption ofLLMswithin specialised domains is accompanied by significant challenges regarding transparency, reliability and trust\. In healthcare, the inability to inspect the reasoning process behind generated recommendations may affect clinical decision making and patient safety, while privacy considerations further complicate deployment\[[13](https://arxiv.org/html/2607.00972#bib.bib5),[1](https://arxiv.org/html/2607.00972#bib.bib2)\]\. Similar concerns arise in finance and legal applications, where opaque reasoning makes regulatory compliance and decision auditing difficult\[[1](https://arxiv.org/html/2607.00972#bib.bib2),[13](https://arxiv.org/html/2607.00972#bib.bib5)\]\. In scheduling, manufacturing andPredictive Maintenance \(PdM\), operators often require understandable explanations before trusting automated decisions, yet conventional black\-box models provide limited insight into the reasoning behind their outputs\[[13](https://arxiv.org/html/2607.00972#bib.bib5),[20](https://arxiv.org/html/2607.00972#bib.bib9),[9](https://arxiv.org/html/2607.00972#bib.bib10)\]\.
Retrieval\-Augmented Generation \(RAG\)partially addresses these limitations by grounding generated responses in retrieved knowledge sources, allowing supporting evidence to be inspected and verified by human operators\[[2](https://arxiv.org/html/2607.00972#bib.bib4),[3](https://arxiv.org/html/2607.00972#bib.bib8),[15](https://arxiv.org/html/2607.00972#bib.bib29)\]\. Hybrid andMulti\-Agent Architectures \(MAAs\)further improve reasoning by decomposing complex tasks across specialised agents or combiningLLMreasoning with domain\-specific models, producing more interpretable reasoning workflows\[[8](https://arxiv.org/html/2607.00972#bib.bib6),[19](https://arxiv.org/html/2607.00972#bib.bib7)\]\. In parallel, prompting paradigms such as ReAct and context engineering improve reasoning consistency through external tool use and structured contextual guidance\[[1](https://arxiv.org/html/2607.00972#bib.bib2),[14](https://arxiv.org/html/2607.00972#bib.bib3)\]\.
Although these approaches improve reasoning quality and interpretability, they do not explicitly model how uncertainty propagates across sequential reasoning stages\. In multi\-agentRAGpipelines, uncertainty introduced during planning, retrieval or evaluation may influence downstream decisions and ultimately affect the reliability of the final response\. This motivates the development of lightweight uncertainty propagation methods capable of monitoring confidence throughout the reasoning workflow\. The contributions of this paper are threefold:
1. 1\.We propose a lightweight uncertainty\-aware monitoring architecture for AgenticRAGsystems, where Planner, Evaluator and Generator agents produce complementary uncertainty signals during multi\-stage reasoning\.
2. 2\.We introduce aBayesian Network \(BN\)\-based uncertainty propagation model that combines node\-level uncertainty estimates into an interpretable system\-level confidence estimate capable of indicating which stages contribute most to system\-level uncertainty\.
3. 3\.We present a proof\-of\-concept empirical evaluation on the StrategyQA and HotpotQA multi\-hop question answering benchmarks using GPT\-3\.5\-Turbo and GPT\-4\.1\-Nano, demonstrating the strengths and limitations of Bayesian uncertainty propagation across multiple uncertainty evaluation metrics, includingArea Under the Receiver Operating Characteristic Curve \(AUROC\),Area Under the Accuracy\-Rejection Curve \(AUARC\),Expected Calibration Error \(ECE\)and Brier Score\.
## 2Methodology on Uncertainty Quantification
AgenticRAGsystems operate as sequential decision\-making processes that can be modelled as aPartially Observable Markov Decision Process \(POMDP\)\[[12](https://arxiv.org/html/2607.00972#bib.bib19)\]\. Because each stage depends on previous decisions, uncertainty introduced during planning, retrieval or evaluation may propagate through the workflow, leading to cascading errors and semantic drift\. Consequently, reliable uncertainty quantification is required to monitor confidence throughout multi\-stage reasoning\.
### 2\.1Token\-level Entropy
Also referred to as naive entropy, it represents the uncertainty of aLLMat the level of individual word\-pieces or characters during the text generation process\[[5](https://arxiv.org/html/2607.00972#bib.bib20)\]\. In autoregressive models, this uncertainty is derived from the softmax probability distribution over all possible next tokens in the model’s vocabulary\. Given an inputxxand model parametersθ\\theta, the predictive distributions of the outputyycan be written aspθ\(y\|x\)p\_\{\\theta\}\(y\|x\), and for a generated sequence of outputsy=\(z1,…,zL\)y=\(z\_\{1\},\.\.\.,z\_\{L\}\)with lengthLL, the probability can be decomposed into conditional token probabilities:
pθ\(y∣x\)=∏t=1Lpθ\(zt∣z<t,x\)p\_\{\\theta\}\(y\\mid x\)=\\prod\_\{t=1\}^\{L\}p\_\{\\theta\}\(z\_\{t\}\\mid z\_\{<t\},x\)\(1\)Taking the logarithm to yield the log probability of the sequence and applying length normalisation to ensure a fair comparison between different response lengths, this can be computed as:
si=1Li∑t=1Lilogpθ\(zt∣z<t,x\)s\_\{i\}=\\frac\{1\}\{L\_\{i\}\}\\sum\_\{t=1\}^\{L\_\{i\}\}\\log p\_\{\\theta\}\(z\_\{t\}\\mid z\_\{<t\},x\)\(2\)which is then transformed into a feature of confidence denoted asqi=exp\(si\)q\_\{i\}=exp\(s\_\{i\}\)\. This allows the probability of uncertainty to be estimated as
P\(Xi=success\|qi\)=fcal\(qi\)P\(X\_\{i\}=success\|q\_\{i\}\)=f\_\{\\textbf\{cal\}\}\(q\_\{i\}\)
wherefcalf\_\{\\textbf\{cal\}\}denotes a calibration function estimated using runs\. This value is then incorporated into theBNas probabilistic evidence\.
Although naive entropy metrics are not direct indicators of the truthfulness of model outputs, in multi\-agent systems, they can be used to parameterise the Prior Probabilities of nodes in aBN\. They can act as local confidence estimates that are transformed into bounded features and then propagated through theBNto understand how the uncertainty accumulates across workflow stages\.
The use of logprobs in this system is utilised for the Generator node using the P\(True\) self\-evaluation approach\. This is a supervised "in\-context" uncertainty estimation to evaluate the truthfulness of its own outputs\[[5](https://arxiv.org/html/2607.00972#bib.bib20)\]\. Once theRAGpipeline has finished executing and produced an answer, it is then posed a further question "Are you sure that the answer provided is correct?" to which it can only reply with a single token \(true/false or yes/no\)\. The confidence score, or P\(True\) is the probability that the model assigns to the affirmative token\[[5](https://arxiv.org/html/2607.00972#bib.bib20)\]\.
### 2\.2Semantic Divergence
Also referred to as "semantic drift", can occur during iterative retrieval processes\. As an agent autonomously reformulates its search queries across multiple steps, it can gradually diverge from the original information requirement\[[12](https://arxiv.org/html/2607.00972#bib.bib19)\]\. Because AgenticRAGsystems utilise a sequential decision process, minor deviation in early steps can compound across iterations, leading to "reasoning collapse" and unnecessary computational costs\[[12](https://arxiv.org/html/2607.00972#bib.bib19)\]\. Semantic divergence can be used as a metric to identify confabulations; hallucinations that are both arbitrary and semantically misaligned with the input context\[[7](https://arxiv.org/html/2607.00972#bib.bib21)\]\.
#### 2\.2\.1Theoretical Foundations
The Semantic Divergence formulation in this paper is motivated by the UProp framework of Duan et al,\.\[[4](https://arxiv.org/html/2607.00972#bib.bib26)\], which decomposes sequential decision uncertainty intoIntrinsic Uncertainty \(IU\)andExtrinsic Uncertainty \(EU\)\. In UProp,EUat stepttis estimated via thePointwise Mutual Information \(PMI\)between the current step’s decision distribution and each preceding step’s committed decision:
PMI^\(yt;yt−1\(k\)∣x\)=−log∑n=1NKN\(d\(yt−1\(n\),yt−1\(k\)\)\)\\widehat\{\\text\{PMI\}\}\(y\_\{t\};\\,y^\{\(k\)\}\_\{t\-1\}\\mid x\)\\;=\\;\-\\log\\sum\_\{n=1\}^\{N\}K\_\{N\}\\\!\\left\(d\\\!\\left\(y^\{\(n\)\}\_\{t\-1\},\\,y^\{\(k\)\}\_\{t\-1\}\\right\)\\right\)\(3\)
whereKNK\_\{N\}is a Gaussian kernel applied to the fuzzy string distanceddbetween theNNsamples at stept−1t\{\-\}1and the committed decisionyt−1\(k\)y^\{\(k\)\}\_\{t\-1\}\. Semantic Divergence instantiates an analogous measurement within each node, replacing the Gaussian kernel over string distances with the Wasserstein distance between the committed output distribution and the re\-sampled output distribution in a projected embedding space\. Both metrics measure the spread of the decision distribution around the committed trajectory point; Semantic Divergence therefore provides a per\-nodeIUestimate that is directly comparable to UProp’s PMI\-basedEUaccumulation\.
#### 2\.2\.2Comparison with Semantic Entropy
Semantic Entropy \(SE\)\[[10](https://arxiv.org/html/2607.00972#bib.bib27)\]clustersKKsamples by semantic equivalence and computes Shannon entropy over the resulting cluster distribution:
SE=−∑cp\(c\)logp\(c\)\\text\{SE\}\\;=\\;\-\\sum\_\{c\}p\(c\)\\log p\(c\)\(4\)
SEmeasures uncertainty by clustering multiple sampled outputs according to semantic equivalence and computing the entropy of the resulting distribution\. To prevent repeatedJavaScript Object Notation \(JSON\)outputs collapsing into a singleSEcluster, this paper proposes the use of semantic divergence to anchor measurements to the committed output rather than measuring within\-sample spread\.
### 2\.3Bayesian Networks
In thisMulti\-Agent System \(MAS\)approach,BNsare used to represent uncertainty propagation by modelling the dependencies between agents\. Each stage of the workflow is modelled as a node, and the dependencies of each node are captured through directed edges\. A combination of semantic\-divergence scores and token\-level log\-probabilities are used to quantify uncertainty at each node, which is then propagated through theBNto quantify the overall uncertainty level\.
BNsare probabilistic graphical models that represent conditional dependencies between random variables using directed acyclic graphs\[[11](https://arxiv.org/html/2607.00972#bib.bib15)\]\. LetX=\{X1,…,Xn\}X=\\\{X\_\{1\},\.\.\.,X\_\{n\}\\\}denote the workflow tasks, whereX1X\_\{1\},X2X\_\{2\}andX3X\_\{3\}correspond to the Planner, Evaluator and Generator agents respectively\.
P\(X1,…,Xn\)=∏i=1nP\(Xi\|Pa\(Xi\)\)P\(X\_\{1\},\.\.\.,X\_\{n\}\)=\\prod\_\{i=1\}^\{n\}P\(X\_\{i\}\|\\mathrm\{Pa\}\(X\_\{i\}\)\)\(5\)
wherePa\(Xi\)Pa\(X\_\{i\}\)denotes the set of parent nodes ofXiX\_\{i\}\. The correspondingConditional Probability Table \(CPT\)specifies the conditional probability of each node given its parents\. Within the proposed AgenticRAGframework, each node represents the uncertainty state of the AgenticRAGstage, with confidence scores parameterising the prior probability according toP=\(Xi=success\)=c\(yi\)P=\(X\_\{i\}=success\)=c\(y\_\{i\}\)\.
Figure 1:AgenticRAGpipeline withBNuncertainty propagation used to flag/accept/abstain answers based on Overall OK/FAIL\.TheBNrepresentation used in this study represents an abstracted execution trace of the workflow rather than the full control logic of the Agentic system\. Temporal modelling does not extend further than parent\-child dependencies, nor is there any task priority or repeated executions, feedback loops or iterative cycles\. If the Evaluator deems there is insufficient evidence to produce a confident answer, the final accepted cycle is used as evidence for the corresponding node\.
For the Overall node that relies on preceding steps in the workflow, the confidence scores contribute to theCPT\. As seen in Table[1](https://arxiv.org/html/2607.00972#S2.T1)the relationship between Overall and its parent nodes is characterised for this study as a deterministic OR gate\. This implies that Overall is FAIL when one node in the pipeline is uncertain or FAIL\. The threshold for determining a FAIL or OK in this study is set at 0\.5 \(or 50 %\)\. If an uncertainty value of a node exceeds this, it is considered a FAIL\. Using a deterministic OR gate in this study is intended to test if the simplification of the uncertainty propagation behaviour throughout an AgenticRAGpipeline is a viable method to quantify the overall uncertainty of responses and lead to detection of possible hallucinations or confabulations\.
Table 1:CPTforOverallunder a deterministic OR gate\.New evidence is also included in the network and the posterior probabilities are updated alongside the workflow run\. The interpretability of theBNsgraphical structure makes it possible to identify which components can contribute most to the overall uncertainty\.
The objective of performing probabilistic inference, once theBNstructure andCPTsare defined, is to estimate posterior probabilities across the workflow\. The objective of this is to determine how uncertainty in each node affects the reliability of the final workflow outcome\.
## 3Experiments & Results
In this section, we provide the experimental setup and discuss the performance of multi\-step reasoning benchmarks including StrategyQA\[[6](https://arxiv.org/html/2607.00972#bib.bib22)\]and HotpotQA\[[17](https://arxiv.org/html/2607.00972#bib.bib23)\]\. These multi\-hop, question\-answering benchmarks were chosen due to their popularity and academic presence\. In these,LLMsare tasked with answering questions that require multi\-hop reasoning where each action will provide a keyword or phrase request to a Wikipedia engine for retrieval using aReasoning and Acting \(ReAct\)\[[18](https://arxiv.org/html/2607.00972#bib.bib24)\]methodology\. Both benchmark experiments are run with 200 randomly sampled questions\.
In this study we use commercialLLMsprovided by OpenAI, GPT\-3\.5\-Turbo and GPT\-4\.1\-Nano\. For the generative hyper\-parameters, we assign the Planner and Generator agents a temperature of 0\.2, the Evaluator a temperature of 0\.8 with a maximum number of new tokens as 256\. By default the per\-step sample number ofNNis set to 10\.
As an indicative comparison from the aforementioned benchmarks, we are using UProp’s\[[4](https://arxiv.org/html/2607.00972#bib.bib26)\]AUROCscores as an external reference for the results produced in the approach proposed in this study\.
Table 2:AUROCresults per node andBNposterior \(Overall\) across benchmarks\. Bold denotes the bestBNscore per row\.AUROC\>\>0\.5 indicates better\-than\-random discrimination\.As shown in Table[2](https://arxiv.org/html/2607.00972#S3.T2), theAUROCresults demonstrate contrasting behaviour across the two benchmarks\. On StrategyQA, the Generator provides the strongest individual uncertainty signal, while the Planner and Evaluator perform close to random, limiting the effectiveness of Bayesian uncertainty propagation\. Consequently, the OverallBNremains below the UProp baseline for GPT\-3\.5\-Turbo, although it exceeds the baseline for GPT\-4\.1\-Nano\. In contrast, all nodes achieve above random discrimination on HotpotQA, and the OverallBNbecomes competitive with UProp, exceeding the baseline for GPT\-4\.1\-Nano while remaining only slightly below it for GPT\-3\.5\-Turbo\. These results suggest that Bayesian uncertainty propagation is most effective when uncertainty accumulates across multiple reasoning stages\.
Table 3:AUARCresults across benchmarks\. Higher values indicate greater improvement in accuracy under selective prediction\. Bold denotes the highestAUARCvalue in each row\.TheAUARCresults presented in Table[3](https://arxiv.org/html/2607.00972#S3.T3)complement theAUROCanalysis by evaluating selective prediction performance\. On StrategyQA, the Generator provides the strongest individual uncertainty estimate, indicating that P\(True\) self\-evaluation is sufficient for effective selective prediction on the simpler benchmark\. In contrast, the OverallBNachieves the highestAUARCon HotpotQA, suggesting that combining uncertainty across multiple pipeline stages becomes increasingly beneficial as reasoning complexity increases\. AlthoughAUARCdecreases on HotpotQA despite improvedAUROC, this likely reflects the substantially lower baseline accuracy of the benchmark, illustrating that discrimination quality and selective prediction utility capture different aspects of uncertainty estimation\.
Table 4:ECEacross benchmarks, per node and theBNposterior \(Overall\)\. Lower values indicate better calibration\. Bold denotes the best ECE score in each row\.TheECEresults presented in Table[4](https://arxiv.org/html/2607.00972#S3.T4)indicate that calibration is strongly benchmark dependent\. On StrategyQA, the OverallBNsubstantially overestimates failure probability, suggesting that the deterministic OR gate propagates conservative uncertainty estimates even when the models answer correctly\. In contrast, calibration improves considerably on HotpotQA, where the higher task difficulty aligns more closely with theBNsuncertainty estimates\. On HotpotQA, the Generator remains the strongest individual uncertainty signal, though its calibration is weaker than the Planner’s and Evaluator’s on StrategyQA\. The calibration of the Evaluator node itself is inconsistent across benchmarks, reinforcing the Generator node uncertainty signal is the most reliable source at identifying failures, if not yet calibrated in absolute terms\.
Table 5:Brier Score across benchmarks, per node and theBNposterior \(Overall\)\. Lower values indicate better probabilistic accuracy\. The random baseline is 0\.25; values below this indicate better\-than\-random calibration\. Bold denotes the best Brier Score in each row\.The Brier Score results presented in Table[5](https://arxiv.org/html/2607.00972#S3.T5)reinforce the calibration trends observed in theECEanalysis\. StrategyQA exhibits poor probabilistic calibration, reflecting a systematic mismatch between predicted and observed failure probabilities\. In contrast, the OverallBNachieves substantially improved Brier Scores on HotpotQA, demonstrating that its probability estimates become more accurate as task complexity increases\. Together, theECEand Brier Score results indicate that the proposed Bayesian uncertainty propagation framework produces better calibrated confidence estimates when the underlying uncertainty better reflects the true difficulty of the reasoning task\.
## 4Evaluation
### 4\.1Does the Bayesian Network Add Value Over Individual Nodes?
The evaluation demonstrates that the benefit of Bayesian uncertainty propagation depends on the reliability of the uncertainty signals being combined\. On HotpotQA, the OverallBNconsistently outperforms the individual pipeline nodes, indicating that propagating uncertainty across multiple reasoning stages provides additional predictive value\. In contrast, StrategyQA is dominated by the Generator uncertainty signal, suggesting that propagating weaker Planner and Evaluator signals can reduce overall performance and the use of P\(True\) self\-evaluation techniques for the Generator node alone is sufficient for simpler queries to predict uncertainty\. This behaviour highlights a limitation of the deterministic OR gate, which treats all uncertainty signals equally and cannot down\-weight unreliable upstream nodes\.
### 4\.2Does Task Complexity Affect Uncertainty Propagation?
The results indicate that task complexity has a substantial influence on the effectiveness of Bayesian uncertainty propagation\. Compared with StrategyQA, HotpotQA exhibits stronger discrimination and calibration performance, suggesting that uncertainty estimates become more informative when reasoning requires multiple retrieval and reasoning stages\. Although selective prediction performance decreases on HotpotQA, this is likely a consequence of the benchmark’s substantially lower baseline accuracy rather than poorer uncertainty estimation\. Overall, these findings suggest that uncertainty propagation provides the greatest benefit when uncertainty accumulates throughout multi\-step reasoning\.
### 4\.3Calibration Versus Discrimination Trade\-off
The experiments demonstrate a clear trade\-off between discrimination and calibration that depends on task difficulty\. While theBNprovides stronger calibration on HotpotQA, StrategyQA reveals a tendency to overestimate failure probability, reflecting the conservative behaviour introduced by the deterministic OR gate\. This conservatism is undesirable for well\-calibrated probability estimation on simpler tasks but may be advantageous in safety\-critical settings, where failing to identify an incorrect response is often more costly than issuing unnecessary warnings\. Consequently, although the current framework requires improved calibration for general purpose applications, its risk\-averse behaviour may be well suited to industrial decision support domains such asOSWmaintenance scheduling\.
### 4\.4Limitations
There are three principal limitations that constrain the generalisability of the current results\. First is that the deterministic OR gate cannot adapt to benchmark\-specific node reliability\. As demonstrated in Table[2](https://arxiv.org/html/2607.00972#S3.T2), the Planner and Evaluator nodes show below\-randomAUROCscores on StrategyQA yet are weighted equally to the Generator in the OR gate, introducing noise into the Overall posterior and contributes to the below\-UPropAUROCvalues on that benchmark \(with GPT\-4\.1\-Nano OverallAUROCas the exception\)\. A noisy\-OR parametrisation with learned inhibition parameters would address this issue by down\-weighting nodes whose signals are empirically unreliable\. This represents the most impactful architectural improvement available within the existing framework\.
Secondly, the P\(True\) self\-evaluation signal exhibits systematic conservatism, as the Generator assigns high uncertainty scores across a wide range of answers\. This produces strongAUROCbut poor Brier Score on StrategyQA\. Using approaches such as post\-hoc calibration with isotonic regression or Platt scaling fitted on a held\-out validation set would allow the decoupling of the discriminatory quality from the calibration quality\. This would be expected to drastically improve Brier Score on StrategyQA without degradingAUROCscores\.
The third limitation is that the Wikipedia retrieval environment used in both benchmarks for this study differs from the knowledge bases that would be used inOSWmaintenance scheduling applications\. Uncertainty signals would behave differently in domain\-specific settings and the current results should be interpreted as a proof\-of\-concept on publicly available multi\-hop benchmarks rather than a direct validation of performance in the targeted industrial domain\.
## 5Conclusion
This paper presented a lightweight uncertainty\-aware AgenticRAGframework in which per\-node uncertainty signals derived from Wasserstein semantic divergence and P\(True\) self\-evaluation are propagated through aBNto estimate system\-level confidence\. The framework was evaluated on the StrategyQA and HotpotQA multi\-hop reasoning benchmarks using GPT\-3\.5\-Turbo and GPT\-4\.1\-Nano acrossAUROC,AUARC,ECEand Brier Score\. The proposed architecture provides a modular and computationally lightweight mechanism for monitoring uncertainty within multi\-stage reasoning pipelines\.
The experimental results demonstrate that Bayesian uncertainty propagation is most effective on tasks requiring genuine multi\-hop reasoning, where uncertainty accumulates across multiple reasoning stages\. While the Generator node’s P\(True\) self\-evaluation approach consistently provides the strongest individual uncertainty signal, combining uncertainty across pipeline stages improves overall performance on the more challenging benchmark\. These findings support Bayesian uncertainty propagation as a promising approach for run\-time uncertainty monitoring in AgenticRAGsystems while also highlighting the importance of reliable upstream uncertainty estimates\.
The current framework remains limited by the deterministic OR gate, conservative P\(True\) calibration and evaluation on general purpose question\-answering benchmarks rather than industrial data\. Future work will investigate adaptive Bayesian structures, improved calibration techniques and validation using domain\-specific retrieval corpora, includingOSWmaintenance decision support scenarios\.
## Data and Code Availability
The datasets used in this article are publicly available and the code produced for this study, including the Agentic RAG pipeline, Bayesian Network inference scripts, and evaluation notebooks, is publicly available at:
https://github\.com/LouisDonaldson/BN\-Uncertainty\-Propagation\.git
## References
- \[1\]A\. Bilal, D\. Ebert, and B\. Lin\(2025\)LLMs for explainable ai: a comprehensive survey\.arXiv\.org\.External Links:[Link](https://arxiv.org/abs/2504.00125)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p1.1),[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p2.1)\.
- \[2\]H\. DENG, B\. Namoano, B\. ZHENG, S\. Khan, and J\. Ahmet Erkoyuncu\(2024\-06\)From prediction to prescription: large language model agent for context\-aware maintenance decision support\.PHM Society European Conference8,pp\. 10\.External Links:[Document](https://dx.doi.org/10.36001/phme.2024.v8i1.4114)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p2.1)\.
- \[3\]S\. Dogra, M\. Erras, C\. Farrell\-Morris, C\. Maple, P\. Hairs, W\. McCahon, T\. Niven, B\. Thornely, and L\. Zitani\(2025\-04\)Generative ai in action: opportunities & risk management in financial services january 2025\.parliament\.uk\.External Links:[Link](https://committees.parliament.uk/writtenevidence/140284/pdf/)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p2.1)\.
- \[4\]J\. Duan, J\. Diffenderfer, S\. Madireddy, T\. Chen, B\. Kailkhura, and K\. Xu\(2025\)UProp: investigating the uncertainty propagation of llms in multi\-step agentic decision\-making\.arXiv\.org\.External Links:[Link](https://arxiv.org/abs/2506.17419)Cited by:[§2\.2\.1](https://arxiv.org/html/2607.00972#S2.SS2.SSS1.p1.1),[§3](https://arxiv.org/html/2607.00972#S3.p3.1)\.
- \[5\]S\. Farquhar, J\. Kossen, L\. Kuhn, and Y\. Gal\(2024\-06\)Detecting hallucinations in large language models using semantic entropy\.Nature630,pp\. 625–630\.External Links:[Document](https://dx.doi.org/10.1038/s41586-024-07421-0),[Link](https://www.nature.com/articles/s41586-024-07421-0#Sec2)Cited by:[§2\.1](https://arxiv.org/html/2607.00972#S2.SS1.p1.6),[§2\.1](https://arxiv.org/html/2607.00972#S2.SS1.p4.1)\.
- \[6\]M\. Geva, D\. Khashabi, E\. Segal, T\. Khot, D\. Roth, and J\. Berant\(2021\-01\)Did aristotle use a laptop? a question answering benchmark with implicit reasoning strategies\.arXiv \(Cornell University\)\.External Links:[Document](https://dx.doi.org/10.48550/arxiv.2101.02235)Cited by:[§3](https://arxiv.org/html/2607.00972#S3.p1.1)\.
- \[7\]I\. Halperin\(2025\)Prompt\-response semantic divergence metrics for faithfulness hallucination and misalignment detection in large language models\.arXiv\.org\.External Links:[Link](https://arxiv.org/abs/2508.10192)Cited by:[§2\.2](https://arxiv.org/html/2607.00972#S2.SS2.p1.1)\.
- \[8\]C\. Harbola and A\. Purwar\(2025\)Prescriptive agents based on rag for automated maintenance \(param\)\.arXiv\.org\.External Links:[Link](https://arxiv.org/abs/2508.04714)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p2.1)\.
- \[9\]P\. Hughes, S\. Perinpanayagam, and P\. Ball\(2025\)Cost\-efficiency and cost\-effectiveness of xai in predictive maintenance\.IEEE Access13,pp\. 151664–151670\.External Links:[Document](https://dx.doi.org/10.1109/access.2025.3601385)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p1.1)\.
- \[10\]L\. Kuhn, Y\. Gal, and S\. Farquhar\(2023\)Semantic uncertainty: linguistic invariances for uncertainty estimation in natural language generation\.\.arXiv\.org\.External Links:[Link](https://arxiv.org/abs/2302.09664)Cited by:[§2\.2\.2](https://arxiv.org/html/2607.00972#S2.SS2.SSS2.p1.1)\.
- \[11\]Z\. Liu and Y\. Liu\(2019\-05\)A bayesian network based method for reliability analysis of subsea blowout preventer control system\.Journal of Loss Prevention in the Process Industries59,pp\. 44–53\.External Links:[Document](https://dx.doi.org/10.1016/j.jlp.2019.03.004)Cited by:[§2\.3](https://arxiv.org/html/2607.00972#S2.SS3.p2.4)\.
- \[12\]S\. Mishra, S\. Niroula, U\. Yadav, D\. Thakur, S\. Gyawali, and S\. Gaire\(2026\)SoK: agentic retrieval\-augmented generation \(rag\): taxonomy, architectures, evaluation, and research directions\.arXiv\.org\.External Links:[Link](https://arxiv.org/abs/2603.07379)Cited by:[§2\.2](https://arxiv.org/html/2607.00972#S2.SS2.p1.1),[§2](https://arxiv.org/html/2607.00972#S2.p1.1)\.
- \[13\]C\. Powell and A\. Riccardi\(2025\-04\)Generating textual explanations for scheduling systems leveraging the reasoning capabilities of large language models\.Journal of Intelligent Information Systems63,pp\. 1287–1337\.External Links:[Document](https://dx.doi.org/10.1007/s10844-025-00940-w)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p1.1)\.
- \[14\]S\. Venkatachalam\(2025\)Integrating large language models with network optimization for interactive and explainable supply chain planning: a real\-world case study\.arXiv\.org\.External Links:[Link](https://arxiv.org/abs/2508.21622)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p2.1)\.
- \[15\]C\. Walker, K\. Aslansefat, M\. N\. Akram, and Y\. Papadopoulos\(2025\)RAGuard: a novel approach for in\-context safe retrieval augmented generation for llms\.arXiv preprint arXiv:2509\.03768\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2509.03768),2509\.03768,[Link](https://arxiv.org/abs/2509.03768)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p2.1)\.
- \[16\]C\. Walker, C\. Rothon, K\. Aslansefat, Y\. Papadopoulos, and N\. Dethlefs\(2024\)SafeLLM: domain\-specific safety monitoring for large language models: a case study of offshore wind maintenance\.arXiv preprint arXiv:2410\.10852\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2410.10852),2410\.10852,[Link](https://arxiv.org/abs/2410.10852)Cited by:[§1](https://arxiv.org/html/2607.00972#S1.p1.1)\.
- \[17\]Z\. Yang, P\. Qi, S\. Zhang, Y\. Bengio, W\. W\. Cohen, R\. Salakhutdinov, and C\. D\. Manning\(2018\-09\)HotpotQA: a dataset for diverse, explainable multi\-hop question answering\.arXiv:1809\.09600 \[cs\]\.External Links:[Link](https://arxiv.org/abs/1809.09600)Cited by:[§3](https://arxiv.org/html/2607.00972#S3.p1.1)\.
- \[18\]S\. Yao, J\. Zhao, D\. Yu, N\. Du, I\. Shafran, K\. Narasimhan, and Y\. Cao\(2023\-03\)ReAct: synergizing reasoning and acting in language models\.arXiv\.org\.External Links:[Document](https://dx.doi.org/10.48550/arXiv.2210.03629),[Link](https://arxiv.org/abs/2210.03629)Cited by:[§3](https://arxiv.org/html/2607.00972#S3.p1.1)\.
- \[19\]X\. Yuan, Q\. Huang, M\. Guo, H\. Ma, M\. Xu, Z\. Liu, and X\. He\(2025\)Towards next\-generation intelligent maintenance: collaborative fusion of large and small models\.arXiv\.org\.External Links:[Link](https://arxiv.org/abs/2506.05854)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p2.1)\.
- \[20\]L\. Zhang, C\. Zhao, Q\. Gao, X\. Zhao, G\. Bai, and J\. Lv\(2026\)DScheLLM: enabling dynamic scheduling through a fine\-tuned dual\-system large language model\.arXiv\.org\.External Links:[Link](https://arxiv.org/abs/2601.09100)Cited by:[§1\.1](https://arxiv.org/html/2607.00972#S1.SS1.p1.1)\.Similar Articles
AB-RAG: Adaptive Budgeted Retrieval-Augmented Generation for Reliable Question Answering
AB-RAG is a training-free, backbone-agnostic framework that adaptively retrieves passages for question answering by estimating answer confidence, improving efficiency and accuracy across multiple backbones and datasets.
ReliableRAG: Combating Misinformation in Retrieval-Augmented Generation via Reliability-Guided Reasoning Chains
ReliableRAG is a reliability-driven framework designed to combat misinformation in Retrieval-Augmented Generation systems for multi-hop question answering by evaluating fine-grained information triples to ensure accurate and faithful answers.
Certified Uncertainty Propagation in One-Shot Federated Bayesian Models via Posterior Event Transport
This paper presents a framework for deploying consistent safety certificates in one-shot federated Bayesian models by propagating local posterior events through aggregation rules, specifically for Federated Averaging.
EverydayGPT: Confidence-Gated Routing for Efficient and Safe Hybrid GPT-RAG Conversational QA
EverydayGPT introduces Confidence-Gated Routing (CGR), a mechanism that per query decides whether to use RAG, direct GPT generation, or refusal, achieving 120x latency reduction on 85% of queries while maintaining answer quality, as demonstrated on a 500-question benchmark.
Balancing Reasoning and Hardware Constraints in RAG Pipelines for Ukrainian Multi-Domain Document Understanding
This paper presents a resource-efficient RAG pipeline for Ukrainian multi-domain document understanding in the UNLP 2026 Shared Task, balancing reasoning depth with hardware constraints to achieve a 10th place ranking.