Interactive Self-Training With Mean Teachers for Semi-Supervised Object Detection

Qize Yang, Xihan Wei, Biao Wang, Xian-Sheng Hua, Lei Zhang

Abstract

Semi-supervised object detection (SSOD) aims to reduce the reliance on expensive human-labeled data by leveraging large volumes of unlabeled images. Current approaches, such as self-training and consistency regularization, often struggle with confirmation bias and prediction instability. We introduce Interactive Self-Training with Mean Teachers (ISMT), a framework designed to stabilize the learning process by fusing historical predictions and employing dual "Mean Teacher" heads for interactive labeling. Our method significantly outperforms existing baselines, achieving 18.88 mAP on MS-COCO with only 1% labeled data—more than double the supervised baseline.

Introduction

The success of modern object detection models is largely driven by massive, manually annotated datasets. However, the cost of bounding box and class labeling is a significant bottleneck. Semi-supervised learning offers a solution by training on a small labeled set and a much larger unlabeled set.

The primary challenge in SSOD is instability. Early-stage models produce noisy predictions. If these noisy "pseudo-labels" are used for training without filtering, the model enters a feedback loop of errors known as confirmation bias. Furthermore, detection results can fluctuate significantly between training iterations, hindering convergence.

Methodology

ISMT addresses these challenges through three core innovations:

1. Pseudo Label Fusion via NMS

Rather than relying solely on the model's most recent prediction, ISMT maintains a "memory bank" of historical labels. By applying Non-Maximum Suppression (NMS) to a combination of current and historical predictions, the model creates a "temporal ensemble." This process smooths out erratic guesses and ensures that high-quality labels are preserved even if the model's confidence momentarily dips.

Figure 1: Visualization of pseudo-label stability and fusion across different training stages or model heads.

2. Interactive Dual-Head Training

To increase the diversity of the learning signal, the framework utilizes two distinct Region of Interest (ROI) heads. To prevent these heads from converging to the same solution, DropBlock is applied to force each head to focus on different spatial features of the image.

3. Mean Teacher Interaction

ISMT employs the Mean Teacher paradigm, where "teacher" weights are an Exponential Moving Average (EMA) of "student" weights. In our interactive setup, Teacher A generates pseudo-labels for Student B, and vice versa. This cross-labeling provides complementary information and prevents the model from reinforcing its own specific biases.

Experimental Results

The researchers evaluated ISMT on MS-COCO and PASCAL VOC benchmarks. Our results demonstrate that ISMT achieves state-of-the-art performance, particularly when labeled data is extremely scarce:

  • MS-COCO (Data-Scarce): With only 1% labeled data, ISMT reached 18.88 mAP, compared to the supervised baseline of 9.05 mAP and the previous state-of-the-art (STAC) at 13.97 mAP.
  • PASCAL VOC: On the VOC07+12 setting, ISMT improved the mAP to 49.59, a significant jump from the 42.04 baseline.
  • Efficiency: The results suggest that ISMT allows a model trained on 1% labeled data to match the performance of a standard supervised model using roughly 5% labeled data.

Discussion and Conclusion

The key insight of ISMT is that temporal consistency and architectural diversity are vital for stable semi-supervised learning. By treating historical predictions as a filter via NMS and forcing dual heads to "disagree" constructively, the model avoids the pitfalls of confirmation bias.

While effective, the framework introduces additional computational overhead due to the dual-head architecture and memory bank. Future work may explore scaling this diversity with more heads or optimizing the hyperparameter sensitivity regarding NMS thresholds and EMA coefficients.

Summary updated

BibTeX
@inproceedings{yang2021interactive,
  author = {Qize Yang and Xihan Wei and Biao Wang and Xian-Sheng Hua and Lei Zhang},
  title = {{Interactive Self-Training With Mean Teachers for Semi-Supervised Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00588},
}
Figure