Introduction
Explainable AI (XAI) aims to demystify the "black box" of deep neural networks by identifying which input features drive a model's prediction. However, many popular attribution methods, such as Guided Backprop and Deconvnet, have been criticized for being "unfaithful." These methods often produce visually appealing heatmaps that act more like edge detectors than true reflections of a model's internal logic. This paper introduces MIP-IN (Mutual Information Preserving Inverse Network), a framework designed to produce mathematically faithful and class-sensitive saliency maps by inverting network layers while preserving mutual information.
Methodology
MIP-IN frames attribution as a signal reconstruction problem. Instead of relying on heuristic back-propagation rules, it seeks a "source signal" in the input space that maximizes mutual information with the network's output.
Mutual Information Preservation
The core theoretical contribution is the use of Fano’s inequality to demonstrate that minimizing the L2 reconstruction error between layers during a backward pass serves as a proxy for maximizing mutual information. This ensures that the generated explanation captures the information most critical to the model's decision.
Layer-wise Inverse Network
MIP-IN recursively trains parameters for each layer to learn an inverse transformation. This approach is applied to both dense and convolutional layers, moving beyond simple weight transposition.
Local Adaptation via Forward ReLU
To tailor explanations to specific input images, MIP-IN utilizes "activation switches" from the forward pass. By forcing neurons that were inactive during the forward pass to remain inactive during inversion, the method effectively masks irrelevant features, ensuring the attribution is locally faithful to the specific sample.
Experimental Setup
The authors evaluated MIP-IN on three benchmarks to ensure robustness across varying complexities:
- MNIST: Initial sanity checks on MLP and CNN architectures.
- CIFAR-10: Testing on more complex CNNs with small color images.
- ImageNet (ILSVRC): Large-scale evaluation using pre-trained VGG19 and ResNet50 models.
Key Insights and Results
The research highlights that visual quality does not equate to faithfulness. While some methods produce "pretty" maps, they often fail basic sanity checks, such as remaining unchanged when model weights are randomized.
Faithfulness and Class Sensitivity
MIP-IN demonstrates high sensitivity to target class labels. Unlike many baselines that produce nearly identical maps regardless of whether the query is "Why is this a dog?" or "Why is this a cat?", MIP-IN's heatmaps shift significantly to reflect class-specific features.
Quantitative Performance
- Localization Accuracy: On ImageNet with VGG19, MIP-IN achieved a localization accuracy of 0.648, significantly outperforming SmoothGrad (0.518) and Deconvnet (0.226).
- Completeness: Using the Average Percentage Change (APC) metric, the authors showed that MIP-IN's source signals contain nearly all information necessary for the prediction while excluding irrelevant background noise.
Conclusion and Future Work
MIP-IN provides a rigorous, information-theoretic foundation for attribution. While it requires a recursive training step, the computational cost is manageable (often under a minute). Future work aims to extend this framework to explain intermediate layers and generate broader class-level explanations.
Summary updated