Semi-supervised Segmentation Based on Error-Correcting Supervision

Robert Mendel, Luis Antônio de Souza, David Rauber, João Paulo Papa, Christoph PalmECCV 2020

Abstract

Semantic segmentation is a critical task in computer vision that typically requires extensive pixel-level annotations. To reduce the reliance on expensive labeled data, this paper introduces Error-Correcting Supervision (ECS), a novel collaborative framework for semi-supervised learning. ECS employs a secondary "Correction Network" to identify and rectify errors in the primary segmentation model's predictions. By generating high-quality pseudo-labels for unlabeled data through this collaborative process, ECS significantly improves performance in data-sparse environments. Evaluations on the Cityscapes and Pascal VOC 2012 datasets demonstrate that ECS consistently outperforms both supervised baselines and existing state-of-the-art semi-supervised methods.

Introduction

Assigning a class label to every pixel in an image is a data-intensive process. In domains like autonomous driving or medical imaging, creating ground-truth labels can take hours per image. Semi-supervised learning (SSL) addresses this by utilizing a small set of labeled data alongside a much larger pool of unlabeled data.

Traditional SSL approaches often rely on Generative Adversarial Networks (GANs), where a discriminator competes against a generator. However, this competitive dynamic can be unstable; if the discriminator becomes too proficient, the generator's learning can stall. ECS shifts this paradigm from competition to collaboration, using a "corrector" network to assist the primary segmentation model rather than just critiquing it.

Methodology

The Error-Correcting Supervision (ECS) framework consists of two primary components: a Segmentation Network ($S$) and a Correction Network ($C$).

Overview of the Error-Correcting Supervision (ECS) framework showing the interaction between the segmentation and correction networks.

Collaborative Training and Pseudo-labeling

Unlike adversarial setups, $S$ and $C$ work together. The Correction Network is trained on labeled data to produce a fine-grained correction map. For a given prediction from $S$, the corrector $C$ learns to identify correct pixels (assigning them to a new "correct" class $N+1$) and predict the actual class for pixels that $S$ misidentified.

When processing unlabeled images, the segmentation network generates an initial prediction, which the corrector then "fixes." This corrected output serves as a high-quality pseudo-label used to further train the segmentation network.

Negated Focal Loss (NFL)

To ensure the quality of supervision, the authors propose Negated Focal Loss (NFL). This loss function weights the influence of pseudo-labels based on the corrector's certainty. If the corrector is unsure about a specific pixel's correction (indicated by high predictive entropy), that pixel's contribution to the training gradient is down-weighted. This prevents the propagation of errors from the corrector to the main model.

Visualization of the correction process: input image (x), ground truth (y), initial prediction (ŷ), and the corrected pseudo-label (y^cor).

Experiments and Results

The framework was evaluated on the Cityscapes and Pascal VOC 2012 datasets, simulating data-sparse scenarios by using only 1/8, 1/4, and 1/2 of the available labeled data.

Key Findings

  • Cityscapes: With only 1/8 of the labeled data, ECS achieved a mean Intersection over Union (mIoU) of 67.38%, a substantial improvement over the 63.12% supervised baseline.
  • Pascal VOC 2012: Similarly, at the 1/8 mark, ECS reached 70.22% mIoU, compared to the baseline's 66.22%.
  • State-of-the-Art Comparison: ECS consistently outperformed previous leading semi-supervised methods, showing its greatest advantages when labeled data was most limited. As the volume of labeled data increases, the performance gap narrows, though ECS maintains a competitive edge.

Discussion and Conclusion

ECS demonstrates that a collaborative "teacher-student" relationship between a segmentation model and a corrector is more stable and effective than adversarial competition. By learning a nuanced understanding of errors on a small labeled set, the corrector provides potent supervision for unlabeled data.

While highly effective, the method faces challenges with specific difficult classes where the corrector's confidence may not align with accuracy. Future research could explore more complex corrector architectures or the application of ECS to domain adaptation and specialized fields like medical imaging.

Summary updated

BibTeX
@inproceedings{mendel2020semi,
  author = {Robert Mendel and Luis Antônio de Souza and David Rauber and João Paulo Papa and Christoph Palm},
  title = {{Semi-supervised Segmentation Based on Error-Correcting Supervision}},
  booktitle = {European Conference on Computer Vision},
  year = {2020},
  doi = {10.1007/978-3-030-58526-6\_9},
}
Figure