Semi-Supervised Semantic Image Segmentation With Self-Correcting Networks

Mostafa S. Ibrahim, Arash Vahdat, Mani Ranjbar, William G. Macready

Abstract

Building a large image dataset with high-quality object masks for semantic segmentation is costly and time-consuming. In this paper, we introduce a principled semi-supervised framework that only uses a small set of fully supervised images (having semantic segmentation labels and box labels) and a set of images with only object bounding box labels (the weak-set). Our framework trains the primary segmentation model with the aid of an ancillary model that generates initial segmentation labels for the weak-set and a self-correction module that improves the generated labels during training using the increasingly accurate primary model. We introduce two variants of the self-correction module using either linear or convolutional functions. Experiments on the PASCAL VOC 2012 and Cityscape datasets show that our models trained with a small fully supervised set perform similar to, or better than, models trained with a large fully supervised set while requiring 7x less annotation effort.

Introduction

Semantic image segmentation, the task of assigning a category label to every pixel, is a cornerstone of computer vision but suffers from an "annotation bottleneck." While drawing a bounding box is relatively fast, creating precise pixel-level masks is roughly 8x slower. This disparity makes high-quality segmentation datasets significantly more expensive to produce than classification or detection datasets.

This paper addresses this challenge by proposing a semi-supervised framework that leverages a small "full-set" of pixel-level masks alongside a larger "weak-set" of simple bounding box annotations. The goal is to achieve performance comparable to fully supervised models while drastically reducing the human effort required for labeling.

Methods

The proposed framework consists of three primary components that work in tandem to refine segmentation predictions for weakly labeled data.

The proposed semi-supervised framework featuring Primary and Ancillary models with a Self-Correction Module.

Ancillary and Primary Models

The Ancillary Model is a specialized segmentation network (based on DeepLabv3+) that takes both an image and its corresponding bounding boxes as input. Trained on the small fully supervised set, it provides initial, albeit noisy, segmentation masks for the weak-set. The bounding boxes act as spatial attention, guiding the network to the relevant regions.

The Primary Model is the standard segmentation network intended for final deployment. It is trained on both the ground-truth masks from the full-set and the refined masks generated for the weak-set.

Self-Correction Module

The core innovation is the Self-Correction Module, which prevents the Primary Model from simply mimicking the Ancillary Model's initial errors. As the Primary Model improves during training, this module merges its predictions with those of the Ancillary Model to create "Refined Soft Labels." The authors propose two versions:

  • Linear Self-Correction: Uses a weighted geometric mean of the two models' predictions, gradually increasing trust in the Primary Model over time.
  • Convolutional Self-Correction: Employs a small two-layer CNN to learn the optimal merging strategy directly from the data, providing a more robust and automated refinement process.

Results

The framework was evaluated on the PASCAL VOC 2012 and Cityscapes datasets.

Performance and Efficiency

On PASCAL VOC 2012, the model achieved a mean Intersection-over-Union (mIOU) of 82.33% using only 1,464 fully labeled images. This exceeds the 81.21% mIOU of a standard DeepLabv3+ model trained on the entire dataset of over 10,000 images. This represents a roughly 7x reduction in annotation effort.

Qualitative Analysis

Qualitative results demonstrate the effectiveness of the self-correction mechanism. As shown in the figure below, the convolutional self-correction method produces masks that are significantly closer to the ground truth than the initial ancillary predictions or versions without self-correction.

Qualitative comparison of segmentation results across different model configurations.

The self-correction mechanism also appears to act as a regularizer. By learning to ignore noise in the generated labels, the model becomes more robust, sometimes even outperforming fully supervised baselines by ignoring minor errors in human-provided ground truth.

Conclusion

This work demonstrates that high-quality semantic segmentation models can be trained with significantly less manual effort by combining a small amount of full supervision with abundant weak supervision. The self-correcting network architecture effectively bridges the gap between noisy initial guesses and precise final masks. Future research directions include extending this framework to instance segmentation and streamlining the multi-stage training process for easier deployment.

Summary updated

BibTeX
@inproceedings{ibrahim2020semi,
  author = {Mostafa S. Ibrahim and Arash Vahdat and Mani Ranjbar and William G. Macready},
  title = {{Semi-Supervised Semantic Image Segmentation With Self-Correcting Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2020},
  url = {https://openreview.net/forum?id=Qyn_aVaf9y},
}
Figure