Does Knowledge Localization Hold True? Surprising Differences Between Entity and Relation Perspectives in Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models encapsulate knowledge and have demonstrated superior performance on various natural language processing tasks. Recent studies have localized this knowledge to specific model parameters, such as the MLP weights in intermediate layers. This study investigates the differences between entity and relational knowledge through knowledge editing. Our findings reveal that entity and relational knowledge cannot be directly transferred or mapped to each other. This result is unexpected, as logically, modifying the entity or the relation within the same knowledge triplet should yield equivalent outcomes. To further elucidate the differences between entity and relational knowledge, we employ causal analysis to investigate how relational knowledge is stored in pre-trained models. Contrary to prior research suggesting that knowledge is stored in MLP weights, our experiments demonstrate that relational knowledge is also significantly encoded in attention modules. This insight highlights the multifaceted nature of knowledge storage in language models, underscoring the complexity of manipulating specific types of knowledge within these models.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 18 of its 21 references that are in the map. First posted on arXiv 1 Sep 2024.
Builds on
18 of 21 references.
References · 18
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2019Language Models as Knowledge Bases?cited by 1,922
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
- 2022Mass-Editing Memory in a Transformercited by 976
- 2021Knowledge Neurons in Pretrained Transformerscited by 590
- 2021Editing Factual Knowledge in Language Modelscited by 548
- 2021Fast Model Editing at Scalecited by 491
- 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 292
- 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
- 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
- 2022Calibrating Factual Knowledge in Pretrained Language Modelscited by 92
- 2023Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neuronscited by 56
6 more
- 2024Neeko: Leveraging Dynamic LoRA for Efficient Multi-Character Role-Playing Agentcited by 52
- 2023EX-FEVER: A Dataset for Multi-hop Explainable Fact Verificationcited by 36
- 2022LingYi: Medical Conversational Question Answering System based on Multi-modal Knowledge Graphscited by 15
- 2023MenatQA: A New Dataset for Testing the Temporal Comprehension and Reasoning Abilities of Large Language Modelscited by 15
- 2024Knowledge Localization: Mission Not Accomplished? Enter Query Localization!cited by 13
- 2024Relational Prompt-based Pre-trained Language Models for Social Event Detectioncited by 5
Built on by
Citing papers per year: 2024: 1; 2025: 4; 2026: 3.
8 papers.
- 2025DeepScientist: Advancing Frontier-Pushing Scientific Findings Progressivelycited by 56
- 2024Math Neurosurgery: Isolating Language Models' Math Reasoning Abilities Using Only Forward Passescited by 10
- 2025Fine-tuning Done Right in Model Editingcited by 9
- 2026Knowledge Localization in Mixture-of-Experts LLMs Using Cross-Lingual Inconsistencycited by 6
- 2025SetKE: Knowledge Editing for Knowledge Elements Overlapcited by 3
- 2025A Semantic-based Optimization Approach for Repairing LLMs: Case Study on Code Generationcited by 1
- 2026Golden Layers and Where to Find Them: Improved Knowledge Editing for Large Language Models Via Layer Gradient Analysiscited by 1
- 2026Fine-Tuning Dynamics of In-Context Factual Recall in Transformerscited by 1
- 2026Fine-Tuning Dynamics of In-Context Factual Recall in Transformers26 May 2026
- 2026Knowledge Localization in Mixture-of-Experts LLMs Using Cross-Lingual Inconsistency17 Mar 2026
- 2026Golden Layers and Where to Find Them: Improved Knowledge Editing for Large Language Models Via Layer Gradient Analysis22 Feb 2026
- 2025DeepScientist: Advancing Frontier-Pushing Scientific Findings Progressively30 Sep 2025
- 2025Fine-tuning Done Right in Model Editing26 Sep 2025
- 2025SetKE: Knowledge Editing for Knowledge Elements Overlap29 Apr 2025
- 2025A Semantic-based Optimization Approach for Repairing LLMs: Case Study on Code Generation17 Mar 2025
- 2024Math Neurosurgery: Isolating Language Models' Math Reasoning Abilities Using Only Forward Passes22 Oct 2024