Towards Semantic Interpretation of Thoracic Disease and COVID-19 Diagnosis Models

Ashkan Khakzar, Sabrina Musatian, Jonas Buchberger, Icxel Valeriano Quiroz, Nikolaus Pinger, Soroosh Baselizadeh, Seong Tae Kim, Nassir Navab

Abstract

Deep learning models for thoracic imaging often operate as "black boxes," providing high diagnostic accuracy without explaining the underlying medical reasoning. This paper addresses this gap by adapting "Network Dissection" to the clinical domain, identifying internal neural units that act as semantic detectors for specific pathologies. The study demonstrates that models trained on global labels implicitly learn to recognize complex features like consolidation and pneumonia, and introduces a "Semantic Attribution" method to explain individual diagnoses using human-interpretable medical concepts.

Introduction

Convolutional Neural Networks (CNNs) have achieved expert-level performance in diagnosing thoracic diseases from X-rays. However, standard explanation methods, such as saliency maps, only indicate where a model is looking, not why. A heatmap might highlight a lung region without clarifying whether the model is identifying a pathology or a non-clinical shortcut, such as a surgical staple. This lack of semantic interpretation undermines clinical trust. This research seeks to bridge the gap between feature attribution and human-understandable medical concepts.

Methodology

The researchers extended two primary techniques to interpret a DenseNet121 architecture:

  1. Network Dissection: Originally used for natural images, this method was adapted to compare the internal activations of a model against ground-truth medical annotations (bounding boxes and segmentation masks). If a specific internal unit consistently fires in the presence of a pathology like "Consolidation," it is labeled a "Consolidation Detector."
  2. Semantic Attribution: This new method explains individual predictions by using Integrated Gradients to identify which internal units contributed most to a specific output (e.g., a high COVID-19 severity score). These contributions are then mapped to the labels identified during Network Dissection to provide a semantic explanation, such as: "This prediction was driven by the detection of Consolidation in the lower lungs."
Overview of the Network Dissection pipeline for medical imaging, showing how internal units are compared against expert annotations to identify semantic detectors.

Datasets

The study utilized four major datasets: CheXpert and NIH ChestX-ray8 for multi-label classification and bounding boxes; BrixIA for COVID-19 severity regression; and a COVID-19 Chest X-ray Segmentation Dataset providing ground-truth masks for 14 distinct concepts, including pathologies and anatomical structures.

Key Results and Insights

Implicit Learning of Pathologies

A striking finding is that models trained only on global COVID-19 severity scores or weak "healthy/unhealthy" labels still implicitly learn to detect specific pathologies. To accurately predict severity, the models independently develop the ability to recognize visual patterns of consolidation and opacity.

Impact of Loss Functions and Pretraining

The choice of loss function significantly impacts interpretability. Using a weighted Binary Cross Entropy (BCE) loss to address data imbalance increased the number of unique concept detectors from 65 to 100. Furthermore, pretraining on medical data (CheXpert) yielded a higher variety of semantic detectors than pretraining on natural images (ImageNet), as medical features do not translate perfectly from general objects.

Comparison of unique semantic detectors across different model architectures and loss functions, illustrating how weighted loss and domain-specific training increase interpretability.

Consolidation as a COVID-19 Marker

Through semantic attribution, the authors confirmed that "Consolidation" is the most significant semantic concept the model utilizes to determine severe COVID-19 cases, aligning with clinical understanding of the disease.

Conclusion

While the current framework is limited by the availability of annotated datasets to "label" internal units, it represents a significant step toward transparent medical AI. By moving from heatmaps to semantic vocabulary, clinicians can better verify the reasoning behind automated diagnoses. Future work will focus on expanding the diversity of annotations to recognize a broader range of pathological and anatomical structures.

Summary updated

BibTeX
@inproceedings{khakzar2021towards,
  author = {Ashkan Khakzar and Sabrina Musatian and Jonas Buchberger and Icxel Valeriano Quiroz and Nikolaus Pinger and Soroosh Baselizadeh and Seong Tae Kim and Nassir Navab},
  title = {{Towards Semantic Interpretation of Thoracic Disease and COVID-19 Diagnosis Models}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2021},
  url = {https://openreview.net/forum?id=L4e-TZRpOu-},
}
Figure