[Paper Review] Explaining Convolutional Neural Networks through Attribution-Based Input Sampling and Block-Wise Feature Aggregation
This paper proposes SISE, a novel XAI method that enhances visual explainability of CNNs by aggregating attribution-based input sampling maps from multiple intermediate convolutional blocks, achieving high-resolution, class-discriminative explanation maps. By combining layer-wise feature attributions through a block-wise selection strategy and a refined fusion mechanism, SISE outperforms state-of-the-art methods in both visual quality and explanation completeness on natural and industrial datasets.
As an emerging field in Machine Learning, Explainable AI (XAI) has been offering remarkable performance in interpreting the decisions made by Convolutional Neural Networks (CNNs). To achieve visual explanations for CNNs, methods based on class activation mapping and randomized input sampling have gained great popularity. However, the attribution methods based on these techniques provide lower resolution and blurry explanation maps that limit their explanation power. To circumvent this issue, visualization based on various layers is sought. In this work, we collect visualization maps from multiple layers of the model based on an attribution-based input sampling technique and aggregate them to reach a fine-grained and complete explanation. We also propose a layer selection strategy that applies to the whole family of CNN-based models, based on which our extraction framework is applied to visualize the last layers of each convolutional block of the model. Moreover, we perform an empirical analysis of the efficacy of derived lower-level information to enhance the represented attributions. Comprehensive experiments conducted on shallow and deep models trained on natural and industrial datasets, using both ground-truth and model-truth based evaluation metrics validate our proposed algorithm by meeting or outperforming the state-of-the-art methods in terms of explanation ability and visual quality, demonstrating that our method shows stability regardless of the size of objects or instances to be explained.
Motivation & Objective
- To address the low spatial resolution and incomplete attribution in existing XAI methods for CNNs.
- To improve explanation quality by leveraging features from multiple intermediate layers rather than relying solely on the final convolutional layer.
- To develop a generalizable layer selection strategy applicable across all feedforward CNN architectures.
- To enhance visual clarity and completeness of explanation maps through attribution-based input sampling and feature aggregation.
- To validate the method using both ground-truth-based and model-truth-based evaluation metrics on diverse datasets and models.
Proposed method
- The method extracts visualization maps from intermediate convolutional blocks using an attribution-based input sampling technique that identifies salient input regions based on gradient sensitivity.
- A layer selection strategy is proposed to identify the most informative intermediate blocks across any feedforward CNN, ensuring comprehensive feature coverage.
- Feature maps from selected layers are processed via a gradient-based attribution mechanism to compute pixel-level relevance scores.
- A fusion module combines these layer-specific attribution maps using a learned or weighted linear combination to produce a refined, high-resolution explanation map.
- The method applies a thresholding function to select top 15% most influential pixels per input sample, which are then used to compute perturbation-based metrics for evaluation.
- The framework uses a modified score-cam-like aggregation strategy that improves spatial precision and class discriminability by focusing on relevant features across semantic levels.
Experimental results
Research questions
- RQ1Can multi-layer feature aggregation improve the spatial resolution and completeness of explanation maps in CNNs?
- RQ2How can a generalizable layer selection strategy be designed to extract meaningful intermediate representations across diverse CNN architectures?
- RQ3Does attribution-based input sampling outperform random perturbation methods in terms of explanation quality and computational efficiency?
- RQ4To what extent do lower-level features contribute to the final explanation, and how can they be effectively combined with high-level features?
- RQ5Can the proposed method achieve superior performance across both natural image and industrial anomaly detection datasets?
Key findings
- SISE achieves a Drop% of 61.06 and Increase% of 15.64 on ResNet-101 using model-truth metrics, outperforming Grad-CAM (67.44/12.46), Grad-CAM++ (64.10/12.96), RISE (63.25/15.63), and Score-CAM (64.29/10.35).
- The method runs in 9.21 seconds on a Tesla T4 GPU using ResNet-50, significantly faster than RISE (26.08s) and Extremal Perturbation (78.37s), while maintaining high-quality explanations.
- An ablation study shows that reducing the number of attribution masks from 1900 to 200 (by setting μ = 0.3) only causes minor boundary degradation, with runtime dropping to 2.18s.
- Further increasing μ to 0.5 reduces runtime to 0.65s with only a slight performance drop, indicating that low-gradient feature maps contribute minimally and can be safely ignored.
- Qualitative results demonstrate that SISE produces sharper, more localized explanation maps than CAM-based and perturbation-based methods, especially in distinguishing object boundaries.
- The method shows consistent performance across object sizes and instance types, indicating robustness and stability regardless of input scale.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.