arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2605.17609cs.LG
收藏

自适应生成-排序-验证:具有高成本验证的推理时间搜索

Adaptive Generate-Rank-Verify: Inference-Time Search with Costly Verification

University of Southern California(南加州大学);Northwestern University(西北大学);University of Chicago(芝加哥大学);Toyota Technological Institute at Chicago(芝加哥丰田技术研究所);Simons Institute for the Theory of Computing(Simons计算理论研究所);Data Science Institute at the University of Chicago(芝加哥大学数据科学研究所)

Shaddin Dughmi, Mahdi Haghifam, Yusuf Hakan Kalayci

AI总结:

本文提出了一种自适应生成-排序-验证方法,通过在未知分布下自适应地生成和验证候选答案,以在保证成本的前提下找到正例,同时通过理论分析和实验验证了该方法在数学推理和编程竞赛中的有效性。

摘要:

许多推理时间语言模型管道结合了低成本奖励信号和高成本验证器,例如数学推理中的精确答案检查或代码生成中的隐藏测试执行。我们通过学习理论的视角将这一设置形式化为生成性主动搜索:一个成本敏感的首次正例搜索问题,在其中策略会自适应地从未知分布中采样候选者,观察低成本评分,并支付验证器标签的费用,直到找到正例。对于固定的提示,生成器和奖励模型诱导出两个未知对象:奖励分数上的分布和条件于评分的成功函数。当这些量已知时,我们使用动态规划方法来表征分布感知的最优策略。在现实和实用的设置中,当评分分布和成功函数都未知时,我们提出ADAP算法,一种分层自适应的生成-排序-验证算法,逐步增加采样的响应数量和顶部验证的数量。在单调性假设下,即更高的奖励分数不太可能通过验证,我们证明ADAP在期望成本上接近分布感知的最优。我们通过基于中心星数的学习理论下界补充这一结果,表明对评分-标签关系的结构假设是必要的。在数学推理和竞争编程上的实验验证了在固定非自适应策略和难度自适应基线上的预测优势。

英文摘要:

Many inference-time language-model pipelines combine a cheap reward signal with an expensive verifier, such as exact answer checking in mathematical reasoning or hidden-test execution in code generation. We formalize this setting using a learning-theoretic lens as generative active search: a cost-sensitive first-positive search problem in which a policy adaptively samples candidates from an unknown distribution, observes cheap scores, and pays for verifier labels until it finds a positive example. For a fixed prompt, the generator and reward model induce two unknown objects: a distribution over reward scores and a score-conditioned success function. When these quantities are known, we characterize the distribution-aware optimal policy using a dynamic programming approach. In the realistic and practical setting where both the score distribution and success function are unknown, we propose ADAP, a shellwise adaptive generate-rank-verify algorithm that progressively increases the number of sampled responses and top-ranked verifications. Under the monotonicity assumption that higher reward scores are no less likely to pass verification, we show that ADAP achieves expected cost within a constant factor of the distribution-aware optimum. We complement this result with learning-theoretic lower bounds, based on a centered star number, showing that structural assumptions on the score--label relationship are necessary. Experiments on mathematical reasoning and competitive programming validate the predicted advantage over both fixed non-adaptive policies and difficulty-adaptive baselines.

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

↑