Loading...
Tree-of-Thought(ToT)
Explores multiple reasoning paths through branching and backtracking
๐ฏ 30-Second Overview
Pattern: Explore multiple reasoning paths through branching tree structure with evaluation and pruning
Why: Enables backtracking, lookahead, and exploration of alternatives for complex problem-solving
Key Insight: Generate K candidates โ Evaluate โ Prune weak paths โ Expand promising ones โ Repeat until solution
โก Quick Implementation
๐ Do's & Don'ts
๐ฆ When to Use
Use When
- โข Complex problems with multiple solution paths
- โข Strategic planning requiring lookahead
- โข Creative tasks needing exploration
- โข Puzzles with critical early decisions
- โข When backtracking adds value
Avoid When
- โข Simple linear reasoning tasks
- โข Real-time/low-latency requirements
- โข Tight computational budgets
- โข Tasks without clear evaluation criteria
- โข When CoT already works well
๐ Key Metrics
๐ก Top Use Cases
References & Further Reading
Deepen your understanding with these curated resources
Academic Papers
Tree of Thoughts: Deliberate Problem Solving with Large Language Models (Yao et al., 2023)
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (Wei et al., 2022)
When Tree of Thoughts Succeeds: Larger Models Excel in Generation (Chen et al., 2024)
Tree of Thoughts for Multi-step Problem Solving (Hulbert, 2023)
Contribute to this collection
Know a great resource? Submit a pull request to add it.
Tree-of-Thought(ToT)
Explores multiple reasoning paths through branching and backtracking
๐ฏ 30-Second Overview
Pattern: Explore multiple reasoning paths through branching tree structure with evaluation and pruning
Why: Enables backtracking, lookahead, and exploration of alternatives for complex problem-solving
Key Insight: Generate K candidates โ Evaluate โ Prune weak paths โ Expand promising ones โ Repeat until solution
โก Quick Implementation
๐ Do's & Don'ts
๐ฆ When to Use
Use When
- โข Complex problems with multiple solution paths
- โข Strategic planning requiring lookahead
- โข Creative tasks needing exploration
- โข Puzzles with critical early decisions
- โข When backtracking adds value
Avoid When
- โข Simple linear reasoning tasks
- โข Real-time/low-latency requirements
- โข Tight computational budgets
- โข Tasks without clear evaluation criteria
- โข When CoT already works well
๐ Key Metrics
๐ก Top Use Cases
References & Further Reading
Deepen your understanding with these curated resources
Academic Papers
Tree of Thoughts: Deliberate Problem Solving with Large Language Models (Yao et al., 2023)
Chain-of-Thought Prompting Elicits Reasoning in Large Language Models (Wei et al., 2022)
When Tree of Thoughts Succeeds: Larger Models Excel in Generation (Chen et al., 2024)
Tree of Thoughts for Multi-step Problem Solving (Hulbert, 2023)
Contribute to this collection
Know a great resource? Submit a pull request to add it.