cs.CVFeb 13, 2025

Hierarchical Vision Transformer with Prototypes for Interpretable Medical Image Classification

Authors: Luisa Gallée, Meinrad Beer, Michael Götz

Organizations: Experimental Radiology, Ulm University Medical Center, Germany · XAIRAD - Cooperation for Artificial Intelligence in Experimental Radiology, Germany · Department of Diagnostic and Interventional Radiology, Ulm University Medical Center, Germany · i2SouI - Innovative Imaging in Surgical Oncology Ulm, Ulm University Medical Center, Germany · 

Abstract

Explainability is an important requirement for machine learning models in high-risk domains such as medicine. We introduce HierViT, a hierarchical Vision Transformer that combines competitive predictive performance with multiple mechanisms to support the interpretation of its predictions. The model first predicts clinically relevant visual appearance attributes, which are then used to infer the final target prediction through a hierarchical reasoning process. To facilitate understanding of the intermediate representations, attribute-specific prototypes are visualized as representative image examples, while attribute-specific attention maps highlight image regions associated with each visual feature. Together, these attribute-level components provide complementary views of the model's reasoning by linking representative image examples and spatial attention to semantically defined visual features. We evaluate HierViT on two medical benchmark datasets: LIDC-IDRI for lung nodule assessment and derm7pt for skin lesion classification. Across both datasets, HierViT achieves competitive predictive performance while providing attribute-level prototypes and attention visualizations that support the interpretation of its predictions.

Figures & tables

Appendix figures & tables3 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. MEDIC-AD: Towards Medical Vision-Language Model's Clinical Intelligence

    Mar 28, 2026Woohyeon Park, Jaeik Kim, Sunghwan Steve Cho +7Medical VLMsMedical Image Anomaly Detection

  2. MedConcept: Unsupervised Concept Discovery for Interpretability in Medical VLMs

    Apr 13, 2026Md Rakibul Haque, KM Arefeen Sultan, Tushar Kataria +1Unsupervised Visual Concept DiscoveryVLM Interpretability