Double-Check Soft Teacher for Semi-Supervised Object Detection

Kuo Wang, Yuxiang Nie, Chaowei Fang, Chengzhi Han, Xuewen Wu, Xiaohui Wang, Liang Lin, Fan Zhou, Guanbin Li

Abstract

Semi-supervised object detection (SSOD) leverages small labeled datasets alongside large unlabeled ones to train robust models. However, traditional Teacher-Student frameworks often suffer from noisy pseudo-labels and low recall. This paper introduces Double-Check Soft Teacher (DCST), a framework that improves pseudo-label quality through a novel "double-check" mechanism and the use of probabilistic soft labels. By allowing the Teacher to re-evaluate Student proposals and embracing class ambiguity, DCST achieves state-of-the-art performance across various data regimes on the MS-COCO benchmark.

Introduction

In the realm of semi-supervised object detection, the standard approach involves a Teacher model generating pseudo-labels (bounding boxes and class assignments) for unlabeled images, which a Student model then treats as ground truth. Despite its popularity, this method faces two critical challenges:

  1. Inaccurate Localization: Pseudo-labels often feature misaligned bounding boxes. Training on these leads to a mismatch between visual features and class labels, introducing noise into the learning process.
  2. Low Recall: To minimize noise, systems typically employ high confidence thresholds, discarding many valid objects. This causes the model to treat real objects as background, limiting its generalization capabilities.

DCST addresses these issues by ensuring consistency between the Teacher's evaluations and the Student's dynamic proposals.

Methodology

The DCST framework introduces three primary innovations to bridge the gap between Teacher and Student models.

Overview of the DCST framework architecture, highlighting the Double-Check loop and Soft Label generation.

The Double-Check Mechanism

Rather than the Student passively accepting static pseudo-labels, DCST implements a feedback loop. The Student generates its own candidate boxes (proposals), which are then passed back to the Teacher. The Teacher "double-checks" these specific regions on a weakly augmented version of the image. This ensures that the Teacher provides labels for the exact regions the Student is currently investigating, leading to better feature alignment.

Probabilistic Soft Labels and TOP-K Selection

Traditional SSOD methods rely on "hard" labels, forcing a definitive class assignment. DCST instead utilizes Soft Labels—a probability distribution across all possible classes, including background. This approach preserves information about class ambiguity.

Illustration of Soft Labeling and Top-K selection. The model captures the ambiguity between similar classes like TV and Laptop rather than forcing a single, potentially incorrect choice.

To further improve recall, the authors introduce TOP-K Pseudo Labeling. Instead of filtering by the single highest class score, the system sums the probabilities of the Top-K predicted classes. If this cumulative sum exceeds a threshold, the box is retained. This allows the model to learn from objects it identifies as "foreground" even if the specific category is initially uncertain.

Experimental Results

The researchers evaluated DCST on the MS-COCO benchmark under various labeling constraints to simulate real-world data scarcity.

Performance in Low-Data Regimes

DCST demonstrated significant improvements when labeled data was extremely limited. With only 1% labeled data, the model achieved 23.02 mAP, representing a +2.56 point increase over the previous state-of-the-art (Soft-Teacher). In the 10% labeled setting, performance reached 35.20 mAP.

Scaling to Large Datasets

When utilizing the full COCO training set as labeled data and incorporating the unlabeled2017 set, DCST pushed the performance to 44.60 mAP. These results suggest that the benefits of the double-check mechanism and soft labeling scale effectively with data volume.

Key Insights

  • Dynamic Alignment: The Teacher acts as an active tutor by responding to the Student's specific guesses, ensuring that training signals are always relevant to the Student's current state.
  • Information Retention: Soft labels prevent the loss of valuable information during the early stages of training. By acknowledging that a "chair" might look like a "sofa," the model learns shared visual characteristics more effectively.
  • Recall Priority: Prioritizing recall through Top-K selection allows the model to mine more foreground objects from unlabeled data, while the Double-Check mechanism serves as a filter to prevent this extra data from introducing toxic noise.

Conclusion and Future Work

While DCST sets a new benchmark for SSOD, it introduces additional computational overhead due to the extra forward passes required by the Teacher's ROI head during the double-check phase. Future research may focus on optimizing this process or combining these error-correction techniques with advanced label discovery methods to further enhance the quality of candidates extracted from unlabeled imagery.

Summary updated

BibTeX
@inproceedings{wang2022double,
  author = {Kuo Wang and Yuxiang Nie and Chaowei Fang and Chengzhi Han and Xuewen Wu and Xiaohui Wang and Liang Lin and Fan Zhou and Guanbin Li},
  title = {{Double-Check Soft Teacher for Semi-Supervised Object Detection}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.24963/ijcai.2022/199},
}
Figure