atlas

Research map / Large language models / Language, safety and interpretability

Rethinking Residual Distribution in Locate-then-Edit Model Editing

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: LLM pruning and scaling data · 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.

Shows that residual distribution in locate-then-edit methods causes weight-shift errors that grow with distribution distance, batch size and edit count, and proposes BLUE, which updates only the first and last critical layers with directly computed residuals.

Problem

Locate-then-edit model editing methods distribute residuals evenly across critical layers, which introduces weight-shift errors that degrade editing precision in sequential batch editing of LLMs.

Approach

Replace even residual distribution with direct residual computation at only the first and last critical layers (BLUE), which theory and experiments suggest reduces weight-shift error and improves editing, retention and efficiency when plugged into existing locate-then-edit methods.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply BLUE, updating the first and last critical layers with directly computed residualsAlphaEdit on Llama3-8B · CounterFact sequential batchEfficacy: 98.90 -> 99.93Helped
Apply BLUE, updating the first and last critical layers with directly computed residualsAlphaEdit on Llama3-8B · ZsRE sequential batchEfficacy: 94.47 -> 95.77Helped
Apply BLUE, updating the first and last critical layers with directly computed residualsAlphaEdit on GPT-J (6B) · CounterFact sequential batchEfficacy: 99.75 -> 99.77No clear effect
Apply BLUE, updating the first and last critical layers with directly computed residualsAlphaEdit on GPT-J (6B) · ZsRE sequential batchEfficacy: 99.79 -> 99.63Hurt
Apply BLUE, updating the first and last critical layers with directly computed residualsAlphaEdit on GPT2-XL · CounterFact sequential batchEfficacy: 99.50 -> 99.40Hurt
Apply BLUE, updating the first and last critical layers with directly computed residualsAlphaEdit on GPT2-XL · ZsRE sequential batchEfficacy: 94.81 -> 96.88Helped
Apply BLUE to MEMITMEMIT on Llama3-8B · UnKEBenchBLEU (original questions): 77.65 -> 82.34Helped
Select the first and last critical layers (layers 4 and 8) rather than other layer pairs (ablation)BLUE-enhanced editing methods on Llama3-8B · CounterFact sequential editingediting performanceHelped
Use directly computed residuals instead of distributed residualsLocate-then-edit methods · Single-layer editingEfficacy: over 3×Helped
Use directly computed residuals instead of distributed residualsLocate-then-edit methods · Single-layer editingGeneralization: exceeds 2×Helped
Increase residual distribution distanceLocate-then-edit methods · Model editingediting contribution scoreHurt
Increase editing batch sizeLocate-then-edit methods using residual distribution · Model editingweight shift errorHurt

Surprising findings

Limitations

Experimental setup

Datasets: CounterFact ZsRE GLUE tasks (SST, MRPC, MMLU, RTE, CoLA, NLI) UnKEBench

Benchmarks: CounterFact ZsRE UnKEBench GLUE

Metrics: efficacy generalization specificity fluency consistency F1 BLEU ROUGE BERTScore peak memory

Baselines: MEMIT PRUNE RECT AlphaEdit PMET

Builds on: MEMIT AlphaEdit PRUNE RECT

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