paper-with-me

홈 › Papers

Knowledge Neurons in Pretrained Transformers

2021-09-17 · ACL ARR September 2021 9 · Anonymous

Large-scale pretrained language models are surprisingly good at recalling factual knowledge presented in the training corpus. In this paper, we present preliminary studies on how factual knowledge is stored in pretrained Transformers by introducing the concept of knowledge neurons. Specifically, we examine the fill-in-the-blank cloze task for BERT. Given a relational fact, we propose a knowledge attribution method to identify the neurons that express the fact. We find that the activation of such knowledge neurons is positively correlated to the expression of their corresponding facts. In our case studies, we attempt to leverage knowledge neurons to edit (such as update, and erase) specific factual knowledge without fine-tuning. Our results shed light on understanding the storage of knowledge within pretrained Transformers.

📄 PDF Abstract BibTeX

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…
Weight Decay 설명 없음
Multi-Head Attention 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
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$…

Similar Papers 제목 키워드 기반

Knowledge Neurons in Pretrained Transformers

2021-04-18 · ACL 2022 5 · Damai Dai, Li Dong, Yaru Hao, Zhifang Sui 외

Large-scale pretrained language models are surprisingly good at recalling factual knowledge presented in the training corpus. In this paper, we present preliminary studies on how factual knowledge is stored in pretrained…

Identifying Multi-modal Knowledge Neurons in Pretrained Transformers via Two-stage Filtering

2025-03-29 · Yugen Sato, Tomohiro Takagi

Recent advances in large language models (LLMs) have led to the development of multimodal LLMs (MLLMs) in the fields of natural language processing (NLP) and computer vision. Although these models allow for integrated vi…

Caption Generationknowledge editingMisinformation

DEPN: Detecting and Editing Privacy Neurons in Pretrained Language Models

2023-10-31 · Xinwei Wu, Junzhuo Li, Minghui Xu, Weilong Dong 외

Large language models pretrained on a huge amount of data capture rich knowledge and information in the training data. The ability of data memorization and regurgitation in pretrained language models, revealed in previou…

MemorizationModel Editing

Tracing Stereotypes in Pre-trained Transformers: From Biased Neurons to Fairer Models

2026-01-09 · Gianmario Voria, Moses Openja, Foutse Khomh, Gemma Catolino 외 arxiv

The advent of transformer-based language models has reshaped how AI systems process and generate text. In software engineering (SE), these models now support diverse activities, accelerating automation and decision-makin…

Neural Knowledge Bank for Pretrained Transformers

2022-07-31 · Damai Dai, Wenbin Jiang, Qingxiu Dong, Yajuan Lyu 외

The ability of pretrained Transformers to remember factual knowledge is essential but still limited for existing models. Inspired by existing work that regards Feed-Forward Networks (FFNs) in Transformers as key-value me…

Language ModelingLanguage ModellingMachine TranslationQuestion Answering+1