2025-10-02 · 进阶 · 自然语言处理 · 机器学习

Making, not Taking, the Best of N

这篇论文提出了FusioN方法,通过合成多个候选生成结果来生成高质量的单一代码,优于传统的选择最佳结果的方法。

更新于 2025-10-02。作者:Ammar Khairi、Daniel D'souza、Marzieh Fadaee、Julia Kreutzer。

中文摘要

在现代大型语言模型(LLM)中获取高质量的生成内容主要被视作一个选择问题:从N个样本中识别出一个最佳生成内容,即Best-of-N(BoN)。然而,这种方法本质上是零和博弈,它会丢弃池中的多样性和可能有用的信息。相反,我们探索了一种协作设置,其中所有候选者都有可能为最终的获胜生成内容做出贡献。为此,我们提出了Fusion-of-N(FusioN):一种使用通用LLM评委将每个样本的最具信息量元素综合成一个单一最终答案的方法。我们在两种设置中比较了FusioN与BoN,即(i)测试时扩展,我们在测试时从单个模型中进行采样和汇总;(ii)合成数据生成,我们从多样教师池中融合样本以提高学生模型。我们在11种语言、3个不同任务和不同模型规模下广泛基准测试了这两种设置。在整个基准测试中,FusioN始终优于BoN,显示出在测试时扩展和从合成数据生成中下游收益方面的灵活性和鲁棒性。我们还对FusioN进行了广泛的分析,其中它在具有挑战性的设置下显示出令人惊讶的优势和鲁棒性。这些结果表明,我们应该转变我们评估和利用LLM生成内容的方式,从单一质量度量转向拥抱其多块结构性质。这种转变使我们能够整合不同的优势,解锁潜在潜力,实现仅通过选择无法达到的改进。

英文摘要

Obtaining high-quality generations in modern LLMs has largely been framed as a selection problem: identifying a single winning generation from a diverse pool of N samples, the Best-of-N (BoN). Yet, this approach is inherently zero-sum, discarding diverse and potentially useful information from the pool. Instead, we explore a collaborative setup, where all candidates can potentially contribute to the final winning generation. To this end, we propose Fusion-of-N (FusioN): a method that uses a general LLM judge to synthesize the most informative elements of each sample into a single final answer. We compare FusioN to BoN in two settings, (i) test-time scaling, where we sample and aggregate from a single model at test-time (ii) synthetic data generation, where we fuse samples from a pool of diverse teachers to improve a student model. We extensively benchmark both setups across 11 languages, 3 diverse tasks and varying model scales. Across the bench, FusioN consistently outperforms BoN showing versatility and robustness both in test-time scaling and in downstream gains from synthetic data generation. We also perform extensive analysis on FusioN, where it shows surprising strengths and robustness under challenging settings. These results show that we should shift how we think about evaluating and utilizing LLM generations from a monolithic measure of quality, to embracing their polylithic nature. This shift allows us to integrate diverse strengths, unlock latent potential, and achieve improvements that were previously inaccessible through selection alone.

解读

一句话总结

这篇论文提出了FusioN方法,通过合成多个候选生成结果来生成高质量的单一代码,优于传统的选择最佳结果的方法。

问题1:这篇论文想要解决什么具体问题?

问题2:论文的核心创新点是什么?

问题3:实验结果如何验证了方法的有效性?

问题4:这个研究的实际应用价值是什么?

来源

机器可读索引:llms.txt