Research map / Large language models / Retrieval and knowledge
Context Length Alone Hurts LLM Performance Despite Perfect Retrieval
Yufeng Du, Minyang Tian, Srikanth Ronanki, Subendhu Rongali, Sravan Bodapati, Aram Galstyan, Azton Wells, Roy Schwartz, Eliu A Huerta, Hao Peng
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| increase input length with essay distraction to 30K tokens | Llama-3.1-8B-Instruct · VarSum | accuracy: -59.0 points at 7500 tokens (baseline 96.0) | Hurt |
| increase input length with whitespace distraction to 30K tokens (ablation) | Llama-3.1-8B-Instruct · VarSum | accuracy: -48.0 points | Hurt |
| mask all distraction tokens at 30K (ablation) | Llama-3.1-8B-Instruct · HumanEval | accuracy: -50.0 points (vs -31.7 with whitespace) | Hurt |
| mask all distraction tokens at 30K (ablation) | Llama and Mistral · GSM8K, MMLU, VarSum, HumanEval | accuracy: at least 7.9% drop at 30K | Hurt |
| move evidence adjacent to question, whitespace before it (ablation) | Llama and Mistral · synthetic tasks, 30K space tokens | accuracy: up to 20% (Llama), 17% (Mistral) | Hurt |
| use closed-source models (GPT-4o, Claude, Gemini) with whitespace | GPT-4o, Claude-3.7-Sonnet, Gemini-2.0 · VarSum, GSM8K, MMLU, HumanEval | accuracy: e.g. Claude MMLU 82.2 -> -67.6 at 30K; Gemini GSM8K +6.2 | Mixed |
| retrieval measured by exact match as context grows | Llama and Mistral · synthetic tasks | retrieval exact match: drop marginal until 30K tokens | Hurt |
| add Retrieve then Solve (recite evidence then solve) | Mistral-v0.3-7B-Instruct · synthetic GSM8K, 26250 tokens | accuracy: 35.5 -> 66.7 | Improved |
| add Retrieve then Solve (recite evidence then solve) | GPT-4o · RULER QA1 (4K) | accuracy: 90.4 -> 92.2 | Improved |
| add Retrieve then Solve (recite evidence then solve) | GPT-4o · RULER QA2 | accuracy: 68.4 -> 72.4 (32K), max about 4% | Improved |
Closest papers by meaning
- Retrieval meets Long Context Large Language Models (ICLR 2024 · similarity 0.92)
- Training with “Paraphrasing the Original Text” Teaches LLM to Better Retrieve in Long-Context Tasks (AAAI 2025 · similarity 0.91)
- Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG (ICLR 2025 · similarity 0.91)
- The Illusion of Diminishing Returns: Measuring Long Horizon Execution in LLMs (ICLR 2026 · similarity 0.91)
- Needle Threading: Can LLMs Follow Threads Through Near-Million-Scale Haystacks? (ICLR 2025 · similarity 0.91)
- Leveraging Attention to Effectively Compress Prompts for Long-Context LLMs (AAAI 2025 · similarity 0.90)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.
