Can We Continually Edit Language Models? On the Knowledge Attenuation in Sequential Model Editing

Qi Li, Xiaowen Chu

Introduction

Large Language Models (LLMs) are typically static after training, meaning they cannot easily incorporate new information without expensive retraining. Model editing offers a surgical alternative, allowing researchers to update specific facts—such as changing a company's CEO—within the model's parameters.

Overview of the model editing process, showing a fact update from "Steve Jobs" to "Tim Cook" and the model's ability to recall the updated information.

The Challenge: Knowledge Attenuation

While batch editing (updating many facts at once) is well-documented, real-world updates often arrive sequentially. This paper identifies a critical phenomenon called Knowledge Attenuation (KA): as more sequential edits are applied, the LLM's ability to retain that new information rapidly decays. The authors attribute this to parameter interference and weight entanglement, where new updates essentially "overwrite" or conflict with previous ones.

AdaPLE: Adaptive Precise LLM Editing

To address Knowledge Attenuation, the authors introduce AdaPLE, a method designed for robust sequential editing. AdaPLE incorporates three key innovations:

  1. Refined Optimization Goal: The objective function explicitly accounts for both the removal of outdated information and the insertion of new knowledge.
  2. Concurrent State Optimization: It optimizes hidden states across both Multi-Head Self-Attention (MHSA) and Feed-Forward Network (FFN) layers.
  3. Drop-and-Rescale (DR) Fusion: This core mechanism randomly prunes up to 80% of redundant update weights. By sparsifying the updates, AdaPLE ensures that sequential edits occupy distinct parameter subspaces, significantly reducing interference.

Experimental Results

The researchers evaluated AdaPLE against established baselines like ROME, MEMIT, and PMET across 10,000 sequential edits using the COUNTERFACT and zsRE datasets.

Performance metrics across 10,000 sequential edits for Llama2-7B and GPT-J, illustrating the sharp decay in methods like ROME and MEND compared to more stable approaches.

As shown in the results, traditional methods like ROME and MEND suffer from a dramatic loss in efficacy and generalization as the number of edits increases. In contrast, AdaPLE maintains a near-flat performance curve. On the COUNTERFACT dataset, AdaPLE achieved a harmonic mean score of 87.4, surpassing both PMET (86.8) and MEMIT (86.5). Furthermore, the "Drop-and-Rescale" strategy proved to be a versatile tool, improving the sequential performance of existing methods when applied as a plug-and-play mitigation.

Conclusion

Sequential model editing is a vital capability for keeping LLMs current, but it is hindered by Knowledge Attenuation. By leveraging weight redundancy through the Drop-and-Rescale strategy, AdaPLE demonstrates that LLMs can successfully absorb up to 10,000 sequential edits with minimal performance loss. Future research will focus on extending these techniques to more complex, reasoning-based knowledge updates.

Summary updated

BibTeX
@inproceedings{li2024can,
  author = {Qi Li and Xiaowen Chu},
  title = {{Can We Continually Edit Language Models? On the Knowledge Attenuation in Sequential Model Editing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.323},
}
Figure