Interpretable Image Classification with Adaptive Prototype-based Vision Transformers

Chiyu Ma, Jon Donnelly, Wenjun Liu, Soroush Vosoughi, Cynthia Rudin +1 more
2/3/2026

No official code found. Best implementation: Henrymachiyu/ProtoViT (43 stars, MIT, last commit 2025-05-19).

Abstract

We present ProtoViT, a method for interpretable image classification combining deep learning and case-based reasoning. This method classifies an image by comparing it to a set of learned prototypes, providing explanations of the form ``this looks like that.''In our model, a prototype consists of \textit{parts}, which can deform over irregular geometries to create a better comparison between images. Unlike existing models that rely on Convolutional Neural Network (CNN) backbones and spatially rigid prototypes, our model integrates Vision Transformer (ViT) backbones into prototype based models, while offering spatially deformed prototypes that not only accommodate geometric variations of objects but also provide coherent and clear prototypical feature representations with an adaptive number of prototypical parts. Our experiments show that our model can generally achieve higher performance than the existing prototype based models. Our comprehensive analyses ensure that the prototypes are consistent and the interpretations are faithful.

View on arXivView PDF

Code Implementations(1)

MIT

This code implements ProtoViT, a novel approach that combines Vision Transformers with prototype-based learning to create interpretable image classification models. Our implementation provides both high accuracy and explainability through learned prototypes.

4312Python, Jupyter NotebookMay 25, 20241 years agoMIT
computer-visioninterpretable-deep-learninginterpretable-machine-learningvision-transformerxai

Similar Papers

Cite this paper

@article{ma2026interpretable,
  title  = {Interpretable Image Classification with Adaptive Prototype-based Vision Transformers},
  author = {Chiyu Ma and Jon Donnelly and Wenjun Liu and Soroush Vosoughi and Cynthia Rudin and Chaofan Chen},
  year   = {2026},
  eprint = {2410.20722},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.20722},
  url    = {https://arxiv.org/abs/2410.20722},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.20722.svg)](https://codeofpaper.com/paper/2410.20722)

Discussion