Skip to main content
QUICK REVIEW

[Paper Review] Evaluating neural network explanation methods using hybrid documents and morphological agreement

Nina Poerner, Benjamin Roth|arXiv (Cornell University)|Jan 19, 2018
Explainable Artificial Intelligence (XAI)Computer Science35 references8 citations
TL;DR

This paper introduces two novel, annotation-free evaluation paradigms—hybrid documents and morphosyntactic agreement—to assess explanation methods for NLP models. It proposes LIMSSE, a LIME-inspired method for word-order-sensitive models, and empirically demonstrates that LRP, DeepLIFT, and LIMSSE are the most effective explanation methods across CNNs, RNNs, and Quasi-RNNs.

ABSTRACT

The behavior of deep neural networks (DNNs) is hard to understand. This makes it necessary to explore post hoc explanation methods. We conduct the first comprehensive evaluation of explanation methods for NLP. To this end, we design two novel evaluation paradigms that cover two important classes of NLP problems: small context and large context problems. Both paradigms require no manual annotation and are therefore broadly applicable. We also introduce LIMSSE, an explanation method inspired by LIME that is designed for NLP. We show empirically that LIMSSE, LRP and DeepLIFT are the most effective explanation methods and recommend them for explaining DNNs in NLP.

Motivation & Objective

  • To address the lack of reliable, scalable evaluation methods for post-hoc explanation techniques in NLP.
  • To develop evaluation paradigms that do not rely on costly human annotations, enabling broad applicability across NLP tasks.
  • To evaluate the effectiveness of existing explanation methods (e.g., LIME, LRP, DeepLIFT) on diverse NLP architectures including CNNs, RNNs, and Quasi-RNNs.
  • To introduce and validate LIMSSE, a new explanation method tailored for word-order-sensitive models like RNNs and CNNs.
  • To provide empirical guidance on selecting the most reliable explanation methods for real-world NLP deployment, especially under regulatory requirements like GDPR.

Proposed method

  • Design the hybrid document paradigm: randomly concatenate fragments from different documents to create hybrid inputs, preserving class labels from the original documents.
  • Design the morphosyntactic agreement paradigm: use sentence pairs differing only in subject-verb agreement (e.g., 'the children [verb]' vs. 'the child [verb]') to evaluate explanation methods on long-distance dependencies.
  • Introduce LIMSSE (Local Importance Model with Substitution and Shuffling), a LIME-inspired method that generates perturbed inputs by masking and substituting words to estimate feature importance.
  • Apply explanation methods (LIMSSE, LRP, DeepLIFT, etc.) to task models (CNN, GRU, LSTM, etc.) on both paradigms to generate relevance scores for input tokens.
  • Use the ground truth from model predictions on hybrid and agreement tasks to validate explanation fidelity: correct explanation methods should assign high relevance to the correct input fragments.
  • Evaluate explanation quality using metrics like correlation with ground truth relevance and consistency across perturbations.

Experimental results

Research questions

  • RQ1How effective are existing explanation methods (e.g., LRP, DeepLIFT, LIME) in explaining predictions of NLP models on small-context tasks?
  • RQ2Can explanation methods reliably identify the correct linguistic cues in large-context tasks involving long-distance dependencies, such as subject-verb agreement?
  • RQ3How does LIMSSE compare to other explanation methods in terms of accuracy and consistency on both hybrid document and morphosyntactic agreement tasks?
  • RQ4To what extent do human-annotated relevance benchmarks align with model-internal attention patterns, and why might they be misleading?
  • RQ5Which explanation method is most robust and reliable across diverse NLP architectures (CNNs, RNNs, Quasi-RNNs) and task types?

Key findings

  • The hybrid document paradigm successfully evaluates explanation methods on small-context tasks without requiring manual annotations, enabling scalable evaluation.
  • The morphosyntactic agreement paradigm provides a reliable, automatic benchmark for evaluating explanation methods on long-context NLP tasks involving subject-verb agreement.
  • LIMSSE outperforms other methods in the hybrid document evaluation, particularly in identifying relevant fragments in mixed-document inputs.
  • LRP and DeepLIFT demonstrate the highest consistency across both evaluation paradigms, showing robust performance across diverse NLP architectures.
  • LIME-based methods, including LIMSSE, show strong performance on word-order-sensitive models like RNNs and CNNs, outperforming methods not designed for such architectures.
  • Human-annotated relevance benchmarks may not reflect model behavior, as shown by cases where models attend to rare words (e.g., 'Kolstad') not flagged by humans, underscoring the need for model-internal evaluation.

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.