Abstract
Recent Semi-Supervised Object Detection (SS-OD) methods primarily rely on self-training, where a teacher model generates hard pseudo-labels on unlabeled data to serve as supervisory signals. While successful, these approaches face significant challenges due to limited labeled data, including massive false negatives, inferior localization precision, large variance in object sizes, and extreme class imbalance between background and foreground. We introduce Scale-Equivalent Distillation (SED), a simple yet effective end-to-end knowledge distillation framework designed to overcome these hurdles. SED imposes consistency regularization to handle scale variance, utilizes soft-label distillation to alleviate noise from false negatives, and employs a re-weighting strategy to mitigate class imbalance. Extensive experiments demonstrate that SED consistently outperforms state-of-the-art methods, surpassing supervised baselines by more than 10 mAP on MS-COCO when using only 5% and 10% labeled data.
Introduction
Object detection is a cornerstone of computer vision, yet its progress is often bottlenecked by the high cost of data annotation. Drawing precise bounding boxes and assigning categories for thousands of images is significantly more labor-intensive than image-level classification. Semi-supervised object detection (SS-OD) offers a solution by leveraging a small set of labeled data alongside a vast pool of unlabeled images.
Most existing SS-OD frameworks utilize a "Teacher-Student" architecture. The teacher generates pseudo-labels on unlabeled data, which then guide the student's learning. However, this paradigm suffers from three critical issues:
- Scale Inconsistency: Detectors often fail to maintain consistent predictions when the same object appears at different scales.
- The False Negative Trap: To ensure pseudo-label quality, models typically use high confidence thresholds. This inadvertently filters out many real objects, causing the student to mistakenly learn that these objects are part of the "background."
- Class Imbalance: In detection tasks, the background occupies the vast majority of an image. Without intervention, the model's learning process is dominated by easy background samples rather than the informative foreground objects.
The Scale-Equivalent Distillation (SED) Framework
To address these challenges, we propose Scale-Equivalent Distillation (SED). Unlike multi-stage methods that require separate label generation and training phases, SED is an end-to-end framework that optimizes the model holistically through three primary mechanisms.
1. Scale Consistency Regularization
SED treats scale as a fundamental dimension of the semantic manifold. The framework processes an unlabeled image and a resized version of the same image simultaneously. By enforcing a consistency loss, the student model is forced to produce equivalent predictions regardless of the input resolution. If a car is detected in a high-resolution view, the model must also recognize it in the downsampled view, ensuring the representation is robust to size variance.
2. Self-Distillation with Soft Labels
Rather than relying on "hard" pseudo-labels (binary assignments that are either 0 or 1), SED utilizes an Exponential Moving Average (EMA) Teacher to provide "soft" probability distributions. These soft labels preserve the structural information and uncertainty of the teacher's predictions. This approach prevents the model from being "blinded" by rigid thresholds, effectively reducing the impact of false negatives and improving localization precision.
3. Discrepancy-Based Re-weighting
To combat class imbalance, SED introduces a re-weighting strategy inspired by gradient harmonization. Instead of treating all unlabeled regions equally, the framework calculates the Kullback-Leibler (KL) divergence between the teacher and student predictions. Regions with high discrepancy—where the two models disagree—are identified as potential foreground areas containing objects the model has yet to master. These regions are given higher weight in the loss function, while "easy" background regions where both models agree are down-weighted.
Experimental Results
We evaluated SED on the MS-COCO and Pascal VOC benchmarks, testing its performance across various labeled data ratios (0.5% to 10%).
- State-of-the-Art Performance: SED consistently outperformed previous leading methods such as STAC and Unbiased Teacher. On the MS-COCO 10% labeled split, SED achieved 34.02 mAP, a significant improvement over the previous best of 31.39 mAP.
- Massive Gains over Supervised Baselines: When compared to models trained only on labeled data, SED provided a boost of more than 10 mAP in the 5% and 10% data regimes.
- Architectural Versatility: The SED framework is not tied to a specific detector. Our experiments confirmed its effectiveness across one-stage (RetinaNet), two-stage (Faster R-CNN), and transformer-based (DETR) architectures.
Discussion and Future Work
The success of SED highlights that inconsistency itself can be a powerful supervisory signal. By focusing on where the model is uncertain or inconsistent across scales, we can extract high-quality learning signals from unlabeled data without the need for perfect pseudo-labels.
However, there are practical limits to scale consistency; extreme downsampling (e.g., 16x) can render objects unrecognizable even to humans, making consistency counterproductive. Future research will explore extending the "scale-equivalent" philosophy to more complex tasks such as instance segmentation and human pose estimation. While the dual-scale training increases the memory footprint per iteration, the end-to-end nature of SED offers a streamlined and highly effective path for practical SS-OD applications.
Summary updated