Introduction
Prototype-based image recognition models, such as ProtoPNet, are often considered inherently "interpretable" because they operate on a "this looks like that" logic. To classify a test image, these models identify a patch and compare it to a learned prototype from the training set. For example, a bird might be classified as a White Pelican because a patch of its beak resembles a prototypical pelican beak.
However, a critical gap remains: Prototype Ambiguity. While a human might assume the model is focusing on the shape of the beak, the model might actually be prioritizing the orange hue or the texture of the feathers. If the human's reasoning differs from the model's, the system is not truly interpretable. This paper introduces a method to quantify the importance of specific visual characteristics—hue, shape, texture, saturation, and contrast—to explain why a model considers two patches similar.
Methods
The authors propose a framework to calculate Importance Scores for five key visual characteristics: Hue, Saturation, Contrast, Shape, and Texture. The core technique involves a sensitivity analysis through image modification.
Prototype Extraction and Modification
The baseline model extracts prototypical patches from training images based on activation maps, identifying the regions the model finds most representative of a class.
To determine which features the model values, the researchers generate five modified versions of a given image patch. For instance, they might blur the image to remove texture, warp it to distort shape, or jitter colors to change the hue.
Quantifying Importance
The original and modified patches are fed into the pre-trained model. If the similarity score drops significantly after a specific modification (e.g., blurring), that characteristic (e.g., Texture) is assigned a high importance score.
- Local Importance explains specific predictions (why this patch looks like that prototype).
- Global Importance aggregates these scores across the training set to define the general semantic meaning of a prototype (e.g., identifying a "Red Hue" detector).
Results and Insights
The method was evaluated using the Caltech-UCSD Birds (CUB-200-2011) dataset, a standard benchmark for fine-grained classification. The model achieved a baseline accuracy of 78.3%.
Key Findings
- Human-CNN Divergence: The study confirms that while humans are often biased toward shape, CNNs frequently prioritize texture and color.
- Unmasking Misleading Prototypes: Importance scores revealed cases where prototypes that appeared to represent shapes (like a "red foot") were actually only functioning as color detectors (red hue), ignoring the shape entirely.
- Redundancy Discovery: Global importance scores identified redundant prototypes within the model that focused on identical visual characteristics, suggesting opportunities for model pruning.
- Robustness: Welch t-tests showed no significant difference between global importance scores from training vs. test sets (p-values < $3.5 \times 10^{-11}$), indicating that the explanations capture fundamental model strategies.
Conclusion
This research addresses the "black box" nature of similarity in prototype-based models. By disentangling visual characteristics, the proposed method provides a more granular and faithful explanation of model reasoning. Future work may explore interactions between features and expand the vocabulary of characteristics beyond the initial five.
Summary updated