Hierarchical Vision Transformer with Prototypes for Interpretable Medical Image Classification

Luisa Gallée, Catharina Silvia Lisson, Meinrad Beer, Michael Götz
2/13/2025
cs.CV

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

Explainability is a highly demanded requirement for applications in high-risk areas such as medicine. Vision Transformers have mainly been limited to attention extraction to provide insight into the model's reasoning. Our approach combines the high performance of Vision Transformers with the introduction of new explainability capabilities. We present HierViT, a Vision Transformer that is inherently interpretable and adapts its reasoning to that of humans. A hierarchical structure is used to process domain-specific features for prediction. It is interpretable by design, as it derives the target output with human-defined features that are visualized by exemplary images (prototypes). By incorporating domain knowledge about these decisive features, the reasoning is semantically similar to human reasoning and therefore intuitive. Moreover, attention heatmaps visualize the crucial regions for identifying each feature, thereby providing HierViT with a versatile tool for validating predictions. Evaluated on two medical benchmark datasets, LIDC-IDRI for lung nodule assessment and derm7pt for skin lesion classification, HierViT achieves superior and comparable prediction accuracy, respectively, while offering explanations that align with human reasoning.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{galle2025hierarchical,
  title  = {Hierarchical Vision Transformer with Prototypes for Interpretable Medical Image Classification},
  author = {Luisa Gallée and Catharina Silvia Lisson and Meinrad Beer and Michael Götz},
  year   = {2025},
  eprint = {2502.08997},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2502.08997v1}
}

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/2502.08997.svg)](https://codeofpaper.com/paper/2502.08997)

Discussion