AllenNLP Interpret: A Framework for Explaining Predictions of NLP Models
Not on the map. Why?
Abstract (arXiv)
Neural NLP models are increasingly accurate but are imperfect and opaque---they break in counterintuitive ways and leave end users puzzled at their behavior. Model interpretation methods ameliorate this opacity by providing explanations for specific model predictions. Unfortunately, existing interpretation codebases make it difficult to apply these methods to new models and tasks, which hinders adoption for practitioners and burdens interpretability researchers. We introduce AllenNLP Interpret, a flexible framework for interpreting NLP models. The toolkit provides interpretation primitives (e.g., input gradients) for any AllenNLP model and task, a suite of built-in interpretation methods, and a library of front-end visualization components. We demonstrate the toolkit's flexibility and utility by implementing live demos for five interpretation methods (e.g., saliency maps and adversarial attacks) on a variety of models and tasks (e.g., masked language modeling using BERT and reading comprehension using BiDAF). These demos, alongside our code and tutorials, are available at https://allennlp.org/interpret .
Key facts. Cited by 74 papers in the map (data through 7 Oct 2026). First posted on arXiv 19 Sep 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 16; 2022: 23; 2023: 19; 2024: 9; 2025: 5; 2026: 2.
74 papers.
Sort:
By area:
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attentioncited by 233
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoderscited by 199
- 2021MoEfication: Transformer Feed-forward Layers are Mixtures of Expertscited by 149
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2021Robustness Gym: Unifying the NLP Evaluation Landscapecited by 107
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
- 2022Interpreting Language Models with Contrastive Explanationscited by 91
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 76
- 2021ExplainaBoard: An Explainable Leaderboard for NLPcited by 50
- 2022Grad-SAM: Explaining Transformers via Gradient Self-Attention Mapscited by 42
- 2022First is Better Than Last for Language Data Influencecited by 34
38 more
- 2023Analyzing Chain-of-Thought Prompting in Large Language Models via Gradient-based Feature Attributionscited by 32
- 2023ConvXAI: Delivering Heterogeneous AI Explanations via Conversations to Support Human-AI Scientific Writingcited by 31
- 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
- 2022LM-Debugger: An Interactive Tool for Inspection and Intervention in Transformer-Based Language Modelscited by 28
- 2022ferret: a Framework for Benchmarking Explainers on Transformerscited by 26
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMscited by 24
- 2022Challenges in Applying Explainability Methods to Improve the Fairness of NLP Modelscited by 20
- 2021Interpreting Deep Learning Models in Natural Language Processing: A Reviewcited by 19
- 2021Logic Traps in Evaluating Attribution Scorescited by 18
- 2021On the Lack of Robust Interpretability of Neural Text Classifierscited by 17
- 2021LMdiff: A Visual Diff Tool to Compare Language Modelscited by 17
- 2024Position: Towards Bidirectional Human-AI Alignmentcited by 15
- 2022Saliency Map Verbalization: Comparing Feature Importance Representations from Model-free and Instruction-based Methodscited by 13
- 2021Token-Modification Adversarial Attacks for Natural Language Processing: A Surveycited by 12
- 2023IMBERT: Making BERT Immune to Insertion-based Backdoor Attackscited by 12
- 2021T3-Vis: a visual analytic framework for Training and fine-Tuning Transformers in NLPcited by 11
- 2022The Solvability of Interpretability Evaluation Metricscited by 11
- 2022Automatic Error Analysis for Document-level Information Extractioncited by 10
- 2023What Do Llamas Really Think? Revealing Preference Biases in Language Model Representationscited by 10
- 2024Explaining Text Similarity in Transformer Modelscited by 9
- 2021Does My Representation Capture X? Probe-Ablycited by 8
- 2021Making Attention Mechanisms More Robust and Interpretable with Virtual Adversarial Trainingcited by 8
- 2022Interpreting BERT-based Text Similarity via Activation and Saliency Mapscited by 8
- 2023IFAN: An Explainability-Focused Interaction Framework for Humans and NLP Modelscited by 8
- 2024Better Explain Transformers by Illuminating Important Informationcited by 8
- 2022Mediators: Conversational Agents Explaining NLP Model Behaviorcited by 7
- 2023On the Interplay between Fairness and Explainabilitycited by 7
- 2024A Comprehensive Guide to Explainable AI: From Classical Models to LLMscited by 7
- 2025Reproducing HotFlip for Corpus Poisoning Attacks in Dense Retrievalcited by 7
- 2024Unveiling and Manipulating Prompt Influence in Large Language Modelscited by 6
- 2021ShufText: A Simple Black Box Approach to Evaluate the Fragility of Text Classification Modelscited by 5
- 2022It Takes Two Flints to Make a Fire: Multitask Learning of Neural Relation and Explanation Classifierscited by 5
- 2022Power of Explanations: Towards automatic debiasing in hate speech detectioncited by 5
- 2023Finspector: A Human-Centered Visual Inspection Tool for Exploring and Comparing Biases among Foundation Modelscited by 5
- 2023Decoding Layer Saliency in Language Transformerscited by 5
- 2024Analyzing Deep Transformer Models for Time Series Forecasting via Manifold Learningcited by 5
- 2022Visualizing and Explaining Language Modelscited by 4
- 2022Azimuth: Systematic Error Analysis for Text Classificationcited by 4
50 most cited of 74 All 74 (JSON)
- 2026LumiXAI: A Modular Full-Stack Framework for Feature Attribution25 Aug 2026
- 2026Explanation-Guided Medical Named Entity Recognition with Stability and Boundary Awareness for Atopic Dermatitis22 Jun 2026
- 2025Don't Let It Fade: Preserving Edits in Diffusion Language Models via Token Timestep Allocation30 Oct 2025
- 2025iBERT: Interpretable Embeddings via Sense Decomposition10 Oct 2025
- 2025Which Words Matter Most in Zero-Shot Prompts?5 Feb 2025
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoders28 Jan 2025
- 2025Reproducing HotFlip for Corpus Poisoning Attacks in Dense Retrieval8 Jan 2025
- 2024A Comprehensive Guide to Explainable AI: From Classical Models to LLMs1 Dec 2024
- 2024Analyzing Deep Transformer Models for Time Series Forecasting via Manifold Learning17 Oct 2024
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMs27 Jul 2024
- 2024Machine Unlearning using a Multi-GAN based Model26 Jul 2024
- 2024Position: Towards Bidirectional Human-AI Alignment13 Jun 2024
38 more
- 2024Unveiling and Manipulating Prompt Influence in Large Language Models20 May 2024
- 2024Explaining Text Similarity in Transformer Models10 May 2024
- 2024Evaluating Webcam-based Gaze Data as an Alternative for Human Rationale Annotations29 Feb 2024
- 2024Better Explain Transformers by Illuminating Important Information18 Jan 2024
- 2023Observable Propagation: Uncovering Feature Vectors in Transformers26 Dec 2023
- 2023What Do Llamas Really Think? Revealing Preference Biases in Language Model Representations30 Nov 2023
- 2023Visual Analytics for Generative Transformer Models21 Nov 2023
- 2023On the Interplay between Fairness and Explainability25 Oct 2023
- 2023Co-modeling the Sequential and Graphical Routes for Peptide Representation Learning4 Oct 2023
- 2023Implicit Design Choices and Their Impact on Emotion Recognition Model Development and Evaluation6 Sep 2023
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilities24 Aug 2023
- 2023Decoding Layer Saliency in Language Transformers9 Aug 2023
- 2023Explaining Relation Classification Models with Semantic Extents4 Aug 2023
- 2023Analyzing Chain-of-Thought Prompting in Large Language Models via Gradient-based Feature Attributions25 Jul 2023
- 2023Explaining Math Word Problem Solvers24 Jul 2023
- 2023Analyzing the Impact of Adversarial Examples on Explainable Machine Learning17 Jul 2023
- 2023Did the Models Understand Documents? Benchmarking Models for Language Understanding in Document-Level Relation Extraction20 Jun 2023
- 2023Finspector: A Human-Centered Visual Inspection Tool for Exploring and Comparing Biases among Foundation Models26 May 2023
- 2023IMBERT: Making BERT Immune to Insertion-based Backdoor Attacks25 May 2023
- 2023SPARSEFIT: Few-shot Prompting with Sparse Fine-tuning for Jointly Generating Predictions and Natural Language Explanations22 May 2023
- 2023ConvXAI: Delivering Heterogeneous AI Explanations via Conversations to Support Human-AI Scientific Writing16 May 2023
- 2023IFAN: An Explainability-Focused Interaction Framework for Humans and NLP Models6 Mar 2023
- 2023Tell Model Where to Attend: Improving Interpretability of Aspect-Based Sentiment Classification via Small Explanation Annotations21 Feb 2023
- 2022Azimuth: Systematic Error Analysis for Text Classification16 Dec 2022
- 2022Understanding Text Classification Data and Models Using Aggregated Input Salience10 Nov 2022
- 2022How Long Is Enough? Exploring the Optimal Intervals of Long-Range Clinical Note Language Modeling25 Oct 2022
- 2022Universal and Independent: Multilingual Probing Framework for Exhaustive Model Interpretation and Evaluation24 Oct 2022
- 2022Saliency Map Verbalization: Comparing Feature Importance Representations from Model-free and Instruction-based Methods13 Oct 2022
- 2022What the DAAM: Interpreting Stable Diffusion Using Cross Attention10 Oct 2022
- 2022Towards Faithful Model Explanation in NLP: A Survey22 Sep 2022
- 2022Automatic Error Analysis for Document-level Information Extraction15 Sep 2022
- 2022PainPoints: A Framework for Language-based Detection of Chronic Pain and Expert-Collaborative Text-Summarization14 Sep 2022
- 2022Power of Explanations: Towards automatic debiasing in hate speech detection7 Sep 2022
- 2022UKP-SQuARE v2: Explainability and Adversarial Attacks for Trustworthy QA19 Aug 2022
- 2022Interpreting BERT-based Text Similarity via Activation and Saliency Maps13 Aug 2022
- 2022ferret: a Framework for Benchmarking Explainers on Transformers2 Aug 2022
- 2022Mediators: Conversational Agents Explaining NLP Model Behavior13 Jun 2022
- 2022Challenges in Applying Explainability Methods to Improve the Fairness of NLP Models8 Jun 2022
50 newest of 74 All 74 (JSON)
- 2023IMBERT: Making BERT Immune to Insertion-based Backdoor Attackscited by 12
- 2024Machine Unlearning using a Multi-GAN based Modelcited by 0
- 2024Machine Unlearning using a Multi-GAN based Model26 Jul 2024
- 2023IMBERT: Making BERT Immune to Insertion-based Backdoor Attacks25 May 2023
- 2024Position: Towards Bidirectional Human-AI Alignmentcited by 15
- 2024Position: Towards Bidirectional Human-AI Alignment13 Jun 2024
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoderscited by 199
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2021Robustness Gym: Unifying the NLP Evaluation Landscapecited by 107
- 2021Measure and Improve Robustness in NLP Models: A Surveycited by 107
- 2022XAI for Transformers: Better Explanations through Conservative Propagationcited by 100
- 2022Interpreting Language Models with Contrastive Explanationscited by 91
- 2023Use of LLMs for Illicit Purposes: Threats, Prevention Measures, and Vulnerabilitiescited by 76
- 2021ExplainaBoard: An Explainable Leaderboard for NLPcited by 50
- 2022Grad-SAM: Explaining Transformers via Gradient Self-Attention Mapscited by 42
- 2022First is Better Than Last for Language Data Influencecited by 34
- 2023ConvXAI: Delivering Heterogeneous AI Explanations via Conversations to Support Human-AI Scientific Writingcited by 31
- 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
12 most cited of 66 All 66 (JSON)
- 2026LumiXAI: A Modular Full-Stack Framework for Feature Attribution25 Aug 2026
- 2026Explanation-Guided Medical Named Entity Recognition with Stability and Boundary Awareness for Atopic Dermatitis22 Jun 2026
- 2025iBERT: Interpretable Embeddings via Sense Decomposition10 Oct 2025
- 2025Which Words Matter Most in Zero-Shot Prompts?5 Feb 2025
- 2025AxBench: Steering LLMs? Even Simple Baselines Outperform Sparse Autoencoders28 Jan 2025
- 2025Reproducing HotFlip for Corpus Poisoning Attacks in Dense Retrieval8 Jan 2025
- 2024A Comprehensive Guide to Explainable AI: From Classical Models to LLMs1 Dec 2024
- 2024Analyzing Deep Transformer Models for Time Series Forecasting via Manifold Learning17 Oct 2024
- 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMs27 Jul 2024
- 2024Unveiling and Manipulating Prompt Influence in Large Language Models20 May 2024
- 2024Explaining Text Similarity in Transformer Models10 May 2024
- 2024Evaluating Webcam-based Gaze Data as an Alternative for Human Rationale Annotations29 Feb 2024
12 newest of 66 All 66 (JSON)