Manuscript Offprint
arXiv:2608.30051Mitigating Over-Optimization in PRM-Guided Search in Mathematical Reasoning by Optimizing the Guide
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
Process reward models (PRMs) provide dense step-level guidance for search-based reasoning, enabling inference-time compute to be allocated toward promising partial solutions. However, recent evidence suggests that PRM-guided search can over-optimize imperfect process rewards, pruning viable trajectories while expanding spurious ones. In this work, we theoretically show that directly leveraging PRM score is vulnerable to verifier noise through an extreme-value effect: non-viable prefixes become more likely to receive spuriously high scores as reasoning depth increase. Therefore, we formulate the PRM-guided search as a robust optimization problem over plausible reward perturbations, termed maxim-in PRM-guided search, leading to a training-free robust process supervision method that preserves promising alternatives when step-level scores are noisy. Maxim in PRM-guided search mitigates this failure mode by reducing sensitivity to over-optimized PRM outliers. Without fine-tuning or online adaptation, maxim in search consistently improves the PRM-guided search by 17–35% on average, outperforming outcome- and step-level baselines in 14 out of 16 settings. Our source code is available at https://github.com/tjoo512/maximin-search.
1 Introduction
Large language models (LLMs) perform strongly on tasks that benefit from explicit intermediate reasoning, such as mathematical problem solving and code generation, and chain-of-thought prompting is a simple and effective way to elicit this behavior (Kojima et al., 2022; Wei et al., 2022). Importantly, performance on these tasks depends not only on the base model capability, but also on how much computation is allocated at inference time, including via sampling (Wang et al., 2022), search (Besta et al., 2024; Yao et al., 2023), or verification (Cobbe et al., 2021). For example, Tree of Thoughts improves performance by explicitly searching over partial reasoning states and backtracking from unpromising ones rather than following a single linear chain of thoughts (Yao et al., 2023). This has motivated treating inference-time compute as a new scaling axis for reasoning models (Brown et al., 2024; Snell et al., 2024).
For search-based inference to improve reasoning, the system must determine which partial trajectories merit further computation (Besta et al., 2024; Yao et al., 2023). Process reward models (PRMs) provide a natural mechanism for this (Lightman et al., 2023; Uesato et al., 2022). Whereas outcome reward models score only final solutions, PRMs assign values to intermediate reasoning steps, yielding a denser supervision and control signal for multi-step search. This finer-grained guidance is especially useful when the search space is large and the compute budget is limited, since it enables early pruning of low-value trajectories (Chen et al., 2024; Feng et al., 2023; Wang et al., 2024). Accordingly, PRM-guided search has become an effective way to translate additional inference-time compute into gains in reasoning performance.
This efficiency, however, depends critically on the reliability of the reward estimates guiding search. A PRM is only a learned proxy for latent reasoning quality, and its predictions may degrade due to limited supervision, model misspecification, or distribution shift (Casper et al., 2023; Lightman et al., 2023). This issue is especially acute in search-based settings, because the search procedure itself determines which partial trajectories are encountered at inference time (Ross et al., 2011; Zhang et al., 2025). For instance, a false negative can permanently prune a promising branch, while a false positive can waste substantial budget on spurious trajectories. Consequently, PRM-guided search is vulnerable to over-optimization or reward hacking, where optimizing an imperfect objective does not necessarily improve the true objective (Coste et al., 2023; Gao et al., 2023; Skalse et al., 2022).
A natural response is to improve the reward model online, for example through test-time training or related adaptation mechanisms (Hosseini et al., 2024; Shinn et al., 2023; Sun et al., 2020). However, this

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 prefixes that balance high PRM scores with diversity under an RBF kernel , making the search less sensitive to noisy PRM scores. The selected prefixes are then expanded, and the process repeats.
elevates the computational and algorithmic burden rather than fundamentally resolving the vulnerability. Such approaches introduce additional optimization into the critical path of inference, increasing computational cost and implementation complexity (Snell et al., 2024). Furthermore, their stability relies on precisely the low-signal, out-of-distribution regime that already makes reward estimation difficult (Casper et al., 2023; Gao et al., 2023). More importantly, adaptation aims to repair the scorer itself, whereas the core decision problem is how to act when the scorer is inherently uncertain. From this perspective, the central challenge is not solely accurate reward learning, but robust decision-making under reward uncertainty (Iyengar, 2005; Kumar et al., 2020).
In this work, we address PRM imperfection from that perspective (cf. Figure 1). We formulate PRM-guided search as a robust optimization problem in which reward estimates are treated as uncertain rather than exact. The key idea is as follows: when reward estimates are unreliable, the search should reflect plausible reward perturbations. This formulation leads to inference procedures that are better aligned with the true objective, mitigating over-optimization of imperfect process rewards and yielding strong robustness to noisy reward estimates. More broadly, our results suggest that scaling inference-time compute in PRM-guided search requires not only more search, but also better algorithmic robustness to the noisy score evaluations to make search effective in the first place.
Our contributions are as follows:
-
A rigorous characterization of PRM over-optimization. We formalize PRM-guided search as optimization with an imperfect step-level verifier and identify a concrete failure mechanism: maximization over noisy process scores can select non-viable prefixes even when viable continuations are present. Our theoretical analysis quantifies how this risk depends on verifier uncertainty, oracle prefix separability, generator coverage, search width, and reasoning depth.
-
A principled robust formulation for PRM-guided search. We recast step-level guidance as robust optimization under plausible verifier perturbations. This yields a decision rule that avoids treating learned PRM scores as exact and instead preserves trajectories that remain competitive under reward uncertainty.
-
A training-free algorithm with strong empirical gains. We instantiate the robust formulation as a simple plug-in procedure for PRM-guided decoding. Without fine-tuning or online adaptation, maximin search consistently improves the PRM-guided search by 17–35% on average, outperforming outcome- and step-level baselines in 14 out of 16 settings.
AlphaZero-style tree search (Feng et al., 2023), step-level beam search (Chen et al., 2024), and actor-critic style decoding (Dong et al., 2025). Across these methods, a generator proposes candidate reasoning steps and a learned evaluator scores partial trajectories to guide search, improving performance by allocating compute more selectively across candidate chains.
Our work is most closely related to recent self-improvement approaches that address failures from reward misspecification. ReST-MCTS* (Zhang et al., 2024a) combines PRM-guided search with iterative updates to the policy and value model; V-STaR (Hosseini et al., 2024) similarly improves output verification through iterative refinement; and PRIME (Cui et al., 2025) mitigates reward hacking by updating rewards from rollout outcomes. These methods reduce the mismatch between search and evaluation by adapting the policy, verifier, or reward model to deployment-induced trajectories. However, they rely on additional training, often incur substantial computational overhead, and in some cases require outcome supervision or ground-truth answers (Cui et al., 2025; Hosseini et al., 2024; Zhang et al., 2024a).
By contrast, we study over-optimization in PRM-guided search from a robust optimization perspective at inference time. Rather than mitigating reward misspecification through retraining or test-time adaptation, we seek search procedures that remain less sensitive to the PRM error under a fixed generator and fixed PRM. To our knowledge, prior work has largely overlooked this robust-inference perspective on PRM-guided mathematical reasoning.
Mathematical characterization of over-optimization. Over-optimization under imperfect reward models has been studied primarily in outcome-level inference-time optimization, especially Best-of-N (BoN) decoding and related reranking methods. A growing literature shows that while BoN can improve performance initially, increasing optimization pressure against a misspecified reward model eventually induces reward hacking and degrades the true objective (Ichihara et al., 2025; Jinnai et al., 2025; Khalaf et al., 2025). Recent theory formalizes this rise-then-fall behavior and characterizes the limitations of standard BoN under reward misspecification (Huang et al., 2025; Khalaf et al., 2025). Together, these results establish over-optimization as a fundamental pathology of inference-time optimization in the simpler outcome-level setting.
By contrast, the step-level setting remains much less understood theoretically, despite growing evidence that PRM-guided search can fail in practice. Recent studies show that PRMs can be unreliable evaluators of partial reasoning states, with errors that compound over long horizons and under distribution shift (Cinquin et al., 2025; Khalifa et al., 2025; Zhang et al., 2025). Cinquin et al. (2025) further show that PRM-guided tree search can underperform simpler outcome-level baselines such as BoN due to inaccurate step-value estimates, with the gap increasing as search depth increases and under out-of-distribution shifts. These findings suggest that over-optimization may be more severe in step-level guidance, where reward errors shape not only final selection but also the allocation of search compute across intermediate trajectories.
Our work builds on this literature by providing, to the best of our knowledge, the first mathematical treatment of over-optimization in PRM-guided step-level search. Whereas prior theory focuses on outcome-level reranking and prior PRM work mainly focuses on empirical failures, we formalize how PRM misspecification interacts with sequential search and pruning decisions.
3 Background
Reasoning Models We consider a reasoning model that generates a structured output for an input problem whose ground-truth answer is . In mathematical reasoning, this output typically consists of a sequence of intermediate reasoning steps followed by a final answer. Throughout the paper, we analyze inference on a single input and suppress the dependence on in the notation when it is clear from context. Let denote a thought as the Kleene closure of a set of tokens . Typically, it corresponds to a semantically coherent reasoning segment separated from adjacent segments by a fixed delimiter “\n\n” (Cinquin et al., 2025; Lightman et al., 2023; Zhang et al., 2025). A reasoning trajectory of length is an ordered sequence of thoughts , with for . We let denote a maximum reasoning horizon and let denote the random termination time, with the convention if no EOS token is generated earlier. The distribution of is induced by the generator and the search procedure, and may depend on the search history. For notational simplicity, we pad positions after with EOS, so that all trajectories can be represented on the common horizon . When we consider multiple trajectories with the same length, we use to denote the -th trajectory of length for with being the maximum number of trajectories. For a prefix trajectory and a new thought , we write as a prefix extension. Also, a trajectory is a prefix of , written , if the first thoughts of equal .
The base reasoning model is specified by a thought-level policy , which defines a conditional distribution over the next thought given a partial trajectory: , where denotes the probability simplex over . This induces a distribution over complete trajectories by autoregressive factorization, , with . When a trajectory is terminated, a deterministic answer extraction map ans : returns the final output in answer space .
Step-level guidance To guide search over partial trajectories, we consider a process reward model (PRM) that assigns a scalar value to each intermediate trajectory, , interpreted as an estimate of the future utility of continuing from . We let the oracle value function output a utility of , such as the logit of the probability of yielding the ground-truth answer (Zhang et al., 2025) or whether all intermediate thoughts in are correct (Uesato et al., 2022). We assume is bounded as for all .
As a concrete instance, consider step-level beam search which is the focus of our theoretical analysis as in Xie et al. (2023). At depth , let denote the active beam, where is the beam width. Each trajectory is expanded by sampling or enumerating candidate next thoughts from the base generator . Writing for the resulting set of candidate continuations, the PRM is used to score each candidate prefix . The size of , is the total number of trajectories at step and is the branching factor at . We note that the procedure reduces to outcome-level selection (Best-of-N) when and reduces to the step-level greedy decoding when . The next beam is then formed by selecting the top- trajectories under this score (i.e., with ) and then repeating the procedure until termination (i.e., collecting answers). Thus, determines how candidate reasoning steps are proposed, while determines how computation is allocated across them.
This formulation captures the essential role of step-level guidance: the search procedure repeatedly expands partial trajectories using the generator and uses the PRM to rank, retain, or prune them before they terminate. Beam search provides the simplest instantiation of this principle, but the same decomposition extends to more general search procedures, such as greedy best-first search (Cinquin et al., 2025) and Monte Carlo tree search (MCTS) (Chen et al., 2024; Feng et al., 2023), where can analogously guide node selection, expansion, or backup. However, they introduce substantial additional machinery and cost: in LLM reasoning, each expansion requires generating open-ended natural-language continuations rather than applying a cheap discrete transition. Our goal is not to study how to obtain better reward estimates online, but to understand how to search reliably given a fixed PRM whose estimates may be accurate or inaccurate.
4 Closer look at an over-optimization in PRM-guided search
The goal of PRM-guided search can be understood as maximizing the average score of the selected trajectories. Formally, it can be represented as solving the optimization problem of
where we use the notation to denote the average score in .
Ideally, PRM-guided search is expected to filter unpromising trajectories in and therefore compensate an imperfect generator quality, attaining . However, in practice, using off-the-shelves PRM for the step-level guidance is often subject to the reward over-optimization problem, resulting in inferior performances than an outcome-level decoding method such as best-of-N (Cinquin et al., 2025; Hu et al., 2025; Zhang et al., 2025). In this section, we closely examine the failure mode of PRM-guided decoding by quantifying the error in (1) under an imperfect verifier. Proofs of all formal claims in this paper are provided in Appendix A.
Setup We consider the beam-style search over partial solutions as explain in §3. Let denote the set of successful full trajectories such that for all . We define the viable-prefix set as , which contains all prefixes of thoughts that can still reach the correct answer, and the non-viable-prefix set . For the candidate set with , we let and . Also, we define and be the number of viable and non-viable prefixes, respectively.
Under this setting, we pose the following regularity conditions for the learned PRM as an estimator of the oracle value function .
Assumption 1 (Verifier regularity). The learned verifier satisfies for all , where is a deterministic bias function satisfying for all . Conditional on the search history and the realized candidate set , the noise variables are independent and identically distributed as . Further, we assume and .
Regularity conditions in Assumption 1 mathematically formalizes the observations that early-stage evaluations are highly uncertain because the final answer is distant, whereas later steps offer much clearer outcome signals (Cinquin et al., 2025; Hu et al., 2025). The bounded bias condition assumes a uniform error bound for the trajectories, which can be attained under a sufficiently strong PRM. Note that this can be replaced by a probabilistic argument, which makes our analyses probabilistic as well, but we focus on the uniform bound for simplicity. The Gaussian noise assumption is adopted for analytical tractability and to obtain closed-form high-dimensional risk expressions, which is commonly used in high-dimensional interpolation and double-descent analyses (Advani et al., 2020; Belkin et al., 2020; Nakkiran, 2019). Finally, we remark that Assumption 1 is used only for the Gaussian extreme-value analysis. It is not intended to model all verifier errors. In particular, systematic verifier misspecification may be correlated across semantically similar prefixes; this correlated component is addressed separately in § 5.1.
4.1 Over-optimization under PRM-guided search
We first isolate the pure reward-maximization regime, namely the greedy setting for . As we discuss at the end of §4.2, enlarging the beam width raises the number of verifier errors that must coincide to derail the search from one to , which mitigates but does not remove the failure. We therefore develop the mechanism for the over-optimization analysis in the simplest case and recover the general beam-search statement as a direct corollary. To avoid degenerate cases, we assume throughout that and ; equivalently, contains at least one viable prefix and at least one non-viable prefix. At step , the greedy PRM-guided search selects the trajectory with the maximum estimated score; that is,
which is a solution to (1) when for all .
To study the intrinsic difficulty of the PRM-guided search, we analyze the lower bound of the failure mode of . To this end, we define the set of non-viable prefixes that outrank all viable prefixes under the learned verifier as
Then, the greedy search selects a non-viable prefix (i.e., ) if and only if . We establish the lower bound of this event in the following.
Theorem 1. (Greedy reward hacking via deterministic cutoff). Under Assumption 1 and any fixed , let , , and . Then, it holds that
Theorem 1 provides a certified failure mechanism for greedy PRM-guided search, being analogous to over-optimization in Best-of-N sampling (Gao et al., 2023). In the proof, we fix a normalized cutoff level and analyze the following event: every viable prefix stays below the cutoff, while at least one non-viable prefix exceeds it. On this event, the maximizer of the learned verifier must be non-viable. The lower bound
therefore exposes two coupled effects. The first term controls whether the viable frontier among produces an unusually high verifier realization; the second term controls whether the much larger non-viable population produces an extreme upward realization. Thus, the failure is driven by the upper tail of the verifier error after maximization over .
This perspective highlights a basic limitation of using the verifier to compensate for a weak generator. A weak generator simultaneously decreases and increases . The former reduces the number of viable prefixes that can defend the beam by producing a high score, while the latter increases the number of non-viable prefixes that can win through an extreme positive error. Consequently, the same verifier noise is much more dangerous when the candidate set is dominated by non-viable prefixes under a weak generator.
On the effective gap and the verifier noise. In (4), the quantity is a conservative proof envelope: it upper bounds the deterministic advantage that viable prefixes may have over non-viable prefixes in the cutoff argument, being a sufficient separation scale. When this scale is large, a non-viable prefix must overcome a large deterministic deficit before it can beat the viable frontier. When it is small, viable and non-viable prefixes are less indistinguishable even before stochastic noise is added, and the greedy decision becomes intrinsically fragile.
The cutoff in Theorem 1 is an auxiliary proof parameter, so the clean way to interpret noise is through the optimized certificate. For fixed , we can reparameterize . Then, we get . Thus, the verifier noise enters through the normalized gap . For a larger , the same deterministic separation becomes less protective because shrinks. Hence, the optimized lower bound worsens as the effective signal-to-noise ratio decreases.
4.2 Error accumulation across reasoning depth
The preceding analysis conditions on a fixed candidate set and isolates a one-step verifier-selection failure. We now incorporate the generator, which determines the distribution of , and extend the single-step failure mode across the reasoning horizon.
Theorem 2. (Generator-averaged greedy failure). Let us suppose the current greedy prefix at depth is viable, i.e., . Let denote the search history before generating candidates at depth . Let us also assume a Markovian candidate generator: conditional on , the candidate continuations are sampled independently, and each continuation remains viable with probability . Finally, assume that for every mixed candidate set with and , there exists -measurable such that . Given Assumption 1 and any fixed , we define and . Then, it holds that
For the generator-averaged results, we further assume that, conditional on , candidate continuations are sampled independently from the generator and that verifier noises are conditionally independent of the candidate-sampling randomness given the realized candidate set.
Corollary 3. (Depth-wise accumulation under Markovian generation). Under the assumptions of Theorem 2 for all , let denote the event that greedy search remains viable through depth . We define on and on . Then, it holds that .
Theorem 2 separates one-step failure into generator coverage and verifier selection. The term is the probability that the generator samples no viable continuation, while the summation averages the cutoff-based over-optimization event of Theorem 1 over the random number of viable candidates. Thus, the key point is that the same increase in width that improves generator coverage can also increase the number of non-viable opportunities for verifier hacking. Consequently, the benefit of increasing depends on whether the induced gain in viable coverage dominates the growth of the non-viable extreme-value frontier; when is small, the candidate pool remains highly imbalanced, so even sampled viable continuations can be eliminated by verifier over-optimization. Therefore, simply increasing test-time computes with a larger may not effectively address the over-optimization in PRM-guided search.
Corollary 3 shows that local risks compound multiplicatively across reasoning depth. Specifically, successful decoding requires the search to remain inside the viable-prefix set at every step; a single coverage or selection failure is irreversible. Thus, the trajectory-level survival probability is controlled by the product of step-wise survival probabilities. Consequently, even small per-step lower bounds on failure can yield a large path-level failure probability over long horizons; if almost surely for , then . The core implication is that PRM-guided search is not assessed by its typical one-step behavior, but by its ability to avoid irreversible mistakes repeatedly across the entire reasoning trajectory.
Impact of beam search The greedy analysis extends directly to beam search. Let denote the top- prefixes under , where recovers the greedy search. The greedy cutoff argument certifies failure when all viable prefixes stay below the cutoff and at least one non-viable prefix exceeds it; for width , this must hold for at least non-viable prefixes. Therefore, as shown in Corollary 6 in Appendix B.1, the one-step lower bound in (4) becomes
with as in Theorem 1, recovering (4) at . Beam search therefore increases the verifier-outlier tolerance from one to , mitigating but not removing over-optimization. Since this bound preserves the cutoff structure, the generator-averaging and depth-accumulation arguments (Theorem 2, Corollary 3) carry over with the binomial tail in place of the single-outlier term, leaving the path-level conclusion unchanged.
Implications for more sophisticated guided search. The lower bound in (5) also clarifies what more sophisticated test-time procedures must improve. Methods such as MCTS, verifier refinement, or test-time training can help if they increase the effective separation , reduce harmful bias in the deterministic verifier component, or reduce the stochastic uncertainty (Hosseini et al., 2024; Snell et al., 2024; Zhang et al., 2024a). In the bound, these improvements act by either increasing the probability that the candidate set contains viable continuations or decreasing the non-viable exceedance probability . Nevertheless, these methods do not change the qualitative structure of the failure mode: any residual probability of overvaluing non-viable prefixes is amplified by maximization over candidates and repeated selection across steps (Gao et al., 2023). Guided decoding is therefore intrinsically challenging not because current verifiers are imperfect in a superficial sense. It is challenging because the search procedure turns verifier imperfections into selection bias: among many prefixes, greedy maximization preferentially selects the prefix whose verifier error is most favorable (Thrun and Schwartz, 1993).
5 Mitigating Over-Optimization in Step-Level Guided Decoding
In this section, we address the failure of the imperfect PRM-guided search by replacing the pure score maximization objective in (2) with a reward misspecification-robustness objective. In a nutshell, the robust optimization retains high-scoring trajectories that are also diverse in an abstract trajectory space, discouraging the beam from collapsing onto a narrow region of the search space where correlated errors in are most harmful. In the following, we formalize the maximin PRM-guided search under reward misspecification and then derive a principled approximation algorithm for solving the robust optimization problem for efficient decoding.
Overview At a step-level pruning stage , let the candidate trajectories have the estimated step-level scores such that . Also, we let be the true score and be a signed value estimation error at . For brevity, in the following, we omit superscript when there is no ambiguity. We instantiate the idea of robust step-level guidance with a repulsive penalty defined directly on pairwise trajectory similarity. To this end, we define a radial basis function (RBF) kernel
where is a bandwidth parameter, and , with denoting a representation (e.g., the last hidden state of the PRM). Here, the kernel takes a larger value if and have a small (angular) distance in the representation space from . Also, the kernel matrix is a symmetric positive semidefinite kernel, , and for all by construction. To avoid manual tuning, we use the median heuristic (Garreau et al., 2017; Gretton et al., 2012) that sets by the inverse of the median pairwise distance.
With the RBF kernel, we seek to retain trajectories (e.g., ) by solving
where indicates that is selected. The first term recovers standard step-level guidance, while the second penalizes redundant selections. In particular, reduces to PRM-guided beam search, whereas larger increasingly favors geometrically diverse trajectories. Throughout the paper, we let the feasible set . Finally, our framework changes only the score optimization mechanism, while leaving others fixed. This makes it compatible with better score estimation via explicit online training (Cui et al., 2025; Hosseini et al., 2024; Zhang et al., 2024a) or sophisticated search techniques (Chen et al., 2024; Feng et al., 2023).
5.1 Distributional robustness perspective
Our goal is to identify structural assumptions under which controlling leads to a kernel-based regularizer that controls the sensitivity of the selected support to estimation error. Let denote the reproducing kernel Hilbert space (RKHS) associated with the kernel . Suppose the estimation error is induced by a function such that with for some radius . For common kernels such as RBF kernels, this can be interpreted as a smoothness assumption: prefixes that are close under the kernel tend to have similar verifier errors. This assumption is a reasonable local approximation for modern transformer-based reward models, and similar assumptions have been widely studied (Malladi et al., 2023; Zhang et al., 2024b).
This RKHS model is not separate from the verifier regularity condition in Assumption 1; rather, it refines the structured bias component. In Assumption 1, the deterministic verifier bias is controlled only through a pointwise bound . By contrast, an RKHS model places geometric structure on this bias. More generally, we can decompose the signed verifier error as , where with is a smooth structured bias component and is a residual stochastic component. Then, the reproducing property implies the pointwise bound when . Thus the RKHS model satisfies the bounded-bias and Gaussian-noise requirements of Assumption 1. The difference is that Assumption 1 only uses the crude pointwise control , whereas the RKHS model further constrains how the bias varies across trajectories. Thus, the RKHS model strengthens the bounded-bias component of Assumption 1 by requiring verifier errors to vary smoothly over the trajectory representation space, but it does not impose the i.i.d. random noise assumption in Assumption 1. In particular, nearby trajectories under the kernel must have related verifier errors, allowing the model to capture correlated misspecification. The following result exploits this additional structure to obtain a geometry-aware robustness penalty.
Theorem 4. (Worst-case aggregate error under RKHS smoothness). If the estimation error is induced by a function with , then for every ,
Theorem 4 shows that, under the RKHS smoothness condition, the kernel regularizer is the worst-case estimation error radius of the aggregate decision q under a smoothness model on the error function.

Figure 2: Robust subset selection under score misspecification (). The true score has a sharp and a broad peak, while the estimate introduces a spurious high-score region near the sharp peak. Maximizing selects two nearby points in this erroneous region. Adding diversity regularization spreads the selections, recovering a higher-value point from the broad peak and improving robustness.
Consequently, it yields for all admissible error functions, yielding the natural robust optimization objective in (9). Thus, the kernel penalty measures how vulnerable the decision is to smooth but adversarial score misspecification. In this sense, our formulation can be viewed as an instance of a distributionally robust optimization (DRO)-inspired robust decision rule: the selected subset is evaluated by its worst-case aggregate reward under an RKHS-bounded ambiguity set over verifier errors, analogous in spirit to ambiguity-set based DRO and kernel DRO formulations (Duchi and Namkoong, 2021; Rahimian and Mehrotra, 2022; Zhu et al., 2021).
Figure 2 illustrates that selecting many nearby points makes the aggregate estimate fragile, because smooth errors can align coherently with a large value of across the support. Therefore, whenever the score estimator overestimates an entire local region of the feature space as illustrated in the red regime in Figure 2, the optimizer would concentrate mass on many nearby points, thereby compounding the estimation error. On the other hand, the regularized objective function as in (9) explicitly discourages such coherence; it forces the optimizer to trade off raw estimated reward against uncertainty induced by correlated misspecification. From this perspective, repulsion is a form of distributional robustness over feature space, remaining reliable under plausible smooth perturbations of the reward model. Theorem 7 in Appendix B.2 establishes the case when the kernel penalty mitigates the failure mode of the beam search studied in Corollary 6 in which the PRM beam collapses onto a concentrated group of non-viable prefixes when their PRM scores are only marginally better than a viable alternative.
Empirical choice of the RKHS radius . In Theorem 4, the constant upper-bounds the RKHS norm of the unknown error function , i.e., , and estimating such a radius from data is known to be delicate (Maddalena et al., 2021; Scharnhorst et al., 2022; Tokmak et al., 2025). While it is typically treated as a hyperparameter, we use a calibration-based scaling rule to set its value in practice, when calibration data with both predicted and reference scores is available. Given , we find a variational formulation such that is the RKHS norm of the minimum-norm function satisfying for all with . This perspective yields a natural sample-based proxy , which is the solution to , with being the Moore–Penrose inverse of . Thus, is the smallest RKHS radius consistent with the observed error pattern on the sample, which could be multiplied by a constant factor in practice for preventing underestimation of off-sample error complexity. When oracle step rewards are unavailable, we use the maximum within-trajectory variation in estimated step rewards as a proxy for the calibration residual magnitude. This heuristic is intended to scale the robust penalty to the observed instability of the verifier, rather than to provide a consistent estimate of the true RKHS error norm.
Connection to diversity-based regularized decoding. Although the regularizer in (9) superficially resembles diversity-promoting decoding such as diverse beam search, its role is different: it arises as a robustness penalty against smooth PRM misspecification rather than as a generic lexical or semantic diversity heuristic. In particular, controls the worst-case aggregate verifier error under the RKHS
Algorithm 1 Grid-based submodular surrogate maximization for maximin PRM-guided search
Require: scores , kernel matrix , penalty , cardinality , grid parameter , inner solver
1: Construct the grid ,
2: for each do
3: Compute , where approximately solves
4: end for
5: Return q^\dagger \in \arg\max_{i \in \{0,\ldots,H\}} \left[ s^\top q_i^\dagger - \tilde{B} \sqrt{q_i^\dagger^\top K q_i^\dagger} \right]
error model, whereas minimum Bayes risk (MBR) uses candidate geometry for consensus or centrality (Eikema and Aziz, 2022; Freitag et al., 2022; Jinnai et al., 2025), determinantal point process-style selection promotes volume or low redundancy (Kulesza et al., 2012; Meister et al., 2021), and diverse beam search encourages lexical or semantic mode coverage during decoding (Shi et al., 2025; Vijayakumar et al., 2016). Further, this perspective provides a principled mechanism to select from the calibration set, unlike the previous regularized decoding methods. We provide a detailed comparison in Appendix C.
5.2 Method
Overview The main difficulty in (9) is the non-separable term . Our approach removes this nonlinearity by a variational problem with an auxiliary scalar . The variational reformulation yields a family of surrogate objectives that are submodular under a cardinality constraint, which can be solved by fast principled approximate algorithms. In this way, we have a principled approximate solution with a controllable approximation error for the original square-root objective. Algorithm 1 describes the full procedure, and we refer to Appendix D for the exact configurations.
Variational reformulation We use the identity for . Applying this identity to yields the exact representation
yielding .
Outer optimization: Grid search over the auxiliary variable Note that, for any set , the maximizing auxiliary variable in (11) is , which is in for every feasible . Therefore, we discretize this interval with a multiplicative grid:
In (12), we note that the number of surrogate problems is , which increases logarithmically in and inversely in . For each , we solve the surrogate problem , where the constant term is omitted because it does not affect the optimizer for fixed . This produces a candidate solution . After all grid points are processed, we select among these candidates using the original square-root objective . Thus, the variational surrogates are used only to generate candidate subsets, while the final outer selection is made according to the true robust objective. Equivalently, for each , the auxiliary variable is analytically optimized out by evaluating .
Inner optimization: Principled approximate algorithm under submodularity For a fixed , the surrogate problem is a cardinality-constrained non-monotone submodular optimization problem. We let be the unit vector whose -th element is 1 and remaining elements are 0. To obtain a practical solver with a formal approximation guarantee, we use a two-stage procedure:
- Guaranteed warm start: We run a randomized greedy algorithm for non-monotone submodular maximization under a cardinality constraint. We apply the randomized greedy algorithm of Buchbinder et al. (2014): Starting from , for rounds , the algorithm computes the marginal gains
and forms the set of the elements with largest marginal gains among unselected trajectories (or all remaining elements if fewer than remain). Then, it updates by uniformly sampling from the set . As a result, this step produces a feasible .
- Objective-improving post-processing: We apply improving pairwise exchanges until a 1-swap local optimum is reached. Such exchange-based local search is a standard tool in constrained non-monotone submodular maximization, particularly under cardinality and matroid constraints (Fadaei et al., 2011; Lee et al., 2009). To this end, we use the gain of replacing active trajectory with inactive trajectory given by
In the two-stage optimization algorithm, the first stage provides a provable approximation bound for each surrogate problem. In particular, for a general non-monotone submodular maximization, the randomized greedy algorithm finds such that with (see Buchbinder et al. (2014) for the exact constant). The pairwise-swap stage is a monotone post-processing step that monotonically improves the variational objective. Given the finite feasible family , since a cyclic search is impossible, it must terminates after finitely many improving swaps. The resulting solution is a 1-swap local optimum by construction. Here, for dense , the residual randomized greedy initialization runs in , with rounds of marginal updates and partial selection. To make the total running time polynomial, we cap the number of 1-swap refinement steps by 30.
Error bound We now state the main guarantee for the error of Algorithm 1 compared to the original square-root objective . The result separates the error into two terms: the approximation error induced by the multiplicative grid over , and the approximation error of the randomized greedy inner solver. For simplicity, we consider the case that for all and as submodular maximization algorithms are stated for nonnegative objectives, and extend it to a general objective in Corollary 8 in Appendix B.3.
Theorem 5. (End-to-end approximation guarantee). Let , and let be the output of Algorithm 1. Let us assume that for every , the randomized greedy warm start returns a set satisfying and that the subsequent pairwise-swap local search returns with . Then, it holds that
Theorem 4 shows that is a certified lower bound on the true aggregate score under RKHS-bounded verifier misspecification. Theorem 5 then shows that Algorithm 1 approximately maximizes this certificate, up to the inner-solver factor and the grid error . This guarantee illustrates why adding the kernel penalty is effective against over-optimization. Maximizing alone does not control how much of the selected score may be due to possibly coherent verifier error; a spuriously overestimated local cluster can therefore dominate the entire beam (cf. Figure 2). The robust objective prevents this within the RKHS uncertainty class by subtracting exactly the worst-case aggregate error radius of the selected set. Thus, a set is retained only when its nominal PRM advantage remains positive after charging for its exposure to structured verifier misspecification.
6 Experiments
We evaluate maximin search on a series of mathematical reasoning benchmarks: GSM8K (Cobbe et al., 2021), MATH-500 (Hendrycks et al., 2021; Lightman et al., 2023), AIME'24¹, and AIME'25². The benchmarks are ranging from grade-school level to competition level problems, and report accuracy across all benchmarks. For AIME datasets, which contain only 30 samples, we use three different random seeds and report the average accuracy.
Base models and configuration. We use off-the-shelf language models as base generators, including Qwen2.5-Math-1.5B (Yang et al., 2024) and Phi-3.5-mini-instruct (Abdin et al., 2024), together with the Skywork o1-PRM-1.5B reward model (He et al., 2024). These models are chosen for two complementary reasons. Different generator families test whether the method depends on a particular generator, while their reasoning strength is high enough to produce viable continuations but low enough to leave many non-viable candidates, making step-level search decisions non-degenerate. All models are used without fine-tuning, online adaptation, or task-specific training. For a generated trajectory , the PRM assigns a reward to each reasoning step. We follow He et al. (2024) by using the average step reward as the trajectory-level value estimate . We use zero-shot chain-of-thought prompts for all generators, with full prompt templates provided in Appendix D. We follow the standard generation configuration described in Appendix D. The hyperparameters and solver settings for the nested optimization in maximin search are provided in Appendix D.
Baselines. We evaluate all methods under matched inference budgets of trajectories. The budget is defined as the maximum number of parallel trajectories maintained during decoding: the beam width for beam search, the sample size for Best-of-N methods, and for PRM-guided search, where we use a fixed branch factor of 4 and set the search width to . We compare maximin search against five baselines spanning three classes.
- No external supervision: greedy decoding and beam search. Greedy decoding selects the highest-probability token at each step, while beam search keeps and expands the top- partial trajectories by model likelihood.
- Outcome-level supervision: Best-of-N (BoN) and MBR-BoN (Jinnai et al., 2025). BoN selects the trajectory with the highest estimated outcome score among samples, while MBR-BoN selects the one maximizing , where .
- Step-level supervision: SBS (Chen et al., 2024), a PRM-guided beam search that keeps the top- partial trajectories by PRM score.
6.1 Benchmark results
Table 1 shows that naively using PRM scores as step-level guidance is not sufficient. As expected, external guidance substantially improves over unguided decoding; for example, on MATH-500 with Phi-3.5-mini-instruct at , beam search obtains 53.0%, while BoN/SBS/maximin reach 65.8%/66.4%/70.2%. However, SBS does not consistently outperform outcome-level selection methods such as BoN or BoN-MBR. For instance, with Qwen2.5-Math-1.5B, SBS is below BoN-MBR on GSM8K at (87.5 vs. 88.8), on MATH-500 at (72.4 vs. 75.2), and on AIME'24 at (10.0 vs. 13.3). This is consistent with prior work showing that direct step-level aggregation can be brittle (Cinquin et al., 2025).
However, adding the quadratic kernel penalty through maximin search makes the same step-level PRM signal more effective. Maximin achieves the best or tied-best result in 14 of the 16 generator-dataset-budget blocks, and improves over SBS by roughly 17%-35% on average across generator and search-budget settings, with only a 0.27% increase in runtime overhead when . The gains are more pronounced on harder benchmarks; for example, on Phi-3.5-mini-instruct, maximin improves over SBS from 66.4% to 70.2% on MATH-500 at , and from 6.7% to 13.3% on AIME'24 at . Consistent with this trend, Figure 3 shows that on MATH-500 the methods perform similarly on easier levels, while maximin obtains the highest Level-5 accuracy for both and . These results suggest that PRMs contain useful process-level information, but that robust aggregation is important for exploiting it. This improvement is obtained without online adaptation or fine-tuning, using the same off-the-shelf generators and PRMs.
¹https://huggingface.co/datasets/HuggingFaceH4/aime_2024 ²https://huggingface.co/datasets/MathArena/aime_2025
Table 1: Benchmark results under different generators and inference budgets. Best results within each generator-dataset-budget block are bolded; second-best results are underlined. Greedy uses . We report the standard deviations in Table 2 in Appendix D.
| Generator | Method | GSM8K | MATH-500 | AIME'24 | AIME'25 | ||||
|---|---|---|---|---|---|---|---|---|---|
| Qwen2.5-Math-1.5B | Greedy | 82.3 | 82.3 | 70.4 | 70.4 | 10.0 | 10.0 | 10.0 | 10.0 |
| Beam search | 84.3 | 84.9 | 72.2 | 75.2 | 16.7 | 16.7 | 10.0 | 10.0 | |
| BoN | 87.3 | 88.4 | 75.2 | 76.8 | 16.7 | 16.7 | 15.6 | 17.8 | |
| BoN-MBR | 88.0 | 88.8 | 75.2 | 77.4 | 14.4 | 16.7 | 15.6 | 12.2 | |
| SBS | 87.4 | 87.5 | 72.4 | 76.6 | 8.9 | 15.6 | 13.3 | 17.8 | |
| Maximin | 88.9 | 89.3 | 76.8 | 78.8 | 16.7 | 16.7 | 15.6 | 17.8 | |
| Phi-3.5-mini-instruct | Greedy | 84.1 | 84.1 | 45.8 | 45.8 | 3.3 | 3.3 | 0.0 | 0.0 |
| Beam search | 85.8 | 84.7 | 53.6 | 53.0 | 3.3 | 3.3 | 6.7 | 0.0 | |
| BoN | 89.3 | 89.6 | 63.4 | 65.8 | 6.7 | 5.6 | 2.2 | 3.3 | |
| BoN-MBR | 89.7 | 89.7 | 62.2 | 65.0 | 6.7 | 6.7 | 2.2 | 3.3 | |
| SBS | 88.9 | 91.4 | 63.2 | 66.4 | 4.4 | 7.8 | 2.2 | 6.7 | |
| Maximin | 89.8 | 91.2 | 63.8 | 70.2 | 8.9 | 8.9 | 2.2 | 7.8 | |

Figure 3: Performance of various decoding strategies relative to beam search across difficulty levels (1–5) at (left) and (right) on MATH-500. Series show the accuracy difference (in percentage points) from beam search; positive values indicate improvement over the baseline.
6.2 Impacts of reward noise
We test the robustness of SBS and maximin search to noisy reward estimates by adding independent Gaussian noise to the process reward, with . All experiments use Qwen2.5-Math-1.5B guided by Skywork o1-PRM-1.5B on 100 random samples from MATH-500. On this subset, maximin and SBS achieve 79% and 76% accuracies, respectively. Although these numbers differ slightly from the full evaluation due to subsampling, the relative trends are consistent.
Figure 4 shows that both methods degrade as the noise level increases, but maximin search is generally less sensitive to score perturbations. In particular, at , SBS shows a 12.7% relative degradation from its noise-free baseline, while maximin search changes by only 1.4%. Even for extreme noise level at , maximin search degrades by only 5.4% as opposed to 16.9% in SBS. Interestingly, a small amount of noise improves SBS, increasing performance from 71% to 73% at . This suggests that mild perturbations may regularize SBS by preventing over-reliance on small score differences. However, this benefit disappears once the perturbation becomes large enough to substantially corrupt the score ordering. Overall, maximin search remains more robust because it does not depend solely on the noisy score estimation, but also preserves a less concentrated reasoning trajectories.

Figure 4: Relative performance change (%) under different levels of noise injections on verifier scores.

Figure 5: Estimated across depth. Each line corresponds to a different example. The estimated RKHS radius substantially different for each example. Across the reasoning depth within the same example, the radius estimate varies and does not exhibit a clear pattern.
6.3 Algorithmic design choices
With the setup same as in §6.2, we examine three major algorithmic choices in maximin PRM-guided search: the local improvement step, the adaptive RKHS radius, and the representation geometry used by the RBF kernel.
Local improvement validates the robust objective. We introduce a 1-swap local improvement step to further optimize the robust objective in (9) after the initial randomized greedy selection. Removing this step reduces accuracy from 79% to 77%, only slightly above SBS. This is notable because naive PRM-guided search can suffer from reward over-optimization: directly maximizing imperfect PRM scores may amplify score errors and lead to reward hacking (cf. §4). In contrast, further optimizing our robust objective improves performance. Thus, the robust objective changes the role of optimization: rather than exacerbating PRM errors, additional optimization becomes beneficial. This suggests that the maximin objective is a more reliable target for PRM-guided decoding under imperfect reward estimates.
The uncertainty scale should be adaptive, not fixed. We set the RKHS radius in (9) using the sample-dependent proxy , where captures the maximum within-trajectory variation of process rewards, rather than treating as a global hyperparameter. To assess whether this adaptivity is necessary, we sweep fixed values , which yield accuracies of [71%, 78%, 77%, 74%],

Figure 6: Temperature sensitivity of decoding strategies. Curves show the accuracy difference from beam search (in percentage points) across sampling temperatures; positive values indicate improvement over the beam-search baseline.

Figure 7: Sensitivity to the grid parameter . The -axis shows runtime overhead compared to SBS, and the -axis shows the relative accuracy change compared with the default .
respectively. Although in Figure 5 a tuned constant can match the adaptive rule on this small subset, no fixed value is uniformly reliable: the best choice depends on the PRM, base generator, and dataset. Moreover, Figure 5 shows that the estimated varies substantially across reasoning depth and problem instance. This variation is expected, since the appropriate uncertainty scale is determined by the local geometry of the reward function on the sampled trajectories. A fixed radius cannot capture this heterogeneity. Thus, beyond being hyperparameter-free, the adaptive estimate is essential for calibrating the algorithm's conservatism to the local reward geometry.
Choice of distance measure. Our RBF kernel computes distances after -normalizing the PRM representations, making the kernel depend on angular distance rather than raw feature magnitude. This follows common practice in language representation spaces, where cosine or angular similarity is widely used for comparing text embeddings and is known to be more robust to anisotropy and norm artifacts in representations (Li et al., 2020; Su et al., 2021). When we instead use Euclidean distance in the unnormalized representation space, accuracy drops from 79% to 74%. This result is consistent with prior findings that the direction of language-model representations carries more useful semantic information than their raw norm, confirming that the kernel metric must be chosen to match the geometry of PRM representations.
6.4 Sensitivity analysis
With the same setup as in §6.2, we conduct sensitivity analyses with respect to temperature and grid parameters.
Temperature. A temperature sensitivity analysis examines how the methods behave as the randomness in generation changes. Figure 6 shows that maximin is consistently the strongest method across the tested temperatures [0.3, 0.7, 1.0], improving over beam search by +8.0, +4.6, and +4.0 percentage points, respectively. The largest gain appears at the lowest temperature, where sampling is more concentrated and candidate trajectories may be more redundant; in this regime, the kernel penalty can more directly counter concentrated SBS selections. At higher temperatures, candidates may already be more diverse, which is consistent with the smaller gap between maximin and SBS. Overall, maximin remains effective across temperatures.
Grid parameter . Algorithm 1 uses to control the resolution of the multiplicative grid over the auxiliary variable , with smaller evaluates a finer grid for outer search. Figure 7 illustrates the relative accuracy under different values change with respect to the default against the runtime overhead compared to SBS. incurs 0.26% runtime overhead. Relative to the default , finer grids slightly improve accuracy (+0.38% at ; +1.2% at ) while increasing runtime overhead
(2.1% and 0.69%). Coarser grids reduce overhead, with small changes up to (-0.28% at ; -0.7% at ), but the coarsest setting yields a larger drop (-3.10%). Thus, performance is stable over moderate grid resolutions, while very fine grids mainly increase cost and very coarse grids can hurt accuracy.
7 Conclusion
We studied the vulnerability of PRM-guided search to over-optimization of imperfect step-level reward estimates. Our analyses identify an extreme-value failure mode in which noisy PRM scores can cause search to favor non-viable prefixes as reasoning depth increases, thereby pruning promising trajectories and wasting inference-time compute. To address this, we formulated process supervision as robust optimization under plausible reward perturbations and derived a training-free robust selection procedure for PRM-guided decoding. Empirically, this approach improves guided search without additional verifier training or test-time adaptation. These results suggest that scaling inference-time reasoning requires not only stronger learned evaluators, but also search algorithms that remain reliable when those evaluators are uncertain.
Acknowledgement
Taejong Joo was supported in part by the Richard L. Francis Fellowship for this work.
References
Abdin, M., Aneja, J., Awadalla, H., Awadallah, A., Awan, A. A., Bach, N., Bahree, A., Bakhtiari, A., Bao, J., Behl, H., et al. (2024). Phi-3 technical report: A highly capable language model locally on your phone. arXiv preprint arXiv:2404.14219.
Advani, M. S., Saxe, A. M., and Sompolinsky, H. (2020). High-dimensional dynamics of generalization error in neural networks. Neural Networks, 132:428–446.
Belkin, M., Hsu, D., and Xu, J. (2020). Two models of double descent for weak features. SIAM Journal on Mathematics of Data Science, 2(4):1167–1180.
Besta, M., Blach, N., Kubicek, A., Gerstenberger, R., Podstawski, M., Gianinazzi, L., Gajda, J., Lehmann, T., Niewiadomski, H., Ncyzyk, P., et al. (2024). Graph of thoughts: Solving elaborate problems with large language models. In AAAI Conference on Artificial Intelligence.
Brown, B., Juravsky, J., Ehrlich, R., Clark, R., Le, Q. V., Ré, C., and Mirhoseini, A. (2024). Large language monkeys: Scaling inference compute with repeated sampling. arXiv preprint arXiv:2407.21787.
Buchbinder, N., Feldman, M., Naor, J., and Schwartz, R. (2014). Submodular maximization with cardinality constraints. In ACM-SIAM Symposium on Discrete Algorithms.
Casper, S., Davies, X., Shi, C., Gilbert, T. K., Scheurer, J., Rando, J., Freedman, R., Korbak, T., Lindner, D., Freire, P., et al. (2023). Open problems and fundamental limitations of reinforcement learning from human feedback. arXiv preprint arXiv:2307.15217.
Chen, G., Liao, M., Li, C., and Fan, K. (2024). Alphamath almost zero: process supervision without process. In Advances in Neural Information Processing Systems.
Cinquin, T., Pleiss, G., and Kristiadi, A. (2025). Limits of prm-guided tree search for mathematical reasoning with llms. arXiv preprint arXiv:2510.20272.
Cobbe, K., Kosaraju, V., Bavarian, M., Chen, M., Jun, H., Kaiser, L., Plappert, M., Tworek, J., Hilton, J., Nakano, R., et al. (2021). Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168.
Coste, T., Anwar, U., Kirk, R., and Krueger, D. (2023). Reward model ensembles help mitigate overoptimization. arXiv preprint arXiv:2310.02743.
Cui, G., Yuan, L., Wang, Z., Wang, H., Zhang, Y., Chen, J., Li, W., He, B., Fan, Y., Yu, T., et al. (2025). Process reinforcement through implicit rewards. arXiv preprint arXiv:2502.01456.
Dong, H., Duan, K., and Zhang, C. (2025). Enhancing decision-making of large language models via actor-critic. arXiv preprint arXiv:2506.06376.
Duchi, J. C. and Namkoong, H. (2021). Learning models with uniform performance via distributionally robust optimization. Annals of Statistics, 49(3):1378–1406.
Eikema, B. and Aziz, W. (2022). Sampling-based approximations to minimum bayes risk decoding for neural machine translation. In Conference on Empirical Methods in Natural Language Processing.
Fadaei, S., Fazli, M., and Safari, M. (2011). Maximizing non-monotone submodular set functions subject to different constraints: Combined algorithms. Operations Research Letters, 39(6):447–451.
Feng, X., Wan, Z., Wen, M., McAleer, S. M., Wen, Y., Zhang, W., and Wang, J. (2023). Alphazero-like tree-search can guide large language model decoding and training. arXiv preprint arXiv:2309.17179.
Freitag, M., Grangier, D., Tan, Q., and Liang, B. (2022). High quality rather than high model probability: Minimum bayes risk decoding with neural metrics. Transactions of the Association for Computational Linguistics, 10:811–825.
Gao, L., Schulman, J., and Hilton, J. (2023). Scaling laws for reward model overoptimization. In International Conference on Machine Learning.
Garreau, D., Jitkrittum, W., and Kanagawa, M. (2017). Large sample analysis of the median heuristic. arXiv preprint arXiv:1707.07269.
Gretton, A., Borgwardt, K. M., Rasch, M. J., Schölkopf, B., and Smola, A. (2012). A kernel two-sample test. Journal of Machine Learning Research, 13(1):723–773.
He, J., Wei, T., Yan, R., Liu, J., Wang, C., Gan, Y., Tu, S., Liu, C. Y., Zeng, L., Wang, X., Wang, B., Li, Y., Zhang, F., Xu, J., An, B., Liu, Y., and Zhou, Y. (2024). Skywork-01 open series.
Hendrycks, D., Burns, C., Kadavath, S., Arora, A., Basart, S., Tang, E., Song, D., and Steinhardt, J. (2021). Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874.
Hosseini, A., Yuan, X., Malkin, N., Courville, A., Sordoni, A., and Agarwal, R. (2024). V-star: Training verifiers for self-taught reasoners. arXiv preprint arXiv:2402.06457.
Hu, P., Zhang, Z., Chang, Q., Liu, S., Ma, J., Du, J., Zhang, J., Liu, Q., Gao, J., Ma, F., et al. (2025). Prm-bas: Enhancing multimodal reasoning through prm-guided beam annealing search. arXiv preprint arXiv:2504.10222.
Huang, A., Block, A., Liu, Q., Jiang, N., Krishnamurthy, A., and Foster, D. J. (2025). Is best-of-n the best of them? coverage, scaling, and optimality in inference-time alignment. arXiv preprint arXiv:2503.21878.
Ichihara, Y., Jinnai, Y., Morimura, T., Ariu, K., Abe, K., Sakamoto, M., and Uchibe, E. (2025). Evaluation of best-of-n sampling strategies for language model alignment. arXiv preprint arXiv:2502.12668.
Iyengar, G. N. (2005). Robust dynamic programming. Mathematics of Operations Research, 30(2):257–280.
Jinnai, Y., Morimura, T., Ariu, K., and Abe, K. (2025). Regularized best-of-n sampling with minimum bayes risk objective for language model alignment. In Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers).
Khalaf, H., Verdun, C. M., Oesterling, A., Lakkaraju, H., and Calmon, F. d. P. (2025). Inference-time reward hacking in large language models. arXiv preprint arXiv:2506.19248.
Khalifa, M., Agarwal, R., Logeswaran, L., Kim, J., Peng, H., Lee, M., Lee, H., and Wang, L. (2025). Process reward models that think. arXiv preprint arXiv:2504.16828.
Kojima, T., Gu, S. S., Reid, M., Matsuo, Y., and Iwasawa, Y. (2022). Large language models are zero-shot reasoners. In Advances in Neural Information Processing Systems.
Kulesza, A., Taskar, B., et al. (2012). Determinantal point processes for machine learning. Foundations and Trends® in Machine Learning, 5(2–3):123–286.
Kumar, A., Zhou, A., Tucker, G., and Levine, S. (2020). Conservative q-learning for offline reinforcement learning. In Advances in Neural Information Processing Systems.
Lee, J., Mirrokni, V. S., Nagarajan, V., and Sviridenko, M. (2009). Non-monotone submodular maximization under matroid and knapsack constraints. In Annual ACM Symposium on Theory of Computing.
Li, B., Zhou, H., He, J., Wang, M., Yang, Y., and Li, L. (2020). On the sentence embeddings from pre-trained language models. In Conference on Empirical Methods in Natural Language processing.
Lightman, H., Kosaraju, V., Burda, Y., Edwards, H., Baker, B., Lee, T., Leike, J., Schulman, J., Sutskever, I., and Cobbe, K. (2023). Let's verify step by step. In International Conference on Learning Representations.
Maddalena, E. T., Scharnhorst, P., and Jones, C. N. (2021). Deterministic error bounds for kernel-based learning techniques under bounded noise. Automatica, 134:109896.
Malladi, S., Wettig, A., Yu, D., Chen, D., and Arora, S. (2023). A kernel-based view of language model fine-tuning. In International Conference on Machine Learning.
Meister, C., Forster, M., and Cotterell, R. (2021). Determinantal beam search. In Annual Meeting of the Association for Computational Linguistics and International Joint Conference on Natural Language Processing (Volume 1: Long Papers).
Nakkiran, P. (2019). More data can hurt for linear regression: Sample-wise double descent. arXiv preprint arXiv:1912.07242.
Rahimian, H. and Mehrotra, S. (2022). Frameworks and results in distributionally robust optimization. Open Journal of Mathematical Optimization, 3:1–85.
Ross, S., Gordon, G., and Bagnell, D. (2011). A reduction of imitation learning and structured prediction to no-regret online learning. In International Conference on Artificial Intelligence and Statistics.
Scharnhorst, P., Maddalena, E. T., Jiang, Y., and Jones, C. N. (2022). Robust uncertainty bounds in reproducing kernel hilbert spaces: A convex optimization approach. IEEE Transactions on Automatic Control, 68(5):2848–2861.
Shi, W., Cui, Y., Wu, Y., Fang, J., Zhang, S., Li, M., Han, S., Zhu, J., Xu, J., and Zhou, X. (2025). Semantic-guided diverse decoding for large language model. arXiv preprint arXiv:2506.23601.
Shinn, N., Cassano, F., Gopinath, A., Narasimhan, K., and Yao, S. (2023). Reflexion: Language agents with verbal reinforcement learning. In Advances in Neural Information Processing Systems.
Skalse, J., Howe, N., Krasheninnikov, D., and Krueger, D. (2022). Defining and characterizing reward gaming. In Advances in Neural Information Processing Systems.
Snell, C., Lee, J., Xu, K., and Kumar, A. (2024). Scaling lln test-time compute optimally can be more effective than scaling model parameters. arXiv preprint arXiv:2408.03314.
Su, J., Cao, J., Liu, W., and Ou, Y. (2021). Whitening sentence representations for better semantics and faster retrieval. arXiv preprint arXiv:2103.15316.
Sun, Y., Wang, X., Liu, Z., Miller, J., Efros, A., and Hardt, M. (2020). Test-time training with self-supervision for generalization under distribution shifts. In International Conference on Machine Learning.
Thrun, S. and Schwartz, A. (1993). Issues in using function approximation for reinforcement learning. In Connectionist Models Summer School. Psychology Press.
Tokmak, A., Krishnan, K. G., Schön, T. B., and Baumann, D. (2025). Safe exploration in reproducing kernel hilbert spaces. arXiv preprint arXiv:2503.10352.
Uesato, J., Kushman, N., Kumar, R., Song, F., Siegel, N., Wang, L., Creswell, A., Irving, G., and Higgins, I. (2022). Solving math word problems with process-and outcome-based feedback. arXiv preprint arXiv:2211.14275.
Vijayakumar, A. K., Cogswell, M., Selvaraju, R. R., Sun, Q., Lee, S., Crandall, D., and Batra, D. (2016). Diverse beam search: Decoding diverse solutions from neural sequence models. arXiv preprint arXiv:1610.02424.
Wang, P., Li, L., Shao, Z., Xu, R., Dai, D., Li, Y., Chen, D., Wu, Y., and Sui, Z. (2024). Math-shepherd: Verify and reinforce llms step-by-step without human annotations. In Annual Meeting of the Association for Computational Linguistics.
Wang, X., Wei, J., Schuurmans, D., Le, Q., Chi, E., Narang, S., Chowdhery, A., and Zhou, D. (2022). Self-consistency improves chain of thought reasoning in language models. arXiv preprint arXiv:2203.11171.
Wei, J., Wang, X., Schuurmans, D., Bosma, M., Xia, F., Chi, E., Le, Q. V., Zhou, D., et al. (2022). Chain-of-thought prompting elicits reasoning in large language models. In Advances in Neural Information Processing Systems.
Xie, Y., Kawaguchi, K., Zhao, Y., Zhao, J. X., Kan, M.-Y., He, J., and Xie, M. (2023). Self-evaluation guided beam search for reasoning. In Advances in Neural Information Processing Systems.
Yang, A., Zhang, B., Hui, B., Gao, B., Yu, B., Li, C., Liu, D., Tu, J., Zhou, J., Lin, J., Lu, K., Xue, M., Lin, R., Liu, T., Ren, X., and Zhang, Z. (2024). Qwen2.5-math technical report: Toward mathematical expert model via self-improvement. arXiv preprint arXiv:2409.12122.
Yao, S., Yu, D., Zhao, J., Shafran, I., Griffiths, T., Cao, Y., and Narasimhan, K. (2023). Tree of thoughts: Deliberate problem solving with large language models. In Advances in Neural Information Processing Systems.
Zhang, D., Zhoubian, S., Hu, Z., Yue, Y., Dong, Y., and Tang, J. (2024a). Rest-mcts*: Llm self-training via process reward guided tree search. In Advances in Neural Information Processing Systems.
Zhang, X., Ton, J.-F., Shen, W., Wang, H., and Liu, Y. (2024b). Overcoming reward overoptimization via adversarial policy optimization with lightweight uncertainty estimation. arXiv preprint arXiv:2403.05171.
Zhang, Z., Zheng, C., Wu, Y., Zhang, B., Lin, R., Yu, B., Liu, D., Zhou, J., and Lin, J. (2025). The lessons of developing process reward models in mathematical reasoning. In Findings of the Association for Computational Linguistics.
Zhu, J.-J., Jitkrittum, W., Diehl, M., and Schölkopf, B. (2021). Kernel distributionally robust optimization: Generalized duality theorem and stochastic approximation. In International Conference on Artificial Intelligence and Statistics.
A Proof of claims
A.1 Proof of Theorem 1
Theorem 1. (Greedy reward hacking via deterministic cutoff). Under Assumption 1 and any fixed , let , , and . Then, it holds that
Proof. The core idea of the proof is to introduce a deterministic cutoff and lower-bounds to the failure event by the intersection of two simpler events: . Specifically, from Assumption 1, we can set for any fixed . Given the best viable verifier score , greedy selection fails whenever and . Indeed, on this event, some non-viable prefix has verifier score at least as large as the best viable prefix. Therefore,
The viable and non-viable noise variables are independent, so the two events on the right-hand side are independent, and thus
First, for every viable prefix , . Thus whenever for all . Therefore, we get
Second, for every non-viable prefix , . Hence whenever . Since , we have
Since the non-viable noises are independent by Assumption 1,
Combining the two bounds gives
Since this holds for every , taking the supremum over gives the final claim.
A.2 Proof of Theorem 2
Theorem 2. (Generator-averaged greedy failure). Let us suppose the current greedy prefix at depth is viable, i.e., . Let denote the search history before generating candidates at depth . Let us also assume a Markovian candidate generator: conditional on , the candidate continuations are sampled independently, and each continuation remains viable with probability . Finally, assume that for every mixed candidate set with and , there exists -measurable such that . Given Assumption 1 and any fixed , we define and . Then, it holds that
Proof. Let . By the Markovian independent-generation assumption, .
If , then no viable continuation is present in the candidate set. Therefore greedy search necessarily selects a non-viable prefix, and .
We now fix . Conditional on , we have and . If , then there are no non-viable candidates, and the verifier-selection failure probability is zero. This case is also handled by (22) because .
For , Theorem 1 gives, for any realized mixed candidate set ,
Using the envelope assumption , and the monotonicity of , we obtain . Therefore,
Averaging over gives
(24)
Since the bound holds for every , taking the supremum over gives the final claim.
A.3 Proof of Corollary 3
Corollary 3. (Depth-wise accumulation under Markovian generation). Under the assumptions of Theorem 2 for all , let denote the event that greedy search remains viable through depth . We define on and on . Then, it holds that .
Proof. By Theorem 2, on any surviving history , . Equivalently, .
Using the tower property recursively yields
Taking complements gives the claimed failure lower bound.
A.4 Proof of Theorem 4
Theorem 4. (Worst-case aggregate error under RKHS smoothness). If the estimation error is induced by a function with , then for every ,
Proof. By the reproducing property, . Thus, we have
By applying Cauchy–Schwarz, we get
In (27), the second factor is exactly
Therefore, we have
Equality is achieved by choosing proportional to , which proves (10).
A.5 Proof of Theorem 5
Theorem 5. (End-to-end approximation guarantee). Let , and let be the output of Algorithm 1. Let us assume that for every , the randomized greedy warm start returns a set satisfying and that the subsequent pairwise-swap local search returns with . Then, it holds that
Proof. Let be optimal for the original objective , and let \eta^\star \triangleq \sqrt{q^\star^\top K q^\star} \in [\sqrt{m}, m]. Since is a multiplicative grid on this interval, there exists such that . Using the variational representation in (11), we get and J_{\eta_{t^\star}}(q^\star) = s^\top q^\star - \frac{\tilde{B}}{2\eta_{t^\star}} q^\star^\top K q^\star - \frac{\tilde{B}}{2} \eta_{t^\star}. Writing z^\star \triangleq q^\star^\top K q^\star and using , we obtain
Let . Then, we get
where the last step uses . Hence
Let denote the candidate returned by the inner solver at grid point . By the randomized greedy guarantee and the objective-improving post-processing step, we have
Since is feasible, we have
On the other hand, Algorithm 1 returns . Therefore, pointwise, we have
Moreover, since , we have
Combining the previous inequalities and taking expectations gives
Using (32), we obtain
which proves (15).
B Additional theoretical results
B.1 Beam-level reward hacking via deterministic cutoff
Corollary 6. Under Assumption 1 and any fixed , let , , and . When and , the probability that the beam of width contains no viable prefix satisfies
where .
Proof. Let be the largest verifier score among viable prefixes. Also, for any fixed , set . Beam search fails at step if the top prefixes selected by are all non-viable. A sufficient condition for this failure is and . Indeed, on this event, at least non-viable prefixes have verifier score at least as large as every viable prefix. Thus the top- beam can be filled entirely by non-viable prefixes.
By the proof of Theorem 1, we have
and
Since the non-viable noises are independent by Assumption 1, the number of non-viable prefixes exceeding the cutoff stochastically dominates Binomial . Consequently, we get
As in Theorem 1, the event and the event that at least non-viable prefixes exceed depends only on the non-viable noises being independent. Hence, we get our desired result as
□
B.2 Kernel penalty breaks narrow beam-search failures
Theorem 7. Let us fix a depth with . Let be the top- PRM beam, with , and suppose it fails (i.e., ). For , we let
where , , and is the indicator vector of . Let us assume is symmetric, , and .
Let
and define the PRM edge gap
Suppose the failed PRM beam is more similar to its weakest selected prefix than to the best viable replacement; that is, and for all given . In this case, if
then is not a maximizer of .
Proof. Since is the top- PRM beam and , the weakest selected score is at least . Hence we have .
Let
and we denote
Then, we get
It remains to lower-bound the reduction in kernel penalty. Let us define
By the assumption about , we have
The swap only changes kernel terms involving or . Since is symmetric and ,
Also, since , every set of size satisfies . Therefore, we have
Thus, it holds that
Therefore, if
then . Hence cannot be a maximizer of .
B.3 Shifted nonnegative surrogates
Corollary 8 (End-to-end guarantee with shifted nonnegative surrogates). Assume the same conditions as in Theorem 5, without the non-negativity of . For each grid point , let and .
Let be the final output selected by Algorithm 1 according to the original objective . Let and define . Then, it holds that
Proof. For any fixed grid point , the shifted objective is nonnegative on , and hence on every intermediate set considered by the randomized greedy procedure.
By the assumed multiplicative guarantee in Theorem 5, we have
Since , this implies . The local-search post-processing only improves , so
Let and \alpha^\star = \sqrt{q^\star^\top K q^\star}, and then consider such that
Then, by using the same technique for bounding the multiplicative grid as in Theorem 5, we have
Therefore,
Applying the shifted guarantee at , and using , gives
Finally, Algorithm 1 returns the candidate with the largest original objective among all grid solutions, and for every and . Thus,
and the claimed bound follows after taking expectations.
Corollary 8 shows why the nonnegativity shift cannot be treated as without loss for a multiplicative approximation guarantee. Shifting preserves the optimizer and the marginal gains, but it changes the scale on which the multiplicative approximation is measured. The resulting guarantee therefore contains the additional additive term , which disappears only when the unshifted surrogates are already nonnegative. The shift is used only for the approximation analysis. The implementation does not require computing , since subtracting a constant from does not change marginal gains, local swaps, or the selected set.
C Comparison with MBR and diversity-based decoding
Maximin search belongs to a broader family of inference-time methods that use the geometry of a candidate set to avoid depending too strongly to a single imperfect score. The key distinction is what decision geometry is used to regularize. Minimum Bayes Risk (MBR) uses geometry to choose a representative final output. Diversity-promoting methods use geometry to reduce redundancy among candidates. Maximin search uses geometry to make intermediate pruning robust to verifier misspecification.
Maximin vs MBR We first contrast maximin search with MBR decoding. Given completed candidates , sample-based MBR selects
When the utility is the negative of a metric distance, this is equivalent to minimizing empirical expected distance, so MBR selects a Fréchet median of the empirical candidate distribution , i.e., an empirical 1-median (Jinnai et al., 2025). This view also underlies MBR-regularized Best-of-N decoding, where an MBR term discourages selecting high-reward outputs that are far from the reference-policy sample distribution (Jinnai et al., 2025).
Thus, MBR and maximin search share a common motivation: both use candidate-set geometry to reduce the risk of over-optimizing a noisy or misspecified reward. However, they use geometry in different ways. MBR is a consensus rule over completed outputs. It favors candidates that are central under the empirical output distribution. This is desirable when centrality correlates with correctness, because isolated high-reward outliers are suppressed. In mathematical reasoning, however, centrality can also be misleading: many sampled chains may share the same plausible but incorrect misconception, while a correct continuation may be rare. A purely central candidate can therefore correspond to a dominant wrong reasoning mode.
Maximin search addresses a different problem. It does not choose a single central completed output. Instead, it selects a subset of partial reasoning prefixes to preserve for future expansion. The goal is to avoid concentrating the search frontier in one high-similarity region when the verifier may be wrong in a coherent way on that region. In this sense, maximin search regularizes the pruning step rather than the final selection step. It preserves optionality under verifier uncertainty, whereas MBR aggregates evidence to choose a representative final candidate.
Maximin vs diversity-based decoding Maximin search is also distinct from generic diversity regularization. Diverse beam search introduces diversity as a search heuristic, often at the lexical or semantic level, to reduce redundancy among beams (Vijayakumar et al., 2016). Determinantal point process (DPP) methods similarly select high-quality diverse subsets by optimizing a determinantal objective, typically rewarding large volume or near-orthogonality in the feature space (Kulesza et al., 2012; Meister et al., 2021). These methods are natural baselines because they also discourage redundant candidates. However, their diversity terms are not derived from a model of verifier error.
The maximin penalty has a different interpretation. Under our RKHS misspecification model, the term is proportional to the worst-case coherent verifier error over the selected trajectories. The regularization coefficient therefore plays the role of an uncertainty radius, not merely a diversity weight. This interpretation yields a principled way to choose from an estimated level of verifier misspecification, rather than treating it as an arbitrary diversity hyperparameter. The resulting subset-selection problem is
(68) where contains the verifier scores and measures similarity between prefixes. The penalty controls the RKHS norm of the selected empirical measure, which is exactly the quantity that bounds worst-case aggregate misspecification error on the retained trajectories.
Hence the selected set under maximin search is not merely diverse or representative, unlike MBR, diverse beam search, or DDP; it is the highest-scoring trajectories whose aggregate score remains stable under structured step-level reward misspecification.
D Experimental details
Given a set of trajectories , we use the last hidden state of the PRM as an embedding . Then, the kernel is defined as , with the bandwidth determined by the median pairwise distance excluding diagonal self-distances:
We clamp the median distance and by a constant for numerical stability.
For both generators, we use top- sampling with and temperature 0.7. Also, for a step-level generation, we use a stop token of “\n\nn” with the maximum number of tokens in each step being 128. We set the maximum reasoning depth as 30. To ensure a fair comparison across methods, we halt any trajectory once its total generated length exceeds 2,048 tokens. Finally, for PRM-guided search methods, we use a constant branching factor of 4 at every reasoning depth. Thus, under number of maximum trajectories, each search state maintains parent trajectories and expands each of them with four continuations.
We use zero-shot chain-of-thought prompts for the generators, with an output format instruction. Exact prompts are given below.
Prompt for Qwen2.5-Math-1.5B
Below is an instruction that describes a task. Write a response that appropriately completes the request.
Instruction:
{question}
Response: Please reason step by step, and put your final answer within \boxed{}.
Prompt for Phi-3.5-mini-instruct
<|system|>You are a helpful assistant<end|> <|user|>Below is an instruction that describes a task. Write a response that appropriately completes the request.
Instruction:
{question}
Response: Please reason step by step, and put your final answer within \boxed{}.
<|end|> <|assistant|> <|assistant|> <|end|>
We used the following constants for Algorithm 1. The outer multiplicative grid is set based on , with endpoints and . For each fixed , we initialized the inner solver using the randomized greedy warm start as described in §5.2, together with deterministic greedy and random initializations. Each initialization was refined by 1-swap local search with at most 30 improvement passes and improvement tolerance . Among the resulting local optima for a fixed , we kept the one with the largest fixed- surrogate value.
In Table 1, we list the average accuracy for AIME datasets. Next, we give the standard deviations of the AIME results in Table 2.
Table 2: Standard deviations of benchmark results on AIME datasets. We report the standard deviations corresponding to the AIME results in Table 1.
| Generator | Method | AIME'24 | AIME'25 | ||
|---|---|---|---|---|---|
| N = 16 | N = 64 | N = 16 | N = 64 | ||
| Qwen2.5-Math-1.5B | BoN | 3.34 | 3.34 | 3.85 | 5.09 |
| BoN-MBR | 1.93 | 3.34 | 3.85 | 3.85 | |
| SBS | 1.92 | 5.09 | 3.34 | 3.85 | |
| Maximin | 3.34 | 3.34 | 3.85 | 1.92 | |
| Phi-3.5-mini-instruct | BoN | 3.34 | 1.93 | 1.92 | 3.34 |
| BoN-MBR | 3.34 | 3.34 | 1.92 | 3.34 | |
| SBS | 1.93 | 1.92 | 1.92 | 3.34 | |
| Maximin | 1.92 | 3.85 | 1.92 | 1.92 | |