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

W-RAG:开放域问答中RAG的弱监督稠密检索

W-RAG: Weakly Supervised Dense Retrieval in RAG for Open-domain Question Answering

Santa Clara University(圣克拉拉大学);Meta AI

Jinming Nian, Zhiyuan Peng, Qifan Wang, Yi Fang

AI总结:

本文提出W-RAG方法,通过从LLM下游任务提取弱监督信号微调稠密检索器,利用BM25检索和LLM生成概率重排序段落,显著提升了开放域问答的检索与生成性能。

摘要:

在开放域问答(OpenQA)等知识密集型任务中,大型语言模型(LLMs)仅依靠内部(参数化)知识通常难以生成事实性答案。为解决这一局限,检索增强生成(RAG)系统通过从外部来源检索相关信息来增强LLMs,从而将检索器定位为关键组件。尽管稠密检索展示了最先进的性能,但由于真实证据的稀缺性,其训练面临挑战,这主要归因于人工标注的高昂成本。在本文中,我们提出了W-RAG,该方法从LLM的下游任务(如OpenQA)中提取弱训练信号,并对检索器进行微调,以优先选择最有利于该任务的段落。具体而言,我们通过评估在给定每个段落时LLM为问题生成正确答案的概率,对通过BM25检索到的前$k$个段落进行重新排序。排名最高的段落随后被用作稠密检索的正微调样本。我们在四个公开可用的OpenQA数据集上进行了全面实验,证明与基线模型相比,我们的方法提升了检索和OpenQA性能,取得了与使用人工标注数据微调的模型相当的结果。

英文摘要:

In knowledge-intensive tasks such as open-domain question answering (OpenQA), large language models (LLMs) often struggle to generate factual answers, relying solely on their internal (parametric) knowledge. To address this limitation, Retrieval-Augmented Generation (RAG) systems enhance LLMs by retrieving relevant information from external sources, thereby positioning the retriever as a pivotal component. Although dense retrieval demonstrates state-of-the-art performance, its training poses challenges due to the scarcity of ground-truth evidence, largely attributed to the high costs of human annotation. In this paper, we propose W-RAG, a method that draws weak training signals from the downstream task (such as OpenQA) of an LLM, and fine-tunes the retriever to prioritize passages that most benefit the task. Specifically, we rerank the top-$k$ passages retrieved via BM25 by assessing the probability that the LLM will generate the correct answer for a question given each passage. The highest-ranking passages are then used as positive fine-tuning examples for dense retrieval. We conduct comprehensive experiments across four publicly available OpenQA datasets to demonstrate that our approach enhances both retrieval and OpenQA performance compared to baseline models, achieving results comparable to models fine-tuned with human-labeled data.

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

↑