UCC: Uncertainty guided Cross-head Co-training for Semi-Supervised Semantic Segmentation

Jiashuo Fan, Bin Gao, Huan Jin, Lihui Jiang · DOI

Introduction

Semantic segmentation—the task of assigning a class label to every pixel in an image—is a cornerstone of computer vision, essential for applications ranging from autonomous driving to medical imaging. However, deep learning models for segmentation are notoriously "data-hungry," requiring thousands of meticulously hand-labeled images.

Semi-supervised learning (SSL) aims to alleviate this burden by utilizing a small amount of labeled data alongside a large pool of unlabeled data. The paper "UCC: Uncertainty guided Cross-head Co-training for Semi-Supervised Semantic Segmentation" introduces a framework that squeezes significantly more performance out of limited data by combining consistency regularization and co-training in a novel, efficient architecture.

Methodology

The UCC framework addresses the limitations of traditional SSL—such as confirmation bias and class imbalance—through three key innovations: Cross-head Co-training, Dynamic Cross-Set Copy-Paste (DCSCP), and an Uncertainty Guided Re-weight Module (UGRM).

The UCC architecture features a shared backbone with dual heads, utilizing weak and strong augmentations for cross-head supervision.

Cross-head Co-training

Instead of training two entirely separate models, which is computationally expensive, UCC uses a single shared "backbone" (encoder) with two identical segmentation heads. Diversity is enforced through different head initializations and different random "strong" augmentations. Head A’s prediction on a weakly augmented image serves as the pseudo-label to supervise Head B’s prediction on a strongly augmented version of the same image, and vice versa. This minimalist co-training enforces consistency while maintaining learner diversity.

Dynamic Cross-Set Copy-Paste (DCSCP)

To handle rare classes (like traffic lights) and the distribution gap between labeled and unlabeled data, the system identifies objects from labeled images and "pastes" them onto unlabeled images. This strategy, based on a running average of class confidence, forces the model to recognize rare objects in new, unlabeled contexts, effectively bridging the domain gap.

Uncertainty Guided Re-weight Module (UGRM)

Rather than using a "hard" threshold to discard uncertain pseudo-labels, which can lead to information loss, UGRM uses a "soft-voting" approach. It re-weights the loss for each pixel based on the relative confidence of the "peer" head. If Head A is certain about a pixel and Head B is not, Head B is forced to learn more heavily from Head A’s prediction, preventing the accumulation of errors from noisy labels.

Experiments and Results

The researchers evaluated UCC on two industry-standard benchmarks: Cityscapes (urban street scenes) and PASCAL VOC 2012 (general objects). They tested the model under various partition protocols, simulating scenarios where only 1/2 to 1/16 of the total dataset is labeled.

Qualitative comparison of segmentation results on the Cityscapes dataset, showing UCC's superior performance in handling complex boundaries and rare objects compared to the CPS baseline.

UCC consistently outperformed previous state-of-the-art methods across all tests:

  • Cityscapes (1/16 labels): Achieved 77.17% mIoU, a +10.1% improvement over the purely supervised baseline.
  • PASCAL VOC 2012 (1/16 labels): Achieved 76.49% mIoU, a +7.91% improvement over the baseline.
  • Efficiency: By sharing a backbone, UCC achieves the benefits of co-training with minimal additional parameters compared to standard single-head models.

Conclusion

UCC demonstrates that clever architectural choices and uncertainty-aware supervision can significantly reduce the data requirements for high-performance semantic segmentation. By addressing class imbalance and confirmation bias simultaneously, it sets a new standard for semi-supervised learning in computer vision. Future work may explore how to further utilize the inherent noise in self-training as a beneficial signal rather than just a hurdle to be suppressed.

Summary updated

BibTeX
@inproceedings{fan2022ucc,
  author = {Jiashuo Fan and Bin Gao and Huan Jin and Lihui Jiang},
  title = {{UCC: Uncertainty guided Cross-head Co-training for Semi-Supervised Semantic Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
  doi = {10.1109/cvpr52688.2022.00971},
}
Figure