Reward Model Generalization for Compute-Aware Test-Time Reasoning
Zeen Song, Wenwen Qiang, Siyu Zhao, Changwen Zheng, Gang Hua
TL;DR
The paper studies how the generalization ability of a Process Reward Model (PRM) affects compute-optimal external test-time reasoning (TTS) in large language models. It derives PAC-Bayes-based generalization bounds and connects them to final answer accuracy and compute budget, highlighting the risk of mis-ranking candidate reasoning paths due to reward prediction error. Motivated by these insights, it proposes Compute-Aware Tree Search (CATS), an A2C-based controller that dynamically allocates compute by balancing compute cost, reward margins, and PRM scores, using sparsity as a proxy for generalization. Empirical results on MATH-500 and AIME24 across multiple policy models and PRMs show that CATS consistently outperforms standard external TTS methods, validating the theoretical predictions and demonstrating practical gains in compute efficiency and accuracy.
Abstract
External test-time reasoning enhances large language models (LLMs) by decoupling generation and selection. At inference time, the model generates multiple reasoning paths, and an auxiliary process reward model (PRM) is used to score and select the best one. A central challenge in this setting is test-time compute optimality (TCO), i.e., how to maximize answer accuracy under a fixed inference budget. In this work, we establish a theoretical framework to analyze how the generalization error of the PRM affects compute efficiency and reasoning performance. Leveraging PAC-Bayes theory, we derive generalization bounds and show that a lower generalization error of PRM leads to fewer samples required to find correct answers. Motivated by this analysis, we propose Compute-Aware Tree Search (CATS), an actor-critic framework that dynamically controls search behavior. The actor outputs sampling hyperparameters based on reward distributions and sparsity statistics, while the critic estimates their utility to guide budget allocation. Experiments on the MATH and AIME benchmarks with various LLMs and PRMs demonstrate that CATS consistently outperforms other external TTS methods, validating our theoretical predictions.
