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

学习为检索增强生成过滤上下文

Learning to Filter Context for Retrieval-Augmented Generation

Carnegie Mellon University(卡内基梅隆大学);Bosch Research(博世研究院)

Zhiruo Wang, Jun Araki, Zhengbao Jiang, Md Rizwan Parvez, Graham Neubig

AI总结:

提出FILCO方法,通过词汇和信息论识别有用上下文并训练过滤模型,在六个知识密集型任务上优于现有方法,提升生成质量。

摘要:

实时检索相关知识已被证明是开放域问答和事实核查等可靠系统中的关键要素。然而,由于检索系统并非完美无缺,生成模型需要在部分或完全无关的段落条件下生成输出。这可能导致对上下文的过度依赖或依赖不足,并在生成输出中引发诸如幻觉等问题。为缓解这些问题,我们提出了FILCO方法,该方法通过(1)基于词汇和信息论方法识别有用上下文,以及(2)训练上下文过滤模型,使其在测试时能够过滤检索到的上下文,从而提高提供给生成器的上下文质量。我们在六个知识密集型任务上使用FLAN-T5和LLaMa2进行实验,并证明我们的方法在抽取式问答(QA)、复杂多跳和长形式问答、事实核查以及对话生成任务上优于现有方法。FILCO有效提升了上下文质量,无论其是否支持标准输出。

英文摘要:

On-the-fly retrieval of relevant knowledge has proven an essential element of reliable systems for tasks such as open-domain question answering and fact verification. However, because retrieval systems are not perfect, generation models are required to generate outputs given partially or entirely irrelevant passages. This can cause over- or under-reliance on context, and result in problems in the generated output such as hallucinations. To alleviate these problems, we propose FILCO, a method that improves the quality of the context provided to the generator by (1) identifying useful context based on lexical and information-theoretic approaches, and (2) training context filtering models that can filter retrieved contexts at test time. We experiment on six knowledge-intensive tasks with FLAN-T5 and LLaMa2, and demonstrate that our method outperforms existing approaches on extractive question answering (QA), complex multi-hop and long-form QA, fact verification, and dialog generation tasks. FILCO effectively improves the quality of context, whether or not it supports the canonical output.

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

↑