[Paper Review] Sanity checks and improvements for patch visualisation in prototype-based image classification
This paper identifies critical flaws in patch visualisation methods used by prototype-based models like ProtoPNet and ProtoTree, showing they often mislocalize attention to irrelevant image regions. Using saliency methods like SmoothGrads and PRP, the authors demonstrate more faithful attribution, reducing false biases and improving explanation reliability on fine-grained datasets such as CUB-200-2011 and Stanford Cars.
In this work, we perform an in-depth analysis of the visualisation methods implemented in two popular self-explaining models for visual classification based on prototypes - ProtoPNet and ProtoTree. Using two fine-grained datasets (CUB-200-2011 and Stanford Cars), we first show that such methods do not correctly identify the regions of interest inside of the images, and therefore do not reflect the model behaviour. Secondly, using a deletion metric, we demonstrate quantitatively that saliency methods such as Smoothgrads or PRP provide more faithful image patches. We also propose a new relevance metric based on the segmentation of the object provided in some datasets (e.g. CUB-200-2011) and show that the imprecise patch visualisations generated by ProtoPNet and ProtoTree can create a false sense of bias that can be mitigated by the use of more faithful methods. Finally, we discuss the implications of our findings for other prototype-based models sharing the same visualisation method.
Motivation & Objective
- To investigate the reliability of patch visualisation in prototype-based image classification models like ProtoPNet and ProtoTree.
- To evaluate whether current visualisation methods accurately reflect model attention and decision-making processes.
- To propose and validate a more faithful relevance metric using object-level segmentation annotations.
- To assess the impact of backbone architecture (e.g., VGG19 vs. ResNet50) on prototype faithfulness and bias.
- To highlight the broader implications for self-explaining models relying on similar visualisation techniques.
Proposed method
- The authors use two fine-grained datasets—CUB-200-2011 and Stanford Cars—to evaluate visualisation fidelity.
- They compare standard upsampling-based visualisation with saliency methods: SmoothGrads and PRP (Pruning Relevance Propagation).
- A novel relevance metric is introduced, leveraging ground-truth object segmentation masks to assess whether prototypes and test patches focus on the correct object regions.
- A deletion metric is applied to quantitatively evaluate how much model confidence drops when relevant image regions are removed, measuring faithfulness of explanations.
- The study evaluates multiple backbone architectures (VGG19 and ResNet50) to assess their influence on prototype relevance and visualisation quality.
- The analysis is extended to other models sharing the same visualisation pipeline, such as ProtoPShare, ProtoPool, Deformable ProtoPNet, and TesNet.
Experimental results
Research questions
- RQ1Do the standard patch visualisation methods in ProtoPNet and ProtoTree accurately localize the regions of interest in test images and prototypes?
- RQ2How do saliency-based methods like SmoothGrads and PRP compare to upsampling in terms of faithfulness to the model’s actual decision-making process?
- RQ3To what extent does the use of object-level segmentation masks improve the evaluation of prototype relevance and reduce false bias in explanations?
- RQ4How does the choice of backbone architecture (e.g., VGG19 vs. ResNet50) affect the faithfulness and reliability of visualised patches?
- RQ5Are the observed issues in ProtoPNet and ProtoTree generalizable to other prototype-based models using the same visualisation pipeline?
Key findings
- The standard upsampling-based visualisation in ProtoPNet and ProtoTree frequently mislocalizes attention to background regions, creating a false sense of model bias.
- Saliency methods such as SmoothGrads and PRP produce significantly more faithful image patches, reducing the likelihood of mislocalisation.
- When using the proposed segmentation-based relevance metric, upsampling methods show poor alignment with the actual object of interest, whereas PRP and SmoothGrads demonstrate stronger correspondence.
- The deletion metric confirms that PRP and SmoothGrads preserve more predictive relevance when critical image regions are removed, indicating higher faithfulness.
- The study reveals that VGG19-based models exhibit a higher proportion of biased prototypes and test patches compared to ResNet50, indicating sensitivity to backbone choice.
- The findings suggest that the visualisation method—rather than the model architecture itself—can introduce misleading explanations, undermining trust in self-explaining models.
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.