TL;DR
Playing "Twenty Questions" isn't just a road-trip pastime—it’s a clean mathematical abstraction for high-stakes diagnostic tasks like medical triage and cybersecurity incident response. While existing AI approaches assume every possible answer is equally likely (optimizing for the average case), this paper introduces Game of Thought (GoT), which treats the task as a competitive game against an adversary to guarantee strong worst-case performance. By blending LLM creativity with poker-style game solvers, GoT builds questioning strategies that refuse to be tripped up by rare, high-stakes edge cases.
What Problem Does This Paper Address?
Imagine an AI assisting an ER doctor or a car mechanic. It needs to narrow down a list of possible conditions by asking sequential Yes/No questions (or running binary diagnostic tests).
Recent LLM tree-search methods—most notably Uncertainty of Thoughts (UoT)—tackle this by picking questions that split the remaining possibilities as evenly as possible. However, UoT makes a quiet, dangerous assumption: that the hidden target item was chosen uniformly at random. In the real world, probability priors over diseases, mechanical faults, or cyberattacks are rarely uniform, often unknown, and sometimes actively adversarial. Optimizing for the average case leaves you vulnerable to catastrophic delays in the worst case. The authors ask: how can we get LLMs to ask natural-language questions that minimize the worst-case number of turns without relying on fragile assumptions about how likely each item is?
Methods
First, the authors formalize an adversarial version of Twenty Questions called Strategic Language Search (SLS). They frame it as a two-player, zero-sum extensive-form game (a game tree with hidden information, much like poker): an Item Chooser secretly picks an item to maximize the number of questions needed, while the Questioner asks Yes/No questions to minimize it. They also introduce a Weighted variant, where delaying the discovery of critical items (like a life-threatening illness) carries a heavier penalty.
Because natural language offers an infinite menu of questions, solving the full game is impossible. To make it tractable, the authors restrict the action space to $m$ LLM-generated candidate questions per turn and propose Game of Thought (GoT), an online framework inspired by superhuman poker AIs:
- Depth-Limited Simulation: At the current turn, an LLM proposes $m$ candidate questions and acts as an oracle to simulate Yes/No outcomes for $d$ steps ahead (matching the exact LLM call budget of UoT).
- Translation to Subgame: The simulation tree is converted into an extensive-form game. Crucially, GoT uses safe subgame search: it lets the imaginary adversary "re-choose" a worst-case item distribution at every step, preventing local shortcuts that hurt global guarantees. Leaves are scored using a heuristic ($\log_2$ of the remaining items).
- Game Solving: An off-the-shelf Counterfactual Regret Minimization (CFR) solver computes an approximate Nash Equilibrium—an optimal, randomized strategy.
- Action Selection: GoT samples the next question from that probability distribution, gets the real answer, and repeats until only one item remains.
Datasets
Because GoT evaluates exact worst-case bounds over known hypothesis spaces, no model training is involved. Evaluation spans five distinct item sets:
- General 20Q: Common (136 everyday items adapted from UoT), Breeds (25 cat and dog breeds), and S128 (128 items spanning weapons, scientists, dishes, and animals).
- Medical Diagnosis (DX): 100 diseases randomly sampled from the existing DXBench dataset, where the LLM acts as a doctor asking about symptoms.
- Troubleshooting (FD): 59 unique car faults extracted from the FloDial dataset, casting the LLM as a mechanic diagnosing a customer's vehicle.
Key Insights and Ideas
- Randomness is a strategic shield: If your questioning order is deterministic, Murphy's Law (or a real attacker) can pick the exact item your decision tree isolates last. Mixing up questions probabilistically via a Nash Equilibrium mathematically caps your worst-case exposure.
- The "adversary" is just a mathematical device: GoT doesn't assume patients or cars are out to trick you. Positing an adversary is simply a distribution-free trick to guarantee robustness when true real-world priors are messy or unavailable.
- Information gain is blind to urgency: Standard entropy-maximizing search (like UoT) loves 50/50 splits. In weighted settings, that instinct backfires—splitting 100 items 50/50 is often much worse than asking a targeted question that immediately rules out a rare, fatal condition.
- Robustness comes nearly for free: Because LLM latency dominates runtime, running a CFR game solver on a small subgame adds virtually zero computational overhead compared to UoT, and sacrifices almost nothing in average-case speed.
Key Results
Across both GPT-4.1 and Qwen-2.5-72B-Instruct, GoT consistently beats pure prompting (Direct Prompting, Direct Choice) and search baselines (UoT, MCTS-based MISQ) on worst-case turn counts:
- Unweighted Worst-Case: On GPT-4.1, GoT lowers worst-case turns compared to UoT across all five benchmarks—for example, dropping Breeds from 9.0 to 7.4, FD from 9.0 to 7.9, and DX from 13.0 to 12.2 (statistically significant across 10 runs at $p < 0.05$). Pure prompting lagged far behind (e.g., 16.8 turns on DX).
- Weighted Worst-Case: GoT's lead widens dramatically when items have importance weights. On GPT-4.1, GoT slashes UoT's worst-case weighted cost from 227.4 down to 152.1 on Common, and from 110.0 down to 78.3 on DX.
- Average-Case Trade-off: Under realistic disease priors on DX, GoT matches UoT's average conversation length (~8 turns) while significantly outperforming UoT whenever priors skew toward difficult edge cases.
Limitations and Future Work
- Bounded by the generator: GoT can only optimize over the $m$ questions the LLM thinks to propose. Feeding strategic game-theoretic signals back into the LLM to help it invent better questions remains an open problem.
- Closed-world and binary constraints: The framework assumes a finite, known set of items, strict Yes/No questions, and a flawless, truthful answer oracle—conditions that get messier in open-ended human conversations. Extending GoT to open-ended dialogue while maintaining rigorous worst-case evaluation is a key next step.
Summary updated