Skip to main content
QUICK REVIEW

[Paper Review] Explaining Deep Neural Networks

Oana-Maria Camburu|arXiv (Cornell University)|Oct 4, 2020
Explainable Artificial Intelligence (XAI)Computer Science128 references22 citations
TL;DR

This PhD thesis investigates two key directions for explaining deep neural networks: feature-based post-hoc explanation methods and self-explanatory models that generate natural language explanations. It introduces a verification framework to test faithfulness of post-hoc methods, creates the e-SNLI dataset with 570K human-written explanations, and proposes an adversarial framework to detect inconsistent natural language explanations, revealing critical flaws in current models.

ABSTRACT

Deep neural networks are becoming more and more popular due to their revolutionary success in diverse areas, such as computer vision, natural language processing, and speech recognition. However, the decision-making processes of these models are generally not interpretable to users. In various domains, such as healthcare, finance, or law, it is critical to know the reasons behind a decision made by an artificial intelligence system. Therefore, several directions for explaining neural models have recently been explored. In this thesis, I investigate two major directions for explaining deep neural networks. The first direction consists of feature-based post-hoc explanatory methods, that is, methods that aim to explain an already trained and fixed model (post-hoc), and that provide explanations in terms of input features, such as tokens for text and superpixels for images (feature-based). The second direction consists of self-explanatory neural models that generate natural language explanations, that is, models that have a built-in module that generates explanations for the predictions of the model.

Motivation & Objective

  • To investigate the limitations of feature-based post-hoc explanation methods in faithfully capturing model decisions.
  • To develop a generic framework for verifying the faithfulness of post-hoc explanation methods using model-interpretability insights.
  • To collect and analyze a large-scale dataset of human-written natural language explanations for natural language inference.
  • To identify and detect inconsistent natural language explanations generated by self-explanatory neural models.
  • To propose an adversarial framework that targets exact sequence-level inconsistencies in sequence-to-sequence explanation generation.

Proposed method

  • Proposes a verification framework that uses a specific class of interpretable models to test whether post-hoc explanation methods accurately reflect the decision-making process of a target model.
  • Applies the verification framework to a sentiment analysis task, using sanity tests to evaluate three popular explanation methods (e.g., Grad-CAM, LIME, LRP).
  • Constructs the e-SNLI dataset by collecting ~570,000 human-written natural language explanations for the SNLI dataset, enriching it with explanation templates.
  • Identifies reusable explanation templates (entailment, neutral, contradiction) to systematically generate inconsistent explanation pairs for adversarial testing.
  • Designs an adversarial attack framework that generates exact target sequences to trigger inconsistent explanations (e.g., 'There is a dog' and 'There is no dog' for the same image).
  • Applies the adversarial framework to a state-of-the-art model on e-SNLI, demonstrating that it can generate a significant number of inconsistent explanations.

Experimental results

Research questions

  • RQ1Are there multiple valid ground-truth feature-based explanations for a single prediction, and do current post-hoc methods implicitly target different types of explanations?
  • RQ2Can we develop a generic, off-the-shelf framework to verify the faithfulness of post-hoc explanation methods across different tasks and models?
  • RQ3To what extent can neural models generate correct and consistent natural language explanations for their predictions?
  • RQ4How do natural language explanations at training time affect the model’s ability to generate faithful explanations at test time?
  • RQ5Can adversarial attacks be designed to generate exact, inconsistent natural language explanations, and how prevalent are such inconsistencies in state-of-the-art models?

Key findings

  • Post-hoc explanation methods often target different types of ground-truth explanations without explicit acknowledgment, and no single explanation fully captures the model’s decision process.
  • The proposed verification framework successfully identifies faithfulness issues in popular explanation methods, with sanity tests available at https://github.com/OanaMariaCamburu/CanITrustTheExplainer.
  • The e-SNLI dataset, publicly released at https://github.com/OanaMariaCamburu/e-SNLI, provides ~570,000 human-written natural language explanations for the SNLI dataset.
  • Experiments show that current self-explanatory models can generate inconsistent explanations, such as claiming both the presence and absence of an object in the same image.
  • The adversarial framework detects a significant number of inconsistent explanations in a state-of-the-art model, demonstrating that such flaws are prevalent and detectable.
  • The study reveals that even models trained with explanation supervision may still generate contradictory explanations, highlighting the need for robustness checks in explanation generation.

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.