paper-with-me

홈 › Papers

Analyzing Individual Neurons in Pre-trained Language Models

2020-10-06 · EMNLP 2020 11 · Nadir Durrani, Hassan Sajjad, Fahim Dalvi, Yonatan Belinkov

While a lot of analysis has been carried to demonstrate linguistic knowledge captured by the representations learned within deep NLP models, very little attention has been paid towards individual neurons.We carry outa neuron-level analysis using core linguistic tasks of predicting morphology, syntax and semantics, on pre-trained language models, with questions like: i) do individual neurons in pre-trained models capture linguistic information? ii) which parts of the network learn more about certain linguistic phenomena? iii) how distributed or focused is the information? and iv) how do various architectures differ in learning these properties? We found small subsets of neurons to predict linguistic tasks, with lower level tasks (such as morphology) localized in fewer neurons, compared to higher level task of predicting syntax. Our study also reveals interesting cross architectural comparisons. For example, we found neurons in XLNet to be more localized and disjoint when predicting properties compared to BERT and others, where they are more distributed and coupled.

📄 PDF Abstract BibTeX arXiv:2010.02695

Code (1)

EleutherAI/knowledge-neurons pytorch

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
WordPiece 설명 없음
Multi-Head Attention 설명 없음
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…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.

Similar Papers 제목 키워드 기반

On the Pitfalls of Analyzing Individual Neurons in Language Models

2021-10-14 · ICLR 2022 4 · Omer Antverg, Yonatan Belinkov

While many studies have shown that linguistic information is encoded in hidden word representations, few have studied individual neurons, to show how and in which neurons it is encoded. Among these, the common approach i…

Attribute

What Is One Grain of Sand in the Desert? Analyzing Individual Neurons in Deep NLP Models

2018-12-21 · Fahim Dalvi, Nadir Durrani, Hassan Sajjad, Yonatan Belinkov 외

Despite the remarkable evolution of deep neural networks in natural language processing (NLP), their interpretability remains a challenge. Previous work largely focused on what these models learn at the representation le…

Language ModelingLanguage ModellingMachine TranslationNMT+1

Investigating the Encoding of Words in BERT's Neurons using Feature Textualization

2023-11-14 · Tanja Baeumel, Soniya Vijayakumar, Josef van Genabith, Guenter Neumann 외

Pretrained language models (PLMs) form the basis of most state-of-the-art NLP technologies. Nevertheless, they are essentially black boxes: Humans do not have a clear understanding of what knowledge is encoded in differe…

LM Transparency Tool: Interactive Tool for Analyzing Transformer Language Models

2024-04-10 · Igor Tufanov, Karen Hambardzumyan, Javier Ferrando, Elena Voita

We present the LM Transparency Tool (LM-TT), an open-source interactive toolkit for analyzing the internal workings of Transformer-based language models. Differently from previously existing tools that focus on isolated …

Decision Making

Universal Neurons in GPT-2: Emergence, Persistence, and Functional Impact

2025-07-28 · Advey Nandan, Cheng-Ting Chou, Amrit Kurakula, Cole Blondin 외 arxiv

We investigate the phenomenon of neuron universality in independently trained GPT-2 Small models, examining these universal neurons-neurons with consistently correlated activations across models-emerge and evolve through…