Introduction
In the quest to make Large Language Models (LLMs) more reliable and easier to update, researchers have increasingly turned to the "locate-then-edit" paradigm. This approach treats LLMs as structured knowledge bases where facts are stored as discrete triplets: (subject, relation, object)—for example, (Jack Dorsey, is the CEO of, Twitter). Techniques such as ROME and MEMIT operate on the assumption of knowledge localization, the theory that specific facts are stored within identifiable "knowledge neurons" in the Feed-Forward Network (MLP) layers of a transformer.
However, this prevailing view is largely built on studies that probe knowledge from the entity perspective (focusing on the subject). This paper investigates a critical, overlooked dimension: Does this localization hold true from the relation perspective? If a fact is truly a cohesive unit within the model's parameters, editing the relation should be logically equivalent to editing the entity. The authors' findings suggest that this assumption is fundamentally flawed.
Methodology
The researchers conducted an extensive diagnostic study using GPT-2 XL (1.5B) and GPT-J (6B) across a dataset of 1,207 factual statements. They employed three primary analytical techniques to map the internal representation of knowledge:
- Causal Tracing: Using causal mediation analysis, the authors identified which model components exert the highest "indirect effect" on a factual prediction. They compared the effects of "corrupting" (adding noise to) entity embeddings versus relation embeddings to see where the model recovers the "clean" information.
- Severed Causal Analysis: To isolate the specific roles of different modules, the researchers "severed" the computation graph, freezing either the MLP or Attention modules. This allowed them to observe how noise propagates and determine which modules are responsible for storing specific types of knowledge.
- Cross-Perspective Model Editing: The authors applied standard editing methods—including Fine-Tuning, Knowledge Neurons, MEND, ROME, and MEMIT—to modify a fact from one perspective (e.g., changing the relation) and then measured whether the model's understanding of the entity had been updated accordingly.
The Fragmentation of Knowledge
The study's results challenge the idea of a unified "knowledge neuron." Instead, the data suggests that entities and relations are represented separately and often inconsistently within the model.
The Role of Attention
While prior research localized knowledge almost exclusively in MLP weights, this study finds that relational knowledge is significantly encoded in attention modules, particularly in the middle-to-upper layers. Causal tracing for relations showed high effects in the final MLP layers of the last token, but also a pronounced, distinct effect in the middle attention layers—a departure from the patterns observed in entity-focused studies.
The Equivalence Paradox
Logically, changing the fact "A is the CEO of B" to "A is the janitor of B" should automatically change the model's response to the question "What is A's job?" However, the experiments revealed a "perspective gap." Editing the relation perspective had a negligible effect on the entity perspective, and vice versa. This suggests that the "location" of a fact in a model is not fixed; it shifts depending on whether the model is prompted for the subject or the relation.
Key Results and Metrics
The disconnect between perspectives was quantified through several key metrics:
- Editing Mismatch: When editing via the relation perspective, the models achieved nearly 100% reliability for the relation itself. However, the entity knowledge reliability lagged significantly, often falling between 15% and 30%.
- Fragile Generality: While editing the entity perspective was highly reliable for the entity (~99%), it caused a significant drop in generality for the relation perspective (~74%). This indicates that the link between the two perspectives is fragile and easily broken by standard editing techniques.
- Causal Shift: The study demonstrated that the "locate" phase of "locate-then-edit" is perspective-dependent. Because the causal footprint of a relation differs from that of an entity, a target edit that only addresses one will likely leave the other unchanged.
Conclusion and Future Directions
The findings of this paper suggest that the current "locate-then-edit" approach to model editing is fundamentally limited. By treating facts as localized units in MLP layers, current methods only target a single "slice" of the model's knowledge, leaving related perspectives untouched and inconsistent.
While the paper is primarily diagnostic and does not propose a new editing algorithm, it sets a new requirement for future work: model editing must move beyond pinpointing single neurons. Future methods will need to synchronize the disparate ways LLMs store entities and relations, potentially targeting both Attention and MLP modules simultaneously. As models grow in size and complexity, understanding this fragmented storage pattern will be essential for building truly editable and reliable AI systems.
Summary updated