CheXseg: Combining Expert Annotations with DNN-generated Saliency Maps for X-ray Segmentation

Soham Uday Gadgil, Mark Endo, Emily Wen, Andrew Y. Ng, Pranav Rajpurkar

TL;DR

This paper introduces CheXseg, a novel semi-supervised method for segmenting multiple pathologies in chest X-rays. By cleverly combining limited, high-quality expert annotations with abundant, but coarser, saliency maps generated by classification models, CheXseg significantly boosts segmentation performance, outperforming both fully-supervised and weakly-supervised approaches.

What Problem Does This Paper Address?

Accurate segmentation of pathologies in medical images, like chest X-rays, is crucial for diagnosis and treatment. However, training robust segmentation models typically requires a massive amount of pixel-level expert annotations, which are incredibly time-consuming and expensive to obtain. While simpler "weak" supervision methods exist, such as using image-level labels or saliency maps from classification models, they often lack the precision needed for clinical applications. This paper tackles the challenge of achieving high-performance medical image segmentation without the prohibitive cost of extensive pixel-level annotations, bridging the gap between the accuracy of expert labels and the scalability of weaker supervision signals.

Methods

The core of CheXseg lies in its semi-supervised approach, which leverages two types of data:

  • Expert Pixel-Level Annotations: These are the gold standard, providing precise outlines of pathologies. However, they are scarce.
  • DNN-Generated Saliency Maps: These are generated from pre-trained image classification models (using techniques like Grad-CAM) and highlight regions of interest. While these maps are abundant, they are often coarse and less precise than expert annotations.

CheXseg combines these by:

  1. Generating Weak Pseudo-Labels: Saliency maps are processed using either a simple thresholding method or a more sophisticated Inter-Pixel Relation Network (IRNet). IRNet refines these saliency maps by predicting pixel-wise displacement vectors and semantic affinities to create more accurate, albeit still "weak," segmentation masks.
  2. Semi-Supervised Training: The segmentation model (a DeepLabv3+ architecture with a ResNet encoder) is trained using a weighted combination of expert annotations and these weak pseudo-labels. A key aspect is a "weighted sampling strategy" where the probability of selecting an expert annotation in a training batch (p) is carefully tuned. This allows the model to benefit from the accuracy of expert labels while still learning from the broader context provided by the saliency maps.

Datasets

  • CheXpert: This is the primary dataset used. It's a large dataset of chest X-rays with image-level labels derived from radiology reports.
  • Radiologist-Annotated Subset: A subset of CheXpert was hand-annotated by radiologists at the pixel level. This subset is crucial for validation and training:
  • 200 images were used for validating the weakly-supervised method.
  • 150 images were used for training the fully-supervised and semi-supervised methods.
  • 50 images were set aside as a validation set for these methods.
  • An additional 500 radiologist-annotated images were used as a test set.

Key Insights and Ideas

  • The Power of Weighted Combination: The most significant finding is that a carefully balanced combination of expert annotations and saliency maps (specifically, a high weighting of expert annotations, p=0.9) yields superior results compared to using either source alone. This highlights the complementary nature of these data types.
  • Saliency Maps as a Scalable Signal: While not perfect, saliency maps provide a valuable, scalable signal that can significantly boost performance when combined with even a small amount of high-quality data.
  • The "Black Box" Problem in Medical AI: The paper implicitly touches upon the "black box" nature of neural networks in medicine. Saliency maps are a form of explainability, but their untrustworthiness for precise localization is a known issue. CheXseg aims to leverage these explainability maps in a more robust way for segmentation.
  • Encoder Initialization Matters: Pre-training the segmentation encoder with weights from a model trained on the same task (CheXpert classification) yields the best performance, underscoring the importance of transfer learning in medical imaging.

Key Results

  • Performance Improvement: CheXseg achieved a mean Intersection-over-Union (mIoU) of 0.270, outperforming:
  • Fully-supervised methods (using only expert annotations): 0.246 (9.7% improvement).
  • Weakly-supervised methods (using only saliency maps): 0.156 (73.1% improvement).
  • Radiologist Agreement: The best CheXseg model matched radiologist agreement on three out of ten pathologies.
  • Reduced Performance Gap: CheXseg reduced the overall performance gap with radiologists by 57.2% compared to the best weakly-supervised method.
  • Optimal Weighting: The performance showed an "inverted U-shape" trend as the weight of strong labels (p) increased, peaking at p=0.9 before slightly dropping at p=1 (fully-supervised), suggesting that excluding weak labels entirely can be detrimental.
  • Qualitative Improvements: Visualizations showed CheXseg producing segmentation masks that were closer to the ground truth compared to the best weakly-supervised approach.

Limitations and Future Work

  • Scarcity of Expert Annotations: The primary limitation addressed by the paper is the inherent scarcity of high-quality pixel-level expert annotations. While CheXseg mitigates this, it still relies on a small set of these valuable labels.
  • Coarseness of Saliency Maps: The paper acknowledges that saliency maps are inherently coarse. While IRNet helps refine them, they may still contain inaccuracies that limit performance.
  • Pathology-Specific Performance: While CheXseg outperforms weakly-supervised methods overall, it still performs worse than radiologists on several pathologies. Future work could focus on improving performance on these specific conditions.
  • Generalizability: The study is focused on chest X-ray segmentation. Further research could explore the applicability of CheXseg to other medical imaging modalities and segmentation tasks.
  • Tuning p: The optimal weighting p was found empirically. Developing more principled ways to determine this weighting could be a future direction.

Summary updated

BibTeX
@inproceedings{gadgil2021chexseg,
  author = {Soham Uday Gadgil and Mark Endo and Emily Wen and Andrew Y. Ng and Pranav Rajpurkar},
  title = {{CheXseg: Combining Expert Annotations with DNN-generated Saliency Maps for X-ray Segmentation}},
  booktitle = {MIDL},
  year = {2021},
  url = {https://openreview.net/forum?id=eA7PGMYmHFA},
}
Figure