# MedicalPatchNet: a patch-based self-explainable AI architecture for chest X-ray classification

**Authors:** Patrick Wienholt, Christiane Kuhl, Jakob Nikolas Kather, Sven Nebelung, Daniel Truhn

PMC · DOI: 10.1038/s41598-026-40358-0 · Scientific Reports · 2026-02-20

## TL;DR

MedicalPatchNet is a self-explainable AI model for chest X-ray classification that improves interpretability by highlighting relevant image regions.

## Contribution

MedicalPatchNet introduces a novel patch-based architecture that inherently provides interpretable decisions without post-hoc methods.

## Key findings

- MedicalPatchNet achieves classification performance comparable to EfficientNetV2-S with an AUROC of 0.907.
- The model outperforms Grad-CAM in pathology localization accuracy with a mean hit-rate of 0.485.
- MedicalPatchNet enhances clinical trust by mitigating shortcut learning through explicit explanations.

## Abstract

Deep neural networks excel in radiological image classification but frequently suffer from poor interpretability, limiting clinical acceptance. We present MedicalPatchNet, an inherently self-explainable architecture for chest X-ray classification that transparently attributes decisions to distinct image regions. MedicalPatchNet splits images into non-overlapping patches, independently classifies each patch, and aggregates predictions, enabling intuitive visualization of each patch’s diagnostic contribution without post-hoc techniques. Trained on the CheXpert dataset (223,414 images), MedicalPatchNet matches the classification performance (AUROC 0.907 vs. 0.908) of EfficientNetV2-S, while improving interpretability: MedicalPatchNet demonstrates improved interpretability with higher pathology localization accuracy (mean hit-rate 0.485 vs. 0.376 with Grad-CAM) on the CheXlocalize dataset. By providing explicit, reliable explanations accessible even to non-AI experts, MedicalPatchNet mitigates risks associated with shortcut learning, thus improving clinical trust. Our model is publicly available with reproducible training and inference scripts and contributes to safer, explainable AI-assisted diagnostics across medical imaging domains. We make the code publicly available: https://github.com/TruhnLab/MedicalPatchNet

## Full-text entities

- **Diseases:** breast cancer (MESH:D001943), Cardiomegaly (MESH:D006332), COVID-19 (MESH:D000086382), Pneumothorax (MESH:D011030), Atelectasis (MESH:D001261), Pleural Effusion (MESH:D010996), lesion (MESH:D009059), infiltrates (MESH:D017254), Pneumonia (MESH:D011014), Lung Lesion (MESH:D008171), Edema (MESH:D004487), Fracture (MESH:D050723)
- **Chemicals:** CheXpert (-)
- **Species:** Homo sapiens (human, species) [taxon 9606]

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/PMC12929615/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/PMC12929615/full.md

## References

22 references — full list in the complete paper: https://tomesphere.com/paper/PMC12929615/full.md

---
Source: https://tomesphere.com/paper/PMC12929615