Invertible Concept-based Explanations for CNN Models with Non-negative Concept Activation Vectors

Ruihan Zhang, Prashan Madumal, Tim Miller, Krista A. Ehinger, Benjamin I. P. Rubinstein

Introduction

Convolutional Neural Networks (CNNs) have achieved remarkable performance in computer vision, yet they remain largely "black boxes." Traditional interpretability methods often rely on saliency maps, which highlight influential pixels. However, pixel-level importance does not align with human cognition, which operates on high-level semantic concepts like "ears," "wings," or "textures."

Existing concept-based methods, such as Automated Concept-based Explanations (ACE), attempt to bridge this gap but suffer from three primary issues: inconsistent importance weights across images, significant information loss during the explanation process, and a lack of rigorous evaluation metrics for human interpretability. To address these challenges, researchers have introduced Invertible Concept-based Explanations (ICE), a framework that leverages Non-negative Matrix Factorization (NMF) to produce stable, human-understandable visual concepts.

The ICE Framework: From Pixels to Parts

The core innovation of ICE lies in its move away from traditional clustering (like k-means) toward Non-negative Matrix Factorization (NMF). By treating the early layers of a CNN as a concept extractor and the final layers as a classifier, ICE decomposes feature maps into Non-negative Concept Activation Vectors (NCAVs).

Why NMF?

Most modern CNNs utilize ReLU activation functions, which produce non-negative outputs. NMF is mathematically suited for this data, as it decomposes feature maps into an additive, "parts-based" representation. Unlike Principal Component Analysis (PCA), which allows for negative values and often results in abstract, noisy visualizations, NMF forces the model to represent images as a sum of positive parts. This aligns with how humans perceive objects—as a collection of distinct, additive features.

Figure 3: Visualization of concepts identified by the ICE framework. The red outlines highlight specific visual parts (e.g., dog ears, cat faces, background textures) that the model uses to make classifications.

Invertibility and Fidelity

A unique advantage of the ICE framework is its invertibility. Because NMF is a matrix factorization technique, the original feature maps can be mathematically reconstructed from the identified concepts. This allows researchers to pass the reconstructed data back through the classifier to measure Fidelity: how accurately the explanation captures the original model's logic. If the model's prediction remains the same using only the extracted concepts, the explanation is considered high-fidelity.

Experimental Evaluation

The framework was rigorously tested using the ILSVRC2012 (ImageNet) and CUB (Caltech-UCSD Birds) datasets.

The Fidelity-Interpretability Trade-off

The research highlights a fundamental tension: methods with the highest mathematical fidelity (like PCA) often produce the least interpretable concepts for humans. Conversely, ICE strikes a superior balance. In human subject experiments involving 157 participants, NMF-based explanations were found to be significantly more intuitive than those generated by k-means or PCA. Participants were notably better at predicting a model's final classification when shown NMF-derived concepts.

Quantitative Results

Computational tests showed that "approximate" models built using ICE concepts achieved accuracies within 2-5% of the original black-box models when utilizing 30 or more concepts. This demonstrates that the framework successfully captures the core logic of the CNN without sacrificing significant predictive power. Furthermore, by targeting the layer immediately preceding the Global Average Pooling (GAP) layer, the authors achieved consistent concept weighting regardless of an object's position in the frame.

Limitations and Future Directions

While ICE represents a significant step forward, it is not without limitations. The framework relies on linear approximations of non-linear models, meaning it may occasionally provide incorrect explanations. Additionally, the visualization process depends on "prototypes" (image patches), which could inadvertently reflect biases present in the training data. Finally, the computational cost remains high, requiring substantial GPU hours to generate global explanations for large-scale datasets like ImageNet.

Future work aims to optimize the NMF process for real-time explanation and explore how these invertible concepts can be used to "debug" models by identifying exactly which visual features lead to misclassifications.

Summary updated

BibTeX
@inproceedings{zhang2021invertible,
  author = {Ruihan Zhang and Prashan Madumal and Tim Miller and Krista A. Ehinger and Benjamin I. P. Rubinstein},
  title = {{Invertible Concept-based Explanations for CNN Models with Non-negative Concept Activation Vectors}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i13.17389},
}
Figure