Bayesian Graphical Memory for Active Evidence Retrieval in Large Language Models
Abstract
Equipping large language models (LLMs) with external knowledge through retrieval-augmented generation (RAG) has become standard for knowledge-intensive reasoning. Yet prevailing vector- and graph-based retrieval pipelines organize external corpora via semantic similarity or deterministic entity-relation links. Lacking an explicit joint probability distribution over task variables, such systems struggle to exploit statistical dependencies across historical records or to judge which missing observations matter most under partial observability. In this paper, we introduce a retrieval-augmented reasoning framework grounded in updatable Bayesian graphical memory. Our approach abstracts recurring task variables and discrete states from historical records into a Bayesian network that explicitly captures conditional dependencies. Given a query with incomplete evidence, the framework performs Bayesian inference to estimate target posteriors, measures predictive uncertainty via posterior entropy, and prioritizes unobserved candidate evidence by expected information gain. Observed evidence, inferred posteriors, and uncertainty summaries are then fused with the textual input to guide LLM prediction. Evaluations across six LLMs demonstrate consistent improvements over vector- and graph-based baselines in predictive accuracy, retrieval efficiency, and continual memory updating.
Create a lesson
Related papers
D-ACR: Dialogue-Aware Context Retrieval for Long-Term Conversational Memory
Shared title terminologycs.AINayoung Choi, Jonathan Zhang, Jinho D. Choi
Who Is in the Image? Benchmarking Any Identity Anonymization in Multimodal Large Language Models
Shared title terminologycs.AISimone Caldarella, Matteo Farina, Rahaf Aljundi et al.
Prompt-Induced Residual Trajectories: A Schema-Free Framework for Latent Dimension Discovery with Large Language Models
Shared title terminologycs.AIFrancesco Corielli
Hybridizing Large Language Models and Ontologies for the Automated Generation of XR Learning Scenarios
Shared title terminologycs.AIGabrielle Caneval, Alex Gabriel
Multilingual Bulls & Cows: Large Language Models Play Worse Than a Simple Algorithmic Policy
Shared title terminologycs.AIDmitrii Khizbullin, David R. Pugh
Benchmarking Small Language Models for Legal Retrieval-Augmented Generation: Structural Validity, Citation Compliance, and Inference Efficiency
Shared title terminologycs.AIBhavya Yajush Awasthi, Amit Khaparde