Multilingual Needle in a Haystack: Investigating Long-Context Behavior of Multilingual Large Language Models
Not on the map. Why?
Abstract (arXiv)
While recent large language models (LLMs) demonstrate remarkable abilities in responding to queries in diverse languages, their ability to handle long multilingual contexts is unexplored. As such, a systematic evaluation of the long-context capabilities of LLMs in multilingual settings is crucial, specifically in the context of information retrieval. To address this gap, we introduce the MultiLingual Needle-in-a-Haystack (MLNeedle) test, designed to assess a model's ability to retrieve relevant information (the needle) from a collection of multilingual distractor texts (the haystack). This test serves as an extension of the multilingual question-answering task, encompassing both monolingual and cross-lingual retrieval. We evaluate four state-of-the-art LLMs on MLNeedle. Our findings reveal that model performance can vary significantly with language and needle position. Specifically, we observe that model performance is the lowest when the needle is (i) in a language outside the English language family and (ii) located in the middle of the input context. Furthermore, although some models claim a context size of 8k tokens or greater, none demonstrate satisfactory cross-lingual retrieval performance as the context length increases. Our analysis provides key insights into the long-context behavior of LLMs in multilingual settings to guide future evaluation protocols. To our knowledge, this is the first study to investigate the multilingual long-context behavior of LLMs.
Key facts. Cited by 9 papers in the map (data through 14 Oct 2026). Builds on 32 of its 43 references that are in the map. First posted on arXiv 19 Aug 2024.
Builds on
32 of 43 references.
References · 32
- 2017Attention Is All You Needcited by 60,361
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
- 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
- 2020Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillationcited by 593
- 2019On the Cross-lingual Transferability of Monolingual Representationscited by 578
20 more
- 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
- 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
- 2019MLQA: Evaluating Cross-lingual Extractive Question Answeringcited by 340
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2022CoAuthor: Designing a Human-AI Collaborative Writing Dataset for Exploring Language Model Capabilitiescited by 249
- 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 233
- 2023Chain-of-Note: Enhancing Robustness in Retrieval-Augmented Language Modelscited by 184
- 2020How Context Affects Language Models' Factual Predictionscited by 181
- 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 176
- 2020MKQA: A Linguistically Diverse Benchmark for Multilingual Open Domain Question Answeringcited by 153
- 2024How do Large Language Models Handle Multilingualism?cited by 150
- 2021mMARCO: A Multilingual Version of the MS MARCO Passage Ranking Datasetcited by 116
- 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
- 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilizationcited by 101
- 2024Multilingual Instruction Tuning With Just a Pinch of Multilingualitycited by 73
- 2022Efficient Long-Text Understanding with Short-Text Modelscited by 71
- 2022Making a MIRACL: Multilingual Information Retrieval Across a Continuum of Languagescited by 47
- 2024Multilingual Pretraining and Instruction Tuning Improve Cross-Lingual Knowledge Alignment, But Only Shallowlycited by 27
- 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
- 2023Analyzing and Reducing the Performance Gap in Cross-Lingual Transfer with Fine-tuning Slow and Fastcited by 2
Built on by
Citing papers per year: 2025: 5; 2026: 4.
9 papers.
- 2025One ruler to measure them all: Benchmarking multilingual long-context language modelscited by 19
- 2025MMPB: It's Time for Multi-Modal Personalizationcited by 14
- 2025A Controllable Examination for Long-Context Language Modelscited by 7
- 2025Enhancing Large Language Models with Neurosymbolic Reasoning for Multilingual Taskscited by 4
- 2025Harnessing the Unseen: The Hidden Influence of Intrinsic Knowledge in Long-Context Language Modelscited by 1
- 2026KV Cache Offloading for Context-Intensive Taskscited by 1
- 2026StratMem-Bench: Evaluating Strategic Memory Use in Virtual Character Conversation Beyond Factual Recallcited by 1
- 2026Understanding Axes of Difficulty For Long Context Tasks Via PredicateLongBenchcited by 0
- 2026Do New Attention Mechanisms Actually Fix Attention Sinks at Million-Token Context?cited by 0
- 2026Do New Attention Mechanisms Actually Fix Attention Sinks at Million-Token Context?8 Sep 2026
- 2026Understanding Axes of Difficulty For Long Context Tasks Via PredicateLongBench9 Jul 2026
- 2026StratMem-Bench: Evaluating Strategic Memory Use in Virtual Character Conversation Beyond Factual Recall29 Apr 2026
- 2026KV Cache Offloading for Context-Intensive Tasks9 Apr 2026
- 2025MMPB: It's Time for Multi-Modal Personalization26 Sep 2025
- 2025A Controllable Examination for Long-Context Language Models3 Jun 2025
- 2025Enhancing Large Language Models with Neurosymbolic Reasoning for Multilingual Tasks3 Jun 2025
- 2025Harnessing the Unseen: The Hidden Influence of Intrinsic Knowledge in Long-Context Language Models11 Apr 2025
- 2025One ruler to measure them all: Benchmarking multilingual long-context language models3 Mar 2025