BED-LLM: Intelligent Information Gathering with LLMs and Bayesian Experimental Design

arXiv stat.ML / 4/22/2026

💬 OpinionIdeas & Deep AnalysisModels & Research

Key Points

  • The paper introduces BED-LLM, a method that lets large language models (LLMs) adaptively collect information through sequential Bayesian experimental design.
  • BED-LLM repeatedly selects the next question/query to maximize expected information gain (EIG) about a user-defined variable of interest, using prior responses.
  • The approach models and estimates EIG in a principled way by leveraging probabilistic structures derived from the LLM’s predictive distributions, including guidance on construction and updating.
  • Experiments show substantial performance gains on tasks inspired by the 20 Questions game and on actively inferring user preferences, outperforming prompt-only generation and other adaptive strategies.

Abstract

We propose a general-purpose approach for improving the ability of large language models (LLMs) to intelligently and adaptively gather information from a user or other external source using the framework of sequential Bayesian experimental design (BED). This enables LLMs to act as effective multi-turn conversational agents and interactively interface with external environments. Our approach, which we call BED-LLM (Bayesian experimental design with large language models), is based on iteratively choosing questions or queries that maximize the expected information gain (EIG) with respect to a variable of interest given the responses gathered previously. We show how this EIG can be formulated (and then estimated) in a principled way using a probabilistic model derived from the LLM's predictive distributions and provide detailed insights into key decisions in its construction and updating procedure. We find that BED-LLM achieves substantial gains in performance across a wide range of tests based on the 20 Questions game and using the LLM to actively infer user preferences, compared to purely prompting-based design generation and other adaptive design strategies.