arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.27786cs.CLcs.AI
收藏

SHIFT: 门控调制激活引导用于检索增强生成中的知识冲突缓解

SPARK: Adaptive Parametric Knowledge Participation for Faithful Retrieval-Augmented Generation

School of Computer Science and Engineering, Northeastern University, Shenyang, China(东北大学计算机科学与工程学院,沈阳,中国);Department of Computer Science and Technology, Tsinghua University, Beijing, China(清华大学计算机科学与技术系,北京,中国)

Ruochang Li, Pengcheng Huang, Zhenghao Liu, Yukun Yan, Huiyuan Xie, Yu Gu, Ge Yu, Maosong Sun

AI总结:

提出SHIFT框架,通过轻量级门控模块调节LLM内部激活,以自适应解决检索上下文与参数知识间的冲突,仅优化0.01%参数,在六个数据集上验证有效性。

摘要:

检索增强生成(RAG)通过引入外部知识来增强LLM,以支持响应生成。然而,检索到的上下文与参数知识之间的冲突已成为RAG系统中的关键挑战。为缓解此类冲突,许多研究尝试识别和编辑与知识相关的内部神经元,旨在提高LLM在生成过程中依赖上下文证据的能力。然而,这些神经元级方法可能会引入意外的级联效应,损害LLM的通用能力,因为修改的神经元往往与更广泛的模型行为和功能纠缠在一起。在本文中,我们介绍SHIFT,一种新颖的框架,将神经元级修改重新表述为可学习的门控调制,使LLM能够自适应地调节内部激活以解决知识冲突。技术上,我们的SHIFT为LLM配备了一个轻量级门控模块,并优化了少于0.01%的可训练参数,同时保持骨干模型冻结。在生成过程中,门控模块调整模型的内部表示,以自适应地利用上下文和参数知识。在六个数据集上的大量实验验证了我们的SHIFT与各种竞争基线相比的有效性。所有数据集和代码均可在此https URL获取。

英文摘要:

Retrieval-augmented generation (RAG) enhances the faithfulness of large language models (LLMs) by incorporating external knowledge into the generation process. However, conflicts between retrieved context and parametric knowledge can cause LLMs to rely on inconsistent internal knowledge, hindering their ability to faithfully leverage retrieved evidence. Existing approaches mitigate this issue by editing parametric knowledge to resolve such conflicts. However, locating and modifying knowledge encoded in model parameters is challenging and may inadvertently compromise the backbone LLM's capabilities. In this paper, we introduce SPARK, a novel framework that formulates parametric knowledge control as a latent participation policy learning problem, enabling LLMs to adaptively regulate the contribution of parametric knowledge during generation. Specifically, SPARK introduces a lightweight participation policy that dynamically modulates the contribution of FFN-mediated parametric knowledge while keeping the backbone LLM frozen. The participation policy is optimized with a faithfulness-oriented reward, enabling fine-grained control over parametric knowledge participation during generation. Extensive experiments on six datasets validate the effectiveness of SPARK, which introduces and optimizes only 0.01\% additional trainable parameters while keeping the backbone LLM fully frozen, thereby preserving its general capabilities and achieving more faithful generation than competitive baselines. All datasets and code are available at https://github.com/OpenBMB/SPARK.

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

↑