arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2307.11278cs.CL
收藏

面向开放域问答的生成器-检索器-生成器方法

Generator-Retriever-Generator Approach for Open-Domain Question Answering

University of Innsbruck(因斯布鲁克大学)

Abdelrahman Abdallah, Adam Jatowt

AI总结:

提出Generator-Retriever-Generator方法,结合LLM生成与双编码器检索,解决开放域问答挑战,在三个数据集上优于现有流水线。

摘要:

开放域问答(QA)任务通常需要从大型语料库中检索相关信息以生成准确答案。我们提出了一种名为Generator-Retriever-Generator(GRG)的新方法,该方法通过首先提示模型根据给定问题生成上下文文档,将文档检索技术与大型语言模型(LLM)相结合。同时,双编码器网络从外部语料库中检索与问题相关的文档。然后将生成的和检索到的文档传递给第二个LLM,由其生成最终答案。通过结合文档检索和LLM生成,我们的方法解决了开放域QA的挑战,例如生成信息丰富且上下文相关的答案。GRG优于最先进的generate-then-read和retrieve-then-read流水线(GENREAD和RFiD),在TriviaQA、NQ和WebQ数据集上分别至少提高了+5.2、+4.2和+1.6的性能。我们在https://github.com/abdoelsayed2016/GRG提供代码、数据集和检查点。

英文摘要:

Open-domain question answering (QA) tasks usually require the retrieval of relevant information from a large corpus to generate accurate answers. We propose a novel approach called Generator-Retriever-Generator (GRG) that combines document retrieval techniques with a large language model (LLM), by first prompting the model to generate contextual documents based on a given question. In parallel, a dual-encoder network retrieves documents that are relevant to the question from an external corpus. The generated and retrieved documents are then passed to the second LLM, which generates the final answer. By combining document retrieval and LLM generation, our approach addresses the challenges of open-domain QA, such as generating informative and contextually relevant answers. GRG outperforms the state-of-the-art generate-then-read and retrieve-then-read pipelines (GENREAD and RFiD) improving their performance by at least by +5.2, +4.2, and +1.6 on TriviaQA, NQ, and WebQ datasets, respectively. We provide code, datasets, and checkpoints at https://github.com/abdoelsayed2016/GRG.

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

↑