arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.02503cs.CL
收藏

KARE-RAG:面向RAG的知识感知细化与增强

KARE-RAG: Knowledge-Aware Refinement and Enhancement for RAG

School of Biomedical Engineering, Tsinghua, China(清华大学生物医学工程学院);School of Informatics, Xiamen University, China(厦门大学信息学院);Department of Computer Science and Technology, Institute for AI, Tsinghua University, China(清华大学计算机科学与技术系);Dept. of Computer Science and Technology, Northeastern University, Shenyang, China(东北大学沈阳校区计算机科学与技术系);Institute of Information Engineering, Chinese Academy of Sciences, Beijing, China(中国科学院信息工程研究所)

Yongjian Li, HaoCheng Chu, Yukun Yan, Zhenghao Liu, Shi Yu, Zheni Zeng, Ruobing Wang, Sen Song, Zhiyuan Liu, Maosong Sun

AI总结:

KARE-RAG提出训练时脚手架对齐框架,利用结构化知识表示细化证据并构建偏好对,通过令牌加权DDPO优化生成器,在推理时无额外开销,提升RAG在问答和关系抽取任务上的迁移能力。

摘要:

检索增强生成(RAG)为大型语言模型提供外部知识,是知识密集型任务的核心。随着RAG系统进入实际应用,生成器必须可靠地利用检索到的证据。最近的微调方法改善了模型对RAG场景的适应性,但由于检索可能返回不完整、碎片化、嘈杂或相互矛盾的上下文,优化仍然具有挑战性。复杂任务进一步要求细粒度的证据依赖关系。这些挑战使得高质量监督成本高昂,并限制了泛化能力。我们提出KARE-RAG(面向RAG的知识感知细化与增强),一种训练时的脚手架式对齐框架。它使用结构化知识表示作为临时脚手架,以揭示证据组织、支持局部事实细化并构建细粒度的偏好对。在我们的主要实现中,专家大语言模型细化轻量级的图结构证据草图。生成器通过令牌加权密集直接偏好优化(DDPO)进行优化,该优化将学习重点放在编辑后的脚手架区域。脚手架仅用于数据构建和训练监督。在推理时,模型作为标准Vanilla RAG运行,无需图构建、额外检索或延迟开销。实验表明,KARE在有限的训练数据下改善了跨评估的问答和关系抽取数据集的迁移能力,同时基本保持通用能力不变。KARE还可以作为额外的对齐阶段,补充现有的RAG训练目标。

英文摘要:

Retrieval-Augmented Generation (RAG) equips large language models with external knowledge and is central to knowledge-intensive tasks. As RAG systems enter real-world use, generators must reliably leverage retrieved evidence. Recent fine-tuning methods improve adaptation to RAG scenarios, but optimization remains challenging because retrieval may return incomplete, fragmented, noisy, or conflicting contexts. Complex tasks further require fine-grained evidence dependencies. These challenges make high-quality supervision costly and limit generalization. We present KARE-RAG (Knowledge-Aware Refinement and Enhancement for RAG), a training-time scaffolded alignment framework. It uses structured knowledge representations as temporary scaffolds to expose evidence organization, support localized factual refinement, and construct fine-grained preference pairs. In our main implementation, an expert LLM refines a lightweight graph-structured evidence sketch. The generator is optimized with token-weighted Dense Direct Preference Optimization (DDPO), which focuses learning on edited scaffold regions. Scaffolds are used only for data construction and training supervision. At inference time, the model runs as standard Vanilla RAG without graph construction, extra retrieval, or latency overhead. Experiments show that KARE improves transfer across the evaluated QA and relation extraction datasets with limited training data, while leaving general capabilities largely unchanged. KARE can also complement existing RAG training objectives as an additional alignment stage.

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

↑