English

To Retrieve or Not to Retrieve? Uncertainty Detection for Dynamic Retrieval Augmented Generation

Computation and Language 2025-03-19 v3 Artificial Intelligence Information Retrieval

Abstract

Retrieval-Augmented Generation equips large language models with the capability to retrieve external knowledge, thereby mitigating hallucinations by incorporating information beyond the model's intrinsic abilities. However, most prior works have focused on invoking retrieval deterministically, which makes it unsuitable for tasks such as long-form question answering. Instead, dynamically performing retrieval by invoking it only when the underlying LLM lacks the required knowledge can be more efficient. In this context, we delve deeper into the question, "To Retrieve or Not to Retrieve?" by exploring multiple uncertainty detection methods. We evaluate these methods for the task of long-form question answering, employing dynamic retrieval, and present our comparisons. Our findings suggest that uncertainty detection metrics, such as Degree Matrix Jaccard and Eccentricity, can reduce the number of retrieval calls by almost half, with only a slight reduction in question-answering accuracy.

Keywords

Cite

@article{arxiv.2501.09292,
  title  = {To Retrieve or Not to Retrieve? Uncertainty Detection for Dynamic Retrieval Augmented Generation},
  author = {Kaustubh D. Dhole},
  journal= {arXiv preprint arXiv:2501.09292},
  year   = {2025}
}

Comments

1st workshop of "Quantify Uncertainty and Hallucination in Foundation Models: The Next Frontier in Reliable AI" at ICLR 2025

R2 v1 2026-06-28T21:07:57.545Z