Standard Large Language Models (LLMs) are "fast thinkers." They generate text token-by-token using greedy decoding, which works well for chat but often fails on complex tasks like math, coding, or strategic planning. To solve these, models need to "slow down" and explore multiple possibilities—a process typically handled by search algorithms like Monte Carlo Tree Search (MCTS).
However, running a full tree search every time a user asks a question is prohibitively slow and expensive. A growing body of research focuses on a different strategy: using expensive search algorithms during the training phase to discover optimal reasoning paths, and then distilling that "search-level" intelligence back into the model’s weights. The goal is to produce a model that can reason as accurately as a search algorithm while maintaining the speed of a standard LLM.
Moving the Thinking from Inference to Training
The core intuition behind this research is a shift in when "thinking" happens. Instead of paying a "search tax" at inference time, researchers pay it upfront during data synthesis.
By using MCTS to explore thousands of potential reasoning chains, researchers can identify the specific "pivot points" where a model typically makes a mistake. Anirudh Goyal and Yuxi Xie demonstrate this in MCTS-DPO, where they use tree search to generate high-quality, step-level preference data. This data is then used with Direct Preference Optimization (DPO) to teach the model to prefer the successful paths discovered by the search, effectively baking the search's wisdom into the model.
Similarly, Jiale Cheng and Xiao Liu introduced SPaR, a self-play framework where a model refines its own failed responses using tree search. By comparing its original failure to the search-refined success, the model learns exactly which nuances it missed, allowing a smaller LLaMA3-8B model to eventually outperform GPT-4-Turbo on instruction-following benchmarks.
Process Supervision and Reward Modeling
A critical component of distilling search is moving from outcome-based rewards (is the final answer right?) to process-based rewards (was this specific step logical?).
Standard training often suffers from "reward hacking," where a model arrives at the right answer through faulty logic. To combat this, researchers use search to build Process Reward Models (PRMs). For example:
- Hierarchical Evaluation: Teng Wang and Zhangyi Jiang developed the Hierarchical Reward Model (HRM), which uses MCTS-generated trajectories to evaluate both individual steps and the flow of consecutive steps.
- Token-Level Precision: In machine translation, Zhaopeng Feng and Jinchang Ren use MCTS to generate token-level preference data in MT-RewardTree, allowing models to align their outputs at a much finer grain than traditional sentence-level training.
The Scalability Bottleneck
While search-based distillation produces highly efficient models, the "search tax" during the data generation phase is immense. Generating a single high-quality reasoning dataset can require thousands of GPU hours because the search algorithm must perform dozens or hundreds of "rollouts" (simulated completions) for every single decision point.
To make this more sustainable, researchers are developing more efficient search strategies:
- Adaptive Search: Jie Ma and Shengwen Qi proposed Adaptive Monte Carlo Search (AMCS), which dynamically allocates more computational budget to "uncertain" reasoning steps while skipping exploration for easy ones.
- Pruning and Optimization: Yongqi Leng and colleagues achieved a 6x speedup in training data construction for retrieval tasks in DecEx-RAG by implementing novel pruning strategies that cut off unproductive search branches early.
Beyond Mathematics
Although math and logic are the primary testing grounds for these methods, the "search-to-distill" paradigm is expanding into more subjective domains. Weixiang Zhao and Xingyu Sui applied this to emotional support in Chain of Strategy Optimization (CSO), using MCTS to simulate different conversational strategies and identify which ones lead to better long-term empathetic outcomes. Similarly, Xu Huang and Yirong Zeng used MCTS to refine how models use external APIs in iTool, teaching the model to navigate complex tool-use workflows that are difficult to capture in static datasets.
By treating search as a "teacher" that explores the vast space of possible thoughts, researchers are finding that even small models can achieve frontier-level reasoning—provided they are trained on the "untaken paths" discovered during the search process Retro-Search.