Abstract
The scarcity of labeled data often impedes the application of deep learning to the segmentation of medical images. Semi-supervised learning seeks to overcome this limitation by exploiting unlabeled examples in the learning process. In this paper, we present a novel semi-supervised segmentation method that leverages mutual information (MI) on categorical distributions to achieve both global representation invariance and local smoothness. In this method, we maximize the MI for intermediate feature embeddings that are taken from both the encoder and decoder of a segmentation network. We first propose a global MI loss constraining the encoder to learn an image representation that is invariant to geometric transformations. Instead of resorting to computationally-expensive techniques for estimating the MI on continuous feature embeddings, we use projection heads to map them to a discrete cluster assignment where MI can be computed efficiently. Our method also includes a local MI loss to promote spatial consistency in the feature maps of the decoder and provide a smoother segmentation. Since mutual information does not require a strict ordering of clusters in two different assignments, we incorporate a final consistency regularization loss on the output which helps align the cluster labels throughout the network. We evaluate the method on four challenging publicly-available datasets for medical image segmentation. Experimental results show our method to outperform recently-proposed approaches for semi-supervised segmentation and provide an accuracy near to full supervision while training with very few annotated images.
Introduction
Deep learning has revolutionized medical image segmentation, yet its reliance on large-scale, expert-annotated datasets remains a significant bottleneck. In the medical domain, obtaining high-quality labels is both expensive and time-consuming. Semi-supervised learning (SSL) offers a solution by leveraging a small set of labeled images alongside a larger pool of unlabeled data.
Traditional SSL methods often utilize consistency regularization, ensuring that a model's output remains stable under various input transformations. However, these approaches frequently focus solely on the final output layer, neglecting the rich semantic information present in intermediate feature maps. Furthermore, many state-of-the-art representation learning techniques, such as contrastive learning, require massive batch sizes and complex sampling strategies that are computationally prohibitive for high-resolution 3D medical scans. This paper introduces a framework that addresses these challenges by maximizing Mutual Information (MI) at both global and local levels within the network architecture.
Methodology
The proposed architecture is based on a U-Net backbone, enhanced by three distinct unsupervised regularization losses designed to extract maximum utility from unlabeled data.
1. Global MI Regularization ($L_{MI}^{global}$)
This loss is applied at the encoder's bottleneck. Its primary goal is to ensure that the global "summary" or representation of an image remains invariant to geometric transformations (e.g., cropping, flipping, or rotation). By maximizing MI between the representations of an original image and its transformed version, the encoder learns robust, high-level features.
2. Local MI Regularization ($L_{MI}^{local}$)
Applied to the decoder layers, this loss encourages neighboring pixels or feature patches to share high mutual information. This acts as a powerful smoothness prior, ensuring that the model respects semantic boundaries and maintains spatial consistency across the segmentation mask.
3. Consistency Loss ($L_{cons}$)
To ensure the final segmentation masks are stable across transformations, a standard L2 consistency loss is applied to the network's output. This helps align the cluster labels discovered through MI regularization with the actual target classes.
The "Discrete" Trick for Efficiency
Estimating MI on continuous, high-dimensional feature vectors is computationally taxing. To circumvent this, the authors employ auxiliary projection heads—simple linear layers followed by a softmax—to map features into discrete "cluster assignments." MI is then calculated over these categorical distributions, which is significantly more efficient and avoids the need for large memory banks or complex negative sampling required by contrastive methods.
Experimental Evaluation
The method was rigorously evaluated on four diverse medical imaging benchmarks:
- ACDC: Cardiac MRI for segmenting ventricles and myocardium.
- PROMISE 2012: Prostate MRI segmentation.
- Spleen: CT scans from the Medical Segmentation Decathlon.
- MMWHS: Multi-modality Whole Heart Segmentation (CT).
The experiments focused on "low-label" regimes, testing the model's performance when only 5% or 10% of the training data was annotated.
Results and Key Insights
The proposed method consistently outperformed state-of-the-art baselines, including Mean Teacher and Entropy Minimization.
- Performance Near Full Supervision: On the ACDC dataset, using only 5% of available labels, the model achieved a Mean Dice Score (DSC) of 85.76%. This is remarkably close to the 89.55% achieved when training on 100% of the labels.
- Significant Improvements: Compared to a baseline trained only on the 5% labeled subset (Partial Supervision), the proposed MI regularization improved the DSC by approximately 14.6%.
- Hierarchical Regularization: A key finding is that regularizing the entire network is superior to regularizing only the output. The encoder focuses on "what" is in the image (global), while the decoder refines "where" structures are located (local).
- Stability: The model exhibited lower standard deviation across training runs compared to other SSL methods, indicating that MI provides a more stable and reliable training signal.
Conclusion
By maximizing mutual information across both global and local feature representations, this framework effectively bridges the gap between semi-supervised and fully supervised segmentation. The use of discrete cluster assignments makes the approach computationally efficient and suitable for medical imaging workflows. While the method shows sensitivity to class imbalance—as MI maximization naturally favors balanced clusters—future work incorporating label distribution priors could further enhance its robustness. This approach demonstrates that deep semantic regularization of intermediate layers is a powerful tool for learning from limited annotated data.
Summary updated