Using Unreliable Pseudo-Labels for Label-Efficient Semantic Segmentation

Haochen Wang, Yuchao Wang, Yujun Shen, Junsong Fan, Yuxi Wang, Zhaoxiang Zhang

TL;DR

This paper introduces U2PL+, a novel framework for label-efficient semantic segmentation that leverages "unreliable" pixel predictions, which are typically discarded. By treating these uncertain predictions as negative examples for unlikely classes, U2PL+ significantly improves segmentation performance across semi-supervised, domain-adaptive, and weakly-supervised settings, demonstrating a more effective utilization of unlabeled data.

What Problem Does This Paper Address?

Semantic segmentation, a crucial task in computer vision for understanding images at a pixel level, typically requires vast amounts of meticulously annotated data. Acquiring these pixel-level labels is prohibitively expensive and time-consuming. To mitigate this, label-efficient methods aim to train models with limited labeled data and abundant unlabeled data. A common approach is "self-training," where models generate pseudo-labels for unlabeled data. However, existing methods often discard "unreliable" pseudo-labels (those with low confidence) to ensure high-quality supervision, leading to a significant loss of potentially useful information. This paper addresses the challenge of effectively utilizing these discarded, unreliable pseudo-labels to boost semantic segmentation performance.

Methods

The core of U2PL+ lies in its innovative approach to handling unreliable pseudo-labels. Instead of discarding them, the authors propose to use them as "negative keys" for unlikely classes.

  • Entropy-based Filtering: Pixels are classified as "reliable" or "unreliable" based on the entropy of their prediction probability distribution. High entropy indicates uncertainty, marking a pixel as unreliable.
  • Negative Key Generation: Unreliable pixels are pushed into a category-wise memory bank. For a given pixel, its prediction is used to identify unlikely classes, and the pixel's features are then treated as negative examples for those specific classes. This is a key departure from traditional methods that discard such pixels.
  • Adaptive Thresholding: To account for the evolving nature of model training, the threshold for distinguishing reliable from unreliable pixels is adaptively adjusted over epochs.
  • U2PL+ Enhancements: The extended U2PL+ framework incorporates several improvements:
  • Momentum Prototype Updating: Category-wise prototypes are updated using momentum to ensure consistency.
  • Prototypical Denoising: A denoising technique is introduced to improve the quality of pseudo-labels by leveraging class prototypes.
  • Symmetric Cross-Entropy Loss: This loss function is used for unsupervised learning to handle noisy pseudo-labels more effectively.
  • Contrastive Learning: The framework employs a contrastive objective to pull positive pairs (reliable predictions and prototypes) together while pushing negative pairs (unreliable predictions and unlikely classes) apart.

Datasets

The paper evaluates U2PL+ on several standard datasets across different settings:

  • Semi-Supervised Segmentation:
    • PASCAL VOC 2012
    • Cityscapes
  • Domain Adaptive Segmentation:
    • GTA5 (source) → Cityscapes (target)
    • SYNTHIA (source) → Cityscapes (target)
  • Weakly Supervised Segmentation:
    • PASCAL VOC 2012 (augmented with SBD)

Key Insights and Ideas

  • Every Pixel Matters: The fundamental insight is that even "unreliable" predictions, which are uncertain about the correct class, are often confident about not belonging to other classes. This provides valuable negative information.
  • Unreliable as Negative Keys: Treating unreliable predictions as negative examples for unlikely classes is a simple yet powerful way to leverage information that would otherwise be discarded.
  • Adaptive Thresholding is Crucial: As the model trains and its predictions become more reliable, the criteria for what constitutes an "unreliable" pixel should also adapt.
  • Generalizability Across Settings: The proposed approach is not limited to semi-supervised learning but shows significant benefits in domain-adaptive and weakly-supervised scenarios, highlighting its broad applicability.

Key Results

U2PL+ consistently outperforms state-of-the-art methods across various benchmarks and training settings.

  • Semi-Supervised Segmentation: U2PL+ achieves significant improvements over supervised baselines and existing methods on PASCAL VOC 2012 and Cityscapes, particularly under low-data regimes (e.g., +12.29% on PASCAL VOC 2012 with 1/16 labeled data).
  • Domain Adaptive Segmentation: On GTA5 → Cityscapes, U2PL+ achieves an mIoU of 69.6%, outperforming DAFormer by 1.3%. For SYNTHIA → Cityscapes, it achieves 61.6% mIoU, surpassing DAFormer by 8.4% on the "bus" class.
  • Weakly Supervised Segmentation: U2PL+ achieves competitive results, outperforming previous single-stage methods and even matching some multi-stage approaches on PASCAL VOC 2012.
  • Qualitative Results: Visualizations show U2PL+ producing more accurate segmentation maps, especially in ambiguous regions and object boundaries, demonstrating its ability to better utilize unreliable predictions.

Limitations and Future Work

  • Computational Cost: While effective, the use of memory banks for negative keys can introduce additional computational costs.
  • Domain Shift in DA: While U2PL+ shows promise in domain adaptation, the paper notes that it doesn't explicitly focus on bridging domain shifts, suggesting this could be a future research direction.
  • Generalization to Other Tasks: The paper briefly mentions extending U2PL+ to image classification, indicating potential for broader applications.
  • Further Exploration of Unreliable Pixels: The authors suggest that further research could explore more sophisticated ways to utilize unreliable predictions beyond simply treating them as negative keys.

Summary updated

BibTeX
@article{wang2023using,
  author = {Haochen Wang and Yuchao Wang and Yujun Shen and Junsong Fan and Yuxi Wang and Zhaoxiang Zhang},
  title = {{Using Unreliable Pseudo-Labels for Label-Efficient Semantic Segmentation}},
  journal = {Int. J. Comput. Vis.},
  year = {2023},
  url = {https://openreview.net/forum?id=dbid78kYrX},
}
Figure