arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.20544cs.CLcs.AI
收藏

当生活赐予你样本:扩大多语言大语言模型推理计算量的益处

When Life Gives You Samples: The Benefits of Scaling up Inference Compute for Multilingual LLMs

Ammar Khairi, Daniel D'souza, Ye Shen, Julia Kreutzer, Sara Hooker

AI总结:

研究多语言多任务下扩大推理计算量的方法,提出适应多语言场景的新型采样与选择策略,使8B和111B模型在m-ArenaHard-v2.0基准上胜率分别提升6.8和9.0。

摘要:

大型语言模型(LLMs)的最新进展已将焦点转向扩大推理时计算量,从而无需重新训练模型即可提升性能。一种常见方法是并行采样多个输出,并从中选择一个作为最终输出。然而,迄今为止的工作主要集中于英语以及数学和代码等少数领域。相比之下,我们最感兴趣的是能够泛化到开放式任务、形式可验证任务以及跨语言的技术。在本研究中,我们探讨了如何在多语言、多任务设置中,稳健地扩大开放式生成任务的推理时计算量。研究结果表明,基于温度变化的采样策略和选择策略都必须进行调整,以适应多样化的领域和不同的语言设置。我们评估了现有的选择方法,发现在英语中有效的策略通常无法跨语言泛化。我们提出了专门针对多语言和多任务推理场景的新型采样和选择策略,并表明它们在跨语言和跨任务上取得了显著收益。具体而言,我们结合的采样和选择方法,使得 8B 模型在 m-ArenaHard-v2.0 提示词上对抗 Gemini 等专有模型时,胜率平均跃升 +6.8。在更大规模上,配备了我们方法的 Command-A(111B 模型)在相同基准上仅使用五个样本,相较于单样本解码,胜率提升了 +9.0,这是以极低成本实现的实质性增长。我们的结果强调了采用语言和任务感知方法来处理推理时计算量的必要性,旨在实现代表性不足语言的性能提升普及化。

英文摘要:

Recent advancements in large language models (LLMs) have shifted focus toward scaling inference-time compute, improving performance without retraining the model. A common approach is to sample multiple outputs in parallel, and select one of these as the final output. However, work to date has focused on English and a handful of domains such as math and code. In contrast, we are most interested in techniques that generalize across open-ended tasks, formally verifiable tasks, and across languages. In this work, we study how to robustly scale inference-time compute for open-ended generative tasks in a multilingual, multi-task setting. Our findings show that both sampling strategy based on temperature variation and selection strategy must be adapted to account for diverse domains and varied language settings. We evaluate existing selection methods, revealing that strategies effective in English often fail to generalize across languages. We propose novel sampling and selection strategies specifically adapted for multilingual and multi-task inference scenarios, and show they yield notable gains across languages and tasks. In particular, our combined sampling and selection methods lead to an average +6.8 jump in win-rates for our 8B models on m-ArenaHard-v2.0 prompts, against proprietary models such as Gemini. At larger scale, Command-A (111B model) equipped with our methods, shows +9.0 improvement in win-rates on the same benchmark with just five samples against single-sample decoding, a substantial increase at minimal cost. Our results underscore the need for language- and task-aware approaches to inference-time compute, aiming to democratize performance improvements in underrepresented languages.

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

↑