Artificial Intelligence

Tree of Thought

A prompting framework where the model explores multiple reasoning branches, evaluates intermediate states, and can backtrack from dead ends — like a deliberate tree search through thought space.

Why It Matters

Tree of Thought outperforms chain-of-thought on complex planning and reasoning tasks where the first approach tried may not be the best.

Example

Solving a puzzle by exploring branch A → dead end → backtrack → branch B → promising → continue → branch B2 → solution, rather than committing to one linear path.

Think of it like...

Like a chess player who considers multiple moves ahead, evaluates each position, and backs up when a line of play looks bad — exploring the tree of possibilities.

Related Terms