Tree Search Distillation for Language Models Using PPO
TL;DR Highlight
Distilling MCTS-found reasoning paths with PPO beat CISPO on Countdown for a 1.5B model.
Who Should Read
An LLM training engineer comparing RL methods to improve a small model's reasoning
Core Mechanics
- MCTS paths were distilled into the model
- MCTS (tree search) ran over reasoning steps on Qwen-2.5-1.5B-Instruct to find better trajectories.
- These were trained back into the model with an online PPO loop.
- It beat CISPO on Countdown
- Without any search at eval, it scored 11.3% on mean@16.
- CISPO got 8.4%, best-of-N 7.7%, and the pre-RL instruct model 3.1%.
- Search runs over reasoning steps, not tokens
- Branching per token mostly yields near-synonyms like "but" or "however", wasting compute.
- So nodes are <step>...</step> chunks.
- Best-of-N had higher training reward but the worst eval
- Its training reward was much higher yet eval trailed CISPO and MCTS.
- The author's theory is that it has no incentive to reason robustly every time.
- Sparse reward was unstable
- Training with a 0/1 reward was unstable.
- A dense reward based on relative error to the target fixed it, while eval stayed 0/1.
- Caveats from the author
- It may be a small-model phenomenon and may not scale like GRPO.
- MCTS uses more inference compute per sample, and parallel workers and iterations weren't properly tuned.
Community Reactions
- Opinion that MCTS only at train time shouldn't raise inference cost
- A comment was confused, thinking MCTS is used only in training and distilled into weights, so inference cost should be the same.
- Question about equal-compute comparison
- A commenter asked whether MCTS without distillation was compared to methods like best-of-N at the same compute budget.
- Criticism of Qwen-2.5 dominance
- A commenter said nearly all RL papers use Qwen-2.5, which hurts credibility.
- Question on applying MCTS to coding
- A commenter said coding MCTS needs an execution harness that can roll back execution paths and system state.
How to Apply
- Audit your best-of-N training data against eval
- Today, if you fine-tune on best-of-N picks, log training reward next to a separate eval score.
- If training reward rises but eval doesn't, change how you select data.
- Switch sparse reward to dense reward
- If RL with 0/1 reward is unstable, use a reward based on distance from the correct answer.
- Keep eval as a 0/1 pass rate for easy interpretation.
- Split reasoning into step tags to define search units
- Prompt the model to output reasoning in <step>...</step> and the final answer in <answer>...</answer>.
- Sample and compare candidates per step, not per token.
Try It
# Paste into Claude or ChatGPT (simplified version of the paper's method: step-level candidate comparison)
Solve this problem: {{problem}}
Rules:
1. Write reasoning in <step>...</step> chunks.
2. At each step, generate 4 different candidate next steps.
3. Pick the one most likely to reach the final answer and give a one-line reason.
4. Continue only with the chosen step.
5. At the end, output only the answer in <answer>...</answer>.Terminology
Related Papers
Quadrillion-parameter transformers and how to train them
On fixed data, much bigger models with scaled weight decay and ensembling keep loss falling as compute grows.
Astra can read and write weights to improve Qwen
An LLM edited Qwen3.5-0.8B's weights directly, lifting MATH-500 from 7.9% to 48.1%.
Show HN: Qwen3-4B with the AI writing tics trained out
Distilling Qwen3-4B with LoRA cut its AI-writing slop score from 121 to 12.5 per 1000 words
Dust: Pretraining Transformers Without Backpropagation
Adding per-token noise to activations lets transformers pretrain without backpropagation, rivaling backprop.
Show HN: TurboGPT: train 22KiB transformer in 13s
A CUDA C++ project trains a tiny byte-level GPT in under a minute.
I had Gemini train its own replacement for $9
Fine-tuning GLiNER on $9 of Gemini labels reached 0.83 F1 locally.
Learning to solve hard problems in RL for LLMs by never giving up
Cutting compute on easy problems and retrying hard ones in RL raised accuracy on the hardest problems
Training a 3.8B LLM to 0.384 CORE for $998
A 3.8B LLM trained on 8 B200s in 43 hours for $998 scored 0.384 on CORE.