Saved in:
Bibliographic Details
Main Authors: Fang, Yuan, Xie, Yi, Ran, Xuming
Format: Preprint
Published: 2026
Subjects:
Online Access:https://arxiv.org/abs/2605.08143
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917510859718656
author Fang, Yuan
Xie, Yi
Ran, Xuming
author_facet Fang, Yuan
Xie, Yi
Ran, Xuming
contents Large language models encode vast factual knowledge that can become outdated or incorrect after deployment, yet retraining is prohibitively costly. This motivates lifelong model editing, which updates targeted behavior while preserving the rest of the model. Existing editors, both parameter-modifying and parameter-preserving, degrade severely as edits accumulate and struggle to generalize across paraphrases. We propose HoReN, a codebook-based parameter-preserving editor that wraps a single MLP layer with a discrete key-value memory. HoReN treats each codebook entry as both a knowledge key and a Hopfield stored pattern, retrieves edits by angular similarity on the unit hypersphere, and refines queries through damped Hopfield dynamics so paraphrases converge to the correct memory basin while unrelated inputs remain stable. HoReN achieves strong editing performance with consistent gains across diverse benchmarks spanning standard ZsRE, structured WikiBigEdit, and unstructured UnKE evaluations. Moreover, HoReN scales to 50K sequential edits on ZsRE with stable overall performance above 0.93, while prior editors collapse or degrade severely before reaching 10K. Our code is available at https://github.com/ha11ucin8/HoReN.
format Preprint
id arxiv_https___arxiv_org_abs_2605_08143
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle HoReN: Normalized Hopfield Retrieval for Large-Scale Sequential Model Editing
Fang, Yuan
Xie, Yi
Ran, Xuming
Machine Learning
Artificial Intelligence
Large language models encode vast factual knowledge that can become outdated or incorrect after deployment, yet retraining is prohibitively costly. This motivates lifelong model editing, which updates targeted behavior while preserving the rest of the model. Existing editors, both parameter-modifying and parameter-preserving, degrade severely as edits accumulate and struggle to generalize across paraphrases. We propose HoReN, a codebook-based parameter-preserving editor that wraps a single MLP layer with a discrete key-value memory. HoReN treats each codebook entry as both a knowledge key and a Hopfield stored pattern, retrieves edits by angular similarity on the unit hypersphere, and refines queries through damped Hopfield dynamics so paraphrases converge to the correct memory basin while unrelated inputs remain stable. HoReN achieves strong editing performance with consistent gains across diverse benchmarks spanning standard ZsRE, structured WikiBigEdit, and unstructured UnKE evaluations. Moreover, HoReN scales to 50K sequential edits on ZsRE with stable overall performance above 0.93, while prior editors collapse or degrade severely before reaching 10K. Our code is available at https://github.com/ha11ucin8/HoReN.
title HoReN: Normalized Hopfield Retrieval for Large-Scale Sequential Model Editing
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2605.08143