mlsanityData to 7 Oct 2026

Does Knowledge Localization Hold True? Surprising Differences Between Entity and Relation Perspectives in Language Models

arXiv 2409.00617 ↗First posted 1 Sep 2024cs.CL cs.AIcited by 8

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

  1. 2022Locating and Editing Factual Associations in GPTcited by 2,609
  2. 2019Language Models as Knowledge Bases?cited by 1,922
  3. 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,307
  4. 2022Mass-Editing Memory in a Transformercited by 976
  5. 2021Knowledge Neurons in Pretrained Transformerscited by 590
  6. 2021Editing Factual Knowledge in Language Modelscited by 548
  7. 2021Fast Model Editing at Scalecited by 491
  8. 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 292
  9. 2023Can We Edit Factual Knowledge by In-Context Learning?cited by 284
  10. 2023Transformer-Patcher: One Mistake worth One Neuroncited by 196
  11. 2022Calibrating Factual Knowledge in Pretrained Language Modelscited by 92
  12. 2023Journey to the Center of the Knowledge Neurons: Discoveries of Language-Independent Knowledge Neurons and Degenerate Knowledge Neuronscited by 56
6 more
  1. 2024Neeko: Leveraging Dynamic LoRA for Efficient Multi-Character Role-Playing Agentcited by 52
  2. 2023EX-FEVER: A Dataset for Multi-hop Explainable Fact Verificationcited by 36
  3. 2022LingYi: Medical Conversational Question Answering System based on Multi-modal Knowledge Graphscited by 15
  4. 2023MenatQA: A New Dataset for Testing the Temporal Comprehension and Reasoning Abilities of Large Language Modelscited by 15
  5. 2024Knowledge Localization: Mission Not Accomplished? Enter Query Localization!cited by 13
  6. 2024Relational Prompt-based Pre-trained Language Models for Social Event Detectioncited by 5

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 4; 2026: 3.

8 papers.