Towards Better Visualizing the Decision Basis of Networks via Unfold and Conquer Attribution Guidance

Jung-Ho Hong, Woo-Jeoung Nam, Kyu-Sung Jeon, Seong-Whan Lee

TL;DR

This paper introduces UCAG, a novel post-hoc framework that improves the interpretability of deep neural networks by breaking down input images into smaller patches, analyzing each patch independently, and then intelligently combining these analyses. UCAG offers more detailed and accurate visualizations of network decisions, overcoming limitations of existing methods that often produce coarse or incomplete explanations.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) achieve impressive performance but often lack transparency, making it difficult to understand why they make certain decisions. While various "explainability" techniques exist to visualize which parts of an input image a network focuses on, these methods often produce explanations that are too coarse, miss important details, or are biased towards dominant features. This makes it challenging to fully trust or debug these models, especially in critical applications. The paper aims to address this by providing more granular, detailed, and accurate visual explanations that capture subtle but important decision-making cues.

Methods

The core of UCAG is its "Unfold and Conquer" strategy.

  1. Spatial Unfoldment: The input image is divided into a grid of smaller, potentially overlapping patches. These patches are then scaled up to a consistent size. This process allows the network to "see" different parts of the image in isolation and at a higher effective resolution than might be available in the network's deeper layers.
  2. Patch-wise Saliency Generation: Any existing post-hoc explanation method (like GradCAM or LRP) can be applied to each of these scaled patches. This generates a set of "partial explanations."
  3. Conquer with Geometrical Aggregation: The crucial step is combining these partial explanations. UCAG uses the network's own confidence scores for each patch to weight the importance of its corresponding partial explanation. Patches that the network is more confident about contribute more to the final explanation. This aggregation process, along with a duplication matrix to handle overlapping patches, creates a final, unified saliency map. This approach ensures that important details from various spatial views are preserved and integrated.

Datasets

The paper uses publicly available datasets for evaluation:

  • ImageNet-1k
  • Pascal VOC 2002
  • MS COCO
  • ImageNet segmentation dataset

Key Insights and Ideas

  • Decomposition is Key: Breaking down complex inputs into smaller, manageable parts allows for a more thorough analysis of how different regions contribute to a decision, especially when those regions might be overlooked by methods that only consider the entire image or very deep, compressed features.
  • Confidence as a Guide: Using the network's own confidence scores to weight the partial explanations is a clever way to ensure that the final explanation is driven by what the network actually believes is important, rather than just a uniform aggregation.
  • Resolution Agnosticism: The method is designed to be agnostic to the resolution of the input image and the specific explanation technique used, making it broadly applicable.
  • Preserving Detail: By analyzing patches and then re-aggregating, UCAG can retain fine-grained details that might be lost in the upsampling or averaging processes of other methods.

Key Results

UCAG demonstrates significant improvements across several evaluation metrics:

  • Qualitative: Figures and qualitative comparisons (e.g., Figure 1, 4, 5) show that UCAG produces clearer, more detailed, and more focused saliency maps compared to existing methods like GradCAM, RSP, and AGF, across different network architectures (ResNet50, DenseNet121, InceptionV3, VGG19).
  • Quantitative:
    • Deletion/Insertion Games: UCAG consistently achieves better scores, indicating that its explanations more accurately highlight the critical regions for decision-making. For example, Table 1 shows UCAG-enhanced GradCAM achieving higher AUC scores for deletion and insertion games.
  • Pointing Game: UCAG shows a "sizeable increment" in performance compared to other methods in pointing game evaluations (Table 2).
  • Density Assessment: UCAG improves positive and negative map densities (Table 5), suggesting more concentrated and accurate saliency regions.
  • mAP: In segmentation tasks, UCAG also shows improved performance (Table 4).

Limitations and Future Work

  • Computational Cost: As a post-hoc method that involves processing multiple patches, UCAG inherently increases computational cost compared to methods that operate directly on the network's output. However, the authors note that it is implemented batch-wise for efficiency and is more efficient than exponentially increasing image resolution.
  • Hyperparameter Tuning: The method involves hyperparameters like the number of segments and scaling factors, which might require tuning for optimal performance.
  • Future Work: The paper suggests that further research could explore more advanced aggregation strategies or investigate how UCAG can be integrated into the training process itself for even better interpretability. The authors also mention exploring its applicability to other domains beyond image classification.

Summary updated

Abstract

Revealing the transparency of Deep Neural Networks (DNNs) has been widely studied to describe the decision mechanisms of network inner structures. In this paper, we propose a novel post-hoc framework, Unfold and Conquer Attribution Guidance (UCAG), which enhances the explainability of the network decision by spatially scrutinizing the input features with respect to the model confidence. Addressing the phenomenon of missing detailed descriptions, UCAG sequentially complies with the confidence of slices of the image, leading to providing an abundant and clear interpretation. Therefore, it is possible to enhance the representation ability of explanation by preserving the detailed descriptions of assistant input features, which are commonly overwhelmed by the main meaningful regions. We conduct numerous evaluations to validate the performance in several metrics: i) deletion and insertion, ii) (energy-based) pointing games, and iii) positive and negative density maps. Experimental results, including qualitative comparisons, demonstrate that our method outperforms the existing methods with the nature of clear and detailed explanations and applicability.
BibTeX
@inproceedings{hong2023towards,
  author = {Jung-Ho Hong and Woo-Jeoung Nam and Kyu-Sung Jeon and Seong-Whan Lee},
  title = {{Towards Better Visualizing the Decision Basis of Networks via Unfold and Conquer Attribution Guidance}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i7.25954},
}
Figure