arXiv:2410.07176cs.CLcs.AI2024-10ACL被引 70

解决大模型检索增强中的错误信息与知识冲突问题

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

  • 通过自适应融合内外部知识,动态评估信息可靠性
  • 在最差检索条件下仍表现优于传统RAG方法
  • 特别适合高可信度要求的问答系统

检索增强生成(RAG)虽能弥补大语言模型(LLMs)的知识局限,但常受不准确检索结果影响,包含无关、误导甚至恶意信息。以往研究较少从整体视角分析错误传播及内部知识与外部来源间的知识冲突。我们通过真实场景下的系统性分析发现,不完美检索普遍存在且有害。识别出内外知识冲突是后检索阶段克服缺陷的关键瓶颈。为此提出Astute RAG,一种对不完美检索具有鲁棒性的新方法:自适应提取模型内知识,有源意识地迭代整合内外知识,并依据可靠性最终定稿答案。在Gemini和Claude上的实验表明,相比已有增强鲁棒性的RAG方法,Astute RAG性能更优。尤其在最差检索情况下,其表现可媲美甚至超越传统直接使用大模型的方式。进一步分析显示,该方法有效缓解知识冲突,显著提升RAG可信度。

原文摘要 · Abstract (English)

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.

RAG知识冲突大模型可信生成

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。