Dodrio: Exploring Transformer Models with Interactive Visualization
Not on the map. Why?
Abstract (arXiv)
Why do large pre-trained transformer-based models perform so well across a wide variety of NLP tasks? Recent research suggests the key may lie in multi-headed attention mechanism's ability to learn and represent linguistic information. Understanding how these models represent both syntactic and semantic knowledge is vital to investigate why they succeed and fail, what they have learned, and how they can improve. We present Dodrio, an open-source interactive visualization tool to help NLP researchers and practitioners analyze attention mechanisms in transformer-based models with linguistic knowledge. Dodrio tightly integrates an overview that summarizes the roles of different attention heads, and detailed views that help users compare attention weights with the syntactic structure and semantic information in the input text. To facilitate the visual comparison of attention weights and linguistic knowledge, Dodrio applies different graph visualization techniques to represent attention weights scalable to longer input text. Case studies highlight how Dodrio provides insights into understanding the attention mechanism in transformer-based models. Dodrio is available at https://poloclub.github.io/dodrio/.
Key facts. Cited by 28 papers in the map (data through 7 Oct 2026). Builds on 23 of its 32 references that are in the map. First posted on arXiv 26 Mar 2021.
Builds on
23 of 32 references.
References · 23
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019Explainable Artificial Intelligence (XAI): Concepts, Taxonomies, Opportunities and Challenges toward Responsible AIcited by 1,543
- 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
- 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
- 2019Attention is not Explanationcited by 916
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2020A Primer in BERTology: What we know about how BERT workscited by 807
- 2019Attention is not not Explanationcited by 629
- 2019Designing and Interpreting Probes with Control Taskscited by 608
- 2020Weight Poisoning Attacks on Pre-trained Modelscited by 318
11 more
- 2019A Multiscale Visualization of Attention in the Transformer Modelcited by 292
- 2015Visualizing and Understanding Neural Models in NLPcited by 199
- 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 158
- 2020The Language Interpretability Tool: Extensible, Interactive Visualizations and Analysis for NLP Modelscited by 125
- 2018Visual Analytics in Deep Learning: An Interrogative Survey for the Next Frontierscited by 117
- 2019On Identifiability in Transformerscited by 115
- 2019Attention Interpretability Across NLP Taskscited by 71
- 2015Reasoning about Entailment with Neural Attentioncited by 68
- 2020CNN Explainer: Learning Convolutional Neural Networks with Interactive Visualizationcited by 57
- 2020Attention Flows: Analyzing and Comparing Attention Mechanisms in Language Modelscited by 49
- 2021Putting Humans in the Natural Language Processing Loop: A Surveycited by 40
Built on by
Citing papers per year: 2021: 1; 2022: 4; 2023: 6; 2024: 8; 2025: 6; 2026: 3.
28 papers.
Sort:
By area:
- 2022Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Modelscited by 70
- 2023AttentionViz: A Global View of Transformer Attentioncited by 50
- 2022Label2Label: A Language Modeling Framework for Multi-Attribute Learningcited by 23
- 2021GAM Changer: Editing Generalized Additive Models with Interactive Visualizationcited by 18
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safetycited by 10
- 2024Transformer Explainer: Learning LLM Transformers with Interactive Visual Explanation and Experimentationcited by 9
- 2025Probing the Visualization Literacy of Vision Language Models: the Good, the Bad, and the Uglycited by 9
- 2024Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysiscited by 8
- 2024KnowledgeVIS: Interpreting Language Models by Comparing Fill-in-the-Blank Promptscited by 7
- 2022Paying More Attention to Self-attention: Improving Pre-trained Language Models via Attention Guidingcited by 6
- 2023LLMMaps -- A Visual Metaphor for Stratified Evaluation of Large Language Modelscited by 6
- 2024iScore: Visual Analytics for Interpreting How Language Models Automatically Score Summariescited by 6
16 more
- 2024Transformers, Contextualism, and Polysemycited by 5
- 2023Visual Analytics for Efficient Image Exploration and User-Guided Image Captioningcited by 4
- 2025Unlearning Comparator: A Visual Analytics System for Comparative Evaluation of Machine Unlearning Methodscited by 4
- 2023Designing a Direct Feedback Loop between Humans and Convolutional Neural Networks through Local Explanationscited by 3
- 2024EL-VIT: Probing Vision Transformer with Interactive Visualizationcited by 3
- 2023Visual Analytics for Generative Transformer Modelscited by 2
- 2024Modelling Language using Large Language Modelscited by 2
- 2026RAGExplorer: A Visual Analytics System for the Comparative Diagnosis of RAG Systemscited by 2
- 2023AMPLIFY:Attention-based Mixup for Performance Improvement and Label Smoothing in Transformercited by 1
- 2024POEM: Interactive Prompt Optimization for Enhancing Multimodal Reasoning of Large Language Modelscited by 1
- 2025NeuroBreak: Unveil Internal Jailbreak Mechanisms in Large Language Modelscited by 1
- 2025ConceptViz: A Visual Analytics Approach for Exploring Concepts in Large Language Modelscited by 1
- 2022Attention Flows for General Transformerscited by 0
- 2025InTraVisTo: Inside Transformer Visualisation Toolcited by 0
- 2026ViT-Explainer: An Interactive Walkthrough of the Vision Transformer Pipelinecited by 0
- 2026Applications of the Transformer Architecture in AI-Assisted English Reading Comprehensioncited by 0
- 2026Applications of the Transformer Architecture in AI-Assisted English Reading Comprehension26 Apr 2026
- 2026ViT-Explainer: An Interactive Walkthrough of the Vision Transformer Pipeline2 Apr 2026
- 2026RAGExplorer: A Visual Analytics System for the Comparative Diagnosis of RAG Systems19 Jan 2026
- 2025ConceptViz: A Visual Analytics Approach for Exploring Concepts in Large Language Models20 Sep 2025
- 2025NeuroBreak: Unveil Internal Jailbreak Mechanisms in Large Language Models4 Sep 2025
- 2025Unlearning Comparator: A Visual Analytics System for Comparative Evaluation of Machine Unlearning Methods18 Aug 2025
- 2025InTraVisTo: Inside Transformer Visualisation Tool18 Jul 2025
- 2025Interpretation Meets Safety: A Survey on Interpretation Methods and Tools for Improving LLM Safety5 Jun 2025
- 2025Probing the Visualization Literacy of Vision Language Models: the Good, the Bad, and the Ugly7 Apr 2025
- 2024Transformer Explainer: Learning LLM Transformers with Interactive Visual Explanation and Experimentation8 Aug 2024
- 2024POEM: Interactive Prompt Optimization for Enhancing Multimodal Reasoning of Large Language Models6 Jun 2024
- 2024Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysis23 Apr 2024
16 more
- 2024Modelling Language using Large Language Models15 Apr 2024
- 2024Transformers, Contextualism, and Polysemy15 Apr 2024
- 2024iScore: Visual Analytics for Interpreting How Language Models Automatically Score Summaries7 Mar 2024
- 2024KnowledgeVIS: Interpreting Language Models by Comparing Fill-in-the-Blank Prompts7 Mar 2024
- 2024EL-VIT: Probing Vision Transformer with Interactive Visualization23 Jan 2024
- 2023Visual Analytics for Generative Transformer Models21 Nov 2023
- 2023Visual Analytics for Efficient Image Exploration and User-Guided Image Captioning2 Nov 2023
- 2023AMPLIFY:Attention-based Mixup for Performance Improvement and Label Smoothing in Transformer22 Sep 2023
- 2023Designing a Direct Feedback Loop between Humans and Convolutional Neural Networks through Local Explanations8 Jul 2023
- 2023AttentionViz: A Global View of Transformer Attention4 May 2023
- 2023LLMMaps -- A Visual Metaphor for Stratified Evaluation of Large Language Models2 Apr 2023
- 2022Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Models16 Aug 2022
- 2022Label2Label: A Language Modeling Framework for Multi-Attribute Learning18 Jul 2022
- 2022Attention Flows for General Transformers30 May 2022
- 2022Paying More Attention to Self-attention: Improving Pre-trained Language Models via Attention Guiding6 Apr 2022
- 2021GAM Changer: Editing Generalized Additive Models with Interactive Visualization6 Dec 2021
- 2022Interactive and Visual Prompt Engineering for Ad-hoc Task Adaptation with Large Language Modelscited by 70
- 2023AttentionViz: A Global View of Transformer Attentioncited by 50
- 2022Label2Label: A Language Modeling Framework for Multi-Attribute Learningcited by 23
- 2021GAM Changer: Editing Generalized Additive Models with Interactive Visualizationcited by 18
- 2024Transformer Explainer: Learning LLM Transformers with Interactive Visual Explanation and Experimentationcited by 9
- 2024Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysiscited by 8
- 2024KnowledgeVIS: Interpreting Language Models by Comparing Fill-in-the-Blank Promptscited by 7
- 2022Paying More Attention to Self-attention: Improving Pre-trained Language Models via Attention Guidingcited by 6
- 2023LLMMaps -- A Visual Metaphor for Stratified Evaluation of Large Language Modelscited by 6
- 2024iScore: Visual Analytics for Interpreting How Language Models Automatically Score Summariescited by 6
- 2024Transformers, Contextualism, and Polysemycited by 5
- 2023Visual Analytics for Efficient Image Exploration and User-Guided Image Captioningcited by 4
12 most cited of 21 All 21 (JSON)
- 2026Applications of the Transformer Architecture in AI-Assisted English Reading Comprehension26 Apr 2026
- 2026ViT-Explainer: An Interactive Walkthrough of the Vision Transformer Pipeline2 Apr 2026
- 2025ConceptViz: A Visual Analytics Approach for Exploring Concepts in Large Language Models20 Sep 2025
- 2024Transformer Explainer: Learning LLM Transformers with Interactive Visual Explanation and Experimentation8 Aug 2024
- 2024Understanding Large Language Model Behaviors through Interactive Counterfactual Generation and Analysis23 Apr 2024
- 2024Modelling Language using Large Language Models15 Apr 2024
- 2024Transformers, Contextualism, and Polysemy15 Apr 2024
- 2024iScore: Visual Analytics for Interpreting How Language Models Automatically Score Summaries7 Mar 2024
- 2024KnowledgeVIS: Interpreting Language Models by Comparing Fill-in-the-Blank Prompts7 Mar 2024
- 2024EL-VIT: Probing Vision Transformer with Interactive Visualization23 Jan 2024
- 2023Visual Analytics for Generative Transformer Models21 Nov 2023
- 2023Visual Analytics for Efficient Image Exploration and User-Guided Image Captioning2 Nov 2023
12 newest of 21 All 21 (JSON)