arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.21878cs.AIcs.LGstat.ML
收藏

Best-of-N 是其中最优的吗?推理时对齐中的覆盖率、扩展性与最优性

Is Best-of-N the Best of Them? Coverage, Scaling, and Optimality in Inference-Time Alignment

University of YYY(YYY大学);School of ZZZ(ZZZ学院);Institute of WWW(WWW研究院)

Audrey Huang, Adam Block, Qinghua Liu, Nan Jiang, Akshay Krishnamurthy, Dylan J. Foster

AI总结:

本文研究推理时对齐中Best-of-N的覆盖率条件与奖励黑客问题,提出基于悲观主义拒绝采样的InferenceTimePessimism算法,证明其最优且随N扩展单调,并在多任务上验证了优势。

摘要:

推理时计算为扩展语言模型性能提供了一个强大的维度。然而,在 Best-of-N 采样等技术中天真地增加计算量可能会由于奖励黑客(reward hacking)而导致性能退化。为了从理论上理解如何最好地利用额外计算,我们聚焦于推理时对齐,并将其形式化为如下问题:给定一个感兴趣的提示和访问一个不完美奖励模型的能力,改进从预训练策略中抽取的响应质量。我们从(i)响应质量和(ii)计算量两个角度分析推理时对齐算法的性能,并提供新的结果,强调预训练策略对高质量响应的覆盖率对于性能和计算扩展的重要性:1. 我们证明,在严格的覆盖率概念下,具有理想 $N$ 选择的 Best-of-$N$ 对齐可以实现最优性能,但当 $N$ 较大时,可证明会遭受奖励黑客问题,并且在更现实的覆盖率条件下无法实现紧保证。2. 我们引入 $\ exttt{InferenceTimePessimism}$,一种新算法,通过有意识地使用推理时计算来缓解奖励黑客问题,通过拒绝采样实现面对不确定性时的悲观主义原则;我们证明其性能是最优的,并且不会随 $N$ 增大而退化,这意味着它是扩展单调的。我们通过实验评估补充了理论结果,实验证明了 $\ exttt{InferenceTimePessimism}$ 在多种任务和模型上的优势。

英文摘要:

Inference-time computation offers a powerful axis for scaling the performance of language models. However, naively increasing computation in techniques like Best-of-N sampling can lead to performance degradation due to reward hacking. Toward a theoretical understanding of how to best leverage additional computation, we focus on inference-time alignment, which we formalize as the problem of improving the quality of responses drawn from a pre-trained policy, given a prompt of interest and access to an imperfect reward model. We analyze the performance of inference-time alignment algorithms in terms of (i) response quality, and (ii) compute, and provide new results that highlight the importance of the pre-trained policy's coverage over high-quality responses for performance and compute scaling: 1. We show that Best-of-$N$ alignment with an ideal choice for $N$ can achieve optimal performance under stringent notions of coverage, but provably suffers from reward hacking when $N$ is large, and fails to achieve tight guarantees under more realistic coverage conditions. 2. We introduce $\texttt{InferenceTimePessimism}$, a new algorithm which mitigates reward hacking through deliberate use of inference-time compute, implementing the principle of pessimism in the face of uncertainty via rejection sampling; we prove that its performance is optimal and does not degrade with $N$, meaning it is scaling-monotonic. We complement our theoretical results with an experimental evaluation that demonstrate the benefits of $\texttt{InferenceTimePessimism}$ across a variety of tasks and models.

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

↑