Probing the Multi-turn Planning Capabilities of LLMs via 20 Question Games

Yizhe Zhang, Jiarui Lu, Navdeep Jaitly

TL;DR

This paper introduces the Entity-Deduction Arena (EDA), a benchmark based on the game "20 Questions" to evaluate the multi-turn planning and strategic reasoning of Large Language Models (LLMs). The researchers found that while GPT-4 significantly outperforms human players, smaller open-source models struggle with consistency and planning—though these weaknesses can be mitigated through Behavior Cloning and Reinforcement Learning.

What Problem Does This Paper Address?

While LLMs excel at answering direct questions, they often stumble when faced with ambiguous queries that require proactive clarification. Building an agent that can resolve ambiguity requires more than just pattern matching; it demands state tracking (remembering what has been ruled out), strategic planning (choosing questions that maximize information gain), and inductive reasoning (narrowing down a taxonomy of possibilities).

Directly measuring these "inner" conversational capabilities is difficult. The authors propose the "20 Questions" game as a perfect surrogate task: to win, an agent must efficiently partition a massive search space using a limited number of queries, mirroring the challenges of real-world conversational search and task-oriented chatbots.

Methods

The authors established a framework where two players interact:

  1. The Judge (J): Usually a high-performing model like GPT-3.5-turbo, which knows the secret entity and responds only with "Yes," "No," or "Maybe."
  2. The Guesser (G): The LLM being evaluated, which must deduce the entity in as few turns as possible (up to 20).

To improve weaker models, they explored two main training techniques:

  • Behavior Cloning (BC): Fine-tuning open-source models (like Vicuna) on successful game trajectories generated by a "teacher" model (GPT-3.5).
  • Reinforcement Learning from Game-play (RLGP): Using Proximal Policy Optimization (PPO) to train models through direct self-play against the Judge. Models were rewarded for winning games and for receiving "Yes" answers, which serve as a proxy for progress.

They also used Dialog State Probing to peek under the hood, asking the models to list their "top 5 guesses" before each question to see how their internal search space evolved.

Datasets

The study introduced two new datasets for the EDA benchmark:

  • Things: 500 common entities (animals, tools, foods, etc.) found in web corpora.
  • Celebrities: 500 famous individuals across 32 nationalities and various eras.
  • Human Baseline: A subset of 30 items from each dataset was used to test 108 human volunteers, providing a point of comparison for the AI models.

Key Insights and Ideas

  • The Binary Search Strategy: Strong models like GPT-4 naturally adopt a strategy akin to a binary search tree. They start with high-level, broad questions (e.g., "Is it a living entity?") to halve the search space before diving into specifics.
  • Failure Modes of Weaker Models: The authors identified three distinct ways smaller models fail, as illustrated in the gameplay examples:
  • Early Enumeration: Guessing specific items too early without narrowing the category.
  • Redundancy: Asking questions that provide no new information relative to previous turns.
  • Inconsistency: Asking questions that contradict earlier answers (e.g., asking if it's a "game console" after being told it's not for entertainment).
Figure 1: The entity deducing game resembles real scenarios where the agent may need to make strategic decisions regarding the clarification question to be asked based on the current conversation to elicit the actual user intent in as few turns as possible.
  • Planning vs. Reasoning: Through ablation studies, the authors found that planning (choosing the right question) is a more significant bottleneck than reasoning (making the final guess). A model that follows a strong planning trajectory but has a weak final guesser still performs better than a strong guesser following a poor plan.
  • Tacit Knowledge Advantage: LLMs often outperform humans because they possess a "superior level of knowledge," allowing them to ask highly specific technical questions that a human might not think of or know the answer to.

Key Results

The benchmarking results (summarized in the table below) show a clear hierarchy in performance.

Benchmark results of various LLMs on EDA datasets
  • GPT-4 is the Champion: It achieved the highest scores and success rates, notably outperforming human players on both the "Things" and "Celebrities" datasets.
  • Humans vs. AI: On the 30-item subset, GPT-4 achieved a ~50% success rate on Things, while humans managed only ~24%.
  • Training Works: Behavior Cloning (V-FT) improved the Vicuna 7B model's score by over 70%. Reinforcement Learning (V-RLGP) was even more effective, allowing the Vicuna 13B model to match the performance of GPT-3.5 on the "Things" dataset.

Limitations and Future Work

  • Noisy Judges: The authors noted that even GPT-3.5 as a judge has an error rate of ~3%, which can lead to "noisy" environments that confuse the guesser.
  • Absorbing States: Weaker models often get stuck in repetitive loops or "absorbing states" where they repeat the same question or pattern until they run out of turns.
  • Generalization: While RLGP improved performance on the training domain ("Things"), the gains were more modest when the model was tested on an out-of-domain dataset ("Celebrities").
  • Future Direction: The authors suggest exploring Chain-of-Thought (CoT) prompting to see if explicit internal reasoning can further boost planning capabilities.

Summary updated

Abstract

Large language models (LLMs) are effective at answering questions that are clearly asked. However, when faced with ambiguous queries they can act unpredictably and produce incorrect outputs. This underscores the need for the development of intelligent agents capable of asking clarification questions to resolve ambiguities effectively. This capability requires complex understanding, state tracking, reasoning and planning over multiple conversational turns. However, directly measuring this can be challenging. In this paper, we offer a surrogate problem which assesses an LLMs's capability to deduce an entity unknown to itself, but revealed to a judge, by asking the judge a series of queries. This \textit{entity-deducing game} can serve as an evaluation framework to probe the conversational reasoning and planning capabilities of language models. We systematically evaluate various LLMs and discover significant differences in their performance on this task. We find that strong LLMs like GPT-4 outperform human players by a large margin. We further employ Behavior Cloning (BC) to examine whether a weaker model is capable of imitating a stronger model and generalizing to data or domains, using only the demonstrations from a stronger model. We finally propose to use Reinforcement Learning to enhance reasoning and planning capacity of Vicuna models through episodes of game playing, which lead to significant performance improvement. We hope that this problem offers insights into how autonomous agents could be trained to behave more intelligently in ambiguous circumstances.
BibTeX
@inproceedings{zhang2024probing,
  author = {Yizhe Zhang and Jiarui Lu and Navdeep Jaitly},
  title = {{Probing the Multi-turn Planning Capabilities of LLMs via 20 Question Games}},
  booktitle = {AGI @ ICLR},
  year = {2024},
  url = {https://openreview.net/forum?id=dhy1NBeusb},
}
Figure