Precise Localization of Memories: A Fine-grained Neuron-level Knowledge Editing Technique for LLMs

Haowen Pan, Xiaozhi Wang, Yixin Cao, Zenglin Shi, Xun Yang +2 more
3/1/2025
31 citations

Official code: opanhw/FiNE (7 stars, Python, MIT, last commit 2025-10-27).

Abstract

Knowledge editing aims to update outdated information in Large Language Models (LLMs). A representative line of study is locate-then-edit methods, which typically employ causal tracing to identify the modules responsible for recalling factual knowledge about entities.

Show full abstract

However, we find these methods are often sensitive only to changes in the subject entity, leaving them less effective at adapting to changes in relations. This limitation results in poor editing locality, which can lead to the persistence of irrelevant or inaccurate facts, ultimately compromising the reliability of LLMs. We believe this issue arises from the insufficient precision of knowledge localization. To address this, we propose a Fine-grained Neuron-level Knowledge Editing (FiNE) method that enhances editing locality without affecting overall success rates. By precisely identifying and modifying specific neurons within feed-forward networks, FiNE significantly improves knowledge localization and editing. Quantitative experiments demonstrate that FiNE efficiently achieves better overall performance compared to existing techniques, providing new insights into the localization and modification of knowledge within LLMs.

View on arXivView PDF

Code Implementations(1)

opanhw/FiNEOfficial100%
MIT

Code for "Precise Localization of Memories: A Fine-grained Neuron-level Knowledge Editing Technique for LLMs" (ICLR 2025)

73Python, MDXJan 9, 20251 years agoMIT

Similar Papers

Cite this paper

@article{pan2025precise,
  title  = {Precise Localization of Memories: A Fine-grained Neuron-level Knowledge Editing Technique for LLMs},
  author = {Haowen Pan and Xiaozhi Wang and Yixin Cao and Zenglin Shi and Xun Yang and Juanzi Li and Meng Wang},
  year   = {2025},
  eprint = {2503.01090},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.01090},
  journal = {ICLR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.01090.svg)](https://codeofpaper.com/paper/2503.01090)

Discussion