NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Uncertainty of Thoughts: Uncertainty-Aware Planning Enhances Information Seeking in Large Language Models

Zhiyuan Hu, Chumin Liu, Xidong Feng, Yilun Zhao, See-Kiong Ng, Anh Tuan Luu, Junxian He, Pang Wei Koh, Bryan Hooi · OpenReview

Abstract

In the face of uncertainty, the ability to seek information is of fundamental importance. In many practical applications, such as medical diagnosis and troubleshooting, the information needed to solve the task is not initially given and has to be actively sought by asking follow-up questions (for example, a doctor asking a patient for more details about their symptoms). In this work, we introduce Uncertainty of Thoughts (UoT), an algorithm to augment large language models with the ability to actively seek information by asking effective questions. UoT combines 1) an uncertainty-aware simulation approach which enables the model to simulate possible future scenarios and how likely they are to occur, 2) uncertainty-based rewards motivated by information gain which incentivizes the model to seek information, and 3) a reward propagation scheme to select the optimal question to ask in a way that maximizes the expected reward. In experiments on medical diagnosis, troubleshooting, and the 20 Questions game, UoT achieves an average performance improvement of 38.1% in the rate of successful task completion across multiple LLMs compared with direct prompting and also improves efficiency (i.e., the number of questions needed to complete the task).

Introduction

While Large Language Models (LLMs) have become remarkably good at reasoning over provided information using techniques like Chain-of-Thought, they often struggle in "active" settings where the necessary information isn't initially available. In scenarios like medical diagnosis or technical troubleshooting, a model must act like a doctor, asking targeted questions to narrow down possibilities from an initial state of ignorance.

An example of active information seeking in a medical diagnosis dialogue where a doctor asks targeted questions to narrow down symptoms.

Standard LLMs tend to be overconfident or ask irrelevant, overly specific questions too early. Existing planning methods like Tree-of-Thoughts (ToT) focus on finding a path to a solution based on known facts but lack a mechanism to value the reduction of uncertainty. This paper addresses the gap in active information seeking—the ability of an agent to recognize what it doesn't know and ask the right questions to find out.

Methodology

The authors propose the Uncertainty of Thoughts (UoT) framework, a plug-and-play algorithm consisting of three main components:

The Uncertainty of Thoughts (UoT) framework, illustrating the process of question generation, uncertainty-based reward calculation, and reward propagation.
  1. Question Generation & Multistep Simulation: Instead of asking the first question that comes to mind, the LLM generates several candidate questions. It then "imagines" a tree of possible futures, simulating how an answerer might respond and what follow-up questions might be needed.
  2. Uncertainty-Based Rewards: The model calculates Information Gain based on Shannon entropy. It rewards questions that most effectively "partition" the space of possibilities. A question that splits the remaining candidates 50/50 is highly rewarded, while a question that only eliminates a single rare possibility is penalized. They also introduce a scaling hyperparameter ($\lambda$) to "sharpen" these rewards, discouraging questions that are too specific too early.
  3. Reward Propagation: To account for long-term benefits, the model uses a propagation scheme. It calculates the "Expected Reward" for each candidate question by looking at the potential information gain across the entire simulated tree, not just the immediate next step.

Experimental Evaluation

The authors evaluated UoT across three distinct tasks using five datasets:

  • 20 Questions: Using the Common and Things datasets.
  • Medical Diagnosis: Using the DX and MedDG datasets.
  • Troubleshooting: Using the FloDial dataset for car and laptop faults.

The method proved effective across a variety of models, from open-source models like Llama-3-70B to proprietary giants like GPT-4 and Claude-3-Opus.

Key Results and Insights

  • Performance Boost: UoT improved the success rate of LLMs by an average of 38.1% compared to direct prompting. On the 20 Questions "Things" dataset, UoT achieved a 37.5% success rate, while standard GPT-4 only managed 16.5%.
  • Efficiency Gains: In medical diagnosis (DX dataset), UoT with GPT-4 achieved a 97.0% success rate and reduced the average number of questions needed to reach a diagnosis compared to baseline methods.
  • The "Halving" Heuristic: The math of Information Gain naturally pushes the model toward a "binary search" strategy—asking questions that halve the search space. This is much more efficient than the "shotgun" approach often seen in standard prompting.
  • Plug-and-Play Generality: UoT is not tied to a specific model and consistently beat other advanced reasoning frameworks like Tree-of-Thoughts (ToT) and Reflexion.

Conclusion

Uncertainty of Thoughts demonstrates that LLMs perform significantly better when forced to quantify their own uncertainty. By maintaining a possibility space and simulating future information gain, UoT transforms passive reasoners into active, efficient information seekers. Future work will focus on handling probabilistic, overlapping symptom sets and reducing the computational cost associated with multi-path simulations.

Summary updated

BibTeX
@inproceedings{hu2024uncertainty,
  author = {Zhiyuan Hu and Chumin Liu and Xidong Feng and Yilun Zhao and See-Kiong Ng and Anh Tuan Luu and Junxian He and Pang Wei Koh and Bryan Hooi},
  title = {{Uncertainty of Thoughts: Uncertainty-Aware Planning Enhances Information Seeking in Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=CVpuVe1N22},
}
Figure