Tree of Thoughts

Category: Generative AI / LLM

An extension of chain-of-thought that explores multiple reasoning paths simultaneously using tree search, enabling deliberate planning and backtracking.

Full Explanation

Tree of Thoughts (ToT) generalizes chain-of-thought prompting by allowing the language model to explore multiple reasoning paths, evaluate intermediate states, and backtrack when needed. Instead of generating a single linear chain of reasoning, ToT structures the reasoning process as a tree where each node represents a partial solution. The model can generate multiple candidate next steps, evaluate their promise, and use search algorithms like breadth-first or depth-first search to navigate the tree. This enables more deliberate, strategic problem-solving compared to single-path CoT. ToT is particularly effective for tasks requiring planning, creative problem-solving, or exploration of multiple hypotheses. The approach is more computationally expensive than standard CoT but can solve problems that single-path reasoning cannot. It represents a step toward more structured and deliberate AI reasoning.

Related Terms

More in Generative AI / LLM

Explore More