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

HiEdit:基于分层强化学习的终身模型编辑

HiEdit: Lifelong Model Editing with Hierarchical Reinforcement Learning

Harbin Institute of Technology(哈尔滨工业大学);Beidahuang Information Co., Ltd.(北大荒信息有限公司);State Key Laboratory of Smart Farm Technologies and Systems(智慧农场技术与系统全国重点实验室);AI Research Center, Midea Group (Shanghai) Co., Ltd.(美的集团(上海)有限公司人工智能研究中心)

Yangfan Wang, Tianyang Sun, Chen Tang, Jie Liu, Wei Cai, Jingchi Jiang

AI总结:

本文提出HiEdit,通过分层强化学习框架实现对部署大语言模型中过时或不准确知识的修正,通过动态选择知识相关的层实现精准更新,提升RLEdit性能8.48%。

摘要:

终身模型编辑(LME)旨在顺序修正部署中的大语言模型(LLM)中过时或不准确的知识,同时最小化对无关输入的影响。然而,现有方法通常对静态且密集的LLM层集应用参数扰动,这与我们假设不同,即不同知识存储在模型的不同层中。忽视这种层间特异性会阻碍新知识整合的适应性,并导致通用和先前编辑知识的灾难性遗忘。为此,我们提出HiEdit,一种分层强化学习框架,能够自适应地识别每个编辑实例中最相关的层。通过实现动态、实例感知的层选择,并结合稀疏性的内在奖励,HiEdit实现了精确的局部更新。在各种LLM上的实验表明,HiEdit通过仅扰动每个编辑一半的层,将竞争性RLEdit的性能提升平均8.48%。我们的代码可在https://github.com/yangfanww/hiedit获取。

英文摘要:

Lifelong model editing (LME) aims to sequentially rectify outdated or inaccurate knowledge in deployed LLMs while minimizing side effects on unrelated inputs. However, existing approaches typically apply parameter perturbations to a static and dense set of LLM layers for all editing instances. This practice is counter-intuitive, as we hypothesize that different pieces of knowledge are stored in distinct layers of the model. Neglecting this layer-wise specificity can impede adaptability in integrating new knowledge and result in catastrophic forgetting for both general and previously edited knowledge. To address this, we propose HiEdit, a hierarchical reinforcement learning framework that adaptively identifies the most knowledge-relevant layers for each editing instance. By enabling dynamic, instance-aware layer selection and incorporating an intrinsic reward for sparsity, HiEdit achieves precise, localized updates. Experiments on various LLMs show that HiEdit boosts the performance of the competitive RLEdit by an average of 8.48% with perturbing only half of the layers per edit. Our code is available at: https://github.com/yangfanww/hiedit.

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

↑