Bayesian Pseudo Labels: Expectation Maximization for Robust and Efficient Semi-supervised Segmentation

Mou-Cheng Xu, Yukun Zhou, Chen Jin, Marius de Groot, Daniel C. Alexander, Neil P. Oxtoby, Yipeng Hu, Joseph Jacob

Abstract

Semi-supervised learning (SSL) is a critical paradigm in medical imaging, where high-quality expert annotations are scarce and expensive to obtain. While current state-of-the-art methods rely on complex consistency-regularization schemes, this paper revisits the simplicity of pseudo-labeling. By formalizing pseudo-labeling through the lens of the Expectation-Maximization (EM) algorithm, the authors introduce SegPL and its Bayesian extension, SegPL-VI. These methods demonstrate superior performance in segmenting small structures, enhanced robustness to adversarial noise, and significantly lower computational overhead compared to existing complex architectures.

Introduction

In the domain of medical imaging, the disparity between available raw data (MRI, CT scans) and labeled data is a significant bottleneck. Manual segmentation of anatomical structures is a labor-intensive task requiring specialized expertise. Semi-supervised learning aims to bridge this gap by utilizing a small set of labeled data in conjunction with a larger pool of unlabeled data.

Recent advancements in SSL have focused on "consistency regularization," which forces models to maintain stable predictions under various perturbations. However, these methods often require multiple sub-networks or complex training loops, leading to high computational costs and sensitivity to hyperparameters. This paper proposes a return to the fundamentals of pseudo-labeling, providing it with a rigorous statistical foundation to achieve both efficiency and robustness.

Methodology

SegPL: Pseudo-Labeling as EM

The researchers formalize standard pseudo-labeling as an Expectation-Maximization (EM) algorithm. This framework consists of two iterative steps:

  1. E-step (Expectation): The model generates pseudo-labels for the unlabeled data using its current predictions and a fixed probability threshold (e.g., 0.5).
  2. M-step (Maximization): The model parameters are updated by training on the union of the ground-truth labels and the generated pseudo-labels, typically using a Dice loss function.

SegPL-VI: A Bayesian Generalization

To overcome the limitations of a fixed threshold, the authors introduce SegPL-VI, which utilizes Variational Inference. Instead of a hard cutoff, the model learns a dynamic, stochastic threshold during the training process. This Bayesian approach allows the model to account for predictive uncertainty, effectively becoming more "cautious" in areas where the data is ambiguous. Notably, this provides uncertainty estimation (comparable to Deep Ensembles) without the computational burden of training multiple models.

Experimental Setup

The proposed methods were evaluated on two distinct and challenging medical imaging tasks:

  • CARVE 2014: A 3D binary CT dataset for lung vessel segmentation. This task is characterized by extreme class imbalance, where vessels occupy less than 8% of the total image volume.
  • BRATS 2018: A 2D multi-class MRI dataset for brain tumor segmentation, focusing on high-grade glioma (HGG) sub-regions including the tumor core and enhancing tumor.

Key Insights and Results

Superior Performance and Efficiency

SegPL demonstrates that simplicity can outperform complexity. On the CARVE dataset with only two labeled volumes, SegPL achieved an Intersection over Union (IoU) of 69.44%, outperforming the state-of-the-art Cross-Pseudo Supervision (CPS) at 66.67% and the supervised-only baseline of 56.79%. Furthermore, SegPL achieved these results with 40% less training time and significantly fewer FLOPs than its consistency-based competitors.

The Small Object Advantage

One of the most significant contributions of SegPL is its efficacy in segmenting small structures. In the CARVE dataset, for the smallest vessels (representing less than 0.1% of the image area), SegPL outperformed the next best baseline by 40%. This suggests that the EM-based pseudo-labeling is particularly adept at capturing fine-grained details that consistency-based methods might overlook.

Robustness and Uncertainty

Because the EM framework acts as a form of self-denoising, SegPL proved remarkably resilient to out-of-distribution noise and adversarial attacks, such as the Fast Gradient Sign Method (FGSM). Additionally, the SegPL-VI variant achieved Brier scores (a measure of uncertainty calibration) on par with the gold-standard "Deep Ensembles," providing reliable uncertainty maps at a fraction of the cost.

Conclusion and Future Work

SegPL and SegPL-VI offer a robust, efficient, and statistically grounded alternative to complex SSL methods. By reimagining pseudo-labeling as an EM process, the authors achieve state-of-the-art results in medical segmentation while maintaining computational simplicity.

Future research directions include exploring different probability distributions (such as Beta or Categorical) for the Bayesian thresholding in SegPL-VI. Additionally, the authors aim to refine the hyperparameter $\alpha$, which balances the supervised and unsupervised loss components, to make the method more easily adaptable across diverse imaging modalities.

Summary updated

BibTeX
@inproceedings{xu2022bayesian,
  author = {Mou-Cheng Xu and Yukun Zhou and Chen Jin and Marius de Groot and Daniel C. Alexander and Neil P. Oxtoby and Yipeng Hu and Joseph Jacob},
  title = {{Bayesian Pseudo Labels: Expectation Maximization for Robust and Efficient Semi-supervised Segmentation}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2022},
  doi = {10.1007/978-3-031-16443-9\_56},
}
Figure