Abstract
Deep learning models, particularly Convolutional Neural Networks (CNNs), often operate as "black boxes," making their decision-making processes difficult to interpret. We present Invertible Concept-based Explanations (ICE), a framework that explains CNN predictions using human-understandable concepts rather than individual pixels. By applying Non-negative Matrix Factorization (NMF) to internal feature maps, ICE extracts Non-negative Concept Activation Vectors (NCAVs). This approach is "invertible," allowing for a quantitative assessment of explanation fidelity. Our results on ImageNet and CUB datasets demonstrate that ICE maintains high computational fidelity while significantly improving human interpretability compared to traditional clustering or PCA-based methods.
Introduction
While saliency maps are widely used to highlight influential pixels in CNNs, they do not explain the semantic features—the "what"—that the model recognizes. Existing concept-based methods, such as Automated Concept-based Explanations (ACE), attempt to bridge this gap by clustering image segments. However, ACE lacks a mechanism to verify if the extracted concepts faithfully represent the model's internal logic and often produces inconsistent importance weights across similar images.
The ICE framework addresses these limitations by providing a mathematically rigorous and human-interpretable method for concept extraction.
Methods
The ICE framework redefines the process of extracting concepts from pre-trained CNNs through several key steps:
- Decomposition: The CNN is treated as a two-part system: a concept extractor (early layers) and a classifier (final layers).
- Non-negative Matrix Factorization (NMF): Recognizing that modern CNNs utilize ReLU activations (which are inherently non-negative), the authors apply NMF to internal feature maps. This decomposes complex activations into a set of NCAVs and their corresponding scores.
- Invertibility and Fidelity: Because NMF is a form of matrix factorization, it allows for the "reconstruction" of the model's prediction from the concepts alone. The difference between the original and reconstructed prediction serves as a direct measure of the explanation's fidelity.
- Linear Approximation: By targeting the layer immediately preceding Global Average Pooling (GAP), ICE derives consistent, linear weights for each concept, preventing importance fluctuations between similar inputs.
Experimental Evaluation
The framework was evaluated using the ImageNet (ILSVRC2012) and CUB (Caltech-UCSD Birds-200-2011) datasets, employing ResNet50 and Inception-V3 architectures.
Key Insights
- The Fidelity-Interpretability Trade-off: While PCA offers high mathematical fidelity, it often produces concepts that are not human-interpretable due to negative values. NMF provides a "Goldilocks" balance, maintaining high fidelity while ensuring concepts align with human perception.
- Falsifiable Interpretability: Interpretability is treated as a measurable metric. A human-subject study with 157 participants on Amazon Mechanical Turk demonstrated that NMF-generated prototypes are significantly more effective for human prediction of model behavior than PCA or clustering.
Results
- Computational Fidelity: ICE linear approximations resulted in only a 2-5% drop in accuracy compared to the original black-box models, indicating that the concepts captured the essential logic of the classifier.
- Consistency: The framework successfully provided both global explanations (class-level logic) and local explanations (image-specific logic) simultaneously.
Discussion and Limitations
While ICE represents a significant step forward, several challenges remain. The quality of extracted concepts is highly dependent on the chosen layer; while higher layers capture abstract concepts, lower layers may be necessary for different explanation types. Additionally, the method assumes a linear relationship in the final classifier, which may not hold for architectures with deep fully-connected stacks. Future work will focus on automating the selection of the optimal number of concepts for a given class.
Summary updated