Mitigating Over-Optimization in PRM-Guided Search in Mathematical Reasoning by Optimizing the Guide

Taejong Joo, Diego KlabjanarXiv 2026

TL;DR

Directly maximizing Process Reward Model (PRM) scores during LLM search leads to "reward hacking," where noisy verifiers mistakenly favor incorrect reasoning paths over deep horizons. This paper introduces maximin PRM-guided search, a training-free, robust optimization method that uses a kernel-based diversity penalty to protect search algorithms from over-optimizing on noisy PRM outliers. Without any retraining or fine-tuning, it consistently improves mathematical reasoning performance by 17–35% over standard step-level baselines.

What Problem Does This Paper Address?

Inference-time compute has emerged as a critical scaling axis for large language models (LLMs). Instead of relying on a single generation, advanced systems use search algorithms (like beam search or Tree of Thoughts) guided by Process Reward Models (PRMs) to evaluate intermediate reasoning steps and prune unpromising paths early.

However, PRMs are imperfect proxies. The authors theoretically demonstrate an extreme-value effect: as reasoning depth increases and search width expands, the probability that an incorrect (non-viable) path receives a spuriously high score increases. Standard greedy search algorithms preferentially select these noisy outliers, permanently pruning correct paths (false negatives) and wasting compute on dead ends (false positives). This phenomenon is known as over-optimization or reward hacking, and it often causes step-level search to underperform simpler outcome-level baselines.

Methods

Instead of greedily keeping the paths with the highest raw PRM scores, the authors reframe step-level guidance as a distributionally robust optimization (DRO) problem. They assume that semantically similar trajectories share correlated verifier errors, which can be modeled using a Reproducing Kernel Hilbert Space (RKHS).

The workflow of their proposed method is illustrated below:

Figure 1: Maximin PRM-guided search. At each pruning step, the LLM first generates candidate reasoning trajectories, then a PRM assigns step-level scores. Instead of greedily keeping only the highest- scoring candidates, our robust selector keeps m prefixes that balance high PRM scores with diversity under an RBF kernel K, making the search less sensitive to noisy PRM scores. The selected prefixes are then expanded, and the process repeats.

To implement this robust selection, they introduce a diversity-aware objective function:

$$\max_{q \in Q} s^\top q - \tilde{B}\sqrt{q^\top K q}$$

Where:

  • $s$ is the vector of estimated PRM scores.
  • $q$ is a binary indicator vector selecting which trajectories to keep.
  • $K$ is a Radial Basis Function (RBF) kernel matrix measuring the geometric similarity of the trajectories' embeddings.
  • $\tilde{B}$ is an adaptive uncertainty radius calibrated to the verifier's instability.

Because the square-root term is non-linear and non-separable, the authors derive a variational reformulation that transforms the problem into a grid search over a family of submodular surrogate objectives (Algorithm 1). They solve this efficiently using a randomized greedy algorithm paired with a 1-swap local improvement post-processing step. Crucially, this method is entirely training-free and acts as a plug-and-play replacement for standard beam search selection.

Datasets

The authors evaluated their method across four prominent mathematical reasoning benchmarks representing varying levels of difficulty:

  • GSM8K: Grade-school level math word problems.
  • MATH-500: A 500-problem subset of the challenging high-school competition MATH dataset.
  • AIME’24 & AIME’25: Ultra-challenging competition problems from the American Invitational Mathematics Examination.

Key Insights and Ideas

  • The Extreme-Value Curse: Simply increasing test-time compute by generating more candidates ($N$) can backfire. If the base generator is weak, a larger candidate pool provides more opportunities for a noisy PRM to generate extreme false positives, exacerbating reward hacking.
  • Smoothness as a Shield: Bounding the worst-case aggregate error using an RKHS smoothness assumption allows the model to mathematically trade off raw estimated rewards against the uncertainty induced by correlated misspecification.
  • Flipping the Optimization Role: In standard PRM search, applying more optimization pressure worsens results due to reward hacking. Under the maximin objective, further optimization (the 1-swap local search step) actually improves performance because the objective function inherently penalizes fragile, over-concentrated clusters of high scores.

Key Results

  • Substantial Accuracy Gains: Maximin search achieved the best or tied-best results in 14 out of 16 generator-dataset-budget configurations, outperforming standard Step-level Beam Search (SBS) by 17% to 35% on average.
  • Pronounced Impact on Hard Tasks: On MATH-500 using the Phi-3.5-mini-instruct model ($N=64$), maximin search boosted accuracy from 66.4% to 70.2%. On the highly difficult AIME'24 benchmark, it doubled the accuracy of standard SBS from 4.4% to 8.9%.
  • Exceptional Noise Robustness: When artificial Gaussian noise ($\epsilon=1.0$) was injected into the verifier scores, standard SBS suffered a sharp 12.7% relative performance degradation. In contrast, maximin search changed by only 1.4%, proving its resilience to verifier noise.
  • Negligible Overhead: The algorithm introduces minimal computational complexity, adding only a 0.27% runtime overhead at a budget of $N=16$.

Limitations and Future Work

  • Dependence on PRM Embeddings: The RBF kernel relies on the last hidden state of the PRM to compute trajectory similarities. If the PRM's internal representation space is poorly structured, the quality of the diversity penalty may degrade.
  • Gaussian Noise Assumption: The theoretical analysis assumes independent Gaussian noise for analytical tractability, which may not fully capture the systematic, highly correlated biases found in real-world reward models.
  • Extension to Complex Search Topologies: This work instantiates maximin selection within a beam-search framework. Future work could explore extending this robust formulation to tree- or graph-based search spaces like Monte Carlo Tree Search (MCTS).

Summary updated

BibTeX
@misc{joo2026mitigating,
  author = {Taejong Joo and Diego Klabjan},
  title = {{Mitigating Over-Optimization in PRM-Guided Search in Mathematical Reasoning by Optimizing the Guide}},
  year = {2026},
  eprint = {2608.30051},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.30051},
}
Figure