Exploring Weakly Supervised Semantic Segmentation Ensembles for Medical Imaging Systems

Erik Ostrowski, Bharath Srinivas Prabakaran, Muhammad ShafiquearXiv 2023

Abstract

Reliable classification and detection of certain medical conditions in images with state-of-the-art semantic segmentation networks require vast amounts of pixel-wise annotation. However, the public availability of such datasets is minimal. Therefore, semantic segmentation with image-level labels presents a promising alternative. Nevertheless, very few works have focused on evaluating this technique and its applicability to the medical sector. Due to their complexity and the small number of training examples in medical datasets, classifier-based weakly supervised networks like class activation maps (CAMs) struggle to extract useful information. We propose a framework that utilizes low-quality CAM predictions to improve accuracy by first using lower threshold CAMs to cover the target object with high certainty, and second, by combining multiple low-threshold CAMs that even out errors while highlighting the target object. Our framework demonstrates an improved Dice score of up to 8% on BraTS and 6% on DECATHLON datasets compared to previous state-of-the-art.

Introduction

In medical imaging, semantic segmentation—the precise outlining of anatomical structures or pathologies—is critical for diagnostic support. Traditional deep learning models for this task require extensive "gold standard" pixel-wise annotations, which are costly and time-consuming to produce. Weakly Supervised Semantic Segmentation (WSSS) offers a solution by utilizing only image-level labels (e.g., presence or absence of a tumor). WSSS typically relies on Class Activation Maps (CAMs) to localize features. However, CAMs are often noisy and incomplete, particularly in complex medical scans where they may miss object boundaries or activate on irrelevant background tissue.

Methods

The proposed framework refines noisy CAMs through an automated ensemble pipeline consisting of three stages:

  1. Classifier Training: Standard image classifiers (e.g., ResNet-34, ResNet-50) are trained using only image-level labels.
  2. Map Generation: Grad-CAM is employed to extract heatmaps from the trained classifiers, identifying regions of interest.
  3. Ensemble & Calibration: Multiple maps are combined using logical operations. Experiments with 'OR', 'AND', 'MIN', and 'MAX' combinations revealed that the 'AND' ensemble—retaining only pixels where models agree—effectively filters background noise.
Figure 1: Overview of the proposed framework, illustrating the transition from image-level classification to Grad-CAM generation and final ensemble combination.

A key component is "threshold calibration." Since CAMs provide a probability distribution, a grid search on the training set determines the optimal threshold for each model to maximize the segmentation score. By using low thresholds, the CAMs ensure full coverage of the target object, while the 'AND' operation prunes the resulting "junk" pixels.

Results and Discussion

The framework was evaluated on the BraTS 2020 (brain tumor) and DECATHLON (prostate) datasets.

Figure 5: Visual comparison of different ensemble combinations (a-d) on a medical scan, demonstrating how varying logic and thresholds affect the overlap between predicted regions and the target object.

Performance Metrics

  • BraTS Dataset: The ensemble achieved a 70.3% Dice score, representing an 8% improvement over the previous state-of-the-art (WSS-CMER at 59.7%).
  • DECATHLON Dataset: The method reached a 79.3% Dice score, a 6% improvement over the previous SOTA (71.3%).

The results suggest that agreement between different architectures (like ResNet-34 and ResNet-50) serves as a robust filter for noise. While individual models may be distracted by different background features, they consistently agree on the primary target.

Conclusion

This research demonstrates that a simple ensemble of weakly supervised models can outperform more complex, single-model state-of-the-art approaches in the medical domain. By leveraging the intersection of multiple low-threshold CAMs, the framework achieves high-quality segmentation from minimal labeling effort. Future work will focus on extending this logic to multi-class segmentation and 3D volumetric data to better suit clinical environments.

Summary updated

BibTeX
@misc{ostrowski2023exploring,
  author = {Erik Ostrowski and Bharath Srinivas Prabakaran and Muhammad Shafique},
  title = {{Exploring Weakly Supervised Semantic Segmentation Ensembles for Medical Imaging Systems}},
  year = {2023},
  eprint = {2303.07896},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2303.07896},
}
Figure