Introduction: The Out-of-Distribution Pitfall
Perturbation-based Explainable AI (XAI) methods typically identify important image regions by removing patches and measuring the resulting drop in classifier confidence. However, this approach suffers from the Out-of-Distribution (OoD) problem. Replacing a patch with a gray box or noise creates an "unnatural" input that the classifier never encountered during training. Consequently, a drop in confidence might stem from the classifier's confusion over the artifact rather than the actual importance of the removed feature, leading to "unfaithful" attribution maps that highlight irrelevant regions.
Methodology: Generative Patch Sampling
To address the OoD problem, researchers at Seoul National University proposed a two-step improvement. First, they replace simple masking with a generative PatchSampler. This model predicts the content of a missing patch based on its surroundings, ensuring the perturbed image remains "in-distribution."
Second, the framework employs information-theoretic metrics to generate two distinct types of attribution maps:
- Information Gain (IG) Map: A class-independent measure of general salience, highlighting regions that are informative across all possible classes.
- Point-wise Mutual Information (PMI) Map: A class-specific measure that quantifies how much a patch supports or opposes a particular class.
Key Insights: The Power of Negative Evidence
A significant advantage of this approach is its ability to visualize "negative evidence." While traditional methods like Grad-CAM only show supporting features, the PMI map can identify features that contradict a classification.
For example, when a parachute is misclassified as a "balloon," the PMI map reveals that while the canopy supports the "balloon" label, the presence of ropes acts as evidence against it. This nuance provides a deeper understanding of the model's internal logic and helps identify why a classifier might be making specific errors.
Quantitative Results and Sanity Checks
The method was evaluated on the ImageNet dataset across various architectures, including VGG19, GoogLeNet, ResNet50, and DenseNet121. Using the Deletion AUC metric—where lower scores indicate higher faithfulness—the PMI maps significantly outperformed existing methods. For VGG19, the proposed method achieved a score of 0.075, compared to 0.121 for Grad-CAM and 0.246 for RISE.
Furthermore, the method passed standard "Sanity Checks for Saliency Maps" (Adebayo et al.), demonstrating sensitivity to both model weights and data labels. This proves that the maps are truly explaining the model's logic rather than acting as simple edge detectors.
Conclusion
By combining generative modeling with information theory, this framework produces visual explanations that are both more faithful to the model and more informative for the user. While generating these maps is computationally more intensive than gradient-based alternatives, the ability to distinguish between supporting and opposing evidence marks a significant step forward in making black-box classifiers truly interpretable.
Summary updated