创造而非挑选:充分利用N个样本的价值
Making, not Taking, the Best of N
AI总结:
针对大语言模型N选最优方法丢弃样本有用信息的问题,提出N样本融合方法,借助通用大模型评判器合成各样本高价值元素,在多语言、多任务及不同场景下均优于N选最优,可释放样本潜力提升性能。
摘要:
在现代大语言模型(LLM)中,获取高质量生成结果在很大程度上被框定为一个选择问题:从N个样本的多样化池中识别出单个最优生成结果,即Best-of-N(BoN,最优N选)。然而,这种方法本质上是零和的,会丢弃池中多样且可能有用的信息。为此,我们探索了一种协作式设置,所有候选结果都有可能为最终的最优生成结果做出贡献。\n 为此,我们提出Fusion-of-N(FusioN,N样本融合):一种利用通用LLM评判器将每个样本中最具信息量的元素合成单个最终答案的方法。我们在两种设置下将FusioN与BoN进行比较:(i)测试时扩展,即我们在测试时从单个模型中采样并聚合结果;(ii)合成数据生成,即我们融合来自多样化教师池的样本以改进学生模型。\n 我们在11种语言、3种不同任务以及不同模型规模下对两种设置进行了广泛的基准测试。在所有基准测试中,FusioN始终优于BoN,在测试时扩展和合成数据生成带来的下游增益方面均表现出通用性和鲁棒性。我们还对FusioN进行了广泛分析,发现它在具有挑战性的设置下展现出令人惊讶的优势和鲁棒性。\n 这些结果表明,我们应该转变对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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。