Mixed Pseudo Labels for Semi-Supervised Object Detection

Zeming Chen, Wenwei Zhang, Xinjiang Wang, Kai Chen, Zhi WangarXiv 2023 · DOI

Introduction

Semi-supervised object detection (SSOD) leverages a small amount of labeled data alongside a large pool of unlabeled data to train robust models. The standard paradigm involves a "Teacher-Student" setup where a teacher model generates pseudo-labels for unlabeled images to supervise a student model. However, this approach suffers from a "rich get richer" phenomenon: detectors excel at identifying large, common objects but struggle with small or rare ones. When a teacher misses these difficult instances, the student model treats them as background, reinforcing the detector's inherent biases and leading to a performance plateau for challenging categories.

The MixPL Framework

To address these limitations, we present Mixed Pseudo Labels (MixPL), a detector-agnostic framework designed to improve the quality and diversity of pseudo-labels. MixPL introduces three primary data-centric strategies:

  1. DetMeanTeacher: A simplified, universal baseline that stabilizes training by filtering out "empty" images—those lacking high-confidence pseudo-labels.
  2. Pseudo Mixup: By overlaying two pseudo-labeled images, this technique reduces the penalty for missed detections. If the teacher fails to label an object, that object is likely to be superimposed with another object or a real negative, softening the gradient signal that would otherwise incorrectly label the area as background.
  3. Pseudo Mosaic: This method combines four down-sampled pseudo-labeled images. Since teachers are more reliable at detecting large objects, shrinking these high-confidence detections into smaller scales provides the student with high-quality training signals for small-object detection.
Figure 1: Instance count disparity between ground truth (GT) and pseudo-labels (PL) across scales.

As shown in Figure 1, there is a significant gap between the number of small objects in the ground truth versus those captured by pseudo-labels. Pseudo Mosaic directly mitigates this by synthetically increasing the density of small-scale training instances.

Analysis and Key Insights

A critical contribution of this work is the Gradient Perspective on Mixup. Through gradient density analysis, the authors demonstrate that Pseudo Mixup significantly reduces "wrong" gradients stemming from false negatives (missed detections). This prevents the model from converging on incorrect background patterns.

Furthermore, MixPL addresses the "tail category" problem through Labeled Resampling. By oversampling rare classes from the labeled dataset, the model maintains exposure to infrequent objects, balancing the distribution skewed by the common objects prevalent in unlabeled data.

Experimental Results

MixPL was evaluated across multiple benchmarks, including MS-COCO and PASCAL VOC, using 11 different detector architectures ranging from one-stage models (e.g., RetinaNet, FCOS) to modern Transformer-based systems (e.g., DINO).

Figure 2: MixPL performance gains across 11 different detector architectures compared to the baseline.

The results, summarized in Figure 2, highlight the framework's versatility. MixPL consistently outperforms the DetMeanTeacher baseline across all architectures. Notable achievements include:

  • DINO (Swin-L): Reached a state-of-the-art 60.2% mAP on the COCO-Full benchmark without additional human annotation.
  • Faster R-CNN: Achieved 37.16% mAP on COCO 10%, a substantial improvement over the 26.6% supervised baseline.
  • One-Stage Detectors: Improved FCOS by 6.4% mAP on COCO-Full, effectively addressing the foreground-background imbalance typical of these models.

Conclusion

MixPL provides a powerful, architecture-independent solution for semi-supervised object detection. By focusing on data augmentation strategies like Pseudo Mixup and Pseudo Mosaic, it breaks the cycle of reinforcing detector weaknesses. While challenges remain for extremely rare "long-tail" categories, MixPL sets a new standard for leveraging unlabeled data in computer vision.

Summary updated

BibTeX
@misc{chen2023mixed,
  author = {Zeming Chen and Wenwei Zhang and Xinjiang Wang and Kai Chen and Zhi Wang},
  title = {{Mixed Pseudo Labels for Semi-Supervised Object Detection}},
  year = {2023},
  eprint = {2312.07006},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.07006},
}
Figure