ferret: a Framework for Benchmarking Explainers on Transformers (2023.eacl-demo)
Copied to clipboard
| Challenge: | Existing methods for interpreting transformer outputs are scattered and hard to operationalize. |
| Approach: | They propose a Python library to simplify the use and comparisons of XAI methods on transformers. |
| Outcome: | The proposed method provides better explanations and is preferable in the context of transformer models. |
Similar Papers
How to Dissect a Muppet: The Structure of Transformer Embedding Spaces (2022.tacl-1)
Copied to clipboard
| Challenge: | Pretrained embeddings based on the Transformer architecture have taken the NLP community by storm . a novel decomposition of Transformer output embeddables is demonstrated . |
| Approach: | They propose to decompose Transformer output embeddings into a sum of vector factors . they show multi-head attentions and feed-forwards are not equally useful in downstream applications . |
| Outcome: | The proposed method outperforms recurrent architectures on a wide variety of tasks. |
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. |
Transformer-specific Interpretability (2024.eacl-tutorials)
Copied to clipboard
| Challenge: | Transformers are dominant play-ers in various scientific fields, but their inner workings remain opaque. |
| Approach: | This tutorial presents a trending approach to interpreting Transformers . it uses specific features of the Transformer architecture to quantify context- mixing interactions . |
| Outcome: | This tutorial aims to show how a new trending approach can be applied to Transformer-based models. |
Interpreto: An Explainability Library for Transformers (2026.acl-demo)
Copied to clipboard
Antonin Poché, Thomas Mullor, Gabriele Sarti, Frédéric Boisnard, Corentin Friedrich, Charlotte Claye, Francois Hoofd, Raphael Bernas, Nicholas Asher, Celine Hudelot, Fanny Jourdan
| Challenge: | Interpreto is an open-source Python library for interpreting HuggingFace language models . it provides attribution methods and concept-based explanations . documentation or metrics are sometimes missing due to the complexity of the pipeline . |
| Approach: | Interpreto is an open-source Python library for interpreting HuggingFace language models . it provides attribution methods and concept-based explanations . authors welcome issues and pull requests . |
| Outcome: | Interpreto is an open-source Python library for interpreting HuggingFace language models . it provides attribution methods and concept-based explanations . the library welcomes issues and pull requests . |
Ecco: An Open Source Library for the Explainability of Transformer Language Models (2021.acl-demo)
Copied to clipboard
| Challenge: | Existing models that use the Transformer architecture are lag behind our ability to scale them. |
| Approach: | They propose an open-source library for the explainability of Transformer-based NLP models that captures, analyzes, visualizes, and interactively explores the inner mechanics of these models. |
| Outcome: | The proposed tools capture, analyze, visualize, and explore the inner workings of Transformer-based language models. |
PR-XAI: PageRank-Based Feature Attribution for Transformers (2026.acl-long)
Copied to clipboard
| Challenge: | Existing feature attribution methods for transformer models suffer from limitations that undermine their efficacy. |
| Approach: | They propose a feature attribution method for transformer models based on PageRank . they propose attribution methods that apply PageRank to attention-derived graphs . |
| Outcome: | The proposed method outperforms state-of-the-art methods in faithfulness and classification metrics with significant gains on long-form text. |
The Devil is in the Details: Evaluating Limitations of Transformer-based Methods for Granular Tasks (2020.coling-main)
Copied to clipboard
| Challenge: | Contextual embeddings have shown state-of-the-art performance for various tasks such as question answering, sentiment analysis, and textual similarity. |
| Approach: | They propose to integrate transformer-based neural language models into their models to achieve relative improvements of up to 36% on granular tasks. |
| Outcome: | The proposed model outperforms baselines for more granular tasks while outperforming TF-IDF for more complex tasks. |
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. |
TensorLens: End-to-End Transformer Analysis via High-Order Attention Tensors (2026.acl-long)
Copied to clipboard
| Challenge: | Existing attention-aggregation methods focus on individual attention heads or layers, failing to account for the model’s global behavior. |
| Approach: | They propose a unified attention representation that captures the entire transformer as a single, input-dependent linear operator expressed through a high-order attention-interaction tensor. |
| Outcome: | The proposed model encapsulates the entire transformer as a single, input-dependent linear operator expressed through a high-order attention-interaction tensor. |
Explaining Text Similarity in Transformer Models (2024.naacl-long)
Copied to clipboard
| Challenge: | Modern foundation models provide flexible text representations that enable the detection of semantic structure in vast amounts of unlabeled data. |
| Approach: | They propose to leverage layer-wise relevance propagation to understand the inner prediction mechanisms of NLP models by analyzing grammatical interactions, multilingual semantics, and biomedical text retrieval. |
| Outcome: | The proposed methods demonstrate their utility in three corpus-level use cases, analyzing grammatical interactions, multilingual semantics, and biomedical text retrieval. |