Introduction
Semi-supervised semantic segmentation (SSS) aims to train robust models by leveraging a small amount of labeled data alongside a much larger pool of unlabeled images. While promising, this approach frequently encounters a significant bottleneck: class imbalance. In most real-world datasets, common classes like "road" or "background" vastly outnumber minority classes like "bicycle" or "pole."
When a model is trained on a small, imbalanced labeled set, it inherits a "class-bias." During the self-training phase, this bias causes the model to generate inaccurate pseudo-labels for unlabeled data, favoring dominant classes. This creates a destructive feedback loop where minority classes are increasingly ignored, eventually being "drowned out" by the majority. This paper introduces the Unbiased Subclass Regularization Network (USRN) to break this cycle.
The USRN Framework
The core philosophy of USRN is that while we cannot easily change the physical frequency of objects in a dataset, we can change how the model categorizes them. By decomposing imbalanced semantic classes into multiple, equal-sized "subclasses," the authors create a balanced auxiliary task that guides the model toward unbiased feature learning.
1. Balanced Subclass Clustering
The process begins by extracting features from the labeled images. The model uses a "balanced k-means" algorithm to split each original semantic class into $k$ subclasses. For instance, the "car" class might be divided into 10 subclasses based on visual features, with each subclass containing a similar number of pixels. This ensures that the auxiliary label distribution is uniform, regardless of the original class distribution.
2. Dual-Task Learning and Pseudo-Labeling
The USRN architecture features two distinct output heads:
- Main Head: Predicts the original, imbalanced semantic classes.
- Auxiliary Head: Predicts the newly created, balanced subclasses.
During training on unlabeled data, the model uses the auxiliary subclass head to generate predictions. Because the subclass head was trained on a balanced distribution, its predictions are significantly less biased toward majority classes. These subclass predictions are then mapped back to their parent semantic classes to provide "unbiased pseudo-supervision" for the main head.
3. Entropy-based Gate Mechanism (EGM)
Learning to distinguish between fine-grained subclasses is inherently more difficult than identifying broad semantic categories. To prevent the auxiliary head from introducing noise when it is uncertain, the authors implemented an Entropy-based Gate Mechanism (EGM). If the subclass prediction exhibits higher entropy (lower confidence) than the main head's prediction, the regularization signal is suppressed, ensuring the model only learns from reliable subclass information.
Experimental Evaluation
The researchers evaluated USRN on two primary benchmarks: PASCAL VOC 2012 (general objects) and Cityscapes (urban street scenes). To simulate real-world data scarcity, they tested the model on various "splits," such as using only 1/64 or 1/32 of the available labeled data.
Key Results
USRN consistently established new state-of-the-art (SOTA) benchmarks across both datasets:
- PASCAL VOC 2012: On the 1/64 label split (only 165 labeled images), USRN achieved 61.7% mIoU (mean Intersection over Union), outperforming previous SOTA methods by 3.8%.
- Cityscapes: On the 1/32 split, it achieved 64.6% mIoU, a 2.1% lead over previous methods.
Qualitative analysis confirms that USRN is significantly better at capturing the boundaries of small or rare objects—such as distant pedestrians or thin poles—which baseline models typically misclassify as background pixels.
Conclusion and Future Work
USRN demonstrates that class-bias in semi-supervised learning can be effectively mitigated by restructuring the label space. By forcing the model to solve a balanced auxiliary subclass task, USRN prevents the "vicious cycle" of biased pseudo-labeling.
While the current implementation adds some training complexity due to the clustering step and auxiliary head, it does not impact inference speed. Future research may focus on automating the selection of the number of subclasses ($k$) and extending this "unbiased subclass" philosophy to other domains like object detection and image classification.
Summary updated