bioRxivPathologyPreprint
Improving Data Quality, Model Transparency and Performance in Lung Histopathology with Explainable AI
Abstract
Convolutional neural networks (CNNs) have shown strong capabilities for image analysis. However, deploying these models in medical settings is complicated by their limited transparency. Over recent years, many approaches have been developed to overcome the so-called "black box" problem of deep neural networks. Here, we show how such explainable AI (XAI) approaches can be applied to not only improve transparency but also training data quality and model performance, with classification of lung damage in histopathology images as use case. First, we conducted a thorough exploratory data analysis and visually compared the compressed multi-dimensional representations of the histology images from the last CNN layers with labels given by pathologists to reveal flaws in the training data. Second, we used Gradient-based Class Activation Mapping (Grad-CAM) as well as SHapley Additive exPlanations (SHAP) values to identify image regions that significantly contributed to the model decisions. To overcome identified shortcomings, we then finetuned additional top layers of the CNNs and introduced model architectures with attention which improved model performance. In summary, we developed a practical workflow that uses interpretability analyses to examine model perception, assess label consistency, and guide model refinement on the example of lung histopathology scoring, demonstrating how XAI approaches can increase both transparency and model performance. The code for this paper is shared at https://github.com/Aitslab/Histology_XAI.git.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Counterfactual Diffusion Models for Interpretable Explanations of Artificial Intelligence Models in Pathology
Laura Žigutytė, Tim Lenz, … Jakob Nikolas Kather·Cancer ResearchPeer-reviewed·Jun 17, 2026
- A human-in-the-loop explanation framework for morphologically transparent AI predictions from whole-slide images
Peiliang Lou, Yitan Zhu, … Chen Wang·npj Digital MedicinePeer-reviewed·May 14, 2026
- Examining Batch Effect in Histopathology as a Distributionally Robust Optimization Problem
S. N. Hari, J. Nyman, … E. M. Van Allen·bioRxiv·Sep 14, 2021
- Deep Convolutional Neural Networks Enable Discrimination of Heterogeneous Digital Pathology Images
Pegah Khosravi, Ehsan Mohamad Kazemi, … Iman Hajirasouliha·EBioMedicinePeer-reviewed·Dec 28, 2017
- Multi-task learning of a deep k-nearest neighbour network for histopathological image classification and retrieval
T. Peng, M. Boxberg, … C. Marr·bioRxiv·Jun 6, 2019
- Artificial Intelligence-enabled Histological Analysis in Preclinical Respiratory Disease Models: A Scoping Review
Eva Kuhar, Junsoo Park, … Manoj Mathew Lalu·European Respiratory ReviewPeer-reviewed·Apr 1, 2026