NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Boosting Semi-Supervised Semantic Segmentation with Probabilistic Representations

Haoyu Xie, Changqi Wang, Mingkai Zheng, Minjing Dong, Shan You, Chong Fu, Chang Xu

Introduction

Semi-supervised semantic segmentation (S4) aims to leverage a small set of labeled data alongside a large volume of unlabeled data. A common approach is self-training, where a model generates "pseudo-labels" for unlabeled images to serve as ground truth. However, pseudo-labels are inherently noisy. When used in contrastive learning—which pulls similar features together and pushes dissimilar ones apart—these errors introduce "disorder" into the latent space. For instance, if a pixel is mislabeled as a "car" instead of a "road," the model is forced to learn a corrupted representation.

To address this, we introduce Probabilistic Representation Contrastive Learning (PRCL). Instead of modeling pixel features as deterministic points, PRCL treats them as Gaussian distributions. This allows the model to naturally account for uncertainty, down-weighting ambiguous or incorrectly labeled pixels to maintain a robust latent space.

Methodology

The core innovation of PRCL is the transition from deterministic point representations to probabilistic ones.

Gaussian Modeling and Distribution Prototypes

Instead of mapping a pixel to a single vector $z$, the encoder predicts a mean $\mu$ (the feature) and a variance $\sigma^2$ (the uncertainty). As shown in Figure 1, this allows the model to represent features as regions of varying confidence rather than fixed points. Similarly, class centers (prototypes) are modeled as distributions and updated via Bayesian Estimation, integrating new observations based on their reliability.

Conceptual comparison between deterministic point-based features and probabilistic distribution-based features.

Mutual Likelihood Score (MLS) and Soft Freezing

To calculate contrastive loss, PRCL utilizes the Mutual Likelihood Score (MLS) instead of standard Euclidean distance. MLS incorporates variance: high-uncertainty representations ($\sigma^2$) contribute less to the loss, preventing ambiguous pixels from corrupting class prototypes. To stabilize training, the authors employ "Soft Freezing," where the probability head is trained with a significantly lower learning rate than the feature encoder.

Framework Overview

The overall architecture, illustrated in Figure 2, integrates these components into a standard Teacher-Student framework. The student model learns from both ground truth and the teacher's pseudo-labels, with the PRCL loss ($\mathcal{L}_{PRCL}$) ensuring that only reliable features drive the contrastive learning process.

The PRCL framework integrated into a Teacher-Student architecture for semi-supervised segmentation.

Experimental Results

PRCL was evaluated on the Pascal VOC 2012 and Cityscapes benchmarks, consistently outperforming state-of-the-art (SOTA) baselines, particularly in low-label regimes:

  • Pascal VOC: With only 92 labels, PRCL achieved 68.52% mIoU, a significant improvement over the ClassMix baseline (63.26%).
  • Cityscapes: On the 20-label split, PRCL reached 58.09% mIoU, compared to the supervised-only baseline of 50.60%.

Analysis reveals that the model learns to assign higher variance to pixels near object boundaries or those with noisy pseudo-labels. This uncertainty acts as a natural filter, allowing the model to tolerate label noise rather than attempting to eliminate it entirely.

Conclusion

PRCL demonstrates that modeling uncertainty is a powerful tool for semi-supervised learning. By treating features as distributions, the framework becomes robust to the noise inherent in pseudo-labeling. While the approach introduces additional computational overhead and hyperparameters, its ability to stabilize the latent space suggests broad applicability to other vision tasks plagued by label noise, such as object detection and video understanding.

Summary updated

BibTeX
@inproceedings{xie2023boosting,
  author = {Haoyu Xie and Changqi Wang and Mingkai Zheng and Minjing Dong and Shan You and Chong Fu and Chang Xu},
  title = {{Boosting Semi-Supervised Semantic Segmentation with Probabilistic Representations}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.1609/aaai.v37i3.25396},
}
Figure