cs.LGOct 31, 2026

Learning What to Ask and What to Believe: Distilling a Variational Bayesian Agent into Language Models

Authors: Baichuan Li, Yanling Chang, Alfredo Garcia

Organizations: Southern Methodist University · University of Virginia

Abstract

Interactive tasks such as eliciting a user's preferences or diagnosing a hidden mechanism require an agent to track its uncertainty over a latent state, ask informative questions and act on the answers. Language models have no explicit mechanism for this, whereas Bayesian information seeking provides one through posterior inference and expected information gain (EIG), and we ask whether it can be distilled into an 8B language model. Our teacher, a lightweight Bayesian agent with a sequential variational belief and EIG query selection, matches or approaches exact and particle references on three task families. We generate synthetic interactions with the teacher on episodes disjoint from the benchmark and fine-tune \Student{} to reproduce its queries and its belief state as a structured scratchpad. On three Multi-Turn Puzzles tasks the student raises Circuit Decoding from 0.00 to 0.93 success, lowers the normalized rank of the recommended film from 0.50 to 0.10 and cuts word guessing from 32 to 3.4 attempts, exceeding the strongest reported language models on the two comparable tasks. Exposing the belief state closes much of the gap where the decision is an implicit computation rather than a read-out of the interaction; in matched teacher contrasts, EIG supervision consistently outperforms random querying, whereas greater inference fidelity does not uniformly improve the distilled student; a 70B language-model teacher does not match the Bayesian teacher in downstream student performance, and the learned skill does not transfer to an unseen task family. Variational Bayesian information seeking can thus be amortized into a language model by transferring the belief state that drives its questions and decisions.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Bayesian Fine-tuning Yields Language Models that are as Bayesian as their Beliefs Allow

    Sep 30, 2026Polina Tsvilodub, Andreas Waldis, Linlu Qiu +2Fine-TuningLLM Fine-Tuning

  2. Amortising Bayesian Experimental Design for Sequential Information Gathering in LLMs

    Jul 3, 2026Jakob Hartmann, James Harvey, Jhonathan Navott +5RL for Language ModelsAmortized Inference