Abstract
This paper presents a method to pursue a semantic and quantitative explanation for the knowledge encoded in a convolutional neural network (CNN). The estimation of the specific rationale of each prediction made by the CNN presents a key issue of understanding neural networks, and it is of significant values in real applications. In this study, we propose to distill knowledge from the CNN into an explainable additive model, which explains the CNN prediction quantitatively. We discuss the problem of the biased interpretation of CNN predictions. To overcome the biased interpretation, we develop prior losses to guide the learning of the explainable additive model. Experimental results have demonstrated the effectiveness of our method.
Introduction
Deep learning models, particularly Convolutional Neural Networks (CNNs), are often criticized for being "black boxes." While they achieve high accuracy, understanding the specific rationale behind their predictions is difficult. Existing visualization methods like Grad-CAM provide qualitative heatmaps showing where a network looks, but they fail to quantify how much specific semantic parts (e.g., a bird's wing vs. its head) contribute to the final classification score.
This paper proposes a framework to crack open this black box by distilling knowledge from a pre-trained CNN into an explainable additive model. This model decomposes the prediction into a weighted sum of human-understandable visual concepts, providing a transparent and measurable explanation of the network's logic.
Methodology: Distilling Logic into Additive Models
The core strategy involves treating the target CNN as a "performer" and building a separate "explainer" network to paraphrase its logic.
The Explainer Network
The explainer is designed as an additive model where the final output $y$ is approximated as a sum: $y \approx \sum \alpha_i y_i + b$. In this equation, $y_i$ represents the presence of a specific semantic concept (like an object part or face attribute), and $\alpha_i$ is the weight or contribution of that concept for a given input image. This allows the model to assign a specific percentage of "credit" to each semantic component.
Knowledge Distillation and Prior Losses
The explainer is trained to mimic the performer's output through knowledge distillation. Crucially, it does not use ground-truth labels; instead, it learns to "paraphrase" the performer's internal logic, even if that logic is flawed.
To prevent the explainer from developing its own biases (e.g., over-relying on a single feature to match the score), the authors introduce prior losses. These losses use a rough calculation of the performer's Jacobian (sensitivity to specific features) to guide the explainer toward a more honest, distributed representation of the logic during the early stages of training.
Experimental Evaluation
The method was evaluated on two primary tasks:
- Object Classification (Pascal-Part Dataset): Explaining animal classification (bird, cat, cow, dog, horse, sheep) using detected object parts like heads, torsos, and legs.
- Face Attribute Estimation (CelebA Dataset): Explaining global attributes like "attractive" or "young" using 39 other local attributes (e.g., "smiling," "pointy nose").
Key Results
- Reduced Interpretation Bias: The proposed method achieved significantly higher entropy in its contribution distributions (5.932 for VGG-16 vs. 4.392 for the baseline), indicating a more comprehensive report rather than focusing on a single feature.
- High Fidelity: The explainer networks maintained high classification accuracy, typically within 1-2% of the performer, proving they are faithful proxies for complex CNN logic.
- Ground-Truth Alignment: When compared to physical part-masking experiments, the estimated contributions were significantly more accurate, with the error in part contribution estimation dropping from 0.164 (baseline) to 0.089 (proposed method).
Conclusion
By moving from qualitative heatmaps to quantitative semantic reports, this research provides a more rigorous way to audit and trust neural networks. The ability to measure the "residual" difference—the part of the logic that cannot be mapped to known concepts—offers a clear metric for how much of a model's decision-making remains truly opaque. This framework paves the way for actively "debugging" and retraining biased networks by identifying exactly which semantic components are leading to incorrect or biased predictions.
Summary updated