arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.05913stat.MLcs.LG
收藏

通过平滑视角看Best-of-N:KL散度与遗憾分析

Best-of-N through the Smoothing Lens: KL Divergence and Regret Analysis

The Alan Turing Institute, London, UK(艾伦·图灵研究所);Statistical Laboratory, University of Cambridge, Cambridge, UK(剑桥大学统计实验室);Massachusetts Institute of Technology, USA(麻省理工学院);IBM Research, USA(IBM研究院)

Gholamali Aminian, Idan Shenfeld, Amir R. Asadi, Ahmad Beirami, Youssef Mroueh

AI总结:

本文通过平滑版本Soft Best-of-N研究生成模型推理时对齐方法,提供KL散度界限和遗憾分析,证明平滑能缓解奖励过度优化,尤其在代理奖励质量低时有效。

摘要:

生成模型推理时对齐的一种简单而有效的方法是Best-of-$N$(BoN),即从参考策略中采样$N$个结果,使用代理奖励模型进行评估,并选择得分最高的一个。虽然先前的工作认为BoN在奖励与KL权衡方面几乎是最优的,但BoN的有效性关键取决于用于选择的代理奖励模型的质量。为此,我们通过一种称为Soft Best-of-N(SBoN)的平滑版本来研究BoN,并开发了一个理论框架来解决这一差距。我们通过提供SBoN策略与参考策略之间KL散度的界限来分析BoN的缩放行为,从而深入了解性能如何随样本数量变化。我们还研究了遗憾差距,即最优策略下的期望真实奖励与SBoN策略之间的差距。我们的理论和实证结果表明,平滑有助于SBoN缓解奖励过度优化,尤其是在代理奖励质量较低时。

英文摘要:

A simple yet effective method for inference-time alignment of generative models is Best-of-$N$ (BoN), where $N$ outcomes are sampled from a reference policy, evaluated using a proxy reward model, and the highest-scoring one is selected. While prior work argues that BoN is almost optimal in reward vs KL tradeoffs, the effectiveness of BoN depends critically on the quality of the proxy reward model used for selection. For this purpose, we study BoN through a smooth version known as Soft Best-of-N (SBoN) and develop a theoretical framework to address this gap. We analyze the scaling behaviour of BoN by providing bounds on the KL divergence between the SBoN policy and the reference policy, offering insights into how performance varies with the number of samples. We also study the regret gap, i.e., the gap between the expected true reward under the optimal policy and the SBoN policy. Our theoretical and empirical findings show that smoothing helps SBoN mitigate reward overoptimization, especially when the quality of the proxy reward is low.

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

↑