Bayesian Fine-tuning Yields Language Models that are as Bayesian as their Beliefs Allow
Polina Tsvilodub, Andreas Waldis, Linlu Qiu, Tal Linzen, Michael Franke
Abstract
Language models (LMs) are increasingly used for tasks that require reasoning about hidden variables from a few observations, for which Bayesian inference is the normatively correct solution. While supervised fine-tuning of an LM on the outputs of an optimal model leads to near-Bayesian behavior, standard supervised fine-tuning (SFT) on the true answers for the task falls short of it. But behavior alone does not tell us tuning on a or an (true answers) signal differs: whether the resulting LM represents Bayesian beliefs, acts on them, or turns them into a choice the way Bayes' rule does. To compare them, we formulate increasingly demanding requirements for an LM to count as a Bayesian decision maker, spanning its behavior, representations, and computations, and test them on a flight recommendation task. The Bayes-trained LM acts Bayesian, encodes quantities of Bayes' rule in its middle layers, and uses the encoded belief for the recommendation to a certain extent. The oracle-trained LM differs from it both in the beliefs it holds and whether it reads beliefs out into recommendations. Exchanging beliefs between the LMs transfers a part of the Bayesian advantage. Bayes fine-tuning thus installs usable Bayesian beliefs in an LM for reasoning under uncertainty in a way standard SFT on oracle answers cannot, highlighting the advantage of nuanced supervision.
Create a lesson
Metadata
- Comments
- under review, 27 pages, 25 figures
Related papers
Fine-Tuning Without Gradients? Closed-Form, LLM-Written Classifiers on a Frozen Encoder
Shared title terminologycs.CLMd Nasir Uddin, Musa Tur Farazi, Soumik Bhattacharjee et al.
SkillCore: Internalizing Generalizable Skills via Scaffolding-Removed Fine-Tuning
Shared title terminologycs.CLYi Liu, Changqing Ai, Peijie Dong et al.
LLM-as-Jev: LLMs Are Already Jev-Style Decision Models -- When and How to Fine-Tune Them
Shared title terminologycs.CLYinheng Li, Justin Wagle
No Model Required: Text Entropy Rate Filtering Mitigates Iterative Fine-Tuning Collapse
Shared title terminologycs.CLLewis Mitchell
Comparison of techniques for fine-tuning open-weight models for entity extraction from radiology reports
Shared title terminologycs.CLAawez Mansuri, Kush Mehta, Mohammadreza Chavoshi et al.
Enhancing Biomedical Named Entity Recognition via Multiple Programming Languages Instruction Tuning and Ensemble Method
Shared title terminologycs.CLSongtao Li, Yijia Zhang, Jianyuan Yuan et al.