Abstract
While self-training achieves state-of-the-art results in semi-supervised object detection (SSOD), it severely suffers from foreground-background and foreground-foreground imbalances in SSOD. In this paper, we propose an Adaptive Class-Rebalancing Self-Training (ACRST) with a novel memory module called CropBank to alleviate these imbalances and generate unbiased pseudo-labels. Besides, we observe that both self-training and data-rebalancing procedures suffer from noisy pseudo-labels in SSOD. Therefore, we contribute a simple yet effective two-stage pseudo-label filtering scheme to obtain accurate supervision. Our method achieves competitive performance on MS-COCO and VOC benchmarks. When using only 1% labeled data of MS-COCO, our method achieves 17.02 mAP improvement over the supervised method and 5.32 mAP gains compared with state-of-the-arts.
Introduction
Semi-supervised object detection (SSOD) aims to train powerful detectors using a limited amount of labeled data and a large volume of unlabeled images. The current standard approach is self-training, where a teacher model generates "pseudo-labels" for unlabeled data to train a student model. However, SSOD faces two major imbalance hurdles that self-training often exacerbates:
- Foreground-Background Imbalance: Most pixels in an image belong to the background. To avoid "hallucinating" objects, models typically use high confidence thresholds, which results in very few foreground pseudo-labels being generated.
- Foreground-Foreground Imbalance: Real-world data is often "long-tailed"—common classes appear frequently, while rare classes are seldom seen. The teacher model becomes biased toward common classes, creating a feedback loop where rare classes are increasingly ignored in pseudo-labels.
The ACRST Framework
The authors propose ACRST (Adaptive Class-Rebalancing Self-Training), which introduces several interlocking components to address these imbalances at the instance level.
Key Components
- CropBank: A memory module that stores "crops" of foreground instances from both ground-truth and high-confidence pseudo-labels. This allows the model to decouple an object from its original background.
- Foreground-Background Rebalancing (FBR): To combat background dominance, the system samples objects from the CropBank and "pastes" them onto other images during training, artificially increasing foreground density.
- Adaptive Foreground-Foreground Rebalancing (AFFR): This sampling strategy uses Pseudo Recall (PR), a metric that estimates how much the model is neglecting a specific class based on accumulated teacher confidence. Classes with low Pseudo Recall are sampled more frequently from the CropBank.
- Two-stage Pseudo-label Filtering (TPF): To mitigate noise from incorrect pseudo-labels, a secondary Semi-supervised Multi-label Learning (SSMLL) module provides image-level semantic constraints to filter out detections that lack semantic consistency.
- Selective Supervision: Regression losses are applied only to high-quality objects from the CropBank, reducing sensitivity to localization noise in pseudo-labels.
Experimental Results
The ACRST framework was evaluated on MS-COCO and PASCAL VOC benchmarks across various label regimes.
- MS-COCO Performance: In the 1% labeled data scenario, ACRST achieved 26.07 mAP, representing a 17.02 point improvement over the supervised-only baseline (9.05 mAP) and a 5.32 point lead over the previous state-of-the-art, Unbiased Teacher.
- PASCAL VOC Performance: The method improved the supervised baseline by 7.99 mAP, outperforming other semi-supervised methods like Humble Teacher.
- Ablation Studies: Results demonstrated that each component (FBR, AFFR, TPF) contributed incrementally to the final performance, confirming that both rebalancing and filtering are essential for effective SSOD.
Conclusion and Future Work
ACRST demonstrates that instance-level rebalancing is key to overcoming the inherent biases in semi-supervised object detection. By using "crop-and-paste" techniques guided by Pseudo Recall, the framework effectively addresses both foreground-background and foreground-foreground imbalances.
While highly effective, future work could improve the "copy-paste" logic to account for object context (e.g., avoiding unrealistic object placements) and further refine bounding box regression, which remains sensitive to pseudo-label noise.
Reference: Zhang, F., Pan, T., & Wang, B. (2022). Semi-supervised Object Detection with Adaptive Class-Rebalancing Self-Training. Proceedings of the AAAI Conference on Artificial Intelligence.
Summary updated