Semi-supervised Semantic Segmentation via Boosting Uncertainty on Unlabeled Data

Daoan Zhang, Yunhao Luo, Jianguo Zhang · DOI

Abstract

In semi-supervised semantic segmentation, the distribution gap between a small labeled dataset and a large unlabeled pool often leads to overconfident model errors. This paper introduces the Uncertainty Booster Module (UBM), a plug-and-play component that improves generalization by strategically boosting uncertainty on unlabeled data. UBM utilizes a Regional Uncertainty Voter (RUV) to inject image-aware noise and an Uncertainty Adaptive Strategy (UAS) to target low-confidence pixels. Theoretical analysis via PAC-Bayesian theory supports this approach, and empirical results show significant gains on PASCAL VOC 2012 and Cityscapes benchmarks.

Introduction

Semi-supervised learning (SSL) aims to leverage unlabeled data to supplement limited labeled sets. However, a persistent challenge is the distribution gap: the small labeled subset rarely captures the full diversity of the unlabeled data. Traditional consistency regularization methods force models to produce high-confidence predictions on unlabeled samples. While effective for in-distribution data, this can cause models to become "overconfident" in their own errors when encountering out-of-distribution (o.o.d.) features.

The authors propose an "Uncertainty Paradox": while certainty is usually desired, increasing uncertainty on data the model hasn't mastered yet acts as a powerful regularizer. This prevents the model from overfitting to the narrow distribution of the labeled set and reduces the upper bound of the expected risk.

Methodology: The Uncertainty Booster Module (UBM)

The UBM is a parameter-free module designed to "fuzz" pseudo-labels during training, typically integrated into a Cross Pseudo Supervision (CPS) framework. It consists of two primary components:

  1. Regional Uncertainty Voter (RUV): Instead of applying generic Gaussian noise, RUV leverages the spatial context of images. It applies a fixed 2D cross-correlation kernel to the pseudo-labels, creating a "customized artificial distribution." This ensures that a pixel's target is a weighted average of its neighbors, respecting natural semantic consistency.
  2. Uncertainty Adaptive Strategy (UAS): To avoid degrading high-quality predictions, the UAS uses an entropy-based measure to identify low-confidence pixels. The booster is primarily applied to these likely o.o.d. pixels, while high-confidence pixels remain relatively untouched.
The Uncertainty Booster Module (UBM) architecture, featuring the Regional Uncertainty Voter (RUV) and Uncertainty Adaptive Strategy (UAS).

As shown in the architecture diagram, the final uncertainty-boosted pseudo-label $\hat{p}$ is calculated as a weighted combination of the one-hot pseudo-label $p^{oh}$ and the regional prediction map $C$, governed by the normalized entropy map $W_x$.

Experimental Results

The UBM was evaluated on the PASCAL VOC 2012 and Cityscapes datasets across various label ratios (1/16 to 1/2).

Comparison of mIoU scores on the PASCAL VOC 2012 dataset. UBM consistently improves upon the CPS baseline and other state-of-the-art methods.

As detailed in the table above, the CPS+UBM configuration consistently outperforms the baseline CPS and other competitive methods like ST++ and CutMix. On PASCAL VOC 2012, improvements in mean Intersection-over-Union (mIoU) ranged from +1.41 to +2.00. On Cityscapes, the gains were even more dramatic, with an improvement of +2.78 mIoU on the 1/4 label ratio compared to the baseline.

Discussion and Conclusion

The success of UBM highlights that "boosting uncertainty" on unlabeled o.o.d. data can effectively bridge the distribution gap. The module is highly efficient, adding negligible computational overhead due to its use of fixed kernels and simple entropy calculations. While current results are strong, future work may explore content-adaptive kernels for the RUV or more sophisticated o.o.d. detection methods for the UAS to further refine the uncertainty distribution. Nonetheless, UBM provides a robust and effective solution for semi-supervised semantic segmentation.

Summary updated

BibTeX
@misc{zhang2023semi,
  author = {Daoan Zhang and Yunhao Luo and Jianguo Zhang},
  title = {{Semi-supervised Semantic Segmentation via Boosting Uncertainty on Unlabeled Data}},
  year = {2023},
  eprint = {2311.18758},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2311.18758},
}
Figure