Reward Model Generalization for Compute-Aware Test-Time Reasoning

Zeen Song, Wenwen Qiang, Siyu Zhao, Changwen Zheng, Gang Hua · Submission to ICLR 2026 · Withdrawn

TL;DR

This paper theoretically investigates how the generalization error of Process Reward Models (PRMs) degrades test-time compute efficiency and answer selection in large language models. Leveraging PAC-Bayes theory and parameter sparsity as an empirical proxy for PRM generalization, the authors introduce Compute-Aware Tree Search (CATS)—an Advantage Actor-Critic (A2C) framework that dynamically tunes search and sampling hyperparameters on the fly to maximize reasoning accuracy under strict compute budgets.

What Problem Does This Paper Address?

In external test-time scaling (TTS), a frozen policy language model generates reasoning paths while an external Process Reward Model (PRM) scores intermediate steps to identify the best solution (e.g., via Best-of-$N$ sampling or Beam Search). A major goal is Test-Time Compute Optimality (TCO): maximizing final answer accuracy under a fixed inference compute budget.

However, PRMs are typically trained on small, supervised datasets and often generalize poorly to novel reasoning trajectories produced at inference time. When a PRM misjudges path quality, it risks discarding correct solutions in favor of flawed ones. Prior works have lacked a formal mathematical understanding of how PRM generalization error directly dictates inference-time compute demands and path mis-ranking risk, as well as how to adapt search dynamics accordingly.

Methods

The paper bridges statistical learning theory with reinforcement learning for search control:

  1. PAC-Bayesian Generalization & Accuracy Bounds:
    The authors establish a PAC-Bayesian bound on PRM generalization error $\varepsilon$ and derive an explicit lower bound on the probability of reaching the correct answer: $$\Pr(a(h_{\text{sel}}) = a^*(q)) \ge p_{N,\tau}(q) \left[ 1 - \delta - (N - 1)\exp\left(-\frac{\gamma(q)^2}{8\varepsilon^2}\right) \right]$$ where $p_{N,\tau}(q)$ represents candidate sampling coverage, $\gamma(q)$ is the reward margin between the best path and suboptimal competitors, and $\varepsilon$ is the PRM's generalization error bound.

  2. Sparsity as an Observable Proxy:
    Because true generalization error is unobservable at test time, the authors leverage sparsity-based PAC-Bayesian theory: PRMs with greater parameter sparsity (fewer non-zero weights) exhibit lower risk bounds, making weight sparsity a computable proxy for verifier reliability.

  3. Compute-Aware Tree Search (CATS):
    Formulating tree search as a Markov Decision Process (MDP), CATS trains lightweight actor and critic MLPs via Advantage Actor-Critic (A2C):

  4. State ($s_t$): Candidate count, PRM summary statistics (top-$K$, max, mean, standard deviation), model parameter sparsity ($\|\phi\|_0/d$), and remaining budget.

  5. Action ($a_t$): Generation hyperparameters (top-$k$, top-$p$, temperature $\tau$) and search control parameters (how many branches to sample and retain).
  6. Reward ($r_t$): A composite function penalizing compute consumption while rewarding large margins between retained and discarded paths ($\Delta_m$) and high PRM scores.

Datasets

  • Training: 12,000 mathematical reasoning problems with ground-truth answers from the MATH dataset.
  • Proxy Validation: The PRM800K test set, used to benchmark cross-entropy test error against PRM parameter sparsity.
  • Evaluation Benchmarks:
  • MATH-500 and AIME24 (primary evaluation across various model/PRM combinations).
  • GSM8K and OlympiadBench (used for comparisons against external TTS baselines).
  • No new benchmarks were introduced.

Key Insights and Ideas

  • The Margin vs. Generalization Trade-Off: The accuracy bound reveals an exponential penalty: as verifier generalization error $\varepsilon$ increases, the required reward margin $\gamma(q)$ between good and bad paths must grow proportionally to avoid catastrophic mis-ranking.
  • Sparsity Indicates PRM Trustworthiness: Empirically and theoretically, structural parameter sparsity correlates with smaller generalization error on held-out step-level verification (e.g., Math-Shepherd-7B has higher sparsity and significantly lower test error than dense alternatives).
  • Dynamic Policy Outperforms Static Heuristics: Rather than adhering to fixed beam widths or unguided Best-of-$N$, dynamically adjusting branching factors and sampling temperatures conditioned on PRM confidence and model sparsity allows search budgets to be spent where verifiers are most reliable.

Key Results

  • Consistent Superiority Across Compute Budgets: On MATH-500 and AIME24, CATS consistently outperformed Best-of-$N$, Beam Search ($M=4$), and Majority Voting across all tested budget scales ($N \in \{4, \dots, 256\}$), tested with policy models ranging from 0.5B to 8B parameters and multiple PRMs (Skywork, Qwen2.5-Math-PRM, Math-Shepherd, RLHFlow).
  • Outperforming Much Larger Models:
  • On GSM8K, CATS with Qwen2.5-Instruct-7B achieved 98.0%, surpassing MCTSr with Llama-3-8B (96.7%) and NuminaMath-72B-CoT (90.8%).
  • On MATH, CATS with Qwen2.5-Instruct-7B scored 89.4%, exceeding BoostStep using Qwen2.5-Math-72B-Instruct (85.2%).
  • On OlympiadBench, CATS with Qwen2.5-Instruct-7B reached 58.4% (compared to 52.7% for BoostStep-72B).
  • Ablation Findings: Omitting parameter sparsity from the state representation resulted in a ~1–1.5% drop on MATH-500, confirming that knowledge of verifier generalization capacity directly improves compute allocation.

Limitations and Future Work

  • Theoretical Assumptions: The bounds assume i.i.d. data sampling and conditional independence of PRM error deviations, which may be violated in complex, multi-step autoregressive tree rollouts.
  • Sparsity Heuristic: Weight sparsity thresholding ($< 10^{-4}$) is a relatively coarse proxy for PRM reliability; more nuanced uncertainty or epistemic error estimators could be explored.
  • Training Overhead: CATS requires collecting trajectory rollouts on offline data to train the auxiliary A2C controller, though the resulting MLPs remain lightweight.

Summary updated

BibTeX
@misc{song2025reward,
  author = {Zeen Song and Wenwen Qiang and Siyu Zhao and Changwen Zheng and Gang Hua},
  title = {{Reward Model Generalization for Compute-Aware Test-Time Reasoning}},
  year = {2025},
  eprint = {2505.18065},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.18065},
}

Loading related content...

Figure