Abstract
Semi-supervised semantic segmentation (SSS) typically relies on pseudo-labeling, where high-confidence predictions from a teacher model guide a student model. However, standard approaches discard low-confidence "unreliable" pixels to avoid training on noise, losing valuable information at object boundaries and rare classes. This paper introduces U2PL (Using Unreliable Pseudo-Labels), a framework that re-purposes these unreliable pixels as negative samples for contrastive learning. By utilizing the entire spectrum of model predictions, U2PL achieves state-of-the-art performance on PASCAL VOC 2012 and Cityscapes, particularly in low-data regimes.
Introduction
Semantic segmentation—the task of assigning a category to every single pixel in an image—is notoriously expensive because it requires dense, pixel-perfect manual annotations. Semi-supervised semantic segmentation (SSS) tries to solve this by learning from a small set of labeled images and a large pool of unlabeled ones.
The standard "self-training" pipeline involves a model predicting "pseudo-labels" for unlabeled images. To prevent the model from learning from its own mistakes (confirmation bias), researchers usually apply a high-confidence threshold, discarding any pixel where the model is uncertain.
As shown in Figure 1, this "winner-takes-all" approach ignores a massive amount of data. Pixels at object boundaries or belonging to rare classes are often low-confidence and thus discarded. The authors argue that even if a model is confused between two classes (e.g., "is this a person or a motorbike?"), it is often very certain about what the pixel isn't (e.g., "it's definitely not a car"). U2PL turns this logic on its head by arguing that every pixel matters.
Methodology
The U2PL framework utilizes the entire spectrum of model predictions through a multi-step process that integrates traditional pseudo-labeling with contrastive learning.
Entropy-Based Partitioning
Instead of a simple probability threshold, U2PL uses the entropy of the prediction to separate pixels into "reliable" and "unreliable" groups. Low entropy means the model is certain; high entropy means it's confused.
Positive and Negative Supervision
- Pseudo-Labeling (The Positives): Reliable pixels are used as standard pseudo-labels to supervise the student model using a cross-entropy loss.
- Contrastive Learning (The Negatives): This is the core innovation. Unreliable pixels are pushed into a Category-wise Memory Bank. For a given class (e.g., "Car"), the model pulls pixels that it is certain are not cars and uses them as negative samples in a pixel-level contrastive loss (InfoNCE).
- Dynamic Partitioning Adjustment (DPA): As the model improves during training, its predictions naturally become more accurate. U2PL adaptively adjusts the threshold, gradually increasing the proportion of pixels considered "reliable."
- Probability Rank Threshold (PRT): To ensure the negative samples are actually useful, they only select pixels that are unlikely to belong to the target class but aren't so "easy" that the model learns nothing.
Key Results and Insights
The authors evaluated U2PL on two industry-standard benchmarks: PASCAL VOC 2012 and Cityscapes. U2PL consistently outperformed existing state-of-the-art (SOTA) methods like CPS, AEL, and ST++.
Massive Gains in Low-Data Regimes
On PASCAL VOC (classic) with only 1/16 of the labels (92 images), U2PL achieved 67.98% mIoU, a staggering +15.82% improvement over the supervised-only baseline and significantly higher than previous SOTA (~57%). On the 1/8 partition of Cityscapes, U2PL reached 74.37% mIoU, beating the previous best method by nearly 1%.
Boundary Awareness and Feature Separation
Visualizations show that U2PL creates much cleaner clusters in feature space and handles ambiguous regions (like the space between a rider and a bicycle) far better than standard methods. By using category-wise memory banks, the method ensures that rare classes get enough negative samples, preventing the model from becoming biased toward dominant classes like "background" or "road."
Conclusion
U2PL demonstrates that "unreliable" predictions in semi-supervised learning are not noise to be discarded, but valuable signals for contrastive learning. By intelligently selecting negative samples from uncertain regions, the framework achieves superior boundary awareness and class balance. While the approach introduces additional computational overhead due to the memory bank and teacher-student architecture, the significant performance gains in data-constrained scenarios make it a powerful tool for practical semantic segmentation tasks.
Summary updated