arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.01996cs.CL
收藏

一把标尺衡量全部:多语言长上下文语言模型基准评测

One ruler to measure them all: Benchmarking multilingual long-context language models

University of Maryland, College Park(马里兰大学帕克分校);Microsoft(微软);UMass Amherst(马萨诸塞大学阿默斯特分校)

Yekyung Kim, Jenna Russell, Marzena Karpinska, Mohit Iyyer

AI总结:

本文提出覆盖26种语言、含七项检索与聚合任务的 ONERULER 长上下文基准,揭示模型在语言资源、上下文长度及跨语言指令上的显著性能差异。

摘要:

我们提出 ONERULER,这是一个旨在跨26种语言评估长上下文语言模型的多语言基准。ONERULER 改编自仅支持英语的 RULER 基准(Hsieh 等,2024),纳入七项合成任务,测试检索与聚合能力,其中包括“大海捞针”任务的新变体,这些变体允许目标针不存在的可能性。我们通过两步流程创建 ONERULER:首先为每项任务编写英语指令,然后与母语者合作,将其翻译成另外25种语言。对开放权重和封闭 LLM 的实验表明,随着上下文长度从8K增加到128K token,低资源语言与高资源语言之间的性能差距不断扩大。令人惊讶的是,英语并非长上下文任务中表现最好的语言(在26种语言中排名第6),波兰语成为表现最佳的语言。实验还显示,许多 LLM(尤其是 OpenAI 的 o3-mini-high)即使在高资源语言中,也会错误地预测答案不存在。最后,在指令和上下文以不同语言出现的跨语言场景中,性能会根据指令语言波动至多20%。我们希望 ONERULER 的发布能促进未来关于改进多语言和跨语言长上下文训练流程的研究。

英文摘要:

We present ONERULER, a multilingual benchmark designed to evaluate long-context language models across 26 languages. ONERULER adapts the English-only RULER benchmark (Hsieh et al., 2024) by including seven synthetic tasks that test both retrieval and aggregation, including new variations of the "needle-in-a-haystack" task that allow for the possibility of a nonexistent needle. We create ONERULER through a two-step process, first writing English instructions for each task and then collaborating with native speakers to translate them into 25 additional languages. Experiments with both open-weight and closed LLMs reveal a widening performance gap between low- and high-resource languages as context length increases from 8K to 128K tokens. Surprisingly, English is not the top-performing language on long-context tasks (ranked 6th out of 26), with Polish emerging as the top language. Our experiments also show that many LLMs (particularly OpenAI's o3-mini-high) incorrectly predict the absence of an answer, even in high-resource languages. Finally, in cross-lingual scenarios where instructions and context appear in different languages, performance can fluctuate by up to 20% depending on the instruction language. We hope the release of ONERULER will facilitate future research into improving multilingual and cross-lingual long-context training pipelines.

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

↑