Introduction
Deep learning image classifiers have achieved remarkable performance, yet they remain largely "black boxes." To build trust and ensure safety, researchers use saliency masks to identify which parts of an image drive a model's prediction. However, existing methods often struggle with a "Goldilocks" problem: they are either too noisy (unregularized) or too blurry (smoothly regularized). This paper introduces ShearletX, a mask-based explanation method that leverages the multiscale directional properties of the shearlet transform to produce crisp, artifact-free explanations.
The Challenge: Artifacts vs. Blurriness
Saliency masks aim to find a subset of pixels that preserve a classifier's prediction.
- Unregularized masks often "hallucinate" high-frequency patterns that trick the classifier but lack human-interpretable meaning.
- Smoothly regularized masks avoid these artifacts by forcing the mask to be blurry. While this identifies the general region of interest, it fails to isolate fine-grained features, such as the specific texture of an animal's fur or the sharp edges of an object, often including irrelevant background "nuisance" patterns.
Methodology: ShearletX and the Shearlet Transform
The core innovation of ShearletX is shifting the optimization from pixel space to the shearlet domain. Unlike standard wavelets, which are optimized for point-singularities, shearlets are designed to represent directional features like edges and ridges efficiently across multiple scales.
In ShearletX, the authors optimize a mask $m$ on digital shearlet coefficients. The objective function maximizes the retained class probability while enforcing sparsity (via an $\ell_1$-norm penalty) and penalizing spatial energy. This approach allows the method to act like a "scalpel," isolating important features with high precision. The authors also propose WaveletX as a baseline using the Discrete Wavelet Transform (DWT).
Theoretically, the authors prove that masking in the shearlet or wavelet domain cannot create new singularities (edges). This mathematical foundation explains why ShearletX is naturally resistant to the "hallucinations" that plague pixel-based methods.
Key Results and Evaluation
The authors evaluated ShearletX on ImageNet using architectures like VGG-19, ResNet18, and MobileNetV3Small. They introduced two key metrics:
- Hallucination Score (HS): Measures the number of "fake" edges created in the explanation that were not present in the original image.
- Conciseness-Preciseness (CP) Score: An information-theoretic metric measuring how much information the mask extracts relative to the retained classifier confidence.
Qualitatively, ShearletX outperforms smooth masks by successfully isolating objects from their backgrounds. For example, while a smooth mask might highlight a large blurry area around a bird, ShearletX can isolate the bird's specific features. Quantitatively, ShearletX consistently achieved the highest CP scores and maintained a near-zero Hallucination Score, matching the artifact resistance of smooth masks while providing much higher detail.
Conclusion and Future Work
ShearletX provides a robust framework for generating fine-grained, reliable explanations for image classifiers. By utilizing the directional sparsity of shearlets, it bridges the gap between blurry localization and noisy artifacts. While the current optimization-based approach is computationally more intensive than gradient-based methods (roughly 5x slower than smooth pixel masks), future work on "amortized" explanations—training neural networks to predict these masks in a single pass—could enable real-time application.
Summary updated