VISIT: Visualizing and Interpreting the Semantic Information Flow of Transformers (2023.findings-emnlp)
Copied to clipboard
| Challenge: | Recent work in interpretability suggests we can project weights and hidden states of transformer-based language models (LMs) to their vocabulary space, a transformation that makes them more human interpretable. |
| Approach: | They propose a tool to visualize a forward pass of Generative Pre-trained Transformers as an interactive flow graph with nodes representing neurons or hidden states and edges representing interactions between them. |
| Outcome: | The proposed visualization simplifies huge amounts of data into easy-to-read graphs that can reflect the models’ internal processing, uncovering the contribution of each component to the models' final prediction. |
Similar Papers
InterpreT: An Interactive Visualization Tool for Interpreting Transformers (2021.eacl-demos)
Copied to clipboard
Vasudev Lal, Arden Ma, Estelle Aflalo, Phillip Howard, Ana Simoes, Daniel Korat, Oren Pereg, Gadi Singer, Moshe Wasserblat
| Challenge: | Using Transformer-based models for NLU/NLP tasks is a growing interest . but there are many open questions regarding the behavior of these models . |
| Approach: | They present an interactive visualization tool for interpreting Transformer-based models. |
| Outcome: | The tool can track and visualize token embeddings through each layer of a Transformer, highlight distances between certain token embeds, and identify task-related functions of attention heads using new metrics. |
Interpreting Context Look-ups in Transformers: Investigating Attention-MLP Interactions (2024.emnlp-main)
Copied to clipboard
| Challenge: | Using a method to identify next-token neurons, we find that some attention heads recognize contexts relevant to predicting a token and activate a downstream token-predicting neuron accordingly. |
| Approach: | They propose a method to identify next-token neurons and determine the upstream attention heads responsible for their activity in LLMs. |
| Outcome: | The proposed method identifies next-token neurons, finds prompts that highly activate them, and determines the upstream attention heads responsible. |
Incorporating Residual and Normalization Layers into Analysis of Masked Language Models (2021.emnlp-main)
Copied to clipboard
| Challenge: | Transformer architecture is composed of multi-head attention, which has been extensively analyzed. |
| Approach: | They extended the scope of the analysis of Transformers from solely the attention patterns to the whole attention block, i.e., multi-head attention, residual connection, and layer normalization. |
| Outcome: | The proposed method incorporates the whole attention block, i.e., multi-head attention, residual connection, and layer normalization into the analysis. |
LM Transparency Tool: Interactive Tool for Analyzing Transformer Language Models (2024.acl-demos)
Copied to clipboard
| Challenge: | Existing tools focus on isolated parts of the decision-making process, but LM-TT makes the entire prediction process transparent. |
| Approach: | They present an open-source toolkit for analyzing the internal workings of Transformer-based language models. |
| Outcome: | The LM Transparency Tool makes the entire prediction process transparent . it shows the importance of specific component at each step . |
Transformers: State-of-the-Art Natural Language Processing (2020.emnlp-demos)
Copied to clipboard
Thomas Wolf, Lysandre Debut, Victor Sanh, Julien Chaumond, Clement Delangue, Anthony Moi, Pierric Cistac, Tim Rault, Remi Louf, Morgan Funtowicz, Joe Davison, Sam Shleifer, Patrick von Platen, Clara Ma, Yacine Jernite, Julien Plu, Canwen Xu, Teven Le Scao, Sylvain Gugger, Mariama Drame, Quentin Lhoest, Alexander Rush
| Challenge: | Transformers is an open-source library that aims to open up advances in natural language processing to the wider machine learning community. |
| Approach: | they propose an open-source library that aims to open up advances in machine learning to the wider community. |
| Outcome: | Transformers is an open-source library with the goal of opening up these advances to the wider machine learning community. |
Roles and Utilization of Attention Heads in Transformer-based Neural Language Models (2020.acl-main)
Copied to clipboard
| Challenge: | Sentence encoders based on transformer architectures have shown promising results on various natural language understanding tasks. |
| Approach: | They propose a sentence representation method that takes advantage of most influential attention heads. |
| Outcome: | The proposed method improves performance on the downstream tasks. |
Mamba Knockout for Unraveling Factual Information Flow (2025.acl-long)
Copied to clipboard
| Challenge: | Recent work has introduced Mamba-based SSM architectures that rival Transformer performance in various settings. |
| Approach: | They propose to use attentional interpretability techniques originally developed for Transformers to trace how information is transmitted and localized across tokens and layers. |
| Outcome: | The proposed model disentangles how distinct features enable token-to-token information exchange or enrich individual tokens, thus offering a unified lens to understand Mamba internal operations. |
Dodrio: Exploring Transformer Models with Interactive Visualization (2021.acl-demo)
Copied to clipboard
| Challenge: | Recent research suggests the key may lie in multi-headed attention mechanism’s ability to learn and represent linguistic information. |
| Approach: | They present an open-source visualization tool to analyze attention mechanisms in transformer-based models with linguistic knowledge. |
| Outcome: | Dodrio analyzes attention mechanisms in transformer-based models with linguistic knowledge. |
Quantifying Attention Flow in Transformers (2020.acl-main)
Copied to clipboard
| Challenge: | In the Transformer model, “self-attention” combines information from attended embeddings into the representation of the focal embeddable in the next layer. |
| Approach: | They propose two methods to quantify flow of information through self-attention using attention weights as relative relevance of input tokens. |
| Outcome: | The proposed methods give complementary views on the flow of information and yield higher correlations with importance scores of input tokens. |
Better Explain Transformers by Illuminating Important Information (2024.findings-eacl)
Copied to clipboard
| Challenge: | Existing explanations focus on the input and output of the Transformers, resulting in confusing results. |
| Approach: | They propose to highlight important information and eliminate irrelevant information by a refined information flow on top of the layer-wise relevance propagation method. |
| Outcome: | The proposed method outperforms baseline models on classification and question-answering datasets with over 3% to 33% improvement on explanation metrics. |