如果我们在测试时动态分配计算资源呢?
What If We Allocate Test-Time Compute Adaptively?
AI总结:
本文提出了一种基于验证器的自适应框架,通过迭代轨迹生成与选择提升推理效率,在多个数据集上优于传统测试时缩放方法。
摘要:
测试时计算缩放通常均匀分配推理计算,使用固定采样策略,并仅对重排进行验证。相反,我们提出了一种由验证器引导的自适应框架,将推理视为迭代轨迹生成与选择过程。对于每个问题,智能体运行多个推理迭代。在每个迭代中,它可选地生成高层次计划,选择一组推理工具和计算策略以及探索参数,并生成候选推理轨迹。过程奖励模型(PRM)作为统一的控制信号:在每个迭代中,步骤级PRM分数被汇总以指导剪枝和扩展生成,并在跨迭代中,汇总轨迹奖励用于选择最终响应。在多个数据集上,我们的动态、PRM引导的方法始终优于直接测试时缩放,从而在MATH-500上获得显著收益,并在更难的基准如AIME24和AMO-Bench上实现几倍提升。我们通过理论FLOPs和计算强度指标来表征效率,该指标惩罚浪费的生成和工具开销,证明了验证引导的分配将计算集中在高效益的推理路径上。
英文摘要:
Test-time compute scaling allocates inference computation uniformly, uses fixed sampling strategies, and applies verification only for reranking. In contrast, we propose a verifier-guided adaptive framework treating reasoning as iterative trajectory generation and selection. For each problem, the agent runs multiple inference iterations. In each iteration, it optionally produces a high-level plan, selects a set of reasoning tools and a compute strategy together with an exploration parameter, and then generates a candidate reasoning trajectory. A process reward model (PRM) serves as a unified control signal: within each iteration, step-level PRM scores are aggregated to guide pruning and expansion during generation, and across iterations, aggregated trajectory rewards are used to select the final response. Across datasets, our dynamic, PRM-guided approach consistently outperforms direct test-time scaling, yielding large gains on MATH-500 and several-fold improvements on harder benchmarks such as AIME24 and AMO-Bench. We characterize efficiency using theoretical FLOPs and a compute intensity metric penalizing wasted generation and tool overhead, demonstrating that verification-guided allocation concentrates computation on high-utility reasoning paths.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。