arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2603.05739cs.LGcs.AI
收藏

重新审视最佳-N在推理时间对齐中的(次)最优性

Revisiting the (Sub)Optimality of Best-of-N for Inference-Time Alignment

Columbia University(哥伦比亚大学)

Ved Sriraman, Adam Block

AI总结:

本文重新审视了最佳-N在推理时间对齐中的次优性,证明在特定条件下BoN在胜率上最优,并提出消除奖励黑客攻击的改进方法。

摘要:

最佳-N(BoN)采样是一种广泛用于语言模型推理时间对齐的方法,其中从参考模型中采样N个候选响应,并选择根据学习的奖励模型预测奖励最高的那个。尽管其在实际应用中被广泛使用,但最近的理论工作表明,它在统计上是次优的,并且容易受到奖励黑客攻击,即模型利用学习奖励模型中的弱点来获得高估计奖励而并不真正提升性能。我们在此问题上重新审视,假设更贴近实际应用而非先前工作。特别是,与早期分析关注预期真实奖励不同,我们研究推理时间对齐如何影响胜率,这是一种基于成对比较的度量,更贴近奖励模型在实践中如何训练和评估。我们证明,在对参考模型和学习奖励模型质量有最小条件的情况下,经过适当调优的BoN在实现高胜率方面在计算和统计上都是最优的,部分解释了其广泛的实际成功。由于BoN在此设置中仍然容易受到奖励黑客攻击,我们提出一个简单且实用的变种,可以证明消除奖励黑客攻击同时保持最优统计性能。最后,我们证明了先前方法在考虑胜率时是证明次优的,突显了在分析推理时间对齐方法时选择适当目标的重要性。

英文摘要:

Best-of-N (BoN) sampling is a widely used inference-time alignment method for language models, whereby N candidate responses are sampled from a reference model and the one with the highest predicted reward according to a learned reward model is selected. Despite its widespread practical use, recent theoretical work has suggested that it is statistically suboptimal and vulnerable to reward hacking, the process by which models exploit weaknesses in the learned reward model to achieve high estimated reward without genuinely improving performance. We revisit this question under assumptions that more closely reflect practice than that of prior work. In particular, in contradistinction to earlier analyses that focused on expected true reward, which may not be meaningful in many practical settings, we investigate how inference-time alignment affects the win-rate, a pairwise comparison-based metric more closely aligned with how reward models are trained and evaluated in practice. We demonstrate that, under minimal conditions on the quality of the reference model and learned reward model, properly tuned BoN is both computationally and statistically optimal in achieving high win-rate, partially explaining its widespread practical success. Because BoN remains susceptible to reward-hacking in this setting, we propose a simple and practical variant that provably eliminates reward-hacking while maintaining optimal statistical performance. Finally, we show that prior approaches are provably suboptimal when considering win-rate, highlighting the importance of choosing appropriate objectives when analyzing inference-time alignment methods.

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

↑