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

面向对话系统的自适应检索增强生成

Adaptive Retrieval-Augmented Generation for Conversational Systems

University of Sheffield(谢菲尔德大学);University of Liverpool(利物浦大学);University of Aberdeen(阿伯丁大学);University College London(伦敦大学学院)

Xi Wang, Procheta Sen, Ruizhe Li, Emine Yilmaz

AI总结:

本文提出RAGate门控模型,通过建模对话上下文自适应判断每轮回复是否需要检索增强生成,实验证明其能提升回复质量与生成置信度。

摘要:

尽管将大型语言模型集成到对话系统开发中已取得成功,许多研究表明,检索并增强外部知识对于生成信息丰富的回复是有效的。因此,许多现有研究通常假设对话系统中始终需要检索增强生成(RAG),而缺乏显式控制。这引出了一个关于这种必要性的研究问题。在本研究中,我们提出探究每一轮系统回复是否需要外部知识增强。具体而言,通过利用人类对自适应增强二元选择的判断,我们开发了RAGate,一种门控模型,该模型对对话上下文和相关输入进行建模,以预测对话系统是否需要RAG来改进回复。我们进行了大量实验,将RAGate设计并应用于对话模型,并对不同对话场景进行了全面分析。我们的实验结果和分析表明,RAGate在基于RAG的对话系统中能够有效识别需要适当RAG的系统回复,从而生成高质量回复并具有较高的生成置信度。本研究还揭示了生成置信度与增强知识相关性之间的关联。

英文摘要:

Despite the success of integrating large language models into the development of conversational systems, many studies have shown the effectiveness of retrieving and augmenting external knowledge for informative responses. Hence, many existing studies commonly assume the always need for Retrieval Augmented Generation (RAG) in a conversational system without explicit control. This raises a research question about such a necessity. In this study, we propose to investigate the need for each turn of system response to be augmented with external knowledge. In particular, by leveraging human judgements on the binary choice of adaptive augmentation, we develop RAGate, a gating model, which models conversation context and relevant inputs to predict if a conversational system requires RAG for improved responses. We conduct extensive experiments on devising and applying RAGate to conversational models and well-rounded analyses of different conversational scenarios. Our experimental results and analysis indicate the effective application of RAGate in RAG-based conversational systems in identifying system responses for appropriate RAG with high-quality responses and a high generation confidence. This study also identifies the correlation between the generation's confidence level and the relevance of the augmented knowledge.

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

↑