arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2402.18150cs.CLcs.AIcs.IR
收藏

面向检索增强生成的大语言模型无监督信息精炼训练

Unsupervised Information Refinement Training of Large Language Models for Retrieval-Augmented Generation

Institute of Computing Technology, CAS(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Pattern Recognition Center, WeChat AI(微信AI模式识别中心)

Shicheng Xu, Liang Pang, Mo Yu, Fandong Meng, Huawei Shen, Xueqi Cheng, Jie Zhou

AI总结:

本文提出InFO-RAG无监督信息精炼训练方法,将LLM视为RAG中的信息精炼器,以低成本提升其整合并优化不同质量检索文本的能力;11个数据集零样本实验显示其平均提升LLaMA2性能9.39%。

摘要:

检索增强生成(RAG)通过引入来自检索的额外信息来增强大语言模型(LLM)。然而,已有研究表明,LLM在有效利用检索到的信息方面仍面临挑战,甚至会忽视这些信息或被其误导。关键原因在于,LLM的训练并未明确使其学会如何利用质量参差不齐的输入检索文本。本文提出一种新颖视角,将LLM在RAG中的角色视为“信息精炼器”:这意味着无论检索文本的正确性、完整性或有用性如何,LLM都能够持续整合检索文本与模型参数中的知识,生成比检索文本更简洁、准确且完整的文本。为此,我们提出一种名为InFO-RAG的信息精炼训练方法,以无监督方式优化面向RAG的LLM。InFO-RAG成本低廉,并可泛化到多种任务。在涵盖问答、槽位填充、语言建模、对话和代码生成等多样任务的11个数据集上进行的零样本预测大量实验表明,InFO-RAG使LLaMA2的性能平均提升9.39个相对百分点。InFO-RAG在上下文学习和RAG鲁棒性方面也展现出优势。

英文摘要:

Retrieval-augmented generation (RAG) enhances large language models (LLMs) by incorporating additional information from retrieval. However, studies have shown that LLMs still face challenges in effectively using the retrieved information, even ignoring it or being misled by it. The key reason is that the training of LLMs does not clearly make LLMs learn how to utilize input retrieved texts with varied quality. In this paper, we propose a novel perspective that considers the role of LLMs in RAG as ``Information Refiner'', which means that regardless of correctness, completeness, or usefulness of retrieved texts, LLMs can consistently integrate knowledge within the retrieved texts and model parameters to generate the texts that are more concise, accurate, and complete than the retrieved texts. To this end, we propose an information refinement training method named InFO-RAG that optimizes LLMs for RAG in an unsupervised manner. InFO-RAG is low-cost and general across various tasks. Extensive experiments on zero-shot prediction of 11 datasets in diverse tasks including Question Answering, Slot-Filling, Language Modeling, Dialogue, and Code Generation show that InFO-RAG improves the performance of LLaMA2 by an average of 9.39\% relative points. InFO-RAG also shows advantages in in-context learning and robustness of RAG.

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

↑