atlas

Research map / Graph learning / Knowledge and temporal graphs

Representation Shattering in Transformers: A Synthetic Study with Knowledge Editing

ICML 2025 · Graph learning › Knowledge and temporal graphs · approach: Temporal knowledge graph reasoning · 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 a synthetic knowledge-graph task with a small Transformer to show that knowledge editing distorts entity representations ("representation shattering"), which correlates with accuracy loss on recall, logical and compositional inference, and validates the finding briefly on Llama 3 8B Instruct and Mamba.

Problem

Knowledge editing (KE) methods can degrade a model's broader factual recall and reasoning, but the mechanistic reason why such harms occur is not understood.

Approach

Train a small Transformer from scratch on random walks over a structured knowledge graph made of cyclic relation orders, so that editing one fact has trickling effects on related entities; measure how KE distorts the pairwise geometry of entity representations (representation shattering) and show this geometry distortion tracks accuracy loss and counterfactual edit distance.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply corrective ROME edits to incorrectly recalled facts2-layer nanoGPT Transformer · Synthetic knowledge graph, direct recallΔ accuracy: -21.95 (Edit), -22.64 (Retain), -21.83 (Test)Hurt
Apply corrective ROME edits to incorrectly recalled facts2-layer nanoGPT Transformer · Synthetic knowledge graph, compositional inferenceΔ accuracy: -29.60 (Edit), -31.92 (Retain), -31.70 (Test)Hurt
Increase counterfactual edit distance from d=1 to d=2ROME on 2-layer nanoGPT Transformer · Synthetic knowledge graph, direct recall, Edit subgraphΔ accuracy: -01.49 -> -67.01Hurt
Increase counterfactual edit distance from d=1 to d=4ROME on 2-layer nanoGPT Transformer · Synthetic knowledge graph, representation shattering, Edit subgraphR(D*): 01.80 -> 27.90Hurt
Use MEMIT, AlphaEdit, or PMET instead of ROME2-layer nanoGPT Transformer · Synthetic knowledge graph, accuracy after knowledge editingΔ accuracyMixed
Increase counterfactual edit distanceMEMIT, AlphaEdit, and PMET on the synthetic knowledge graph · Synthetic knowledge graph, representation shatteringR(D*)Mixed
Increase counterfactual edit distanceMEMIT on Llama 3 8B Instruct · MMLU-Reduxreasoning accuracyHurt

Surprising findings

Limitations

Experimental setup

Datasets: synthetic cyclic knowledge graph (2048 entities, 3 cyclic orders, 24 relations) MMLU-Redux

Benchmarks: MMLU-Redux synthetic direct recall synthetic logical inference synthetic compositional inference

Metrics: accuracy change in accuracy representation shattering metric R(D*) r^2

Baselines: ROME MEMIT AlphaEdit PMET

Builds on: ROME MEMIT nanoGPT

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