通过对比解释提升检索增强模型的批判性推理能力
Eliciting Critical Reasoning in Retrieval-Augmented Language Models via Contrastive Explanations
- 用对比解释构建示范,引导模型判断检索内容相关性
- 在多个数据集上显著降低幻觉率,准确率提升5.2%以上
- 适合需要高可靠性推理的低资源或小模型应用
检索增强生成(RAG)已成为现代自然语言处理中支持大语言模型系统获取更丰富事实上下文的关键机制。然而,RAG的集成带来了固有挑战,因大模型需处理潜在噪声的上下文。近期研究表明,大模型仍难以对基于RAG的上下文信息进行批判性分析,可能导致错误推断与幻觉。本文研究如何通过对比解释激发RAG中的批判性推理。我们提出对比式RAG(C-RAG)框架,包括:(i) 根据查询检索相关文档,(ii) 选择并示例相关段落,(iii) 生成明确对比段落相关性的解释,(iv) 支持最终答案。实验表明,通过让大模型构建对比推理示范,可有效指导小型模型完成检索增强任务。大量实验证明,C-RAG在不依赖大量提示和示范的前提下,显著优于现有先进RAG模型,并对检索文档扰动具有鲁棒性。
原文摘要 · Abstract (English)
Retrieval-augmented generation (RAG) has emerged as a critical mechanism in contemporary NLP to support Large Language Models(LLMs) in systematically accessing richer factual context. However, the integration of RAG mechanisms brings its inherent challenges, as LLMs need to deal with potentially noisy contexts. Recent studies have shown that LLMs still struggle to critically analyse RAG-based in-context information, a limitation that may lead to incorrect inferences and hallucinations. In this paper, we investigate how to elicit critical reasoning in RAG via contrastive explanations. In particular, we propose Contrastive-RAG (C-RAG), a framework that (i) retrieves relevant documents given a query, (ii) selects and exemplifies relevant passages, and (iii) generates explanations that explicitly contrast the relevance of the passages to (iv) support the final answer. We show the impact of C-RAG building contrastive reasoning demonstrations from LLMs to instruct smaller models for retrieval-augmented tasks. Extensive experiments demonstrate that C-RAG improves state-of-the-art RAG models while (a) requiring significantly fewer prompts and demonstrations and (b) being robust to perturbations in the retrieved documents.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。