Ask what should change when the equation is manipulated, then let the visualization test that expectation.
Foundation Lab
Tree Search over Thoughts
Makes inference like planning, not text completion
a^* = \arg\max_a \left( Q(s,a) + c\sqrt{\frac{\ln N(s)}{N(s,a)}} \right)Selected Foundation Object
Keep the equation fixed; move through the evidence.
Each node is a partial solution/thought
a^* = \arg\max_a \left( Q(s,a) + c\sqrt{\frac{\ln N(s)}{N(s,a)}} \right)Use the runnable panel, the key equation, and canonical papers as separate forms of evidence for the same object.
The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.
This atlas page keeps the working demo; the domain notebook carries the fuller Intuition -> Math -> Code -> Demo sequence.
Why It Matters for Modern Models
- Makes inference like planning, not text completion
- Enables systematic exploration of reasoning paths
- Foundation for o1-style "System 2" thinking
What Tutorials Skip
What is still poorly explained in textbooks and papers:
- Each node is a partial solution/thought
- Verifier provides value estimates for backpropagation
- Trade-off: exploration (new paths) vs exploitation (best paths)
Interactive Visualization
Core Math (Optional Deep Dive)
If you want intuition first, start with the key equation and the visualization. Come back here for the full walkthrough.
MCTS over reasoning states. UCB action selection:
Expand with LM policy prior . Back up values from rollouts/verifier.
Key insight: Inference becomes planning, not just generation.