mlsanityData to 7 Oct 2026

Do You Know What You Are Talking About? Characterizing Query-Knowledge Relevance For Reliable Retrieval Augmented Generation

arXiv 2410.08320 ↗First posted 10 Oct 2024cs.CL cs.LGcited by 2

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

  1. 2023Retrieval-Augmented Generation for Large Language Models: A Survey18 Dec

Other references · 35

  1. 2020Language Models are Few-Shot Learnerscited by 32,199
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
  3. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,779
  5. 2021TruthfulQA: Measuring How Models Mimic Human Falsehoodscited by 2,919
  6. 2017Billion-scale similarity search with GPUscited by 2,477
  7. 2023G-Eval: NLG Evaluation using GPT-4 with Better Human Alignmentcited by 2,205
  8. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflectioncited by 1,800
  9. 2018CommonsenseQA: A Question Answering Challenge Targeting Commonsense Knowledgecited by 1,793
  10. 2022Language Models (Mostly) Know What They Knowcited by 1,783
  11. 2018A Simple Unified Framework for Detecting Out-of-Distribution Samples and Adversarial Attackscited by 1,472
  12. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,324
23 more
  1. 2020Energy-based Out-of-distribution Detectioncited by 1,296
  2. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,271
  3. 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,203
  4. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 820
  5. 2021Generalized Out-of-Distribution Detection: A Surveycited by 796
  6. 2021Retrieval Augmentation Reduces Hallucination in Conversationcited by 691
  7. 2022Out-of-Distribution Detection with Deep Nearest Neighborscited by 596
  8. 2022Precise Zero-Shot Dense Retrieval without Relevance Labelscited by 508
  9. 2019Likelihood Ratios for Out-of-Distribution Detectioncited by 451
  10. 2024Benchmarking Retrieval-Augmented Generation for Medicinecited by 326
  11. 2022Generate rather than Retrieve: Large Language Models are Strong Context Generatorscited by 296
  12. 2024Nomic Embed: Training a Reproducible Long Context Text Embeddercited by 255
  13. 2019PyOD: A Python Toolbox for Scalable Outlier Detectioncited by 221
  14. 2022Out-of-Distribution Detection and Selective Generation for Conditional Language Modelscited by 193
  15. 2023MedCPT: Contrastive Pre-trained Transformers with Large-scale PubMed Search Logs for Zero-shot Biomedical Information Retrievalcited by 182
  16. 2023Investigating the Factual Knowledge Boundary of Large Language Models with Retrieval Augmentationcited by 146
  17. 2020COPOD: Copula-Based Outlier Detectioncited by 143
  18. 2024When Do LLMs Need Retrieval Augmentation? Mitigating LLMs' Overconfidence Helps Retrieval Augmentationcited by 59
  19. 2018Numeracy for Language Models: Evaluating and Improving their Ability to Predict Numberscited by 42
  20. 2023Jina Embeddings: A Novel Set of High-Performance Sentence Embedding Modelscited by 35
  21. 2024C-RAG: Certified Generation Risks for Retrieval-Augmented Language Modelscited by 27
  22. 2022Energy-Based Contrastive Learning of Visual Representationscited by 13
  23. 2022TegTok: Augmenting Text Generation via Task-specific and Open-world Knowledgecited by 9

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025A Survey on Knowledge-Oriented Retrieval-Augmented Generation
  2. 2025Investigating the Robustness of Retrieval-Augmented Generation at the Query Level
  3. 2024Meta Knowledge for Retrieval Augmented Large Language Models
  4. 2025Enhancing Retrieval-Augmented Generation: A Study of Best Practices
  5. 2025Is Relevance Propagated from Retriever to Generator in RAG?
  6. 2025RAGTrace: Understanding and Refining Retrieval-Generation Dynamics in Retrieval-Augmented Generation
  7. 2025Retrieval-Augmented Generation: A Comprehensive Survey of Architectures, Enhancements, and Robustness Frontiers
  8. 2025Dynamic and Parametric Retrieval-Augmented Generation