Improving Prototypical Visual Explanations with Reward Reweighing, Reselection, and Retraining

Aaron Jiaxun Li, Robin Netzorg, Zhihan Cheng, Zhuoqin Zhang, Bin Yu

Introduction

Deep learning models are often criticized as "black boxes," making them difficult to trust in high-stakes scenarios. Prototypical Part Networks (ProtoPNets) were designed to solve this by using "this looks like that" reasoning. They classify an image by comparing parts of it to learned "prototypes" (e.g., "this bird is a Red-winged Blackbird because this wing patch looks like a prototypical blackbird wing").

However, ProtoPNets suffer from a "spurious feature" problem. Instead of learning a bird’s beak, the model might learn to look at a specific branch in the background or a random patch of grass. When the model’s "reasons" for a decision are semantically meaningless, the interpretability of the system collapses. Previous attempts to fix this often required manual labeling or didn't explicitly quantify what a "good" explanation looks like to a human.

To address this, researchers have introduced the R3 framework (Reward Reweighing, Reselection, and Retraining), a new "debugging" pipeline for ProtoPNets. By training a reward model on human feedback, the authors align a model’s visual explanations with human intuition, simultaneously boosting both the interpretability of the model and its classification accuracy.

The R3 Framework

The authors propose a three-step post-processing framework to correct pretrained ProtoPNets:

The R3-ProtoPNet architecture integrates a pretrained reward model to evaluate and adjust prototypes based on human preference.
  1. Reward Learning: First, the researchers collect a small amount of human feedback. Users rate how well a prototype highlights a meaningful part of an object on a scale of 1 to 5. This data is used to train an offline Reward Model that can predict how much a human would "like" any given image-prototype pair.
  2. Reweighing & Reselection (R2):
    • Reweighing: The model uses the reward model to "pull" existing prototypes toward patches in the training data that have higher human-perceived quality.
  3. Reselection: If a prototype is fundamentally "broken" (e.g., it's stuck on a background pixel), the framework throws it out and replaces it with a new candidate that passes a high-reward threshold.
  4. Retraining: Changing the prototypes causes a temporary drop in accuracy because the rest of the network is no longer "in sync" with the new prototypes. The final step retrains the base features and the classifier layer to realign them with the improved, human-centric prototypes.

Experimental Setup

The researchers evaluated R3 on two primary fine-grained classification benchmarks:

  • CUB-200-2011 (Birds): The gold standard for this sub-field, featuring 200 bird species.
  • Stanford Cars: 196 classes of cars.
  • Human Feedback Data: They collected 700 ratings from Amazon Mechanical Turk workers to train the reward model, demonstrating that a relatively small amount of human input can effectively guide the model.

Key Results and Insights

A common myth in AI is that making a model more interpretable inherently makes it less accurate. This paper demonstrates the opposite: by forcing the model to ignore spurious background noise and focus on semantically meaningful parts, the model actually generalizes better to new data.

Accuracy comparison across different base architectures showing the initial drop during R2 and the final performance boost after R3 retraining.
  • Accuracy Boost: Across various architectures (VGG, ResNet, DenseNet), R3-ProtoPNet consistently outperformed the original models. For example, on the CUB dataset using a VGG-19 backbone, accuracy improved from 77.58% to 79.60%. As shown in the data, the intermediate R2 step causes a temporary drop in accuracy (down to 50.41%), which is fully recovered and surpassed during the R3 retraining phase.
  • Quantifiable Interpretability: The "Average Reward" (human preference score) increased by roughly 27.6%, and "Activation Precision" (how well the prototype stays on the actual object) improved by 18.6%.
  • Generalizability: The R3 framework isn't just for the original ProtoPNet; the authors successfully applied it to newer variants like ProtoPFormer (which uses Vision Transformers), showing the method is architecture-agnostic.
  • Offline Efficiency: Because the reward model is pretrained, the debugging process is efficient. It does not require a human "in the loop" every time the model updates; the reward model acts as a scalable proxy for human preference.

Limitations and Future Work

While highly effective, the R3 framework has a few limitations. It sometimes results in "redundant" prototypes where multiple prototypes converge to the same part of an object (e.g., three different prototypes all looking at the same wing patch). Additionally, human ratings can be noisy and subjective; while the authors used a rule-based rubric to reduce variance, different users might have different ideas of what constitutes a "meaningful" part.

For future work, the authors suggest extending the reward model to handle "cross-image consistency"—ensuring a prototype for a "beak" always looks at beaks across the entire dataset, rather than just in a few specific images.

Summary updated

BibTeX
@inproceedings{li2024improving,
  author = {Aaron Jiaxun Li and Robin Netzorg and Zhihan Cheng and Zhuoqin Zhang and Bin Yu},
  title = {{Improving Prototypical Visual Explanations with Reward Reweighing, Reselection, and Retraining}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=MlzUD5CKvZ},
}
Figure