arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2506.00817cs.CL
收藏

一适用于所有:跨多个模型更新参数化知识

One for All: Update Parameterized Knowledge Across Multiple Models

Harbin Institute of Technology(哈尔滨工业大学);Peng Cheng Laboratory(鹏城实验室);The University of Hong Kong(香港大学)

Weitao Ma, Xiyuan Du, Xiaocheng Feng, Lei Huang, Yichong Huang, Huiyi Zhang, Xiaoliang Yang, Baohang Li, Xiachong Feng, Ting Liu, Bing Qin

AI总结:

提出OnceEdit,一种基于集成的插件式知识编辑方法,通过动态权重和集成增强机制,实现跨多个大语言模型的高效稳定知识更新。

摘要:

大型语言模型(LLMs)编码了海量世界知识,但难以保持最新状态,常导致错误和幻觉。知识编辑提供了重训练的高效替代方案,通过更新特定模型参数实现针对性修改。然而,现有方法主要聚焦于单个模型,在高效更新多模型及适应新模型方面存在挑战。为此,我们提出OnceEdit,一种新颖的基于集成的方法,采用插件模型作为编辑模块,支持跨多模型的稳定知识更新。基于模型集成,OnceEdit引入两项关键机制以增强有效性。首先,通过\weight token引入动态权重机制,区分编辑相关与非编辑相关实例,确保合理利用集成模型的知识。其次,纳入集成增强机制以缓解模型集成技术固有的对中心模型的过度依赖,使其更适用于知识编辑。在多种LLMs上的广泛实验表明,OnceEdit持续优于现有方法且编辑效率更优。进一步分析证实其在多模型编辑场景中的适应性与稳定性。代码将公开。

英文摘要:

Large language models (LLMs) encode vast world knowledge but struggle to stay up-to-date, often leading to errors and hallucinations. Knowledge editing offers an efficient alternative to retraining, enabling targeted modifications by updating specific model parameters. However, existing methods primarily focus on individual models, posing challenges in efficiently updating multiple models and adapting to new models. To address this, we propose OnceEdit, a novel ensemble-based approach that employs a plug-in model as the editing module, enabling stable knowledge updates across multiple models. Building on the model ensemble, OnceEdit introduces two key mechanisms to enhance its effectiveness. First, we introduce a dynamic weight mechanism through a \weight token for distinguishing between edit-related and non-edit-related instances, ensuring the appropriate utilization of knowledge from integrated models. Second, we incorporate an ensemble enhancement mechanism to mitigate the excessive reliance on the central model inherent in the model ensemble technique, making it more suitable for knowledge editing. Extensive experiments on diverse LLMs demonstrate that OnceEdit consistently outperforms existing methods while achieving superior editing efficiency. Further analysis confirms its adaptability and stability in multi-model editing scenarios. Our code will be available.

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

↑