mlsanityData to 7 Oct 2026

A Song of (Dis)agreement: Evaluating the Evaluation of Explainable Artificial Intelligence in Natural Language Processing

arXiv 2205.04559 ↗First posted 9 May 2022cs.CL cs.LGcited by 13

Not on the map. Why?

Abstract (arXiv)

There has been significant debate in the NLP community about whether or not attention weights can be used as an explanation - a mechanism for interpreting how important each input token is for a particular prediction. The validity of "attention as explanation" has so far been evaluated by computing the rank correlation between attention-based explanations and existing feature attribution explanations using LSTM-based models. In our work, we (i) compare the rank correlation between five more recent feature attribution methods and two attention-based methods, on two types of NLP tasks, and (ii) extend this analysis to also include transformer-based models. We find that attention-based explanations do not correlate strongly with any recent feature attribution methods, regardless of the model or task. Furthermore, we find that none of the tested explanations correlate strongly with one another for the transformer-based model, leading us to question the underlying assumption that we should measure the validity of attention-based explanations based on how well they correlate with existing feature attribution explanation methods. After conducting experiments on five datasets using two different models, we argue that the community should stop using rank correlation as an evaluation metric for attention-based explanations. We suggest that researchers and practitioners should instead test various explanation methods and employ a human-in-the-loop process to determine if the explanations align with human intuition for the particular use case at hand.

Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 46 of its 59 references that are in the map. First posted on arXiv 9 May 2022.

Builds on

46 of 59 references.

References · 46

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  4. 2017A Unified Approach to Interpreting Model Predictionscited by 6,488
  5. 2016"Why Should I Trust You?": Explaining the Predictions of Any Classifiercited by 5,040
  6. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  8. 2017Axiomatic Attribution for Deep Networkscited by 3,350
  9. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  10. 2016Enriching Word Vectors with Subword Informationcited by 1,578
  11. 2017Learning Important Features Through Propagating Activation Differencescited by 1,454
  12. 2015Show, Attend and Tell: Neural Image Caption Generation with Visual Attentioncited by 1,421
34 more
  1. 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,400
  2. 2019What Does BERT Look At? An Analysis of BERT's Attentioncited by 994
  3. 2019Attention is not Explanationcited by 916
  4. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 913
  5. 2020Quantifying Attention Flow in Transformerscited by 759
  6. 2019Attention is not not Explanationcited by 629
  7. 2020Towards Faithfully Interpretable NLP Systems: How should we define and evaluate faithfulness?cited by 590
  8. 2019ERASER: A Benchmark to Evaluate Rationalized NLP Modelscited by 523
  9. 2019Is Attention Interpretable?cited by 387
  10. 2018AllenNLP: A Deep Semantic Natural Language Processing Platformcited by 347
  11. 2016Understanding Neural Networks through Representation Erasurecited by 223
  12. 2015Visualizing and Understanding Neural Models in NLPcited by 199
  13. 2020A Diagnostic Study of Explainability Techniques for Text Classificationcited by 158
  14. 2022The Disagreement Problem in Explainable Machine Learning: A Practitioner's Perspectivecited by 156
  15. 2020The elephant in the interpretability room: Why use attention as explanation when we have saliency methods?cited by 122
  16. 2019On Identifiability in Transformerscited by 115
  17. 2020TimeSHAP: Explaining Recurrent Models through Sequence Perturbationscited by 73
  18. 2019Attention Interpretability Across NLP Taskscited by 71
  19. 2016Investigating the influence of noise and distractors on the interpretation of neural networkscited by 54
  20. 2019Natural Language Understanding with the Quora Question Pairs Datasetcited by 51
  21. 2020Towards Transparent and Explainable Attention Modelscited by 47
  22. 2018Interpretable Credit Application Predictions With Counterfactual Explanationscited by 43
  23. 2021Evaluating Saliency Methods for Neural Language Modelscited by 37
  24. 2021Order in the Court: Explainable AI Methods Prone to Disagreementcited by 36
  25. 2021Is Sparse Attention more Interpretable?cited by 31
  26. 2021Attention Flows are Shapley Value Explanationscited by 30
  27. 2016Interpretation of Prediction Models Using the Input Gradientcited by 24
  28. 2019On the Convergence Proof of AMSGrad and a New Versioncited by 21
  29. 2020Staying True to Your Word: (How) Can Attention Become Explanation?cited by 18
  30. 2020To what extent do human explanations of model behavior align with actual model behavior?cited by 18
  31. 2020Preserving Integrity in Online Social Networkscited by 14
  32. 2019Understanding Multi-Head Attention in Abstractive Summarizationcited by 12
  33. 2021Thermostat: A Large Collection of NLP Model Explanations and Analysis Toolscited by 11
  34. 2020Predicting Declension Class from Form and Meaningcited by 5

Built on by

Cited by year

Citing papers per year: 2023: 7; 2024: 4; 2025: 2.

13 papers.

Sort: