LinkedIn analytics tracking pixel for AIDOLS AI consulting website performance measurement
Training & Optimization

Tree of Thoughts

Tree of Thoughts (ToT) is a reasoning framework where an LLM explores multiple reasoning branches as a tree, generating intermediate "thoughts," evaluating partial states with the model itself, and backtracking — turning generation into deliberate search.

Full definition

Yao et al. (Princeton, 2023) showed ToT solving tasks single-prompt and chain-of-thought could not (Game of 24, creative writing constraints). The cost is high — many forward passes per problem — making ToT suited to high-value, low-volume reasoning tasks rather than chat. Modern reasoning-tuned models internalize tree-search-like behavior, reducing but not eliminating the need for explicit ToT.

Why it matters

ToT marks the conceptual shift from "LLM as text generator" to "LLM as search operator." For high-stakes reasoning — proofs, plans, code synthesis — explicit search over reasoning trees still outperforms single-path generation on hard problems.

Example

A planning agent uses ToT with breadth-of-3 and depth-of-4 to schedule a 6-warehouse logistics rotation under a fuel-budget constraint, finding a feasible plan single-path CoT failed to produce.

Source & further reading

Primary source: Yao et al. — "Tree of Thoughts: Deliberate Problem Solving with Large Language Models" (NeurIPS) (2023).

Citation policy: this entry is part of the AIDOLS AI Implementation Glossary and may be quoted for research, journalism, and education with attribution to aidolsgroup.com/fr/glossary/tree-of-thoughts/.