Tree of Thoughts: Deliberate Problem Solving with Large Language Models
Problem: LM inference remains token-level, left-to-right decision making, which falls short on tasks requiring exploration, strategic lookahead, or where initial decisions play a pivotal role; can an LM instead search deliberately over a tree with thoughts as intermediate steps — considering multiple reasoning paths, self-evaluating choices, and looking ahead or backtracking when necessary.
Where the evidence sits: the abstract reports 74% success for ToT vs 4% for GPT-4 with chain-of-thought prompting on Game of 24; the experiment is in Section 4.1, Table 2 — the relatively hard games indexed 901-1,000 out of 1,362 scraped from 4nums.com, success rate over 100 games, GPT-4 at temperature 0.7 (experiments run May 5-16, 2023); cost and limits are in Section 6, Discussion, and Appendix B.3.
What the authors say about limits: Section 6 states that deliberate search "might not be necessary for many existing tasks that GPT-4 already excels at" and that, as an initial step, only three relatively simple tasks are explored; Appendix B.3 states ToT "could require 5-100 times more generated tokens than CoT"; the work uses an off-the-shelf LM, with fine-tuning left as a future direction.
What it does not claim: 74% is the success rate on the 100-game hard subset with BFS keeping b=5 candidates per step, not a result on all 1,362 games; the paper does not show ToT beats CoT everywhere — Appendix B.1 reports only slight gains on GSM8K/StrategyQA and Appendix B.2 reports GPT-3.5+ToT at 19% on Game of 24; the authors note general crosswords can be solved by specialized NLP pipelines, and no training-level claim is made.
Key specs
- 证据位置 / evidence
- 摘要;Section 4.1 Table 2(Game of 24);Appendix B.3 成本分析
- Game of 24 成功率 / success
- ToT 74% vs GPT-4 CoT 4%
- 测试集 / test set
- 4nums.com 共 1,362 局,取较难的第 901-1,000 局,以 100 局成功率为指标
- 额外生成开销 / cost
- 生成 token 可达 CoT 的 5-100 倍
- 复现状态 / reproduction
- 未复现
What the source says
For instance, in Game of 24, while GPT-4 with chain-of-thought prompting only solved 4% of tasks, our method achieved a success rate of 74%.
ToT allows LMs to perform deliberate decision making by considering multiple different reasoning paths and self-evaluating choices to decide the next course of action, as well as looking ahead or backtracking when necessary to make global choices.
We scrape data from 4nums.com, which has 1,362 games that are sorted from easy to hard by human solving time, and use a subset of relatively hard games indexed 901-1,000 for testing. For each task, we consider the output as success if it is a valid equation that equals 24 and uses the input numbers each exactly once. We report the success rate across 100 games as the metric.
In general, cost and efficiency of ToT highly depend on the prompts and search algorithms used, and could require 5-100 times more generated tokens than CoT.
Source and licence
- Source checked
- 2026-11-07
- Licence / kind
- arxiv-preprint
- Licence evidence
- https://arxiv.org/abs/2305.10601
- Category
- Reasoning
How to read the numbers
Before citing a score, separate what it measures, how it is scored, what it compares against and whether contamination is controlled. If unsure, go back to the experiment setup in the paper. See benchmark cards · See dataset cards