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

在对话式问答中学习何时检索、重写什么以及如何响应

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

TU Delft(代尔夫特理工大学);Amazon(亚马逊公司)

Nirmal Roy, Leonardo F. R. Ribeiro, Rexhina Blloshmi, Kevin Small

AI总结:

本文提出SELF-multi-RAG方法,使LLMs在对话式问答中能自主决定何时检索、重写对话并评估返回段落,相比单轮变体在响应生成质量上提升约13%。

摘要:

将大型语言模型(LLMs)与信息检索能力相结合(即检索增强生成(RAG))已被证明对知识密集型任务有益。然而,在生成响应时理解用户的上下文搜索意图是对话式问答(QA)中一个研究不足的课题。与单轮QA相比,这种对话式扩展带来了额外的挑战,因为系统更难理解对话上下文并在多轮中管理检索到的段落。在这项工作中,我们提出了一种方法,使LLMs能够在给定对话上下文的RAG设置中决定何时检索。当判定检索必要时,LLM随后重写对话以进行段落检索,并在响应生成前判断返回段落的相关性。在操作上,我们基于单轮SELF-RAG框架(Asai et al., 2023),提出了适用于对话设置的SELF-multi-RAG。SELF-multi-RAG在检索相关段落(通过使用总结的对话上下文)和评估生成响应的质量方面,相比单轮变体展现出更强的能力。在三个对话式QA数据集上的实验验证了SELF-multi-RAG增强的响应生成能力,通过人工注释测量到约13%的提升。

英文摘要:

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.

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

↑