Bayesian teaching enables probabilistic reasoning in large language models
Linlu Qiu, Fei Sha, Kelsey R. Allen, Yoon Kim, Tal Linzen, Sjoerd van Steenkiste
Massachusetts Institute of Technology · Menlo School
Key points
From the paper's conclusion- 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.
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. LLMs fail to update beliefs in a Bayesian way but can be taught to do so by mimicking a normative Bayesian model. This training yields better predictions and transferable reasoning skills across tasks.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- From Prompts to Posteriors: Can LLM Agents Perform Bayesian Inference in Context?arXiv · 2026
- Diagnosing and Improving Probabilistic Reasoning in Large Language ModelsarXiv · 2026
- Bayesian Belief Layer for Controllable Opinion Dynamics in LLM AgentsarXiv · 2026
- Amortizing Sequential Experimental Design in Reasoning LLMsarXiv · 2026
- Learning What to Ask and What to Believe: Distilling a Variational Bayesian Agent into Language ModelsarXiv · 2026
- Machine psychology for language models.Science advances · 2026