arXiv cs.AI· Linus Filbry, Luckeciano C. Melo, Yarin Gal·· 13 小时前AI 评分38
LLM 智能体能否在上下文中完成贝叶斯推理?一项系统性评估
From Prompts to Posteriors: Can LLM Agents Perform Bayesian Inference in Context?
AI 导读
研究系统评估了 LLM 在上下文中进行贝叶斯信念更新的能力,发现模型普遍违反贝叶斯规则。但配备现代推理能力与代码执行能力后,性能大幅提升,甚至能近似解析上难以处理的后验分布。作者认为,具备合适工具的当前 LLM 已可用于科学发现中的复杂信念更新。
正文 · 原文
Abstract:Large language models (LLMs) are increasingly applied across the scientific discovery pipeline, from synthesizing literature to generating hypotheses to informing experimental design. A unifying principle behind these tasks is the need to continuously update beliefs as evidence accumulates, for which Bayesian inference provides a natural framework. However, existing work assumes that LLMs cannot carry out principled Bayesian belief updating in context, instead relying on simplifications and heuristics. To challenge this assumption, we present a principled evaluation of Bayesian reasoning capabilities in LLMs, analyzing both the model's internal consistency as well as its ability to recover an externally determined posterior. Specifically, we build an evaluation framework spanning qualitative epistemological examples to probe probabilistic coherence, quantitative benchmarks of Bayesian inference capabilities, and analyses of the impact of non-Bayesian updates on downstream task performance. Across different scenarios, we find that LLMs generally violate Bayes' rule when updating their beliefs in context. However, when equipped with modern reasoning abilities and code execution capabilities, their performance drastically improves, enabling even the close approximation of analytically intractable posteriors. Our evaluation shows that current LLMs with access to appropriate tools could already be used to make complex belief updates in scientific discovery, enabling rapid acceleration of the efficiency and scale of AI-powered scientific discovery.
| Comments: | 10 pages, 6 figures in main text |
| Subjects: | Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.29331 [cs.AI] |
| (or arXiv:2610.29331v1 [cs.AI] for this version) | |
| https://doi.org/10.48550/arXiv.2610.29331 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Linus Filbry [view email]
[v1]
Wed, 21 Oct 2026 07:29:24 UTC (5,517 KB)
来源:arXiv cs.AI · arxiv.org