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

表示干预使大语言模型在终身学习中实现知识记忆控制

Representation Interventions Enable Lifelong Knowledge Memory Control in LLMs

Dartmouth College(达特茅斯学院);NEC Laboratories America(NEC美国实验室);Carnegie Mellon University(卡内基梅隆大学)

Xuyuan Liu, Shengyu Chen, Xinshuai Dong, Yanchi Liu, Xujiang Zhao, Haoyu Wang, Yujun Yan, Haifeng Chen, Zhengzhang Chen

AI总结:

本文提出RILKE方法,通过在模型表示空间中进行干预,实现大语言模型的终身知识控制,有效更新知识并保持通用性。

摘要:

大型语言模型(LLMs)在使用后常产生错误或过时的内容。高效且准确的知识更新而无需昂贵的重新训练是一个主要挑战。在终身设置中,复杂且无结构的知识必须共存而无干扰。我们引入RILKE(表示干预用于终身知识控制),一种稳健且可扩展的方法,将知识控制视为模型表示空间中的干预。利用表示空间的表达性,我们识别出两个关键属性,使RILKE能够实现对复杂、无结构知识的细粒度控制,同时保持通用性。在训练过程中,RILKE学习出抗同义词和编辑局部化的模块,限制每个更新到低维子空间以最小化跨编辑干扰。在推理过程中,一个查询自适应的路由器选择适当的模块来指导模型的生成。在LLaMA和Qwen模型上,RILKE能够有效扩展到大规模基准,展示了高编辑成功率和强大的同义词泛化能力,同时保持通用性,仅需适度的内存开销。这些结果表明RILKE是大语言模型终身知识控制的有效且可扩展的解决方案。

英文摘要:

Large language models (LLMs) often produce incorrect or outdated content after being employed. Efficient and accurate knowledge updates without costly retraining are a major challenge. This problem is particularly challenging in lifelong settings, where complex, unstructured knowledge must coexist without interference. We introduce RILKE (Representation Intervention for Lifelong KnowledgE Control), a robust and scalable method that treats knowledge control as interventions within the model's representation space. Leveraging representation-space expressiveness, we identify two key properties enabling RILKE to achieve fine-grained control over complex, unstructured knowledge while maintaining general utility with frozen base weights. During training, RILKE learns paraphrase-robust and edit-localized modules that limit each update to a low-dimensional subspace to minimize cross-edit interference. At inference, a query-adaptive router selects the appropriate module to guide the model's generation. Across LLaMA and Qwen models, RILKE scales effectively to large-scale benchmarks, demonstrating high edit success and strong paraphrase generalization while preserving general utility with modest memory overhead. These results show RILKE is an effective and scalable solution for lifelong knowledge control in LLMs.

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

↑