mlsanityData to 7 Oct 2026

How do Decisions Emerge across Layers in Neural Models? Interpretation with Differentiable Masking

arXiv 2004.14992 ↗First posted 30 Apr 2020cs.CL stat.MLcited by 63

Not on the map. Why?

Abstract (arXiv)

Attribution methods assess the contribution of inputs to the model prediction. One way to do so is erasure: a subset of inputs is considered irrelevant if it can be removed without affecting the prediction. Though conceptually simple, erasure's objective is intractable and approximate search remains expensive with modern deep NLP models. Erasure is also susceptible to the hindsight bias: the fact that an input can be dropped does not mean that the model `knows' it can be dropped. The resulting pruning is over-aggressive and does not reflect how the model arrives at the prediction. To deal with these challenges, we introduce Differentiable Masking. DiffMask learns to mask-out subsets of the input while maintaining differentiability. The decision to include or disregard an input token is made with a simple model based on intermediate hidden layers of the analyzed model. First, this makes the approach efficient because we predict rather than search. Second, as with probing classifiers, this reveals what the network `knows' at the corresponding layers. This lets us not only plot attribution heatmaps but also analyze how decisions are formed across network layers. We use DiffMask to study BERT models on sentiment classification and question answering.

Key facts. Cited by 63 papers in the map (data through 7 Oct 2026). First posted on arXiv 30 Apr 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 17; 2022: 5; 2023: 18; 2024: 12; 2025: 8; 2026: 3.

63 papers.

Sort:

By area:

  1. 2021Editing Factual Knowledge in Language Modelscited by 548
  2. 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
  3. 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 194
  4. 2022Towards Faithful Model Explanation in NLP: A Surveycited by 129
  5. 2021The Out-of-Distribution Problem in Explainability and Search Methods for Feature Importance Explanationscited by 86
  6. 2021Neuron-level Interpretation of Deep NLP Models: A Surveycited by 81
  7. 2024RAVEL: Evaluating Interpretability Methods on Disentangling Language Model Representationscited by 77
  8. 2021When Can Models Learn From Explanations? A Formal Framework for Understanding the Roles of Explanation Datacited by 75
  9. 2023Do Large Language Models Know about Facts?cited by 49
  10. 2025MIB: A Mechanistic Interpretability Benchmarkcited by 49
  11. 2024Recurrent Neural Networks Learn to Store and Generate Sequences using Non-Linear Representationscited by 45
  12. 2023Break It Down: Evidence for Structural Compositionality in Neural Networkscited by 44
38 more
  1. 2025Language Models use Lookbacks to Track Beliefscited by 36
  2. 2021Sparse Interventions in Language Models with Differentiable Maskingcited by 34
  3. 2024Evaluating Open-Source Sparse Autoencoders on Disentangling Factual Knowledge in GPT-2 Smallcited by 34
  4. 2023ConvXAI: Delivering Heterogeneous AI Explanations via Conversations to Support Human-AI Scientific Writingcited by 31
  5. 2021Multilingual Language Models Predict Human Reading Behaviorcited by 29
  6. 2023AD-KD: Attribution-Driven Knowledge Distillation for Language Model Compressioncited by 26
  7. 2024The Quest for the Right Mediator: Surveying Mechanistic Interpretability Through the Lens of Causal Mediation Analysiscited by 24
  8. 2021Translation Error Detection as Rationale Extractioncited by 22
  9. 2024Optimal ablation for interpretabilitycited by 21
  10. 2021Connecting Attributions and QA Model Behavior on Realistic Counterfactualscited by 20
  11. 2021Interpreting Deep Learning Models in Natural Language Processing: A Reviewcited by 19
  12. 2025How Do Transformers Learn Variable Binding in Symbolic Programs?cited by 19
  13. 2023Discovering Knowledge-Critical Subnetworks in Pretrained Language Modelscited by 16
  14. 2025Causal Head Gating: A Framework for Interpreting Roles of Attention Heads in Transformerscited by 16
  15. 2022A Fine-grained Interpretability Evaluation Benchmark for Neural NLPcited by 15
  16. 2021Explaining Neural Network Predictions on Sentence Pairs via Learning Word-Group Maskscited by 12
  17. 2023Explainability of Vision Transformers: A Comprehensive Review and New Perspectivescited by 12
  18. 2021Thermostat: A Large Collection of NLP Model Explanations and Analysis Toolscited by 11
  19. 2022New Definitions and Evaluations for Saliency Methods: Staying Intrinsic, Complete and Soundcited by 10
  20. 2026From Directions to Regions: Decomposing Activations in Language Models via Local Geometrycited by 10
  21. 2023NeuroSurgeon: A Toolkit for Subnetwork Analysiscited by 9
  22. 2024The Heuristic Core: Understanding Subnetwork Generalization in Pretrained Language Modelscited by 9
  23. 2021DoT: An efficient Double Transformer for NLP tasks with tablescited by 8
  24. 2021Does Knowledge Help General NLU? An Empirical Studycited by 7
  25. 2025LLMs Process Lists With General Filter Headscited by 7
  26. 2022Differentiable Mathematical Programming for Object-Centric Representation Learningcited by 6
  27. 2023Automated multilingual detection of Pro-Kremlin propaganda in newspapers and Telegram postscited by 6
  28. 2024Attention Speaks Volumes: Localizing and Mitigating Bias in Language Modelscited by 6
  29. 2023Decoding Layer Saliency in Language Transformerscited by 5
  30. 2023A Multi-Grained Self-Interpretable Symbolic-Neural Model For Single/Multi-Labeled Text Classificationcited by 4
  31. 2023VISION DIFFMASK: Faithful Interpretation of Vision Transformers with Differentiable Patch Maskingcited by 4
  32. 2021How Does Adversarial Fine-Tuning Benefit BERT?cited by 3
  33. 2023Consistent Multi-Granular Rationale Extraction for Explainable Multi-hop Fact Verificationcited by 3
  34. 2025LaTIM: Measuring Latent Token-to-Token Interactions in Mamba Modelscited by 3
  35. 2023Assessing Word Importance Using Models Trained for Semantic Taskscited by 2
  36. 2023You Only Forward Once: Prediction and Rationalization in A Single Forward Passcited by 2
  37. 2024Robust and Scalable Model Editing for Large Language Modelscited by 2
  38. 2025Fact in Fragments: Deconstructing Complex Claims via LLM-based Atomic Fact Extraction and Verificationcited by 2

50 most cited of 63 All 63 (JSON)