arXiv:2409.15515cs.CLcs.AI2024-09EMNLP被引 19

让大模型在对话问答中智能判断何时检索、重写问题并评估结果。

Learning When to Retrieve, What to Rewrite, and How to Respond in Conversational QA

  • 基于对话上下文动态决定是否检索,提升检索准确性。
  • 通过重写对话摘要提升相关文档召回率,人类评分提升13%。
  • 适合需要多轮对话理解的问答系统开发者使用。

将信息检索能力引入大型语言模型(即检索增强生成,RAG)已被证明对知识密集型任务有益。然而,在对话式问答(QA)中理解用户上下文搜索意图仍是一个研究不足的问题。与单轮问答相比,多轮对话面临更大挑战:系统需更好理解上下文,并在多轮中管理检索到的文本片段。本文提出一种方法,使大模型在对话上下文中决定何时进行检索。当判定需检索时,模型会重写对话以适配检索,并在生成回答前评估返回段落的相关性。我们在单轮SELF-RAG框架基础上构建了适用于多轮场景的SELF-multi-RAG。实验表明,该方法在使用对话摘要进行检索方面表现更优,且生成回答质量更高。在三个对话式QA数据集上的测试验证了其优势,人类评估显示性能提升约13%。

原文摘要 · Abstract (English)

Augmenting Large Language Models (LLMs) with information retrieval capabilities (i.e., Retrieval-Augmented Generation (RAG)) has proven beneficial for knowledge-intensive tasks. However, understanding users' contextual search intent when generating responses is an understudied topic for conversational question answering (QA). This conversational extension leads to additional concerns when compared to single-turn QA as it is more challenging for systems to comprehend conversational context and manage retrieved passages over multiple turns. In this work, we propose a method for enabling LLMs to decide when to retrieve in RAG settings given a conversational context. When retrieval is deemed necessary, the LLM then rewrites the conversation for passage retrieval and judges the relevance of returned passages before response generation. Operationally, we build on the single-turn SELF-RAG framework (Asai et al., 2023) and propose SELF-multi-RAG for conversational settings. SELF-multi-RAG demonstrates improved capabilities over single-turn variants with respect to retrieving relevant passages (by using summarized conversational context) and assessing the quality of generated responses. Experiments on three conversational QA datasets validate the enhanced response generation capabilities of SELF-multi-RAG, with improvements of ~13% measured by human annotation.

对话问答检索增强大模型

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。