When to Retrieve: Teaching LLMs to Utilize Information Retrieval Effectively
Not on the map. Why?
Abstract (arXiv)
In this paper, we demonstrate how Large Language Models (LLMs) can effectively learn to use an off-the-shelf information retrieval (IR) system specifically when additional context is required to answer a given question. Given the performance of IR systems, the optimal strategy for question answering does not always entail external information retrieval; rather, it often involves leveraging the parametric memory of the LLM itself. Prior research has identified this phenomenon in the PopQA dataset, wherein the most popular questions are effectively addressed using the LLM's parametric memory, while less popular ones require IR system usage. Following this, we propose a tailored training approach for LLMs, leveraging existing open-domain question answering datasets. Here, LLMs are trained to generate a special token, <RET>, when they do not know the answer to a question. Our evaluation of the Adaptive Retrieval LLM (Adapt-LLM) on the PopQA dataset showcases improvements over the same LLM under three configurations: (i) retrieving information for all the questions, (ii) using always the parametric memory of the LLM, and (iii) using a popularity threshold to decide when to use a retriever. Through our analysis, we demonstrate that Adapt-LLM is able to generate the <RET> token when it determines that it does not know how to answer a question, indicating the need for IR, while it achieves notably high accuracy levels when it chooses to rely only on its parametric memory.
Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 30 of its 46 references that are in the map. First posted on arXiv 30 Apr 2024.
Builds on
30 of 46 references.
References · 30
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,072
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
18 more
- 2023Retrieval-Augmented Generation for Large Language Models: A Surveycited by 2,185
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2020REALM: Retrieval-Augmented Language Model Pre-Trainingcited by 2,126
- 2022Survey of Hallucination in Natural Language Generationcited by 2,056
- 2024Mixtral of Expertscited by 1,785
- 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,722
- 2016MS MARCO: A Human Generated MAchine Reading COmprehension Datasetcited by 1,591
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2021BEIR: A Heterogenous Benchmark for Zero-shot Evaluation of Information Retrieval Modelscited by 1,225
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,203
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,103
- 2023In-Context Retrieval-Augmented Language Modelscited by 694
- 2018QuAC : Question Answering in Contextcited by 379
- 2021Retrieving and Reading: A Comprehensive Survey on Open-domain Question Answeringcited by 178
- 2024Seven Failure Points When Engineering a Retrieval Augmented Generation Systemcited by 138
- 2022Two-Step Question Retrieval for Open-Domain QAcited by 4
- 2024Navigating Uncertainty: Optimizing API Dependency for Hallucination Reduction in Closed-Book Question Answeringcited by 3
Built on by
Citing papers per year: 2024: 4; 2025: 10; 2026: 6.
20 papers.
Sort:
By area:
- 2025Knowledge Graph Retrieval-Augmented Generation for LLM-based Recommendationcited by 56
- 2024Towards Reliable Medical Question Answering: Techniques and Challenges in Mitigating Hallucinations in Language Modelscited by 15
- 2025DeceptionBench: A Comprehensive Benchmark for AI Deception Behaviors in Real-world Scenarioscited by 14
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunitiescited by 11
- 2024Wait, that's not an option: LLMs Robustness with Incorrect Multiple-Choice Optionscited by 11
- 2025Bridging Legal Knowledge and AI: Retrieval-Augmented Generation with Vector Stores, Knowledge Graphs, and Hierarchical Non-negative Matrix Factorizationcited by 8
- 2025ECoRAG: Evidentiality-guided Compression for Long Context RAGcited by 4
- 2026Distilling the Thought, Watermarking the Answer: A Principle Semantic Guided Watermark for Large Reasoning Modelscited by 3
- 2025Quantifying Memorization and Parametric Response Rates in Retrieval-Augmented Vision-Language Modelscited by 2
- 2025SegSub: Evaluating Robustness to Knowledge Conflicts and Hallucinations in Vision-Language Modelscited by 2
- 2025Agent-Enhanced Large Language Models for Researching Political Institutionscited by 1
- 2025LLMs on a Budget? Say HOLAcited by 1
8 more
- 2025HF-RAG: Hierarchical Fusion-based RAG with Multiple Sources and Rankerscited by 1
- 2025HANRAG: Heuristic Accurate Noise-resistant Retrieval-Augmented Generation for Multi-hop Question Answeringcited by 1
- 2026WaterMoE: Expert-Routing-based Watermarking for High Fidelity and Efficiencycited by 1
- 2026Dual-Layer Agentic Memory with Fast Write Routing and Slow Consolidationcited by 1
- 2024Let your LLM generate a few tokens and you will reduce the need for retrievalcited by 0
- 2026Mask-to-Correct^+: Leveraging Retriever Diversity for Masking-guided Faithful Fact Correctioncited by 0
- 2026Why Didn't It Check? Unsupported Final Claims and Their Repair in Two Tool-Equipped Language Modelscited by 0
- 2026SALMONN-duo: Adaptive Dual-System Coordination for Full-Duplex Voice Agentscited by 0
- 2026SALMONN-duo: Adaptive Dual-System Coordination for Full-Duplex Voice Agents28 Sep 2026
- 2026Why Didn't It Check? Unsupported Final Claims and Their Repair in Two Tool-Equipped Language Models27 Aug 2026
- 2026Dual-Layer Agentic Memory with Fast Write Routing and Slow Consolidation23 Aug 2026
- 2026WaterMoE: Expert-Routing-based Watermarking for High Fidelity and Efficiency14 Jul 2026
- 2026Mask-to-Correct^+: Leveraging Retriever Diversity for Masking-guided Faithful Fact Correction21 Apr 2026
- 2026Distilling the Thought, Watermarking the Answer: A Principle Semantic Guided Watermark for Large Reasoning Models8 Jan 2026
- 2025DeceptionBench: A Comprehensive Benchmark for AI Deception Behaviors in Real-world Scenarios17 Oct 2025
- 2025HANRAG: Heuristic Accurate Noise-resistant Retrieval-Augmented Generation for Multi-hop Question Answering8 Sep 2025
- 2025HF-RAG: Hierarchical Fusion-based RAG with Multiple Sources and Rankers2 Sep 2025
- 2025LLMs on a Budget? Say HOLA23 Jun 2025
- 2025ECoRAG: Evidentiality-guided Compression for Long Context RAG5 Jun 2025
- 2025Agent-Enhanced Large Language Models for Researching Political Institutions14 Mar 2025
8 more
- 2025Bridging Legal Knowledge and AI: Retrieval-Augmented Generation with Vector Stores, Knowledge Graphs, and Hierarchical Non-negative Matrix Factorization27 Feb 2025
- 2025SegSub: Evaluating Robustness to Knowledge Conflicts and Hallucinations in Vision-Language Models19 Feb 2025
- 2025Quantifying Memorization and Parametric Response Rates in Retrieval-Augmented Vision-Language Models19 Feb 2025
- 2025Knowledge Graph Retrieval-Augmented Generation for LLM-based Recommendation4 Jan 2025
- 2024Let your LLM generate a few tokens and you will reduce the need for retrieval16 Dec 2024
- 2024Wait, that's not an option: LLMs Robustness with Incorrect Multiple-Choice Options27 Aug 2024
- 2024Towards Reliable Medical Question Answering: Techniques and Challenges in Mitigating Hallucinations in Language Models25 Aug 2024
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunities17 Jul 2024
- 2025Knowledge Graph Retrieval-Augmented Generation for LLM-based Recommendationcited by 56
- 2025Bridging Legal Knowledge and AI: Retrieval-Augmented Generation with Vector Stores, Knowledge Graphs, and Hierarchical Non-negative Matrix Factorizationcited by 8
- 2025ECoRAG: Evidentiality-guided Compression for Long Context RAGcited by 4
- 2025HF-RAG: Hierarchical Fusion-based RAG with Multiple Sources and Rankerscited by 1
- 2025HANRAG: Heuristic Accurate Noise-resistant Retrieval-Augmented Generation for Multi-hop Question Answeringcited by 1
- 2025HANRAG: Heuristic Accurate Noise-resistant Retrieval-Augmented Generation for Multi-hop Question Answering8 Sep 2025
- 2025HF-RAG: Hierarchical Fusion-based RAG with Multiple Sources and Rankers2 Sep 2025
- 2025ECoRAG: Evidentiality-guided Compression for Long Context RAG5 Jun 2025
- 2025Bridging Legal Knowledge and AI: Retrieval-Augmented Generation with Vector Stores, Knowledge Graphs, and Hierarchical Non-negative Matrix Factorization27 Feb 2025
- 2025Knowledge Graph Retrieval-Augmented Generation for LLM-based Recommendation4 Jan 2025
- 2024Towards Reliable Medical Question Answering: Techniques and Challenges in Mitigating Hallucinations in Language Modelscited by 15
- 2025DeceptionBench: A Comprehensive Benchmark for AI Deception Behaviors in Real-world Scenarioscited by 14
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunitiescited by 11
- 2024Wait, that's not an option: LLMs Robustness with Incorrect Multiple-Choice Optionscited by 11
- 2025LLMs on a Budget? Say HOLAcited by 1
- 2024Let your LLM generate a few tokens and you will reduce the need for retrievalcited by 0
- 2026Mask-to-Correct^+: Leveraging Retriever Diversity for Masking-guided Faithful Fact Correctioncited by 0
- 2026Why Didn't It Check? Unsupported Final Claims and Their Repair in Two Tool-Equipped Language Modelscited by 0
- 2026Why Didn't It Check? Unsupported Final Claims and Their Repair in Two Tool-Equipped Language Models27 Aug 2026
- 2026Mask-to-Correct^+: Leveraging Retriever Diversity for Masking-guided Faithful Fact Correction21 Apr 2026
- 2025DeceptionBench: A Comprehensive Benchmark for AI Deception Behaviors in Real-world Scenarios17 Oct 2025
- 2025LLMs on a Budget? Say HOLA23 Jun 2025
- 2024Let your LLM generate a few tokens and you will reduce the need for retrieval16 Dec 2024
- 2024Wait, that's not an option: LLMs Robustness with Incorrect Multiple-Choice Options27 Aug 2024
- 2024Towards Reliable Medical Question Answering: Techniques and Challenges in Mitigating Hallucinations in Language Models25 Aug 2024
- 2024Retrieval-Enhanced Machine Learning: Synthesis and Opportunities17 Jul 2024