cs.CLApr 13, 2026

HiEdit: Lifelong Model Editing with Hierarchical Reinforcement Learning

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

Organizations: Harbin Institute of Technology · AI Research Center, Midea Group (Shanghai) Co., Ltd. · State Key Laboratory of Smart Farm Technologies and Systems · Beidahuang Information Co., Ltd.

Abstract

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.

Figures & tables

Appendix figures & tables7 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Generalizable Lifelong Model Editing via Preference Optimization

    Sep 29, 2026Dahyun Jung, Suhyune Son, Heuiseok LimContinual Learning for LLMsContinual Learning

  2. Reversible Lifelong Model Editing via Semantic Routing-Based LoRA

    Mar 11, 2026Haihua Luo, Xuming Ran, Tommi Kärkkäinen +4Model EditingLanguage Model Editing

  3. SCAN: Sparse Circuit Anchor Interpretable Neuron for Lifelong Knowledge Editing

    Mar 16, 2026Yuhuan Liu, Haitian Zhong, Xinyuan Xia +3Knowledge EditingLanguage Model Editing