# Hierarchical Vision Transformer with Prototypes for Interpretable Medical Image Classification

arXiv: https://arxiv.org/abs/2502.08997 · HTML: https://mlsanity.com/paper/2502.08997/

## Key facts

- Cited by 2 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 13 Feb 2025.

## Built on by (most cited first, 2 of 2)

- [FunnyNodules: A Customizable Medical Dataset Tailored for Evaluating Explainable AI](https://mlsanity.com/paper/2511.15481/) (2025)
- [Minimum Data, Maximum Impact: 20 annotated samples for explainable lung nodule classification](https://mlsanity.com/paper/2508.00639/) (2025)

## Abstract (arXiv)

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.
