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

Astute RAG:克服大型语言模型的不完美检索增强与知识冲突

Astute RAG: Overcoming Imperfect Retrieval Augmentation and Knowledge Conflicts for Large Language Models

Google Cloud AI Research(谷歌云人工智能研究);University of Southern California(南加州大学)

Fei Wang, Xingchen Wan, Ruoxi Sun, Jiefeng Chen, Sercan Ö. Arık

AI总结:

针对不完美检索导致的错误传播与知识冲突问题,提出Astute RAG方法,通过自适应提取内部知识、迭代整合内外知识并依据可靠性生成答案,显著提升了LLM在最坏情况下的鲁棒性与可信度。

摘要:

检索增强生成(RAG)虽然能有效整合外部知识以解决大型语言模型(LLMs)的固有局限性,但可能会受到包含无关、误导甚至恶意信息的不完美检索的阻碍。以往的研究很少通过联合分析来探讨 RAG 的行为,特别是关于不完美检索带来的错误传播以及 LLMs 内部知识与外部来源之间的潜在冲突。通过在现实条件下的全面且受控的分析,我们发现不完美的检索增强是不可避免的、普遍的且有害的。我们将 LLM 内部知识与检索得到的外部知识之间的知识冲突确定为在 RAG 的检索后阶段克服不完美检索的瓶颈。为了解决这一问题,我们提出了 Astute RAG,这是一种新颖的 RAG 方法,旨在对不完美的检索增强具有弹性。它自适应地从 LLMs 的内部知识中提取基本信息,以来源感知的方式迭代整合内部与外部知识,并根据信息可靠性最终确定答案。我们使用 Gemini 和 Claude 进行的实验表明,与以往鲁棒性增强的 RAG 方法相比,Astute RAG 具有卓越的性能。具体而言,在最坏情况下,Astute RAG 是唯一一种性能达到甚至超过 LLM 常规使用方法的 RAG 方法。进一步分析揭示了 Astute RAG 在解决知识冲突方面的有效性,从而提高了 RAG 的可信度。

英文摘要:

Retrieval augmented generation (RAG), while effectively integrating external knowledge to address the inherent limitations of large language models (LLMs), can be hindered by imperfect retrieval that contain irrelevant, misleading, or even malicious information. Previous studies have rarely connected the behavior of RAG through joint analysis, particularly regarding error propagation coming from imperfect retrieval and potential conflicts between LLMs' internal knowledge and external sources. Through comprehensive and controlled analyses under realistic conditions, we find that imperfect retrieval augmentation is inevitable, common, and harmful. We identify the knowledge conflicts between LLM-internal and external knowledge from retrieval as a bottleneck to overcome imperfect retrieval in the post-retrieval stage of RAG. To address this, we propose Astute RAG, a novel RAG approach designed to be resilient to imperfect retrieval augmentation. It adaptively elicits essential information from LLMs' internal knowledge, iteratively consolidates internal and external knowledge with source-awareness, and finalizes the answer according to information reliability. Our experiments with Gemini and Claude demonstrate the superior performance of Astute RAG compared to previous robustness-enhanced RAG approaches. Specifically, Astute RAG is the only RAG method that achieves performance comparable to or even surpassing conventional use of LLMs under the worst-case scenario. Further analysis reveals the effectiveness of Astute RAG in resolving knowledge conflicts, thereby improving the trustworthiness of RAG.

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

↑