Evaluating Multilingual Long-Context Models for Retrieval and Reasoning

Ameeta Agrawal, Andy Dang, Sina Bagheri Nezhad, Rhitabrat Pokharel, Russell Scheinberg
9/26/2024
cs.CL

No official code found. Best implementation: PortNLP/mLongRR (0 stars, last commit 2025-07-07).

Abstract

Recent large language models (LLMs) demonstrate impressive capabilities in handling long contexts, some exhibiting near-perfect recall on synthetic retrieval tasks. However, these evaluations have mainly focused on English text and involved a single target sentence within lengthy contexts. Our work investigates how LLM performance generalizes to multilingual settings with multiple hidden target sentences. We create a new dataset -- mLongRR -- to comprehensively evaluate several multilingual long-context LLMs on retrieval and reasoning tasks across five languages: English, Vietnamese, Indonesian, Swahili, and Somali. These languages share the Latin script but belong to distinct language families and resource levels. Our analysis reveals a significant performance gap between languages. The best-performing models such as Gemini-1.5 and GPT-4o, achieve around 96% accuracy in English to around 36% in Somali with a single target sentence. However, this accuracy drops to 40% in English and 0% in Somali when dealing with three target sentences. Our findings highlight the challenges long-context LLMs face when processing longer contexts, an increase in the number of target sentences, or languages of lower resource levels.

View on arXivView PDF

Code Implementations(1)

PortNLP/mLongRRCommunity100%

Multilingual Evaluation of Long Context Retrieval and Reasoning

00Python, Jupyter NotebookOct 10, 20241 years ago

Similar Papers

Cite this paper

@article{agrawal2024evaluating,
  title  = {Evaluating Multilingual Long-Context Models for Retrieval and Reasoning},
  author = {Ameeta Agrawal and Andy Dang and Sina Bagheri Nezhad and Rhitabrat Pokharel and Russell Scheinberg},
  year   = {2024},
  eprint = {2409.18006},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2409.18006v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2409.18006.svg)](https://codeofpaper.com/paper/2409.18006)

Discussion