Finding patterns in Knowledge Attribution for Transformers
Not on the map. Why?
Abstract (arXiv)
We analyze the Knowledge Neurons framework for the attribution of factual and relational knowledge to particular neurons in the transformer network. We use a 12-layer multi-lingual BERT model for our experiments. Our study reveals various interesting phenomena. We observe that mostly factual knowledge can be attributed to middle and higher layers of the network(≥ 6). Further analysis reveals that the middle layers(6-9) are mostly responsible for relational information, which is further refined into actual factual knowledge or the "correct answer" in the last few layers(10-12). Our experiments also show that the model handles prompts in different languages, but representing the same fact, similarly, providing further evidence for effectiveness of multi-lingual pre-training. Applying the attribution scheme for grammatical knowledge, we find that grammatical knowledge is far more dispersed among the neurons than factual knowledge.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 13 of its 34 references that are in the map. First posted on arXiv 3 May 2022.
Builds on
13 of 34 references.
References · 13
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2017A Unified Approach to Interpreting Model Predictionscited by 6,555
- 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,070
- 2017Axiomatic Attribution for Deep Networkscited by 3,384
- 2020Transformer Feed-Forward Layers Are Key-Value Memoriescited by 1,336
- 2021Knowledge Neurons in Pretrained Transformerscited by 601
- 2014Memory Networkscited by 363
- 2018Colorless green recurrent networks dream hierarchicallycited by 213
- 2019Assessing BERT's Syntactic Abilitiescited by 192
1 more
- 2019Large Memory Layers with Product Keyscited by 124
Built on by
Citing papers per year: 2023: 1.
1 paper.
- 2023The Life Cycle of Knowledge in Big Language Models: A Surveycited by 23
- 2023The Life Cycle of Knowledge in Big Language Models: A Survey14 Mar 2023