VisBERT: Hidden-State Visualizations for Transformers
Not on the map. Why?
Abstract (arXiv)
Explainability and interpretability are two important concepts, the absence of which can and should impede the application of well-performing neural networks to real-world problems. At the same time, they are difficult to incorporate into the large, black-box models that achieve state-of-the-art results in a multitude of NLP tasks. Bidirectional Encoder Representations from Transformers (BERT) is one such black-box model. It has become a staple architecture to solve many different NLP tasks and has inspired a number of related Transformer models. Understanding how these models draw conclusions is crucial for both their improvement and application. We contribute to this challenge by presenting VisBERT, a tool for visualizing the contextual token representations within BERT for the task of (multi-hop) Question Answering. Instead of analyzing attention weights, we focus on the hidden states resulting from each encoder block within the BERT model. This way we can observe how the semantic representations are transformed throughout the layers of the model. VisBERT enables users to get insights about the model's internal state and to explore its inference steps or potential shortcomings. The tool allows us to identify distinct phases in BERT's transformations that are similar to a traditional NLP pipeline and offer insights during failed predictions.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 9 Nov 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 1; 2024: 2; 2025: 0; 2026: 1.
6 papers.
- 2024Small Singular Values Matter: A Random Matrix Analysis of Transformer Modelscited by 20
- 2021T3-Vis: a visual analytic framework for Training and fine-Tuning Transformers in NLPcited by 11
- 2023Coupling Artificial Neurons in BERT and Biological Neurons in the Human Braincited by 9
- 2026LatentLens: Revealing Highly Interpretable Visual Tokens in LLMscited by 9
- 2024Explainable AI for Mental Disorder Detection via Social Media: A survey and outlookcited by 6
- 2022Visualizing and Explaining Language Modelscited by 4
- 2026LatentLens: Revealing Highly Interpretable Visual Tokens in LLMs31 Jan 2026
- 2024Small Singular Values Matter: A Random Matrix Analysis of Transformer Models23 Oct 2024
- 2024Explainable AI for Mental Disorder Detection via Social Media: A survey and outlook10 Jun 2024
- 2023Coupling Artificial Neurons in BERT and Biological Neurons in the Human Brain27 Mar 2023
- 2022Visualizing and Explaining Language Models30 Apr 2022
- 2021T3-Vis: a visual analytic framework for Training and fine-Tuning Transformers in NLP31 Aug 2021