Abstract
Deep learning models often operate as "black boxes," necessitating robust interpretability methods for high-stakes applications. Traditional Occlusion Sensitivity Analysis (OSA) suffers from out-of-distribution shifts when applying masks, which can mislead model interpretations. We present OSA-DAS, a framework that leverages data augmentations and deep feature subspace geometry to generate more accurate and stable explanation heatmaps. By representing augmented feature sets as low-dimensional subspaces and measuring structural similarity via canonical angles, OSA-DAS provides a class-agnostic, granular view of model decision-making that outperforms traditional gradient-based methods.
Introduction
The "black box" nature of deep neural networks poses a significant barrier to their adoption in critical domains like medicine or autonomous driving. While Occlusion Sensitivity Analysis (OSA) offers a direct way to probe model importance by masking image regions, it frequently introduces "Frankenstein" artifacts—occluded images that fall outside the training distribution—leading to noisy or misleading results. Furthermore, standard OSA typically relies on final classification scores, ignoring the rich semantic information stored in intermediate deep feature layers.
The OSA-DAS Framework
To address these limitations, the authors introduce Occlusion Sensitivity Analysis with Deep Feature Augmentation Subspace (OSA-DAS). The core innovation lies in treating the model's response to an image not as a single point, but as a distribution across various augmented views, providing a more stable signal for sensitivity analysis.
The process involves generating multiple augmented versions (using techniques like TrivialAugment) of both the original and occluded images. These are passed through the model to extract deep feature vectors from the final layer. Using Principal Component Analysis (PCA), these vectors are represented as low-dimensional subspaces ($\mathcal{V}$ and $\mathcal{V}_M$). The importance of an occluded region is then determined by measuring the "orthogonal degree" between these subspaces using canonical angles. To optimize efficiency, the framework employs gradient-guided sampling to identify "anchor points" for masks, focusing the analysis on regions the model is already sensitive to.
Experimental Results and Comparative Analysis
Evaluated on the ImageNet-1k benchmark across ResNet-50, ViT, and Swin Transformer architectures, OSA-DAS demonstrates significant improvements over baseline methods like Grad-CAM, Integrated Gradients, and standard Occlusion.
Key findings include:
- Quantitative Superiority: OSA-DAS achieves top scores on metrics that balance pixel importance (Insertion/Deletion) with explanation conciseness. This is measured by a new "Minimal Size" metric: the smallest percentage of pixels needed to recreate the model's original output.
- Visual Clarity: As shown in the qualitative comparisons, OSA-DAS heatmaps are smoother and more tightly focused on relevant object features (e.g., the body of a bird or the face of a lion) rather than background noise.
- Robustness: The method remains effective even when models misclassify an image, accurately highlighting the features the model did see, regardless of the final label assigned.
Discussion and Future Directions
While OSA-DAS provides superior interpretability, it comes with increased computational costs due to the multiple forward passes required for augmentations. Future work involves optimizing this overhead, perhaps by using faster gradient-based methods to initialize the search space for OSA-DAS. Additionally, the proposed "Minimal Size" metric offers a promising new standard for evaluating the causal validity of visual explanations, aligning more closely with the theoretical definition of an explanation.
Summary updated