Skip to main content
QUICK REVIEW

[Paper Review] Understanding Individual Decisions of CNNs via Contrastive Backpropagation

Jindong Gu, Yinchong Yang|arXiv (Cornell University)|Dec 5, 2018
Explainable Artificial Intelligence (XAI)Computer Science35 references9 citations
TL;DR

This paper proposes Contrastive Layer-wise Relevance Propagation (CLRP), a method that enhances class-discriminative, pixel-wise explanations for individual deep neural network decisions by modeling contrastive signals from opposing visual concepts. Unlike LRP, which produces non-discriminative saliency maps, CLRP generates instance-specific, neuron-discriminative explanations that reveal differences in feature attention across neurons, validated through qualitative visualization and quantitative ablation studies.

ABSTRACT

A number of backpropagation-based approaches such as DeConvNets, vanilla Gradient Visualization and Guided Backpropagation have been proposed to better understand individual decisions of deep convolutional neural networks. The saliency maps produced by them are proven to be non-discriminative. Recently, the Layer-wise Relevance Propagation (LRP) approach was proposed to explain the classification decisions of rectifier neural networks. In this work, we evaluate the discriminativeness of the generated explanations and analyze the theoretical foundation of LRP, i.e. Deep Taylor Decomposition. The experiments and analysis conclude that the explanations generated by LRP are not class-discriminative. Based on LRP, we propose Contrastive Layer-wise Relevance Propagation (CLRP), which is capable of producing instance-specific, class-discriminative, pixel-wise explanations. In the experiments, we use the CLRP to explain the decisions and understand the difference between neurons in individual classification decisions. We also evaluate the explanations quantitatively with a Pointing Game and an ablation study. Both qualitative and quantitative evaluations show that the CLRP generates better explanations than the LRP. The code is available.

Motivation & Objective

  • To evaluate the discriminativeness of explanations generated by Layer-wise Relevance Propagation (LRP) for individual classification decisions.
  • To analyze the theoretical foundation of LRP, particularly Deep Taylor Decomposition, and identify its limitations in producing class-discriminative explanations.
  • To propose a novel method, Contrastive Layer-wise Relevance Propagation (CLRP), that produces instance-specific, class-discriminative, and pixel-wise explanations for individual decisions in deep convolutional networks.
  • To enable the visualization and understanding of differences in neuron activation patterns within a single classification decision, especially in fully connected layers.
  • To provide a computationally efficient, GPU-accelerated implementation of LRP and CLRP using PyTorch to overcome inefficiencies in prior work.

Proposed method

  • CLRP models a contrastive signal by introducing an opposite visual concept, represented as the activation of remaining neurons in the same layer, to enhance class-discriminiveness.
  • Two variants of CLRP are proposed: CLRP1 uses the average activation of other neurons in the same layer as the contrastive signal, while CLRP2 uses the maximum activation of other neurons.
  • The method applies a modified relevance propagation rule that incorporates the contrastive signal to redistribute relevance from output to input, ensuring discriminative attribution.
  • Relevance is propagated layer-by-layer using a linear approximation based on Deep Taylor Decomposition, with adjustments to emphasize differences between target and contrasting classes.
  • The approach leverages instance-specific structure information (ISSInfo), such as ReLU masks and pooling switches, to ensure explanations are instance-specific.
  • A GPU-optimized PyTorch implementation is developed to enable efficient inference, addressing computational inefficiencies in prior LRP implementations.

Experimental results

Research questions

  • RQ1Are the saliency maps generated by LRP truly class-discriminative for individual classification decisions?
  • RQ2What is the theoretical basis of LRP, and does it inherently support discriminative explanation generation?
  • RQ3Can a contrastive signal derived from opposing visual concepts improve the discriminativeness of explanation maps in deep networks?
  • RQ4How do individual neurons in a fully connected layer differ in their attention patterns for a single input image?
  • RQ5Can quantitative metrics such as the Pointing Game and ablation studies validate the superiority of CLRP over LRP?

Key findings

  • LRP generates non-discriminative saliency maps that are nearly identical across different neurons in the same layer, failing to capture distinct feature attention patterns.
  • CLRP2 produces meaningful, neuron-specific explanations showing that different neurons focus on distinct image regions, such as the lion, gorilla, or elephant’s eye in a toyshop image.
  • The ablation study confirms that removing the discriminative patch identified by CLRP2 causes a significant drop in the corresponding neuron’s activation, validating the relevance of the explanation.
  • The Pointing Game and ablation study results demonstrate that CLRP generates more accurate and discriminative explanations than LRP.
  • CLRP achieves better qualitative and quantitative performance, with CLRP2 showing superior ability to reveal inter-neuron differences in feature attention.
  • The GPU-optimized PyTorch implementation of CLRP significantly improves computational efficiency compared to prior LRP implementations.

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.