Limits of PRM-Guided Tree Search for Mathematical Reasoning with LLMs

Tristan Cinquin, Geoff Pleiss, Agustinus Kristiadi

TL;DR

While tree-search algorithms seem like the perfect fit for the branching nature of mathematical problem-solving, this paper reveals a surprising truth: Process Reward Model (PRM)-guided tree search fails to outperform simple Best-of-N (BoN) sampling. The bottleneck isn't the search architecture, but the PRMs themselves, which suffer from severe credit assignment issues and provide highly unreliable scores for intermediate reasoning steps.

What Problem Does This Paper Address?

When large language models (LLMs) tackle complex math problems, they usually generate a linear "Chain-of-Thought" (CoT). To improve accuracy, researchers often use a Process Reward Model (PRM) to score individual steps and apply a Best-of-N (BoN) strategy—sampling $N$ complete chains and picking the one with the highest score.

However, human mathematical reasoning isn't linear; it involves exploring multiple paths, backtracking, and evaluating partial arguments. Tree-of-Thought (ToT) frameworks attempt to mirror this by using tree search algorithms (like MCTS or Beam Search) guided by PRM scores to dynamically navigate the solution space.

The core question this paper addresses is: Does PRM-guided tree search actually improve mathematical reasoning compared to standard BoN sampling, or do the imperfections of intermediate reward signals undermine the entire search process?

Methods

The authors formalize mathematical reasoning as a tree-structured Markov Decision Process (MDP) where actions are reasoning steps and states are partial sequences. They evaluate several standard tree search baselines against BoN:

  • Greedy Best-First Search (GBFS)
  • Beam Search
  • Monte Carlo Tree Search (MCTS)

Additionally, they introduce a novel adaptive sampling algorithm based on Gittins indices. Because an LLM's action space (all possible next text steps) is effectively infinite and intractable to fully enumerate, a search algorithm must decide when to stop sampling alternative steps at a current node and commit to a path. The authors formulate this as a "Pandora's box" stopping problem, utilizing a Bayesian logit-Normal surrogate model to approximate the distribution of PRM scores and dynamically balance exploration and exploitation.

The evaluation uses the state-of-the-art Qwen2.5-Math-7B-Instruct model paired with its companion Qwen2.5-Math-PRM-7B model.

Datasets

The methods are evaluated across 23 diverse mathematical problem sets spanning various difficulty levels:

  • In-Distribution (ID) for the PRM: GSM8K and MATH (the datasets the PRM was originally trained on).
  • Out-of-Distribution (OOD): AIME 2024, AIME 2025, AMC23, SAT_MATH, AQUA, ASDIV, CARP_EN, CMATH, OlympiadBench, and several others.

Key Insights and Ideas

  • The Intermediate Score Mirage: PRMs are reasonably accurate at evaluating terminal states (final answers), but their reliability degrades drastically the further they are from the end of the chain. As shown in Figure 1, the correlation between PRM scores and actual solution correctness plummets for early reasoning steps.

    Figure 1: Correlation of prediction cor- rectness with PRM scores. Correlation decreases with increasing distance in rea- soning steps from terminal states.
  • Tree Search's Achilles' Heel: Tree search algorithms make routing decisions step-by-step based on intermediate PRM scores. Because these intermediate scores are noisy and suffer from poor credit assignment, tree search frequently compounds errors, wandering down fundamentally flawed paths that happen to look good locally.

  • Why BoN Wins: BoN only evaluates complete, root-to-terminal chains. It relies primarily on the final, more reliable PRM scores, making it robust against the noisy intermediate signals that cripple tree search.
  • Poor OOD Generalization: The reliability of PRM scores drops even further when applied to out-of-distribution math problems, severely limiting the utility of tree search in novel mathematical domains.

Key Results

  • No Performance Gain: Despite incurring substantially higher computational costs (generating significantly more tokens), no PRM-guided tree search method statistically outperformed simple BoN sampling. As seen in Table 1, BoN_Last@8 achieved the highest mean accuracy (72.7%).

    Table 1: Method mean accuracy and rank with standard errors across problems. We bold results which are not significantly worse than the best (p > 0.05).
  • MCTS and Beam Search Lead the Search Pack: When restricting the comparison strictly to tree search variants (Table 2), MCTS and Beam Search variants performed the best, largely because they are better structured to tolerate or average out noisy intermediate rewards.

    Table 2: Method mean accuracy and rank with standard errors across problems for tree search methods. We bold results which are not signifi- cantly worse than the best (p > 0.05).
  • The Gittins Index Paradox: Even the authors' sophisticated Gittins index approach, which optimized action selection under the assumption that the PRM acts as a true value function, underperformed. This further proves that the bottleneck is the reward model's quality, not the search efficiency.

Limitations and Future Work

The primary limitation acknowledged by the authors is their focus on a single, albeit state-of-the-art, model-PRM pair (Qwen2.5-Math-7B). However, they note that the observed pathologies—poor credit assignment and degraded depth reliability—are likely systemic across current PRM architectures.

The clear takeaway for future work is that we must build better process reward models before complex tree search can be effective. Simply throwing more compute at tree search architectures is futile if the compass guiding the search is fundamentally broken. Future research should focus on improving offline reinforcement learning objectives to ensure PRMs can accurately assign credit to early, pivotal reasoning steps.

Summary updated

Abstract

While chain-of-thought prompting with Best-of-N (BoN) selection has become popular for mathematical reasoning in large language models (LLMs), its linear structure fails to capture the branching and exploratory nature of complex problem-solving. In this work, we propose an adaptive algorithm to maximize process reward model (PRM) scores over the intractable action space, and investigate whether PRM-guided tree search can improve mathematical reasoning by exploring multiple partial solution paths. Across $23$ diverse mathematical problems using Qwen2.5-Math-7B-Instruct with its associated PRM as a case study, we find that: (1) PRM-guided tree search shows no statistically significant improvements over BoN despite higher costs, (2) Monte Carlo tree search and beam search outperform other PRM-guided tree search methods, (3) PRMs poorly approximate state values and their reliability degrades with reasoning depth, and (4) PRMs generalize poorly out of distribution. This underperformance stems from tree search's greater reliance on unreliable PRM scores, suggesting different reward modeling is necessary before tree search can effectively enhance mathematical reasoning in LLMs.
BibTeX
@inproceedings{cinquin2025limits,
  author = {Tristan Cinquin and Geoff Pleiss and Agustinus Kristiadi},
  title = {{Limits of PRM-Guided Tree Search for Mathematical Reasoning with LLMs}},
  booktitle = {MATH-AI @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=0wHkPbS2T8},
}
Figure