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

UCAG (Unfold and Conquer Attribution Guidance) is a new post-hoc framework that significantly sharpens the "heatmaps" used to explain deep neural network decisions. By breaking an image into overlapping patches, analyzing them individually, and merging the results based on model confidence, it reveals fine-grained details that standard visualization methods typically overlook.

What Problem Does This Paper Address?

Deep Neural Networks (DNNs) are notoriously "black boxes." To understand why a model classifies an image as a "Goldfish" or a "Cheetah," researchers use saliency maps—visualizations that highlight the most influential pixels.

However, current methods like GradCAM or Layer-wise Relevance Propagation (LRP) face a fundamental hurdle: spatial compression. As data moves deeper into a network, spatial information is compressed into low-resolution feature maps. When these are projected back onto the original image, the resulting explanations are often coarse, blurry, and full of "noise" from non-salient regions. Simply upsampling the image doesn't solve the problem; as shown in the authors' motivation experiments, higher resolutions can actually distort neuron activations and degrade the quality of the explanation.

Figure 2: The motivations of our work. The scores of deletion and insertion games among various resolutions with Grad- CAM on the ImageNet dataset. We scaled the size of image from (224, 224) to (1120, 1120) utilizing the scale factor α. The performance of the original and our methods are repre- sented as dots and solid lines, respectively. We aim to present a resolution-agnostic method with the enhancement of inter- pretability.

Methods

The authors propose a three-stage framework called Unfold and Conquer Attribution Guidance (UCAG). The beauty of UCAG is that it is "post-hoc" and agnostic—it can be wrapped around almost any existing visualization technique.

  1. Spatial Unfoldment: Instead of processing the whole image at once, the framework "unfolds" it into a series of $n^2$ overlapping patches. These patches are then scaled up to maintain high-resolution input for the network.
  2. Patch-wise Saliency Generation: Each patch is fed into the network independently. The chosen explanation method (e.g., GradCAM, RAP, or AGF) generates a partial saliency map for just that sub-region.
  3. Conquer with Geometrical Aggregation: This is the "secret sauce." Not all patches are equally important. The framework weights each partial saliency map by the model's confidence score for that specific patch. Finally, it merges these weighted patches back into a single global map. To ensure smooth transitions, it uses a "duplication matrix" to average pixels in overlapping areas.
Figure 3: An overview of UCAG. The entire course is divided into three streams: i) unfoldment, ii) patch-wise saliency generation, and iii) conquer with aggregation. Through the unfolding process, the unfolded patches are individually delivered to the gradient/propagation-based visualization methods. Conquering is a procedure for integrating segmented explanations into a single explanation map with the corresponding confidence scores.

Datasets

The authors validated UCAG across several standard computer vision benchmarks:

  • ImageNet-1k: For general classification and saliency evaluation.
  • Pascal VOC 2007 & MS COCO 2014: Used specifically for "Pointing Games" to test localization accuracy.
  • ImageNet Segmentation Dataset: Used to measure how well the saliency maps align with actual object boundaries (mean Average Precision).

Key Insights and Ideas

  • Scrutinizing "Assistant Features": In a full image, the most dominant features often overwhelm smaller, "assistant" features that also contribute to a decision. By looking at patches, UCAG allows the network to "focus" on these obscured details.
  • Resolution Agnosticism: Unlike standard methods that struggle as resolution changes, UCAG remains robust. It effectively bypasses the deep-layer compression bottleneck by providing the network with high-resolution local views.
  • Confidence as a Filter: By weighting patches by confidence, the system automatically ignores patches that don't contain the target object, preventing them from adding noise to the final explanation.

Key Results

UCAG consistently outperformed state-of-the-art methods across multiple metrics:

  • Qualitative Improvement: As seen in Figure 4, UCAG produces much tighter, more detailed heatmaps that clearly delineate the subject (e.g., the individual foxes or the curves of a snake) compared to the original methods.
  • Causality (Deletion/Insertion): In the "Deletion Game," where pixels are removed to see how fast model confidence drops, UCAG achieved significantly lower scores (lower is better), meaning it identifies truly critical pixels more accurately.
  • Localization: In Pointing Games (Table 2 in the paper), UCAG-enhanced GradCAM reached 91.1% on VOC07, beating the original GradCAM's 86.6% and other specialized methods like CAMERAS.
Figure 4: Qualitative comparisons in VGG-19 and ResNet-50. UCAG improves the quality of the saliency map and has an advantage of agnostic to model and method. First and second rows in each group represent the original and our (marked as red) results, respectively. Additional results are illustrated in supplementary materials.

Limitations and Future Work

The primary drawback of UCAG is computational cost. Because the image is divided into $n^2$ patches, the framework requires multiple forward and backward passes through the network for a single image. While the authors mitigated this by implementing the framework batch-wisely, it remains more resource-intensive than a single-pass explanation.

Future work could explore more efficient ways to select patches—perhaps focusing only on regions with high initial saliency—or adapting the framework for real-time applications where computational budgets are tight.

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