arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2501.09292cs.CLcs.AIcs.IR
收藏

检索还是不检索?面向动态检索增强生成的不确定性检测

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

Emory University(埃默里大学)

Kaustubh D. Dhole

AI总结:

针对确定性检索不适用于长问答的问题,研究探索多种不确定性检测方法以实现动态检索增强生成,发现相关指标可在问答准确率仅略有下降的情况下将检索调用次数减少近一半,提升了检索效率。

摘要:

检索增强生成(Retrieval-Augmented Generation)为大语言模型赋予了检索外部知识的能力,从而通过引入模型固有能力之外的信息来减少幻觉。然而,以往大多数研究都聚焦于确定性地调用检索,这使得该方法不适用于长问答等任务。相比之下,仅在底层大语言模型缺乏所需知识时才调用检索的动态检索方式效率更高。在此背景下,我们通过探索多种不确定性检测方法,深入研究“检索还是不检索?”这一问题。我们针对长问答任务,采用动态检索方式对这些方法进行了评估,并给出了对比结果。研究发现,Degree Matrix Jaccard和Eccentricity等不确定性检测指标可将检索调用次数减少近一半,而问答准确率仅略有下降。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑