arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.18065cs.LG
收藏

奖励模型泛化用于计算感知的测试时推理

Reward Model Generalization for Compute-Aware Test-Time Reasoning

Institute of Software, China Academy of Sciences(中国科学院软件研究所);University of Chinese Academy of Science(中国科学院大学);Multimodal Experiences Lab, Dolby Laboratories Inc(Dolby Laboratories Inc多媒体体验实验室);Institute of Artificial Intelligence and Robotics, Xi’an Jiaotong University(西安交通大学人工智能与机器人研究所)

Zeen Song, Wenwen Qiang, Siyu Zhao, Changwen Zheng, Gang Hua

AI总结:

本文提出计算感知树搜索(CATS)框架,通过PAC-Bayes理论分析奖励模型泛化误差对测试时计算效率的影响,并在MATH和AIME基准上验证其优于现有外部测试时推理方法。

摘要:

外部测试时推理通过解耦生成与选择来增强大型语言模型(LLMs)。在推理时,模型生成多条推理路径,并由一个辅助的过程奖励模型(PRM)进行评分和选择最佳路径。该设置中的一个核心挑战是测试时计算最优性(TCO),即在固定推理预算下如何最大化答案准确性。在本工作中,我们建立了一个理论框架来分析PRM的泛化误差如何影响计算效率和推理性能。利用PAC-Bayes理论,我们推导出泛化界限,并表明PRM较低的泛化误差导致找到正确答案所需的样本更少。受此分析启发,我们提出了计算感知的树搜索(CATS),一个演员-评论家框架,动态控制搜索行为。演员基于奖励分布和稀疏性统计输出采样超参数,而评论家估计其效用以指导预算分配。在MATH和AIME基准上使用各种LLMs和PRMs进行的实验表明,CATS始终优于其他外部TTS方法,验证了我们的理论预测。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑