atlas

Research map / Architectures and efficiency / Attention and transformers

PMET: Precise Model Editing in a Transformer

AAAI 2024 · Architectures and efficiency › Attention and transformers · approach: Transformer neural operators for PDEs · 37 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 PMET, a weight-modified model editing method that jointly optimizes MHSA and FFN hidden states but updates only FFN weights, using a square-root residual spread across critical layers.

Problem

Existing optimization-based model editing methods (ROME, MEMIT) treat the full Transformer layer hidden state as the target value for FFN updates, which mixes in information not required by FFN and reduces edit precision.

Approach

Optimize the Transformer Component (MHSA and FFN) hidden states jointly at the last critical layer, but use only the optimized FFN component hidden state as the value for updating FFN weights, based on the finding that MHSA acts as a general knowledge extractor whose weights need not change; residuals are spread with a square-root schedule across critical layers.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use PMET instead of MEMITGPT-J (6B) · CounterFact, 10K editsScore: 85.8 -> 86.2Helped
Use PMET instead of MEMITGPT-NeoX (20B) · CounterFact, 10K editsGeneralization: 82.2 -> 89.4Helped
Use PMET instead of MEMITGPT-J (6B) · zsRE, 10K editsGeneralization: 89.7 -> 90.6Helped
Add MHSA hidden-state optimization (ablation)PMET on GPT-J (6B) · CounterFact, 1K–10K editsGeneralization: 96.6 -> 96.1; 95.0 -> 94.5; 89.0 -> 92.8Mixed
Also update MHSA weights (ablation)PMET on GPT-J (6B) · CounterFact, 1K–10K editsGeneralization: 96.1 -> 96.8; 94.5 -> 96.0; 92.8 -> 93.5Helped
Also update MHSA weights (ablation)PMET on GPT-J (6B) · CounterFact, 1K–10K editsSpecificity: 80.1 -> 78.9; 74.2 -> 70.8; 71.4 -> 68.6Hurt
Use even residual spread instead of square-root spread (ablation)PMET on GPT-J (6B) · CounterFact, 1K–10K editsGeneralization: 96.1 -> 86.7; 94.5 -> 82.2; 92.8 -> 78.4Hurt
Use even residual spread instead of square-root spread (ablation)PMET on GPT-J (6B) · CounterFact, 1K–10K editsSpecificity: 80.1 -> 82.2; 74.2 -> 79.4; 71.4 -> 78.4Helped

Surprising findings

Limitations

Experimental setup

Datasets: CounterFact zsRE Wikitext

Benchmarks: CounterFact zsRE

Metrics: score (harmonic mean) efficacy generalization specificity fluency consistency

Baselines: FT-W MEND ROME MEMIT

Builds on: ROME MEMIT MEND Geva et al. FFN key-value memories

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