Pith. sign in

REVIEW 2 cited by

PMET: Precise Model Editing in a Transformer

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2308.08742 v6 pith:KGH4KNEW submitted 2023-08-17 cs.CL cs.AIcs.LG

classification cs.CLcs.AIcs.LG
keywords hiddenstatesknowledgemhsaeditingmodelpmettransformer
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Model editing techniques modify a minor proportion of knowledge in Large Language Models (LLMs) at a relatively low cost, which have demonstrated notable success. Existing methods assume Transformer Layer (TL) hidden states are values of key-value memories of the Feed-Forward Network (FFN). They usually optimize the TL hidden states to memorize target knowledge and use it to update the weights of the FFN in LLMs. However, the information flow of TL hidden states comes from three parts: Multi-Head Self-Attention (MHSA), FFN, and residual connections. Existing methods neglect the fact that the TL hidden states contains information not specifically required for FFN. Consequently, the performance of model editing decreases. To achieve more precise model editing, we analyze hidden states of MHSA and FFN, finding that MHSA encodes certain general knowledge extraction patterns. This implies that MHSA weights do not require updating when new knowledge is introduced. Based on above findings, we introduce PMET, which simultaneously optimizes Transformer Component (TC, namely MHSA and FFN) hidden states, while only using the optimized TC hidden states of FFN to precisely update FFN weights. Our experiments demonstrate that PMET exhibits state-of-the-art performance on both the COUNTERFACT and zsRE datasets. Our ablation experiments substantiate the effectiveness of our enhancements, further reinforcing the finding that the MHSA encodes certain general knowledge extraction patterns and indicating its storage of a small amount of factual knowledge. Our code is available at https://github.com/xpq-tech/PMET.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 2 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Efficient Knowledge Editing via Minimal Precomputation

    cs.CL 2025-06 conditional novelty 6.0 of 10

    Precomputing only a few thousand hidden vectors instead of 44 million is enough for MEMIT, ROME, and EMMET editing to match full-precomputation scores on CounterFact.

  2. AUTOLAW: Enhancing Legal Compliance in Large Language Models via Case Law Generation and Jury-Inspired Deliberation

    cs.CL 2025-05 conditional novelty 5.0 of 10

    AutoLaw's verifier-ranked legal-role jury with a similar-case demonstration beats majority voting for violation detection on three law and policy benchmarks.

Pith tools