Skip to main content
QUICK REVIEW

[Paper Review] Evaluation and Improvement of Interpretability for Self-Explainable Part-Prototype Networks

Qihan Huang, Mengqi Xue|arXiv (Cornell University)|Dec 12, 2022
Machine Learning in Materials ScienceMaterials Science4 citations
TL;DR

This paper proposes a quantitative benchmark for evaluating interpretability in part-prototype networks using two novel metrics: consistency score and stability score. It introduces a refined ProtoPNet with a shallow-deep feature alignment (SDFA) module and a score aggregation (SA) module, achieving state-of-the-art performance in both accuracy and interpretability across three benchmarks with significant gains in prototype consistency and robustness.

ABSTRACT

Part-prototype networks (e.g., ProtoPNet, ProtoTree, and ProtoPool) have attracted broad research interest for their intrinsic interpretability and comparable accuracy to non-interpretable counterparts. However, recent works find that the interpretability from prototypes is fragile, due to the semantic gap between the similarities in the feature space and that in the input space. In this work, we strive to address this challenge by making the first attempt to quantitatively and objectively evaluate the interpretability of the part-prototype networks. Specifically, we propose two evaluation metrics, termed as consistency score and stability score, to evaluate the explanation consistency across images and the explanation robustness against perturbations, respectively, both of which are essential for explanations taken into practice. Furthermore, we propose an elaborated part-prototype network with a shallow-deep feature alignment (SDFA) module and a score aggregation (SA) module to improve the interpretability of prototypes. We conduct systematical evaluation experiments and provide substantial discussions to uncover the interpretability of existing part-prototype networks. Experiments on three benchmarks across nine architectures demonstrate that our model achieves significantly superior performance to the state of the art, in both the accuracy and interpretability. Our code is available at https://github.com/hqhQAQ/EvalProtoPNet.

Motivation & Objective

  • To address the lack of objective, quantitative evaluation of interpretability in part-prototype networks, which currently rely on subjective visualization or human evaluation.
  • To identify and quantify two core interpretability flaws: inconsistency (prototype mapping to different object parts across images) and instability (prototype mapping to different parts under small input perturbations).
  • To develop a reproducible, objective evaluation framework using dataset-level object part annotations to assess prototype interpretability.
  • To improve the interpretability of part-prototype networks through architectural innovations that enhance prototype consistency and robustness.
  • To establish a benchmark for evaluating and advancing self-explainable models beyond qualitative visualization.

Proposed method

  • Proposes a consistency score metric to quantify whether a prototype consistently activates the same object part across different images, based on spatial alignment with ground-truth part annotations.
  • Introduces a stability score metric to measure how consistently a prototype activates the same object part under small input perturbations, using adversarial or natural perturbations.
  • Designs a shallow-deep feature alignment (SDFA) module to align spatial similarity structures between shallow and deep feature maps, preserving spatial information in deep features.
  • Develops a score aggregation (SA) module that concentrates prototype activations within their assigned categories, reducing interference from other categories.
  • Applies the SDFA and SA modules to a revised ProtoPNet architecture, enhancing both feature representation and prototype matching accuracy.
  • Employs cosine similarity and spatial similarity matching (via Eq. 10) to compute structural alignment between shallow and deep features, with the similarity metric defined as $\mathrm{Sim}(t(z_{s}),t(z_{d}))=\frac{1}{\tilde{Z}}\sum\limits_{i=0}^{\tilde{Z}-1}e^{-\|t_{i}(z_{s})-t_{i}(z_{d})\|^{2}}$.
Figure 1 : (a) Inconsistency. A prototype may mistakenly correspond to different object parts in different images. (b) Instability. A prototype may mistakenly correspond to different object parts in the original image and the slightly perturbed image. The samples are from ProtoPNet trained on ResNet
Figure 1 : (a) Inconsistency. A prototype may mistakenly correspond to different object parts in different images. (b) Instability. A prototype may mistakenly correspond to different object parts in the original image and the slightly perturbed image. The samples are from ProtoPNet trained on ResNet

Experimental results

Research questions

  • RQ1To what extent do existing part-prototype networks exhibit consistent prototype-to-object-part mapping across different images?
  • RQ2How robust are the prototypes in part-prototype networks to small input perturbations in terms of their semantic interpretation?
  • RQ3Can architectural modifications improve both the consistency and stability of prototype-based explanations in part-prototype networks?
  • RQ4How do the proposed evaluation metrics (consistency and stability scores) compare to qualitative or human-based interpretability assessments?
  • RQ5What is the impact of feature alignment and score aggregation on the overall accuracy and interpretability of part-prototype networks?

Key findings

  • The proposed consistency score and stability score metrics successfully quantify interpretability flaws in existing part-prototype networks, revealing that prototypes often lack reliable semantic correspondence across images.
  • The SDFA module significantly improves spatial similarity alignment between shallow and deep feature maps, increasing the similarity score from 12.4% to 70.8% on ResNet34 for CUB-200-2011.
  • The SA module reduces the number of similar prototypes from other categories by up to 5.6 points (from 6.2 to 11.8) on Dense121, indicating reduced inter-category interference.
  • The full model with both SDFA and SA modules achieves state-of-the-art performance, with a 58.4% improvement in consistency score on ResNet34 and a 51.5% improvement on ResNet152.
  • Visualization results confirm that prototypes in the proposed model consistently activate the same object parts (e.g., head) across training and test images, while baseline models show erratic and inconsistent attention.
  • The method outperforms existing part-prototype networks on three benchmarks (CUB-200-2011, Stanford Cars, PartImageNet), demonstrating superior accuracy and interpretability.
Figure 2 : (a) Shallow feature maps of an image retain spatial information that deep feature maps lack (the features are from one channel of the feature map). (b) A prototype from Chipping Sparrow tends to match the wing, but meanwhile it has to paradoxically ignore almost the same wing of Field Spa
Figure 2 : (a) Shallow feature maps of an image retain spatial information that deep feature maps lack (the features are from one channel of the feature map). (b) A prototype from Chipping Sparrow tends to match the wing, but meanwhile it has to paradoxically ignore almost the same wing of Field Spa

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.