arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.04087stat.MEcs.AIcs.LG
收藏

Best of mini-N in-loop采样:面向可靠且高效Best-of-N采样的上下文质量奖励模型

Best of mini-N in-loop Sampling: A Contextual Quality Reward Model for Reliable and Efficient Best-of-N Sampling

University of Mississippi(密西西比大学)

Hyung Gyu Rho, Sian Lee

AI总结:

本文提出一种新的数据收集与建模框架,通过为偏好数据增加外部选项训练能区分响应是否足够好的奖励模型,并基于此设计了自适应推理策略best of mini-N in-loop,在降低可靠性失败率的同时提升推理速度。

摘要:

现代偏好对齐技术(如Best-of-N (BoN)采样)依赖于使用成对比较数据训练的奖励模型。尽管在学习相对偏好方面很有效,但这种范式无法捕捉响应可接受性的信号,使得系统容易在多个不可接受的选项中选择最不坏的选项。这对于困难提示词尤其成问题,因为这种错误接受的风险会随着样本数量的增加而增加。在本文中,我们通过引入一种新的数据收集和建模框架来解决这一关键的可靠性差距。受离散选择模型启发,通过为偏好数据增加一个外部选项,我们训练了一个奖励模型,它不仅能区分什么更好,还能区分什么足够好。我们利用这一能力创建了一种自适应推理策略,即best of mini-N in-loop,它将生成预算划分为多个顺序循环,并带有校准的提前退出条件。我们的实验表明,当作为对齐护栏进行调整时,它将可靠性失败率降低了70%;当作为推理加速器进行调整时,在IMDB-sentiment设置中,它将平均推理速度提高了22%以上。因此,我们为从业者提供了一个有原则且灵活的框架,以明确管理可靠性与计算效率之间的权衡。

英文摘要:

Modern preference alignment techniques, such as Best-of-N (BoN) sampling, rely on reward models trained with pairwise comparison data. While effective at learning relative preferences, this paradigm fails to capture a signal of response acceptability, leaving systems vulnerable to selecting the least bad of many unacceptable options. This is particularly problematic for hard prompts, where the risk of such false acceptances increases with the number of samples. In this paper, we address this critical reliability gap by introducing a new data collection and modeling framework. By augmenting preference data with an outside option, inspired by discrete choice models, we train a reward model that can distinguish not just what is better, but what is good enough. We leverage this capability to create an adaptive inference strategy, best of mini-N in-loop, which partitions the generation budget into sequential loops with a calibrated, early-exit condition. Our experiments show that when tuned as an alignment guardrail, it reduces reliability failures by 70%, and when tuned as an inference accelerator, it improves average inference speed by over 22% in IMDB-sentiment setting. We thus provide a principled and flexible framework for practitioners to explicitly manage the trade-off between reliability and computational efficiency.

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

↑