Do You Know What You Are Talking About? Characterizing Query-Knowledge Relevance For Reliable Retrieval Augmented Generation
On the map: Retrieval-augmented generation → RAG pipeline design and evaluation
Abstract (arXiv)
Language models (LMs) are known to suffer from hallucinations and misinformation. Retrieval augmented generation (RAG) that retrieves verifiable information from an external knowledge corpus to complement the parametric knowledge in LMs provides a tangible solution to these problems. However, the generation quality of RAG is highly dependent on the relevance between a user's query and the retrieved documents. Inaccurate responses may be generated when the query is outside of the scope of knowledge represented in the external knowledge corpus or if the information in the corpus is out-of-date. In this work, we establish a statistical framework that assesses how well a query can be answered by an RAG system by capturing the relevance of knowledge. We introduce an online testing procedure that employs goodness-of-fit (GoF) tests to inspect the relevance of each user query to detect out-of-knowledge queries with low knowledge relevance. Additionally, we develop an offline testing framework that examines a collection of user queries, aiming to detect significant shifts in the query distribution which indicates the knowledge corpus is no longer sufficiently capable of supporting the interests of the users. We demonstrate the capabilities of these strategies through a systematic evaluation on eight question-answering (QA) datasets, the results of which indicate that the new testing framework is an efficient solution to enhance the reliability of existing RAG systems.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Placed in RAG pipeline design and evaluation, one of 15 directions in Retrieval-augmented generation. Builds on 36 of its 55 references that are in the map. First posted on arXiv 10 Oct 2024.
Builds on
36 of 55 references.
Closest ancestors · 1
Same direction, newest first
Other references · 35
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
- 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
- 2017Billion-scale similarity search with GPUscited by 2,477
- 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
- 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
- 2022Language Models (Mostly) Know What They Knowcited by 1,783
- 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
23 more
- 2020Energy-based Out-of-distribution Detectioncited by 1,296
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
- 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
- 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
- 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
- 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
- 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 508
- 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
- 2024Benchmarking Retrieval-Augmented Generation for Medicinecited by 326
- 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
- 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 255
- 2019PyOD: A Python Toolbox for Scalable Outlier Detectioncited by 221
- 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 193
- 2023MedCPT: Contrastive Pre-trained Transformers with Large-scale PubMed Search Logs for Zero-shot Biomedical Information Retrievalcited by 182
- 2023Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentationcited by 146
- 2020COPOD: Copula-Based Outlier Detectioncited by 143
- 2024When Do LLMs Need Retrieval Augmentation? Mitigating LLMs' Overconfidence Helps Retrieval Augmentationcited by 59
- 2018Numeracy for Language Models: Evaluating and Improving their Ability to Predict Numberscited by 42
- 2023Jina Embeddings: A Novel Set of High-Performance Sentence Embedding Modelscited by 35
- 2024C-RAG: Certified Generation Risks for Retrieval-Augmented Language Modelscited by 27
- 2022Energy-Based Contrastive Learning of Visual Representationscited by 13
- 2022TegTok: Augmenting Text Generation via Task-specific and Open-world Knowledgecited by 9
Built on by
Citing papers per year: 2025: 2.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2025A Survey on Knowledge-Oriented Retrieval-Augmented Generation
- 2025Investigating the Robustness of Retrieval-Augmented Generation at the Query Level
- 2024Meta Knowledge for Retrieval Augmented Large Language Models
- 2025Enhancing Retrieval-Augmented Generation: A Study of Best Practices
- 2025Is Relevance Propagated from Retriever to Generator in RAG?
- 2025RAGTrace: Understanding and Refining Retrieval-Generation Dynamics in Retrieval-Augmented Generation
- 2025Retrieval-Augmented Generation: A Comprehensive Survey of Architectures, Enhancements, and Robustness Frontiers
- 2025Dynamic and Parametric Retrieval-Augmented Generation