[Paper Review] Unsupervised Learning of Neural Networks to Explain Neural Networks
This paper proposes an unsupervised explainer network that disentangles feature maps from a pre-trained CNN into interpretable object-part representations without using any labeled data. Using knowledge distillation, the explainer learns to reconstruct higher-layer features while enforcing each filter to represent a single object part, significantly boosting interpretability—over 80% of feature activation in VGG-based explainers came from interpretable parts with minimal information loss.
This paper presents an unsupervised method to learn a neural network, namely an explainer, to interpret a pre-trained convolutional neural network (CNN), i.e., explaining knowledge representations hidden in middle conv-layers of the CNN. Given feature maps of a certain conv-layer of the CNN, the explainer performs like an auto-encoder, which first disentangles the feature maps into object-part features and then inverts object-part features back to features of higher conv-layers of the CNN. More specifically, the explainer contains interpretable conv-layers, where each filter disentangles the representation of a specific object part from chaotic input feature maps. As a paraphrase of CNN features, the disentangled representations of object parts help people understand the logic inside the CNN. We also learn the explainer to use object-part features to reconstruct features of higher CNN layers, in order to minimize loss of information during the feature disentanglement. More crucially, we learn the explainer via network distillation without using any annotations of sample labels, object parts, or textures for supervision. We have applied our method to different types of CNNs for evaluation, and explainers have significantly boosted the interpretability of CNN features.
Motivation & Objective
- Address the lack of interpretability in deep CNNs, especially in middle-layer feature maps that are often chaotic and non-intuitive.
- Develop a method to automatically identify and extract human-interpretable object-part features from pre-trained CNNs without relying on annotations.
- Maintain the original CNN’s classification performance while enhancing feature interpretability through an auxiliary explainer network.
- Enable users to understand which object parts are encoded and activated for specific predictions, improving trust in model decisions.
- Minimize information loss during feature disentanglement by training the explainer to reconstruct higher-layer features via distillation.
Proposed method
- Train an explainer network as a lightweight auto-encoder attached to a pre-trained CNN (performer), with no architectural changes to the performer.
- Use interpretable convolutional filters in the explainer’s encoder, where each filter is constrained to represent a single object part via a novel filter loss function.
- Apply a filter loss that encourages each filter to activate only on a single, consistent region of an object (e.g., left eye, not multiple repeated edges), discouraging texture-like patterns.
- Train the explainer via knowledge distillation: minimize the reconstruction loss between the explainer’s decoded features and the original feature maps from the performer’s higher layers.
- Use receptive field visualization and Grad-CAM to validate that interpretable filters attend to specific, semantically meaningful object parts.
- Introduce a quantitative metric, the p-value, to measure the proportion of classification score contribution from interpretable features in the explainer.
Experimental results
Research questions
- RQ1Can we automatically discover and disentangle human-interpretable object-part representations from chaotic middle-layer feature maps of a pre-trained CNN without any supervision?
- RQ2To what extent can an unsupervised explainer network reconstruct the original feature maps of a CNN while preserving semantic interpretability?
- RQ3How does the filter loss function promote the learning of part-specific features over texture-like or repeated patterns?
- RQ4What is the quantitative contribution of interpretable features to the final classification decision, and how does it compare to the original CNN?
- RQ5Can the explainer network be used to diagnose which specific object parts are activated for a given prediction, improving model transparency?
Key findings
- For VGG-based explainers, over 80% of the activation scores in the feature maps came from interpretable filters, indicating strong disentanglement of object parts.
- The explainer achieved high reconstruction fidelity: classification accuracy on reconstructed features was within 1–4% of the original performer’s accuracy, with Δ Error (loss) of only 1–4%.
- The filter loss successfully encouraged each filter to represent a single object part, as shown by Grad-CAM attention maps focusing on distinct, semantically meaningful regions like head, neck, and torso.
- The explainer learned 58, 167, and 243 filters for head, neck, and torso of birds, respectively, demonstrating the ability to learn a structured, part-based representation.
- The Explainer+cls baseline, trained with classification loss instead of reconstruction, outperformed the performer in classification, suggesting that explainers can exceed original model performance when trained with different objectives.
- Receptive field visualizations confirmed that interpretable filters had localized, consistent receptive fields aligned with object parts, unlike the diffuse, texture-sensitive responses of ordinary filters.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.