Controlling explanatory heatmap resolution and semantics via decomposition depth

Sebastian Bach, Alexander Binder, Klaus-Robert Müller, Wojciech Samek

TL;DR

This paper introduces a novel method to control the resolution and semantic meaning of "heatmaps" that explain how deep learning models make decisions. By adjusting the "decomposition depth" of the Layer-wise Relevance Propagation (LRP) algorithm, researchers can generate heatmaps that highlight either fine-grained local details or broader object structures, offering a more nuanced understanding of model behavior.

What Problem Does This Paper Address?

Deep learning models, particularly those with many layers like Convolutional Neural Networks (CNNs) and Fisher Vector (FV) classifiers, are incredibly powerful but often act as "black boxes." Understanding why a model makes a specific prediction is crucial for debugging, building trust, and identifying potential biases. While methods like Layer-wise Relevance Propagation (LRP) exist to generate "heatmaps" that visualize which parts of an input image contribute most to a prediction, these heatmaps can sometimes lack clarity. Specifically, the level of detail (resolution) and the semantic meaning (what features are being highlighted) can be difficult to interpret. This paper addresses the challenge of controlling these aspects of LRP-generated heatmaps to provide more insightful explanations.

Methods

The core contribution of this paper is the introduction of a "mapping influence cut-off point" within the Layer-wise Relevance Propagation (LRP) algorithm. LRP works by propagating relevance scores from the model's output back to the input layer, attributing contributions to each component.

  • Layer-wise Relevance Propagation (LRP): This is the foundational technique. It decomposes the prediction score of a classifier layer by layer, assigning relevance scores to the inputs of that layer based on their contribution to the output.
  • Decomposition Depth Control: The authors propose controlling the "depth" of this decomposition. By choosing a specific layer as a "cut-off point," they can stop the propagation of relevance scores earlier or later in the network.
  • Higher Resolution Heatmaps: When LRP is applied fully to the input layer (no cut-off), it tends to produce heatmaps with higher resolution, highlighting very local features.
  • Lower Resolution Heatmaps: By introducing a cut-off point at a higher layer (closer to the output), the relevance scores are effectively averaged or distributed across larger regions. This results in lower-resolution heatmaps that capture broader object structures or semantic concepts.
  • Specific Adaptations: The paper details how this control is applied to both Deep Neural Networks (DNNs) and Fisher Vector (FV) classifiers, noting specific decomposition rules (e.g., the $\alpha/\beta$-weighted rule for DNNs and an $\epsilon$-stabilized rule for FV) and how to relate local feature dimensions back to pixel grids for FV.

Datasets

  • PASCAL VOC 2007: This dataset is used for evaluating the heatmap explanations. The authors use test images from this dataset to demonstrate their method.

Key Insights and Ideas

  • Controllable Granularity: The most significant insight is that the resolution and semantic focus of explanatory heatmaps are not fixed but can be deliberately controlled by adjusting the LRP decomposition depth.
  • Local vs. Global Focus: Higher resolution heatmaps (no cut-off) reveal fine-grained local cues that a classifier focuses on, which can sometimes be misleading or too detailed. Lower resolution heatmaps (with cut-off) provide a broader view, highlighting more abstract object structures and semantic concepts, which can be more interpretable for overall decision-making.
  • Classifier-Specific Behavior: The paper shows that different classifier architectures (DNNs vs. FV) exhibit distinct behaviors even when presented with the same input and task. DNNs might abstract object appearances more effectively, while FV classifiers might rely on simpler, more local rules.
  • Bridging the Gap: For FV classifiers, which inherently lose spatial information during feature extraction, the method provides a way to map relevance scores back to pixel coordinates, increasing the resolution of explanations.

Key Results

  • Qualitative Analysis: The paper presents qualitative results (Figure 1) demonstrating how heatmaps change with different decomposition depths for both DNN and FV models. These figures visually show how higher resolution heatmaps highlight specific local features (e.g., eye-like pebbles for a dog image), while lower resolution heatmaps focus on more general object parts (e.g., the overall structure of a dog's face).
  • Improved Interpretability: The authors argue that by choosing an appropriate cut-off point, explanations can be tailored to specific aspects of the model's perception, leading to better understanding. For instance, a low-resolution heatmap might identify a malignant tissue region, while a high-resolution one could verify the specific visual cues leading to that classification.
  • Performance Comparison: While the primary focus is on explanation quality, the paper notes that the FV and DNN classifiers used achieve competitive average precision (AP) scores on the PASCAL VOC 2007 dataset (Table 1).

Limitations and Future Work

  • Limitations:
    • The paper acknowledges that for simple fully connected layers in DNNs, applying this cut-off approach might render lower layer relevances meaningless, as spatial structure is lost.
  • For FV classifiers, while the resolution can be increased, the inherent loss of spatial information during feature extraction still poses a challenge for perfect pixel-level attribution.
  • Future Work:
    • The authors suggest that this controllable heatmap generation opens up possibilities for automated assistance in various problem settings, such as localizing target content upon detection and then highlighting characteristic features.
  • They envision applications in domains like medical imaging, where low-resolution heatmaps could assist in initial screening, and high-resolution heatmaps could aid in detailed verification.

Summary updated

BibTeX
@inproceedings{bach2016controlling,
  author = {Sebastian Bach and Alexander Binder and Klaus-Robert Müller and Wojciech Samek},
  title = {{Controlling explanatory heatmap resolution and semantics via decomposition depth}},
  booktitle = {ICIP},
  year = {2016},
  doi = {10.1109/icip.2016.7532763},
}
Figure