Visualizing and Understanding Neural Models in NLP
Not on the map. Why?
Abstract (arXiv)
While neural networks have been successfully applied to many NLP tasks the resulting vector-based models are very difficult to interpret. For example it's not clear how they achieve em compositionality, building sentence meaning from the meanings of words and phrases. In this paper we describe four strategies for visualizing compositionality in neural models for NLP, inspired by similar work in computer vision. We first plot unit values to visualize compositionality of negation, intensification, and concessive clauses, allow us to see well-known markedness asymmetries in negation. We then introduce three simple and straightforward methods for visualizing a unit's em salience, the amount it contributes to the final composed meaning: (1) gradient back-propagation, (2) the variance of a token from the average word node, (3) LSTM-style gates that measure information flow. We test our methods on sentiment using simple recurrent nets and LSTMs. Our general-purpose methods may have wide applications for understanding compositionality and other semantic properties of deep networks , and also shed light on why LSTMs outperform simple recurrent nets,
Key facts. Cited by 199 papers in the map (data through 7 Oct 2026). First posted on arXiv 2 Jun 2015.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 49; 2022: 41; 2023: 36; 2024: 31; 2025: 22; 2026: 20.
199 papers.
Sort:
By area:
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2024Faithfulness vs. Plausibility: On the (Un)Reliability of Explanations from Large Language Modelscited by 104
- 2021An Interpretability Illusion for BERTcited by 94
- 2024ContextCite: Attributing Model Generation to Contextcited by 93
- 2022Interpreting Language Models with Contrastive Explanationscited by 91
- 2023Can Large Language Models Explain Themselves? A Study of LLM-Generated Self-Explanationscited by 90
- 2021The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance Explanationscited by 86
38 more
- 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
- 2021"Will You Find These Shortcuts?" A Protocol for Evaluating the Faithfulness of Input Salience Methods for Text Classificationcited by 66
- 2022Measuring the Mixing of Contextual Information in the Transformercited by 63
- 2021Triggerless Backdoor Attack for NLP Tasks with Clean Labelscited by 61
- 2023Multiscale Positive-Unlabeled Detection of AI-Generated Textscited by 59
- 2022PINTO: Faithful Language Reasoning Using Prompt-Generated Rationalescited by 56
- 2023From Language Modeling to Instruction Following: Understanding the Behavior Shift in LLMs after Instruction Tuningcited by 56
- 2021On Guaranteed Optimal Robust Explanations for NLP Modelscited by 54
- 2024Identifying Semantic Induction Heads to Understand In-Context Learningcited by 46
- 2024Usable XAI: 10 Strategies Towards Exploiting Explainability in the LLM Eracited by 45
- 2021SelfExplain: A Self-Explaining Architecture for Neural Text Classifierscited by 44
- 2022GlobEnc: Quantifying Global Token Attribution by Incorporating the Whole Encoder Layer in Transformerscited by 44
- 2023Understanding and Detecting Hallucinations in Neural Machine Translation via Model Introspectioncited by 44
- 2023Explaining How Transformers Use Context to Build Predictionscited by 42
- 2022The Road to Explainability is Paved with Bias: Measuring the Fairness of Explanationscited by 41
- 2021SSMix: Saliency-Based Span Mixup for Text Classificationcited by 39
- 2021Evaluating Saliency Methods for Neural Language Modelscited by 37
- 2022Analyzing Encoded Concepts in Transformer Language Modelscited by 37
- 2022On the Explainability of Natural Language Processing Deep Modelscited by 37
- 2021Understanding Interlocking Dynamics of Cooperative Rationalizationcited by 36
- 2022Missingness Bias in Model Debuggingcited by 36
- 2024Trust in AI: Progress, Challenges, and Future Directionscited by 35
- 2021A Study of Automatic Metrics for the Evaluation of Natural Language Explanationscited by 34
- 2022ORCA: Interpreting Prompted Language Models via Locating Supporting Data Evidence in the Ocean of Pretraining Datacited by 34
- 2023How are Prompts Different in Terms of Sensitivity?cited by 34
- 2024Gradient based Feature Attribution in Explainable AI: A Technical Reviewcited by 34
- 2021Explainable AI: current status and future directionscited by 32
- 2021UNIREX: A Unified Learning Framework for Language Model Rationale Extractioncited by 32
- 2021Evaluating the Faithfulness of Importance Measures in NLP by Recursively Masking Allegedly Important Tokens and Retrainingcited by 31
- 2022On the Calibration of Pre-trained Language Models using Mixup Guided by Area Under the Margin and Saliencycited by 31
- 2023DecompX: Explaining Transformers Decisions by Propagating Token Decompositioncited by 31
- 2023Quantifying Uncertainty in Natural Language Explanations of Large Language Modelscited by 31
- 2023DeceptPrompt: Exploiting LLM-driven Code Generation via Adversarial Natural Language Instructionscited by 31
- 2021On the Sensitivity and Stability of Model Interpretations in NLPcited by 30
- 2021Perturbing Inputs for Fragile Interpretations in Deep Natural Language Processingcited by 30
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
- 2021DeepHate: Hate Speech Detection via Multi-Faceted Text Representationscited by 29
- 2021Exploring the Role of BERT Token Representations to Explain Sentence Probing Resultscited by 29
50 most cited of 199 All 199 (JSON)
- 2026Auditing Agent Actions through Query-Conditioned Attribution27 Sep 2026
- 2026Misaligned Clinical Risk Classification and Cost Asymmetry in Open-Weight Large Language Models21 Sep 2026
- 2026On the Abundance of Critical Points of the t-SNE Energy3 Sep 2026
- 2026Shared Circuits for Shared Grammar: Tracing Subject-Verb Agreement Across Languages19 Aug 2026
- 2026Robust Dual-Signal Fusion: Hybrid Neuro-Symbolic Gating with Compressed Chain-of-Thought Refinement for Irony Detection in Social Media Texts15 Jun 2026
- 2026Faithfulness Metrics Don't Measure Faithfulness: A Meta-Evaluation with Ground Truth24 May 2026
- 2026All Circuits Lead to Rome: Rethinking Functional Anisotropy in Circuit and Sheaf Discovery for LLMs12 May 2026
- 2026Mixing Times of Glauber Dynamics on Masked Language Models11 May 2026
- 2026Navigating by Old Maps: The Pitfalls of Static Mechanistic Localization in LLM Post-Training7 May 2026
- 2026Understanding the Prompt Sensitivity20 Apr 2026
- 2026Models Know Their Shortcuts: Deployment-Time Shortcut Mitigation14 Apr 2026
- 2026KEditVis: A Visual Analytics System for Knowledge Editing of Large Language Models31 Mar 2026
38 more
- 2026Layer-wise Target Propagation: Efficient Component Attribution through Target Centric Propagation20 Mar 2026
- 2026From Heuristic Selection to Automated Algorithm Design: LLMs Benefit from Strong Priors3 Mar 2026
- 2026From Feature-Based Models to Generative AI: Validity Evidence for Constructed Response Scoring1 Mar 2026
- 2026DRIV-EX: Counterfactual Explanations for Driving LLMs28 Feb 2026
- 2026Map of Encoders -- Mapping Sentence Encoders using Quantum Relative Entropy9 Feb 2026
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Models20 Jan 2026
- 2026Reasoning Stabilization Point: A Training-Time Signal for Stable Evidence and Shortcut Reliance12 Jan 2026
- 2026CRANE: Causal Relevance Analysis of Language-Specific Neurons in Multilingual Large Language Models8 Jan 2026
- 2025Probabilistic Digital Twins of Users: Latent Representation Learning with Statistically Validated Semantics19 Dec 2025
- 2025MASE: Interpretable NLP Models via Model-Agnostic Saliency Estimation4 Dec 2025
- 2025Assessing win strength in MLB win prediction models4 Nov 2025
- 2025HiMAE: Hierarchical Masked Autoencoders Discover Resolution-Specific Structure in Wearable Time Series28 Oct 2025
- 2025IKNet: Interpretable Stock Price Prediction via Keyword-Guided Integration of News and Technical Indicators9 Oct 2025
- 2025Evaluation Framework for Highlight Explanations of Context Utilisation in Language Models3 Oct 2025
- 2025How Does Controllability Emerge In Language Models During Pretraining?3 Aug 2025
- 2025TT-XAI: Trustworthy Clinical Text Explanations via Keyword Distillation and LLM Reasoning30 Jul 2025
- 2025PLEX: Perturbation-free Local Explanations for LLM-Based Text Classification12 Jul 2025
- 2025Personality Prediction from Life Stories using Language Models24 Jun 2025
- 2025Anchored Diffusion Language Model24 May 2025
- 2025Time series saliency maps: explaining models across multiple domains19 May 2025
- 2025ForeCite: Adapting Pre-Trained Language Models to Predict Future Citation Rates of Academic Papers13 May 2025
- 2025Learning to Attribute with Attention18 Apr 2025
- 2025Why and How LLMs Hallucinate: Connecting the Dots with Subsequence Associations17 Apr 2025
- 2025Exploring Gradient-Guided Masked Language Model to Detect Textual Adversarial Attacks8 Apr 2025
- 2025Global explainability of a deep abstaining classifier1 Apr 2025
- 2025Discovering Influential Neuron Path in Vision Transformers12 Mar 2025
- 2025Order Matters: Investigate the Position Bias in Multi-constraint Instruction Following24 Feb 2025
- 2025A Close Look at Decomposition-based XAI-Methods for Transformer Language Models21 Feb 2025
- 2025Explanations of Large Language Models Explain Language Representations in the Brain20 Feb 2025
- 2025Conversational Explanations: Discussing Explainable AI with Non-AI Experts16 Feb 2025
- 2024LitLLMs, LLMs for Literature Review: Are we there yet?15 Dec 2024
- 2024NormXLogit: The Head-on-Top Never Lies25 Nov 2024
- 2024AttriBoT: A Bag of Tricks for Efficiently Approximating Leave-One-Out Context Attribution22 Nov 2024
- 2024Computational Approaches to Arabic-English Code-Switching17 Oct 2024
- 2024PromptExp: Multi-granularity Prompt Explanation of Large Language Models16 Oct 2024
- 2024Mechanistic?7 Oct 2024
- 2024Explanation sensitivity to the randomness of large language models: the case of journalistic text classification7 Oct 2024
- 2024Efficient Knowledge Distillation: Empowering Small Language Models with Teacher Model Insights19 Sep 2024
50 newest of 199 All 199 (JSON)
- 2023Can Large Language Models Explain Themselves? A Study of LLM-Generated Self-Explanationscited by 90
- 2022PINTO: Faithful Language Reasoning Using Prompt-Generated Rationalescited by 56
- 2026All Circuits Lead to Rome: Rethinking Functional Anisotropy in Circuit and Sheaf Discovery for LLMscited by 8
- 2026DRIV-EX: Counterfactual Explanations for Driving LLMscited by 1
- 2025TT-XAI: Trustworthy Clinical Text Explanations via Keyword Distillation and LLM Reasoningcited by 0
- 2026Reasoning Stabilization Point: A Training-Time Signal for Stable Evidence and Shortcut Reliancecited by 0
- 2026Robust Dual-Signal Fusion: Hybrid Neuro-Symbolic Gating with Compressed Chain-of-Thought Refinement for Irony Detection in Social Media Textscited by 0
- 2026Robust Dual-Signal Fusion: Hybrid Neuro-Symbolic Gating with Compressed Chain-of-Thought Refinement for Irony Detection in Social Media Texts15 Jun 2026
- 2026All Circuits Lead to Rome: Rethinking Functional Anisotropy in Circuit and Sheaf Discovery for LLMs12 May 2026
- 2026DRIV-EX: Counterfactual Explanations for Driving LLMs28 Feb 2026
- 2026Reasoning Stabilization Point: A Training-Time Signal for Stable Evidence and Shortcut Reliance12 Jan 2026
- 2025TT-XAI: Trustworthy Clinical Text Explanations via Keyword Distillation and LLM Reasoning30 Jul 2025
- 2023Can Large Language Models Explain Themselves? A Study of LLM-Generated Self-Explanations17 Oct 2023
- 2022PINTO: Faithful Language Reasoning Using Prompt-Generated Rationales3 Nov 2022
- 2026Auditing Agent Actions through Query-Conditioned Attribution27 Sep 2026
- 2025Anchored Diffusion Language Modelcited by 17
- 2025Anchored Diffusion Language Model24 May 2025
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2023TinyStories: How Small Can Language Models Be and Still Speak Coherent English?cited by 425
- 2023Explainability for Large Language Models: A Surveycited by 331
- 2021Post-hoc Interpretability for Neural NLP: A Surveycited by 155
- 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
- 2024Faithfulness vs. Plausibility: On the (Un)Reliability of Explanations from Large Language Modelscited by 104
- 2021An Interpretability Illusion for BERTcited by 94
- 2024ContextCite: Attributing Model Generation to Contextcited by 93
- 2022Interpreting Language Models with Contrastive Explanationscited by 91
- 2021The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance Explanationscited by 86
- 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
12 most cited of 186 All 186 (JSON)
- 2026Misaligned Clinical Risk Classification and Cost Asymmetry in Open-Weight Large Language Models21 Sep 2026
- 2026On the Abundance of Critical Points of the t-SNE Energy3 Sep 2026
- 2026Shared Circuits for Shared Grammar: Tracing Subject-Verb Agreement Across Languages19 Aug 2026
- 2026Faithfulness Metrics Don't Measure Faithfulness: A Meta-Evaluation with Ground Truth24 May 2026
- 2026Mixing Times of Glauber Dynamics on Masked Language Models11 May 2026
- 2026Navigating by Old Maps: The Pitfalls of Static Mechanistic Localization in LLM Post-Training7 May 2026
- 2026Understanding the Prompt Sensitivity20 Apr 2026
- 2026Models Know Their Shortcuts: Deployment-Time Shortcut Mitigation14 Apr 2026
- 2026KEditVis: A Visual Analytics System for Knowledge Editing of Large Language Models31 Mar 2026
- 2026Layer-wise Target Propagation: Efficient Component Attribution through Target Centric Propagation20 Mar 2026
- 2026From Heuristic Selection to Automated Algorithm Design: LLMs Benefit from Strong Priors3 Mar 2026
- 2026From Feature-Based Models to Generative AI: Validity Evidence for Constructed Response Scoring1 Mar 2026
12 newest of 186 All 186 (JSON)