QuCo-RAG: Quantifying Uncertainty from the Pre-training Corpus for Dynamic Retrieval-Augmented Generation
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
- 2025Modeling Uncertainty Trends for Timely Retrieval in Dynamic RAG13 Nov
- 2023Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection17 Oct
Other references · 33
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2017On Calibration of Modern Neural Networkscited by 4,960
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2022Language Models (Mostly) Know What They Knowcited by 1,856
- 2020What Disease does this Patient Have? A Large-scale Open Domain Question Answering Dataset from Medical Examscited by 1,356
- 2019PubMedQA: A Dataset for Biomedical Research Question Answeringcited by 1,288
- 2020Constructing A Multi-hop QA Dataset for Comprehensive Evaluation of Reasoning Stepscited by 1,282
- 2022When Not to Trust Language Models: Investigating Effectiveness of Parametric and Non-Parametric Memoriescited by 1,128
- 2022Interleaving Retrieval with Chain-of-Thought Reasoning for Knowledge-Intensive Multi-Step Questionscited by 923
- 2023Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedbackcited by 812
21 more
- 2023REPLUG: Retrieval-Augmented Black-Box Language Modelscited by 792
- 2023Enabling Large Language Models to Generate Text with Citationscited by 595
- 2024From Generation to Judgment: Opportunities and Challenges of LLM-as-a-judgecited by 494
- 2024Dolma: an Open Corpus of Three Trillion Tokens for Language Model Pretraining Researchcited by 483
- 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
- 2024The Power of Noise: Redefining Retrieval for RAG Systemscited by 281
- 2022ASQA: Factoid Questions Meet Long-Form Answerscited by 234
- 2023How Abilities in Large Language Models are Affected by Supervised Fine-tuning Data Compositioncited by 223
- 2022SGPT: GPT Sentence Embeddings for Semantic Searchcited by 204
- 2023Can ChatGPT Replace Traditional KBQA Models? An In-depth Analysis of the Question Answering Performance of the GPT LLM Familycited by 71
- 2025HALoGEN: Fantastic LLM Hallucinations and Where to Find Themcited by 34
- 2025OLMoTrace: Tracing Language Model Outputs Back to Trillions of Training Tokenscited by 27
- 2025Knowing You Don't Know: Learning When to Continue Search in Multi-round RAG through Self-Practicingcited by 25
- 2024Exploring the Impact of Table-to-Text Methods on Augmenting LLM-based Question Answering with Domain Hybrid Datacited by 24
- 2025ArcMemo: Abstract Reasoning Composition with Lifelong LLM Memorycited by 24
- 2025The National Research Platform: Stretched, Multi-Tenant, Scientific Kubernetes Clustercited by 17
- 2025Infini-gram mini: Exact n-gram Search at the Internet Scale with FM-Indexcited by 14
- 2024Reverse Question Answering: Can an LLM Write a Question so Hard (or Bad) that it Can't Answer?cited by 13
- 2025Enhancing Multimodal In-Context Learning for Image Classification through Coreset Optimizationcited by 7
- 2024UniHGKR: Unified Instruction-aware Heterogeneous Knowledge Retrieverscited by 5
- 2025Reusing Pre-Training Data at Test Time is a Compute Multipliercited by 4
Built on by
Citing papers per year: 2026: 12.
12 papers.
- 2026CoEvoSkills: Self-Evolving Agent Skills via Co-Evolutionary Verificationcited by 128
- 2026PhGPO: Pheromone-Guided Policy Optimization for Long-Horizon Tool Planningcited by 9
- 2026SELAUR: Self Evolving LLM Agent via Uncertainty-aware Rewardscited by 9
- 2026CARD: Towards Conditional Design of Multi-agent Topological Structurescited by 9
- 2026RSIAgent: Autonomous Exploration for Recursive Self-improvement in New Environmentscited by 8
- 2026Adaptive Stopping for Multi-Turn LLM Reasoningcited by 7
- 2026Environment-Aware Code Generation: How far are We?cited by 4
- 2026Latent Thoughts Tuning: Bridging Context and Reasoning with Fused Information in Latent Tokenscited by 4
- 2026Beyond Math and Code: Lightweight Corpus-Grounded Process Rewards for Factual Question Answeringcited by 4
- 2026KCoEvo: A Knowledge Graph Augmented Framework for Evolutionary Code Generationcited by 1
- 2026Choosing Before Acting: Comparative Value Estimation for Long-Horizon Tool-Use Agentscited by 0
- 2026CIPO: Counterfactual Imagination Policy Optimization for Adaptive Tool Granularity Selectioncited by 0
- 2026CIPO: Counterfactual Imagination Policy Optimization for Adaptive Tool Granularity Selection4 Oct 2026
- 2026Choosing Before Acting: Comparative Value Estimation for Long-Horizon Tool-Use Agents1 Oct 2026
- 2026RSIAgent: Autonomous Exploration for Recursive Self-improvement in New Environments14 Sep 2026
- 2026Beyond Math and Code: Lightweight Corpus-Grounded Process Rewards for Factual Question Answering28 May 2026
- 2026CoEvoSkills: Self-Evolving Agent Skills via Co-Evolutionary Verification2 Apr 2026
- 2026Adaptive Stopping for Multi-Turn LLM Reasoning1 Apr 2026
- 2026KCoEvo: A Knowledge Graph Augmented Framework for Evolutionary Code Generation8 Mar 2026
- 2026CARD: Towards Conditional Design of Multi-agent Topological Structures1 Mar 2026
- 2026SELAUR: Self Evolving LLM Agent via Uncertainty-aware Rewards24 Feb 2026
- 2026PhGPO: Pheromone-Guided Policy Optimization for Long-Horizon Tool Planning14 Feb 2026
- 2026Latent Thoughts Tuning: Bridging Context and Reasoning with Fused Information in Latent Tokens10 Feb 2026
- 2026Environment-Aware Code Generation: How far are We?18 Jan 2026
Similar, not cited
Close in wording, no citation either way
- 2026URAG: A Benchmark for Uncertainty Quantification in Retrieval-Augmented Large Language Models
- 2023"Knowing When You Don't Know": A Multilingual Relevance Assessment Dataset for Robust Retrieval-Augmented Generation
- 2025Adaptive Retrieval Without Self-Knowledge? Bringing Uncertainty Back Home
- 2025SUGAR: Leveraging Contextual Confidence for Smarter Retrieval
- 2025ConfRAG: Confidence-Guided Retrieval-Augmenting Generation
- 2025Finetune-RAG: Fine-Tuning Language Models to Resist Hallucination in Retrieval-Augmented Generation
- 2025To Retrieve or Not to Retrieve? Uncertainty Detection for Dynamic Retrieval Augmented Generation
- 2024RQ-RAG: Learning to Refine Queries for Retrieval Augmented Generation