Abstract
This paper focuses on semi-supervised object detection (SS-OD) for its tolerance to small amounts of training samples, which is common in real-world applications. Pseudo-label-based approaches have been the mainstream for SS-OD. In this paper, we first show the impact of accurate pseudo-labeling and the challenge of producing such labels. In contrast to prior research that predominantly focused on refining the main model to enhance localization, this paper introduces a novel strategy, where a standalone “Teaching Assistant” or simply “Assistant” is involved in the popular Teacher/Student paradigm to improve the quality of pseudo-labels. This “Assistant” can be plugged into any existing Teacher/Student-based framework without having to fine-tune the original Teacher/Student model. We exploit two “Assistant” models, both of which center around the non-maximum suppression (NMS) method -- a popular technique used to select only the promising bounding boxes. The first “Assistant” model is referred to as the “pre-NMS” assistant that refines the candidate bounding box scores for a better set of inputs to the NMS process. The second “Assistant” model is referred to as the “post-NMS” assistant which takes advantage of SOTA segmentation models to improve the output from the NMS process. We thoroughly evaluate the performance of pre-NMS vs. post-NMS and the impact of improved pseudo-labels on the OD performance. Experimental results on the COCO dataset demonstrate that post-NMS is better than SOTA methods.
Introduction
Object detection is a fundamental task in computer vision, yet it typically requires massive amounts of hand-labeled data. Semi-supervised object detection (SS-OD) attempts to mitigate this by using a small set of labeled images to "teach" a model how to label a much larger set of unlabeled images. The standard approach is the Teacher-Student framework: a "Teacher" model generates "pseudo-labels" for unlabeled data, which the "Student" then uses to learn.
However, a significant bottleneck exists: if the Teacher’s pseudo-labels are inaccurate—particularly the bounding box coordinates—the Student learns these errors, leading to poor performance. While most research focuses on refining the primary models, this paper introduces a standalone "Teaching Assistant" module designed specifically to improve the quality of these pseudo-labels.
Methodology: The Teaching Assistant Framework
The proposed "Assistant" acts as a middleman to clean up the Teacher's work before it reaches the Student. This module is "plug-and-play," meaning it can be integrated into existing frameworks without requiring fine-tuning of the original Teacher or Student models.
The researchers explored two types of assistants centered around Non-Maximum Suppression (NMS), the standard algorithm used to filter redundant, overlapping boxes:
- Pre-NMS Assistant: This model (based on a ResNet-50 backbone) is trained to predict a more accurate "objectness score." Instead of relying on the Teacher's potentially shaky confidence scores, this assistant re-evaluates the boxes to ensure the highest-quality candidates are selected during the NMS process. It utilizes a novel "IoU-Augment" technique to recognize high-quality overlaps.
- Post-NMS Assistant: This version utilizes the Segment Anything Model (SAM), a powerful foundation model. It takes the Teacher's final bounding box as a visual prompt to generate a precise mask of the object, then draws a new, tighter bounding box around that mask.
Experimental Setup and Results
The approach was evaluated using the COCO (Common Objects in Context) dataset across various "low-data" regimes, using only 0.5%, 1%, and 5% of the available labeled data.
The Post-NMS assistant (using SAM) emerged as the superior strategy, particularly when labeled data was extremely scarce. In the 0.5% labeled data scenario for a single-class task, the baseline achieved a mean Average Precision (mAP) of 20.11, while adding the Post-NMS assistant boosted this to 31.57—a nearly 57% improvement. Across all tests, the Mean Intersection over Union (IoU) was significantly higher with the assistants, often jumping from the 70s into the 90s.
Key Insights and Conclusion
This research highlights that localization is often the weak link in semi-supervised learning; while models often correctly identify what an object is, they struggle with exactly where it is. By using foundation models like SAM as automated "editors," researchers can significantly improve the precision of pseudo-labels.
While the assistants provided substantial boosts for simpler datasets, the gains were more modest on the full COCO dataset, suggesting that as object complexity increases, the assistants require further robustness. Future work will focus on bridging this performance gap for complex, multi-class datasets and optimizing the computational efficiency of integrating large-scale foundation models into the training pipeline.
Summary updated