Skip to main content
QUICK REVIEW

[Paper Review] A Survey of the State of Explainable AI for Natural Language Processing

Marina Danilevsky, Kun Qian|arXiv (Cornell University)|Oct 1, 2020
Explainable Artificial Intelligence (XAI)Computer Science68 references113 citations
TL;DR

This survey reviews Explainable AI (XAI) approaches in NLP, categorizes explanation types, techniques, and visualizations, and discusses evaluation gaps and future directions.

ABSTRACT

Recent years have seen important advances in the quality of state-of-the-art models, but this has come at the expense of models becoming less interpretable. This survey presents an overview of the current state of Explainable AI (XAI), considered within the domain of Natural Language Processing (NLP). We discuss the main categorization of explanations, as well as the various ways explanations can be arrived at and visualized. We detail the operations and explainability techniques currently available for generating explanations for NLP model predictions, to serve as a resource for model developers in the community. Finally, we point out the current gaps and encourage directions for future work in this important research area.

Motivation & Objective

  • Provide a structured overview of how explainability is defined and used in NLP.
  • Summarize the main categories of explanations (local/global, self-explaining/post-hoc) and their implications.
  • Detail the prevalent techniques to derive and visualize explanations in NLP models.
  • Identify common evaluation methods and gaps hindering standardized assessment of explanations.
  • Suggest future research directions to advance explainability in NLP.

Proposed method

  • Classified NLP XAI work into local/global and self-explaining/post-hoc categories.
  • Compiled and summarized explainability techniques (feature importance, surrogate models, example-driven, provenance, declarative induction).
  • Described operations enabling explainability (first-derivative saliency, layer-wise relevance propagation, input perturbations, attention, LSTM gating signals, explainability-aware architectures).
  • Outlined visualization techniques (saliency heatmaps, raw declarative representations, natural language explanations, raw examples).
  • Reviewed evaluation approaches (informal evaluation, ground-truth comparison, human evaluation, counterfactual/erasure tests) and discussed coverage of the prediction process.

Experimental results

Research questions

  • RQ1What are the main categories of explanations used to interpret NLP model predictions?
  • RQ2Which explainability techniques and visualization methods are most commonly applied in NLP?
  • RQ3How are explanations typically evaluated, and what are the gaps in current evaluation practices?
  • RQ4What future directions are promising for advancing XAI in NLP?
  • RQ5How does explanation coverage of the predictive process vary across approaches?

Key findings

  • Local explanations dominate the literature (about 46 of 50 papers) compared to global explanations (4 papers).
  • Feature importance and surrogate-model approaches are the most frequently used explainability techniques in NLP.
  • Attention mechanisms and first-derivative saliency are widely used for feature importance explanations in NLP.
  • Evaluation of explanations is often informal or lacking standardized metrics, with ground-truth and human evaluation used in a subset of papers.
  • There is a call for clearer terminology, expanded evaluation metrics, and consideration of fidelity and the target end-user in explanations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.