Investigating the Encoding of Words in BERT's Neurons using Feature Textualization
Not on the map. Why?
Abstract (arXiv)
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 different parts of the models, especially in individual neurons. The situation is different in computer vision, where feature visualization provides a decompositional interpretability technique for neurons of vision models. Activation maximization is used to synthesize inherently interpretable visual representations of the information encoded in individual neurons. Our work is inspired by this but presents a cautionary tale on the interpretability of single neurons, based on the first large-scale attempt to adapt activation maximization to NLP, and, more specifically, large PLMs. We propose feature textualization, a technique to produce dense representations of neurons in the PLM word embedding space. We apply feature textualization to the BERT model (Devlin et al., 2019) to investigate whether the knowledge encoded in individual neurons can be interpreted and symbolized. We find that the produced representations can provide insights about the knowledge encoded in individual neurons, but that individual neurons do not represent clearcut symbolic units of language such as words. Additionally, we use feature textualization to investigate how many neurons are needed to encode words in BERT.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 15 of its 23 references that are in the map. First posted on arXiv 14 Nov 2023.
Builds on
15 of 23 references.
References · 15
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2016The Mythos of Model Interpretabilitycited by 721
- 2015Understanding Neural Networks Through Deep Visualizationcited by 334
- 2016Synthesizing the preferred inputs for neurons in neural networks via deep generator networkscited by 181
- 2020Compositional Explanations of Neuronscited by 172
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 156
- 2016Multifaceted Feature Visualization: Uncovering the Different Types of Features Learned By Each Neuron in Deep Neural Networkscited by 106
- 2021An Interpretability Illusion for BERTcited by 97
- 2015Visualizing Deep Convolutional Neural Networks Using Natural Pre-Imagescited by 93
- 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
- 2019Understanding Neural Networks via Feature Visualization: A surveycited by 65
- 2016Representation of linguistic form and function in recurrent neural networkscited by 39
3 more
- 2020Finding Experts in Transformer Modelscited by 28
- 2019Discovery of Natural Language Concepts in Individual Units of CNNscited by 21
- 2018Interpretable Textual Neuron Representations for NLPcited by 16
Built on by
Citing papers per year: 2024: 1; 2025: 1; 2026: 1.
3 papers.
- 2025FitCF: A Framework for Automatic Feature Importance-guided Counterfactual Example Generationcited by 6
- 2024CoXQL: A Dataset for Parsing Explanation Requests in Conversational XAI Systemscited by 5
- 2026Minimizing Targeted Activations: Input-Only Suppression of Evaluation-Awareness Latents in Large Language Modelscited by 0
- 2026Minimizing Targeted Activations: Input-Only Suppression of Evaluation-Awareness Latents in Large Language Models28 Jul 2026
- 2025FitCF: A Framework for Automatic Feature Importance-guided Counterfactual Example Generation1 Jan 2025
- 2024CoXQL: A Dataset for Parsing Explanation Requests in Conversational XAI Systems12 Jun 2024