atlas

Research map / Large language models / Instruction and fine-tuning

Editing Memories Through Few Targeted Neurons

AAAI 2025 · Large language models › Instruction and fine-tuning · approach: Fine-tuning generalization and delta compression · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes TNF-DA, which fine-tunes only the ~1% "targeted neurons" in FFNs tied to an edited fact, with relation-based data augmentation to preserve locality in model editing.

Problem

Fine-tuning-based model editing in LLMs struggles to preserve irrelevant knowledge (locality) and tends to overfit or lose generalization/specificity, since irrelevant knowledge is hard to measure and constraining weight changes is not explicit enough.

Approach

Causal mediation analysis on GPT2 finds about 1% of FFN neurons contribute strongly to a fact, and facts sharing a relation share these neurons; the method edits only these targeted neurons and trains on a relation-based augmented dataset with a KL locality loss.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
use TNF-DA instead of FTGPT2-XL (1.5B) · COUNTERFACT (2K edits)Score: 52.47 -> 87.65Helped
use TNF-DA instead of FTGPT2-XL (1.5B) · COUNTERFACT (2K edits)Specificity: 30.72 -> 79.42Helped
use TNF-DA instead of ROMEGPT2-XL (1.5B) · COUNTERFACT (2K edits)Score: 90.99 -> 87.65Hurt
use TNF-DA instead of ROMEGPT2-XL (1.5B) · COUNTERFACT (2K edits)Generalization: 95.10 -> 87.21Hurt
replace targeted-neuron parameters with randomly chosen parameters (ablation)TNF-DA on GPT2-XL (1.5B) · COUNTERFACT (2K edits)Score: 87.65 -> 52.73Hurt
replace targeted-neuron parameters with randomly chosen parameters (ablation)TNF-DA on GPT2-XL (1.5B) · COUNTERFACT (2K edits)Specificity: 79.42 -> 32.14Hurt
replace relation-based data augmentation with random data augmentation (ablation)TNF-DA on GPT2-XL (1.5B) · COUNTERFACT (2K edits)Score: 87.65 -> 77.39Hurt
replace relation-based data augmentation with random data augmentation (ablation)TNF-DA on GPT2-XL (1.5B) · COUNTERFACT (2K edits)Specificity: 79.42 -> 56.89Hurt
add random prefixes during edit training (ablation)TNF-DA without data augmentation · COUNTERFACTSpecificity: 26.98 -> 42.06Helped

Surprising findings

Limitations

Experimental setup

Datasets: COUNTERFACT

Benchmarks: COUNTERFACT

Metrics: Efficacy Generalization (paraphrase) Specificity (neighborhood) Editing score (harmonic mean) Fluency Consistency

Baselines: FT FT+W MEND ROME MEMIT PMET

Builds on: ROME knowledge neurons constrained fine-tuning causal mediation analysis

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy