提升多语言大模型推理性能,用更聪明的采样和选择策略实现零成本增效
When Life Gives You Samples: The Benefits of Scaling up Inference Compute for Multilingual LLMs
- 设计适配多语言多任务的采样与选择策略,避免英语优先偏差
- 8B模型在m-ArenaHard-v2.0上胜率平均提升6.8%,111B模型提升9.0%
- 方法低成本高收益,适合关注低资源语言性能的开发者与研究者
近期大语言模型(LLMs)的发展转向提升推理时计算量,无需重训练即可改善性能。现有方法多聚焦于英语及数学、编程等少数领域。本文研究在开放生成任务中,如何稳健地扩展多语言、多任务场景下的推理计算。发现采样策略(温度变化)与选择策略需针对不同领域和语言进行调整。评估现有选择方法显示,英语有效的策略在跨语言时失效。提出专为多语言多任务设计的新型采样与选择策略,显著提升跨语言任务表现。8B模型在m-ArenaHard-v2.0上的胜率平均提升6.8%,111B模型Command-A仅用五次采样即比单次解码提升9.0%胜率。结果强调必须采用语言与任务感知的推理策略,以推动低资源语言性能普惠。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。