paper-with-me

Papers

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

2024-09-01 · Yifan Wei, Xiaoyan Yu, Yixuan Weng, Huanhuan Ma, Yuanzhe Zhang, Jun Zhao, Kang Liu

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.

📄 PDF Abstract BibTeX arXiv:2409.00617

Code (0)

등록된 구현이 없습니다.

Tasks

knowledge editingTriplet

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

Does Localization Inform Editing? Surprising Differences in Causality-Based Localization vs. Knowledge Editing in Language Models

2023-01-10 · NeurIPS 2023 11 · Peter Hase, Mohit Bansal, Been Kim, Asma Ghandeharioun

Language models learn a great quantity of factual information during pretraining, and recent work localizes this information to specific model weights like mid-layer MLP weights. In this paper, we find that we can change…

Denoisingknowledge editingModel Editing

Penguins Don't Fly: Reasoning about Generics through Instantiations and Exceptions

2022-05-23 · Emily Allaway, Jena D. Hwang, Chandra Bhagavatula, Kathleen McKeown 외

Generics express generalizations about the world (e.g., birds can fly) that are not universally true (e.g., newborn birds and penguins cannot fly). Commonsense knowledge bases, used extensively in NLP, encode some generi…

Natural Language Inference

Training Self-localization Models for Unseen Unfamiliar Places via Teacher-to-Student Data-Free Knowledge Transfer

2024-03-13 · Kenta Tsukahara, Kanji Tanaka, Daiki Iwata

A typical assumption in state-of-the-art self-localization models is that an annotated training dataset is available in the target workspace. However, this does not always hold when a robot travels in a general open-worl…

Continual LearningImage RetrievalKnowledge DistillationTransfer Learning

Graph Neural Network for Large-Scale Network Localization

2020-10-22 · Wenzhong Yan, Di Jin, Zhidi Lin, Feng Yin

Graph neural networks (GNNs) are popular to use for classifying structured data in the context of machine learning. But surprisingly, they are rarely applied to regression problems. In this work, we adopt GNN for a class…

Graph Neural Networkregression

Spikes can transmit neurons' subthreshold membrane potentials

2025-01-23 · Valentin Schmutz

Neurons primarily communicate through the emission of action potentials, or spikes. To generate a spike, a neuron's membrane potential must cross a defined threshold. Does this spiking mechanism inherently prevent neuron…