Abstract
Semi-supervised object detection (SSOD) typically relies on multi-stage pseudo-labeling, which suffers from error propagation and inefficient background handling. This paper introduces an end-to-end framework that utilizes a "Soft Teacher" mechanism. By providing continuous, score-weighted feedback and a novel "box jittering" technique to assess localization reliability, the proposed method achieves state-of-the-art performance on the COCO benchmark, reaching up to 61.3 mAP.
What Problem Does This Paper Address?
Object detection requires expensive, labor-intensive bounding box annotations. Semi-supervised learning aims to alleviate this by training models on a small set of labeled data and a much larger set of unlabeled data.
The current state-of-the-art typically uses a multi-stage "pseudo-labeling" approach: train a detector on labeled data, use it to label the unlabeled data, and then retrain. This has two major flaws:
- Static Errors: If the initial detector is mediocre, the pseudo-labels are noisy, and these errors propagate through the final training stage.
- The Background Problem: In detection, most of an image is "background." If a teacher model misses an object (a false negative) and assigns it a "hard" background label, the student model is penalized for correctly finding that object, severely hindering performance.
Methods
The authors propose an end-to-end framework where a Student model learns from both labeled and unlabeled data, while a Teacher model (an Exponential Moving Average of the student's weights) simultaneously generates pseudo-labels.
1. Soft Teacher Mechanism
Instead of using a hard threshold to decide if a box is "background," the framework uses the teacher's classification score to weight the background loss. If the teacher is uncertain about a region, the student's loss for that region is down-weighted. This prevents the student from being "punished" by the teacher's potential omissions.
2. Box Jittering for Localization
Classification confidence is a poor proxy for how well a bounding box is aligned (localization). To find reliable boxes for regression training, the authors "jitter" (slightly displace) candidate boxes and pass them through the teacher. If the teacher's refined outputs for these jittered boxes have low variance, the box is deemed "reliable" for the student to learn from.
3. Training Schema
The model uses "Weak Augmentation" (simple flips/scales) for the teacher to generate labels and "Strong Augmentation" (color jittering, cutout, etc.) for the student to ensure the model learns robust features.
Key Results
- Massive Gains on Small Data: On the 10% COCO labeling protocol, the method achieved 34.0 mAP, outperforming the previous best (STAC) by 5.4 points.
- Improving the "Full" Baseline: Even when using the entire COCO training set, adding unlabeled data improved the baseline from 40.9 to 44.5 mAP (+3.6 points).
- New State-of-the-Art: When combined with a Swin-Transformer backbone and Object365 pre-training, the model reached 61.3 mAP on COCO, a significant milestone for the field.
Key Insights and Ideas
- The Flywheel Effect: By training end-to-end, the teacher and student improve in a virtuous cycle. As the student gets better, the teacher (its EMA) provides cleaner labels, which in turn helps the student.
- Reliability vs. Confidence: A major "aha moment" is the realization that classification scores don't guarantee good localization. The Box Jittering technique provides a clever, intuitive way to measure "localization stability" without needing ground-truth labels.
- Softening the Negative Signal: In semi-supervised learning, a false negative (missing an object) is often more damaging than a false positive. The "Soft Teacher" approach acknowledges the teacher's fallibility, allowing the student more room to explore.
Limitations and Future Work
- Computational Overhead: While the dual-model (Teacher + Student) architecture is efficient, it inherently requires more memory and compute than standard supervised training.
- Hyperparameter Sensitivity: Performance relies on specific thresholds (e.g., the 0.9 foreground threshold) and the EMA update rate, which might require tuning for different datasets.
- Future Directions: The authors suggest that this framework could be extended to other tasks like instance segmentation or video-based detection tasks.
Summary updated