Online Easy Example Mining for Weakly-Supervised Gland Segmentation from Histology Images

Yi Li, Yiduo Yu, Yiwen Zou, Tianqi Xiang, Xiaomeng Li

Introduction

In the field of computational pathology, accurate gland segmentation is a cornerstone for diagnosing and grading various cancers, particularly colorectal adenocarcinoma. However, the development of robust deep learning models for this task is traditionally bottlenecked by the need for large-scale, pixel-wise annotations. These "masks" must be meticulously drawn by expert pathologists, a process that is both time-consuming and prohibitively expensive.

Weakly-supervised learning (WSL) offers a solution by training models on simpler, image-level or patch-level labels (e.g., "this patch contains a gland"). The standard pipeline for WSL involves generating Class Activation Maps (CAMs) from a classification network to create "pseudo-masks," which then serve as ground truth for a segmentation network. However, histology images present a unique challenge: the low contrast between tissues and the overlapping structures of pink and purple H&E-stained slides often result in highly noisy pseudo-masks. This paper introduces Online Easy Example Mining (OEEM) to address the inherent noise in these weakly-supervised signals.

Methodology

The authors propose a two-stage framework designed to refine the learning process from noisy labels.

1. Classification and Pseudo-mask Generation

In the first stage, a ResNet38 architecture is trained as a classification network using only patch-level labels. Once trained, the network generates CAMs that highlight the regions most influential to the classification decision. These maps are converted into initial pseudo-masks to guide the subsequent segmentation stage.

2. Segmentation with Online Easy Example Mining (OEEM)

The core innovation of the paper lies in the training of the segmentation network (PSPNet). In typical fully-supervised learning, researchers often use Online Hard Example Mining (OHEM) to force the model to focus on difficult pixels near class boundaries. However, in a weakly-supervised setting, "hard" pixels (those with high loss) are frequently just errors or noise in the pseudo-mask.

OEEM reverses this logic. By calculating a loss map for every pixel and dynamically assigning higher weights to pixels with lower loss, the network prioritizes "easy" examples. The underlying assumption is that pixels the model finds easy to classify are more likely to be correctly labeled in the noisy pseudo-mask. The authors utilized a normalized loss metric ($W_{l\_norm}$) to identify these credible pixels, allowing the model to ignore confusing or incorrectly labeled regions during training.

Experimental Setup and Results

The study utilized the Gland Segmentation in Histology Images Challenge (GlaS) Dataset, consisting of 165 images of H&E stained colorectal tissue. The images were cropped into 112x112 patches to facilitate the binary classification task (gland vs. non-gland) required for the weak supervision stage.

Performance Metrics

The OEEM approach demonstrated significant improvements over existing methods:

  • Superior Weakly-supervised Performance: The method achieved a 77.56% mIoU, significantly outperforming other popular weakly-supervised frameworks such as SEAM (66.11%) and SC-CAM (71.52%).
  • Surpassing Fully-supervised Baselines: Remarkably, the OEEM-enhanced weakly-supervised model outperformed several fully-supervised models trained with pixel-perfect labels, including the original UNet (65.34%) and MedT (69.61%).
  • Ablation Success: The inclusion of OEEM provided a 2% mIoU boost over the baseline segmentation framework, confirming that the strategy effectively mitigates the impact of label noise.

Discussion and Conclusion

The success of OEEM highlights a critical insight: in medical imaging tasks where labels are weak or noisy, histology segmentation is less about finding the most discriminative local feature and more about resolving confusion between similar-looking tissues. By shifting the focus from "hard" examples to "easy," credible signals, the model avoids overfitting to the errors inherent in CAM-generated masks.

While the results on the GlaS dataset are compelling, future research should evaluate the generalizability of OEEM across more diverse datasets with varying staining techniques and organ types. Additionally, because OEEM relies on the existence of some correct signals in the initial pseudo-masks, improving the quality of the initial classification stage remains a complementary goal for future work. Nevertheless, OEEM represents a simple, elegant, and highly effective modification to the standard segmentation pipeline that brings weakly-supervised performance closer to—and in some cases beyond—fully-supervised standards.

Summary updated

BibTeX
@inproceedings{li2022online,
  author = {Yi Li and Yiduo Yu and Yiwen Zou and Tianqi Xiang and Xiaomeng Li},
  title = {{Online Easy Example Mining for Weakly-Supervised Gland Segmentation from Histology Images}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2022},
  url = {https://openreview.net/forum?id=TB0wr1bX5S},
}
Figure