DecomCAM: Advancing beyond saliency maps through decomposition and integration

Yuguang Yang, Runtang Guo, Sheng Wu, Yimi Wang, Linlin Yang, Bo Fan, Jilong Zhong, Juan Zhang, Baochang Zhang

Introduction

Deep learning models have achieved remarkable success across diverse domains, yet they often remain "black boxes" with decision-making processes that are difficult to interpret. To address this, researchers typically rely on Class Activation Maps (CAMs) to generate heatmaps that highlight the image regions most influential to a model's prediction. However, traditional methods like Grad-CAM face two significant hurdles: noise and entanglement. In modern architectures with thousands of channels, many activations represent background noise or irrelevant features that pollute the final heatmap. Furthermore, standard CAMs often fail to distinguish between distinct but co-occurring objects—for instance, failing to separate a "dog" from a "shirt" it might be wearing.

DecomCAM is a novel interpretability framework designed to move beyond these blurry, aggregate heatmaps. By employing a "Decomposition-and-Integration" pipeline, DecomCAM disentangles neural network activations into distinct, orthogonal components, providing a granular, part-based explanation of model reasoning.

The DecomCAM Framework

DecomCAM operates in two primary stages to refine the interpretability of Vision-Language Models (VLMs) and standard convolutional networks.

1. Decomposition Stage

To eliminate noise, the method first utilizes Gradient-Guided Selection. Rather than processing all available channels, DecomCAM selects the top-$P$ channels that exert the highest gradient impact on the target class.

Following selection, the framework applies Singular Value Decomposition (SVD) to the activation maps. This mathematical process breaks down complex, multi-channel data into Orthogonal Sub-Saliency Maps (OSSMs). These OSSMs represent the "principal components" of the model's focus, effectively isolating different visual attributes—such as a bird’s head versus its wings—into separate, non-overlapping maps.

2. Integration Stage

Once the features are decomposed, they must be recombined into a coherent explanation. Unlike previous methods that might simply sum these components, DecomCAM performs a rigorous "sanity check" through Contribution Weighting. The framework creates blurred versions of the input image where only the regions highlighted by a specific OSSM remain sharp. By measuring how much the model's confidence score changes when presented with these "partially revealed" images, DecomCAM assigns higher weights to the OSSMs that most significantly drive the model's prediction.

Experimental Evaluation

The authors evaluated DecomCAM across six diverse benchmarks to test both localization accuracy and causal faithfulness:

  • Localization Benchmarks: ImageNet-v2 (single-object) and MSCOCO 2017 (multi-object).
  • Part-Level Analysis: PartImageNet and PASCAL-Part were used to evaluate how well the method identifies specific object components.
  • The Pointing Game: Conducted on PASCAL VOC 2012 to determine if the heatmap's peak correctly hits the target object.
  • PS-ImageNet: A new "Performance-Stratified ImageNet" dataset introduced by the authors to evaluate interpretability across different tiers of model accuracy (from 10% to 100%).

Key Insights and Results

SVD as a Semantic Disentangler

A primary insight of this research is that SVD naturally separates semantic components. In complex scenes, such as an image containing both a person and a chair, DecomCAM can isolate the person in one OSSM and the chair in another. This shifts the paradigm of interpretability from merely asking "where is the object?" to "what specific parts of the concept is the model identifying?"

Quantitative Performance

DecomCAM demonstrated significant improvements over existing state-of-the-art methods:

  • Superior Localization: On ImageNet-v2, DecomCAM achieved a 57.01% MaxBoxAccV2 score, substantially outperforming Grad-CAM++ (46.23%) and EigenCAM (41.74%).
  • Precision: In the PASCAL VOC "Pointing Game," DecomCAM reached 86.86% accuracy, the highest among all tested methods.
  • Efficiency: Despite the computational overhead of SVD, DecomCAM remains highly efficient. Using a "Productivity" metric (Performance divided by Runtime), DecomCAM scored 218.68, whereas score-based methods like Score-CAM often score below 1.0 due to their extreme latency.

Conclusion and Future Work

DecomCAM provides a clearer, more faithful look at the internal reasoning of complex models by isolating individual visual attributes and weighting them by their actual contribution to model confidence. While the current implementation performs decomposition on a per-image basis, future work could extend this to identify common patterns across entire categories. Additionally, the authors suggest that DecomCAM could serve as a powerful tool for ethical auditing, helping researchers detect if a model is relying on biased or discriminatory features for its predictions.

Summary updated

BibTeX
@inproceedings{yang2024decomcam,
  author = {Yuguang Yang and Runtang Guo and Sheng Wu and Yimi Wang and Linlin Yang and Bo Fan and Jilong Zhong and Juan Zhang and Baochang Zhang},
  title = {{DecomCAM: Advancing beyond saliency maps through decomposition and integration}},
  booktitle = {Neurocomputing},
  year = {2024},
  doi = {10.1016/j.neucom.2024.127826},
}
Figure