mlsanityData to 14 Oct 2026

Multilingual Needle in a Haystack: Investigating Long-Context Behavior of Multilingual Large Language Models

arXiv 2408.10151 ↗First posted 19 Aug 2024cs.CL cs.LGcited by 9

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  4. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  6. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  7. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  8. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  9. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
  10. 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,103
  11. 2020Making Monolingual Sentence Embeddings Multilingual using Knowledge Distillationcited by 593
  12. 2019On the Cross-lingual Transferability of Monolingual Representationscited by 578
20 more
  1. 2022Large Language Models Struggle to Learn Long-Tail Knowledgecited by 458
  2. 2024∞Bench: Extending Long Context Evaluation Beyond 100K Tokenscited by 367
  3. 2019MLQA: Evaluating Cross-lingual Extractive Question Answeringcited by 340
  4. 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
  5. 2022CoAuthor: Designing a Human-AI Collaborative Writing Dataset for Exploring Language Model Capabilitiescited by 249
  6. 2023L-Eval: Instituting Standardized Evaluation for Long Context Language Modelscited by 233
  7. 2023Chain-of-Note: Enhancing Robustness in Retrieval-Augmented Language Modelscited by 184
  8. 2020How Context Affects Language Models' Factual Predictionscited by 181
  9. 2023ZeroSCROLLS: A Zero-Shot Benchmark for Long Text Understandingcited by 176
  10. 2020MKQA: A Linguistically Diverse Benchmark for Multilingual Open Domain Question Answeringcited by 153
  11. 2024How do Large Language Models Handle Multilingualism?cited by 150
  12. 2021mMARCO: A Multilingual Version of the MS MARCO Passage Ranking Datasetcited by 116
  13. 2018Sharp Nearby, Fuzzy Far Away: How Neural Language Models Use Contextcited by 113
  14. 2024Found in the Middle: Calibrating Positional Attention Bias Improves Long Context Utilizationcited by 101
  15. 2024Multilingual Instruction Tuning With Just a Pinch of Multilingualitycited by 73
  16. 2022Efficient Long-Text Understanding with Short-Text Modelscited by 71
  17. 2022Making a MIRACL: Multilingual Information Retrieval Across a Continuum of Languagescited by 47
  18. 2024Multilingual Pretraining and Instruction Tuning Improve Cross-Lingual Knowledge Alignment, But Only Shallowlycited by 27
  19. 2022The NLP Task Effectiveness of Long-Range Transformerscited by 22
  20. 2023Analyzing and Reducing the Performance Gap in Cross-Lingual Transfer with Fine-tuning Slow and Fastcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 4.

9 papers.