mlsanityData to 14 Oct 2026

QuCo-RAG: Quantifying Uncertainty from the Pre-training Corpus for Dynamic Retrieval-Augmented Generation

arXiv 2512.19134 ↗First posted 22 Dec 2025cs.CL cs.IRcited by 12

On the map: Retrieval-augmented generation → RAG robustness and adaptive retrieval

Abstract (arXiv)

Dynamic Retrieval-Augmented Generation adaptively determines when to retrieve during generation to mitigate hallucinations in large language models (LLMs). However, existing methods rely on model-internal signals (e.g., logits, entropy), which are fundamentally unreliable because LLMs are typically ill-calibrated and often exhibit high confidence in erroneous outputs. We propose QuCo-RAG, which shifts from subjective confidence to objective statistics computed from pre-training data. Our method quantifies uncertainty through two stages: (1) before generation, we identify low-frequency entities indicating long-tail knowledge gaps; (2) during generation, we verify entity co-occurrence in the pre-training corpus, where zero co-occurrence often signals hallucination risk. Both stages leverage Infini-gram for millisecond-latency queries over 4 trillion tokens, triggering retrieval when uncertainty is high. Experiments on multi-hop QA benchmarks show QuCo-RAG achieves EM gains of 5--12 points over state-of-the-art baselines with OLMo-2 models, and transfers effectively to models with undisclosed pre-training data (Llama-3, Qwen2.5, GPT-4.1/5-chat), improving EM by up to 14 points. Generalization to long-form generation and biomedical QA further validates the robustness of our paradigm. These results establish corpus-grounded verification as a principled, practically model-agnostic paradigm for dynamic RAG. Our code is publicly available at https://github.com/ZhishanQ/QuCo-RAG.

Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). Placed in RAG robustness and adaptive retrieval, one of 15 directions in Retrieval-augmented generation. Builds on 35 of its 58 references that are in the map. First posted on arXiv 22 Dec 2025.

Builds on

35 of 58 references.

Closest ancestors · 2

Same direction, newest first

  1. 2025Modeling Uncertainty Trends for Timely Retrieval in Dynamic RAG13 Nov
  2. 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection17 Oct

Other references · 33

  1. 2022Training language models to follow instructions with human feedbackcited by 15,971
  2. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
  3. 2017On Calibration of Modern Neural Networkscited by 4,960
  4. 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
  5. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  6. 2022Language Models (Mostly) Know What They Knowcited by 1,856
  7. 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
  8. 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
  9. 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
  10. 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
  11. 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
  12. 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 812
21 more
  1. 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
  2. 2023Enabling Large Language Models to Generate Text with Citationscited by 595
  3. 2024From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgecited by 494
  4. 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
  5. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
  6. 2024The Power of Noise: Redefining Retrieval for RAG Systemscited by 281
  7. 2022ASQA: Factoid Questions Meet Long-Form Answerscited by 234
  8. 2023How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Compositioncited by 223
  9. 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
  10. 2023Can ChatGPT Replace Traditional KBQA Models? An In-depth Analysis of the Question Answering Performance of the GPT LLM Familycited by 71
  11. 2025HALoGEN: Fantastic LLM Hallucinations and Where to Find Themcited by 34
  12. 2025OLMoTrace: Tracing Language Model Outputs Back to Trillions of Training Tokenscited by 27
  13. 2025Knowing You Don't Know: Learning When to Continue Search in Multi-round RAG through Self-Practicingcited by 25
  14. 2024Exploring the Impact of Table-to-Text Methods on Augmenting LLM-based Question Answering with Domain Hybrid Datacited by 24
  15. 2025ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memorycited by 24
  16. 2025The National Research Platform: Stretched, Multi-Tenant, Scientific Kubernetes Clustercited by 17
  17. 2025Infini-gram mini: Exact n-gram Search at the Internet Scale with FM-Indexcited by 14
  18. 2024Reverse Question Answering: Can an LLM Write a Question so Hard (or Bad) that it Can't Answer?cited by 13
  19. 2025Enhancing Multimodal In-Context Learning for Image Classification through Coreset Optimizationcited by 7
  20. 2024UniHGKR: Unified Instruction-aware Heterogeneous Knowledge Retrieverscited by 5
  21. 2025Reusing Pre-Training Data at Test Time is a Compute Multipliercited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 12.

12 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026URAG: A Benchmark for Uncertainty Quantification in Retrieval-Augmented Large Language Models
  2. 2023"Knowing When You Don't Know": A Multilingual Relevance Assessment Dataset for Robust Retrieval-Augmented Generation
  3. 2025Adaptive Retrieval Without Self-Knowledge? Bringing Uncertainty Back Home
  4. 2025SUGAR: Leveraging Contextual Confidence for Smarter Retrieval
  5. 2025ConfRAG: Confidence-Guided Retrieval-Augmenting Generation
  6. 2025Finetune-RAG: Fine-Tuning Language Models to Resist Hallucination in Retrieval-Augmented Generation
  7. 2025To Retrieve or Not to Retrieve? Uncertainty Detection for Dynamic Retrieval Augmented Generation
  8. 2024RQ-RAG: Learning to Refine Queries for Retrieval Augmented Generation