Home / Research Library / Lost in the Middle: How Language Models Use Long C...
🤖 Artificial Intelligence OpenAlex

Lost in the Middle: How Language Models Use Long Contexts

📅 January 1, 2024 👤 Nelson F. Liu, Kevin Lin, John Hewitt et al. 📖 Transactions of the Association for Computational Linguistics 📊 887 citations

🤖 Plain-English Summary

Abstract While recent language models have the ability to take long contexts as input, relatively little is known about how well they use longer context. In particular, we observe that performance is often highest when relevant information occurs at the beginning or end of the input context, and significantly degrades when models must access relevant information in the middle of long contexts, even for explicitly long-context models.

🔑 Key Findings

  • We analyze the performance of language models on two tasks that require identifying relevant information in their input contexts: multi-document question answering and key-value retrieval.
  • We find that performance can degrade significantly when changing the position of relevant information, indicating that current language models do not robustly make use of information in long input contexts.
  • In particular, we observe that performance is often highest when relevant information occurs at the beginning or end of the input context, and significantly degrades when models must access relevant information in the middle of long contexts, even for explicitly long-context models.

💡 Why This Matters

This research advances how AI systems learn, reason, and solve problems — with direct implications for automation and scientific discovery.

Read the full paper
Access the original peer-reviewed research via OpenAlex.

View on DOI ↗

📋 Article Details

Category 🤖 Artificial Intelligence
Published Jan 01, 2024
Journal Transactions of the Association for Computational Linguistics
Authors Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua
DOI 10.1162/tacl_a_00638
Citations 887
Source OpenAlex

More 🤖 Artificial Intelligence Research