tree-of-thought-generalizes-cot

IN premiseentries/2026/06/21/wiki-Prompt_engineering-chunk-1.md

Created 2026-06-21T09:50:10+00:00

Tree-of-thought prompting generalizes chain-of-thought by exploring multiple reasoning paths in parallel with backtracking, using tree search algorithms (breadth-first, depth-first, beam search)

Summary

Instead of forcing a model down a single line of reasoning, tree-of-thought prompting lets it branch into multiple possible paths at once and backtrack when a path dead-ends, much like how a search algorithm explores a tree. This matters because it means reasoning can be much more robust: a wrong turn doesn't derail the whole process, since alternatives are explored in parallel and the best path is selected from the search.

Dependents

These beliefs depend on this one: