One ruler to measure them all: Benchmarking multilingual long-context language models
Yekyung Kim, Jenna Russell, Marzena Karpinska, Mohit Iyyer
TL;DR
OneRuler presents a multilingual long-context benchmark that extends the English-centric Ruler by testing retrieval and aggregation across 26 languages with seven synthetic tasks (five NIAH variants and two CWE aggregations) at context lengths up to 128K. The dataset is built via English task definitions translated by native speakers, including a novel None option to handle nonexistent needles, and evaluated on open- and closed-weight LLMs, revealing a widening language-resource gap and surprising language rankings (e.g., Polish leading, English not top). The results show CWE aggregation is substantially harder than NIAH, and cross-lingual instruction-context configurations significantly impact performance. The work also highlights tokenizer and output-token challenges in multilingual long-context settings, and it releases ONERULER to drive future advances in multilingual long-context training and evaluation.
Abstract
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.
