Lune

ICLR2025Top-tier venue

Long-Context LLMs Meet RAG: Overcoming Challenges for Long Inputs in RAG

Bowen Jin, Jinsung Yoon, Jiawei Han, Sercan Ö. Arik

Abstract

Retrieval-augmented generation (RAG) empowers large language models (LLMs) to utilize external knowledge sources. The increasing capacity of LLMs to process longer input sequences opens up avenues for providing more retrieved information, to potentially enhance the quality of generated outputs. It is plausible to assume that a larger retrieval set would contain more relevant information (higher recall), that might result in improved performance. However, our empirical findings demonstrate that for many long-context LLMs, the quality of generated output initially improves first, but then subsequently declines as the number of retrieved passages increases. This paper investigates this phenomenon, identifying the detrimental impact of retrieved "hard negatives" as a key contributor. To mitigate this and enhance the robustness of long-context LLM-based RAG, we propose both training-free and trainingbased approaches. We first showcase the effectiveness of retrieval reordering as a simple yet powerful training-free optimization. Furthermore, we explore training-based methods, specifically RAG-specific implicit LLM fine-tuning and RAG-oriented fine-tuning with intermediate reasoning, demonstrating their capacity for substantial performance gains. Finally, we conduct a systematic analysis of design choices for these training-based methods, including data distribution, retriever selection, and training context length.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

31 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Large Language Models Can Be Easily Distracted by Irrelevant Context cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • Influence Guided Context Selection for Effective Retrieval-Augmented Generation cites Large Language Models Can Be Easily Distracted by Irrelevant Context
  • Influence Guided Context Selection for Effective Retrieval-Augmented Generation cites Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
  • Influence Guided Context Selection for Effective Retrieval-Augmented Generation cites Making Retrieval-Augmented Language Models Robust to Irrelevant Context
  • VRAG-RL: Empower Vision-Perception-Based RAG for Visually Rich Information Understanding via Iterative Reasoning with Reinforcement Learning cites Search-o1: Agentic Search-Enhanced Large Reasoning Models
  • A Survey on In-context Learning cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • OpenDecoder: Open Large Language Model Decoding to Incorporate Document Quality in RAG cites Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
  • OpenDecoder: Open Large Language Model Decoding to Incorporate Document Quality in RAG cites Search-o1: Agentic Search-Enhanced Large Reasoning Models
  • Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection cites Large Language Models Can Be Easily Distracted by Irrelevant Context
  • StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimization cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
  • StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy Optimization cites Search-o1: Agentic Search-Enhanced Large Reasoning Models
  • Making Retrieval-Augmented Language Models Robust to Irrelevant Context cites Large Language Models Can Be Easily Distracted by Irrelevant Context
  • Search-o1: Agentic Search-Enhanced Large Reasoning Models cites Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection
  • Search-o1: Agentic Search-Enhanced Large Reasoning Models cites Making Retrieval-Augmented Language Models Robust to Irrelevant Context
  • Search-o1: Agentic Search-Enhanced Large Reasoning Models cites Chain-of-Thought Prompting Elicits Reasoning in Large Language Models
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers31

  1. VRAG-RL: Empower Vision-Perception-Based RAG for Visually Rich Information Understanding via Iterative Reasoning with Reinforcement LearningQiuchen Wang, Ruixue Ding, Yu Zeng, Zehui Chen et al.NeurIPS 2025 · 76 citations
  2. StepSearch: Igniting LLMs Search Ability via Step-Wise Proximal Policy OptimizationXuhui Zheng, Kang An, Ziliang Wang, Yuhang Wang et al.EMNLP 2025 · 41 citations
  3. Search-o1: Agentic Search-Enhanced Large Reasoning ModelsXiaoxi Li, Guanting Dong, Jiajie Jin, Yuyao Zhang et al.EMNLP 2025 · 12 citations
  4. Influence Guided Context Selection for Effective Retrieval-Augmented GenerationJiale Deng, Yanyan Shen, Ziyuan Pei, Youmin Chen et al.NeurIPS 2025 · 8 citations
  5. OpenDecoder: Open Large Language Model Decoding to Incorporate Document Quality in RAGFengran Mo, Zhan Su, Yuchen Hui, Jinghan Zhang et al.WWW 2026 · 8 citations

Builds on12

  1. Chain-of-Thought Prompting Elicits Reasoning in Large Language ModelsJason Wei, Xuezhi Wang, Dale Schuurmans, Maarten Bosma et al.NeurIPS 2022 · 22,562 citations
  2. Self-RAG: Learning to Retrieve, Generate, and Critique through Self-ReflectionAkari Asai, Zeqiu Wu, Yizhong Wang, Avirup Sil et al.ICLR 2024 · 1,798 citations
  3. Large Language Models Can Be Easily Distracted by Irrelevant ContextFreda Shi, Xinyun Chen, Kanishka Misra, Nathan Scales et al.ICML 2023 · 970 citations
  4. A Survey on In-context LearningQingxiu Dong, Lei Li, Damai Dai, Ce Zheng et al.EMNLP 2024 · 479 citations
  5. Making Retrieval-Augmented Language Models Robust to Irrelevant ContextOri Yoran, Tomer Wolfson, Ori Ram, Jonathan BerantICLR 2024 · 361 citations

Related papers

  1. Incentivizing Retrieval-Augmented Generation via Inner Adaptive Context SelectionChenxu Cui, Lin Shen, Haihui Fan, Sa Zhu et al.SIGIR 2026
  2. Unsupervised Information Refinement Training of Large Language Models for Retrieval-Augmented GenerationShicheng Xu, Liang Pang, Mo Yu, Fandong Meng et al.ACL 2024
  3. The Power of Noise: Redefining Retrieval for RAG SystemsFlorin Cuconasu, Giovanni Trappolini, Federico Siciliano, Simone Filice et al.SIGIR 2024 · 212 citations
  4. Fine-Tuning or Retrieval? Comparing Knowledge Injection in LLMsOded Ovadia, Menachem Brief, Moshik Mishaeli, Oren ElishaEMNLP 2024 · 89 citations
  5. The Distracting Effect: Understanding Irrelevant Passages in RAGChen Amiraz, Florin Cuconasu, Simone Filice, Zohar S. KarninACL 2025
Dusk over the sea between two cliffs drawn in fine vertical lines