QueueEDIT: Structural Self-Correction for Sequential Model Editing in LLMs

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Taolin, Kang, Haidong, Li, Dongyang, Chen, Qizhou, He, Chengyu Wang Xiaofeng, Hong, Richang
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866918067488948224
author Zhang, Taolin
Kang, Haidong
Li, Dongyang
Chen, Qizhou
He, Chengyu Wang Xiaofeng
Hong, Richang
author_facet Zhang, Taolin
Kang, Haidong
Li, Dongyang
Chen, Qizhou
He, Chengyu Wang Xiaofeng
Hong, Richang
contents Recently, large language models (LLMs) have demonstrated impressive results but still suffer from hallucinations. Model editing has been proposed to correct factual inaccuracies in LLMs. A challenging case is sequential model editing (SME), which aims to rectify errors continuously rather than treating them as a one-time task. During SME, the general capabilities of LLMs can be negatively affected due to the introduction of new parameters. In this paper, we propose a queue-based self-correction framework (QueueEDIT) that not only enhances SME performance by addressing long-sequence dependency but also mitigates the impact of parameter bias on the general capabilities of LLMs. Specifically, we first introduce a structural mapping editing loss to map the triplets to the knowledge-sensitive neurons within the Transformer layers of LLMs. We then store the located parameters for each piece of edited knowledge in a queue and dynamically align previously edited parameters. In each edit, we select queue parameters most relevant to the currently located parameters to determine whether previous knowledge needs realignment. Irrelevant parameters in the queue are frozen, and we update the parameters at the queue head to the LLM to ensure they do not harm general abilities. Experiments show that our framework significantly outperforms strong baselines across various SME settings and maintains competitiveness in single-turn editing. The resulting LLMs also preserve high capabilities in general NLP tasks throughout the SME process.
format Preprint
id arxiv_https___arxiv_org_abs_2506_17864
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle QueueEDIT: Structural Self-Correction for Sequential Model Editing in LLMs
Zhang, Taolin
Kang, Haidong
Li, Dongyang
Chen, Qizhou
He, Chengyu Wang Xiaofeng
Hong, Richang
Computation and Language
Recently, large language models (LLMs) have demonstrated impressive results but still suffer from hallucinations. Model editing has been proposed to correct factual inaccuracies in LLMs. A challenging case is sequential model editing (SME), which aims to rectify errors continuously rather than treating them as a one-time task. During SME, the general capabilities of LLMs can be negatively affected due to the introduction of new parameters. In this paper, we propose a queue-based self-correction framework (QueueEDIT) that not only enhances SME performance by addressing long-sequence dependency but also mitigates the impact of parameter bias on the general capabilities of LLMs. Specifically, we first introduce a structural mapping editing loss to map the triplets to the knowledge-sensitive neurons within the Transformer layers of LLMs. We then store the located parameters for each piece of edited knowledge in a queue and dynamically align previously edited parameters. In each edit, we select queue parameters most relevant to the currently located parameters to determine whether previous knowledge needs realignment. Irrelevant parameters in the queue are frozen, and we update the parameters at the queue head to the LLM to ensure they do not harm general abilities. Experiments show that our framework significantly outperforms strong baselines across various SME settings and maintains competitiveness in single-turn editing. The resulting LLMs also preserve high capabilities in general NLP tasks throughout the SME process.
title QueueEDIT: Structural Self-Correction for Sequential Model Editing in LLMs
topic Computation and Language
url https://arxiv.org/abs/2506.17864