English

Bayesian Teaching Enables Probabilistic Reasoning in Large Language Models

Computation and Language 2026-01-16 v3 Artificial Intelligence

Abstract

Large language models (LLMs) are increasingly used as agents that interact with users and with the world. To do so successfully, LLMs must construct representations of the world and form probabilistic beliefs about them. To provide personalized recommendations, for example, the LLM needs to infer a user's preferences from their behavior over multiple interactions. The Bayesian inference framework lays out the optimal way for an agent to update its beliefs as it receives new information. We first show that LLMs fall far short of the standard defined by the Bayesian framework. We then show that by teaching LLMs to mimic the predictions of the normative Bayesian model, we can dramatically improve their ability to update their beliefs; this ability generalizes to new tasks. We conclude that LLMs can effectively learn reasoning skills from examples and generalize those skills to new domains.

Keywords

Cite

@article{arxiv.2503.17523,
  title  = {Bayesian Teaching Enables Probabilistic Reasoning in Large Language Models},
  author = {Linlu Qiu and Fei Sha and Kelsey Allen and Yoon Kim and Tal Linzen and Sjoerd van Steenkiste},
  journal= {arXiv preprint arXiv:2503.17523},
  year   = {2026}
}

Comments

Nature Communications

R2 v1 2026-06-28T22:30:28.702Z