Introduction
Labeling data for object detection is a significant bottleneck in computer vision. Unlike image classification, which requires a single tag per image, detection necessitates precise bounding boxes and class labels for every object. This process often takes hundreds of hours for standard datasets. Semi-supervised learning (SSL) offers a solution by leveraging small amounts of labeled data ($D_L$) alongside vast amounts of unlabeled data ($D_U$) to improve model performance.
A popular technique in SSL for classification is Interpolation Regularization (IR), such as Mixup. In IR, two images are mixed (e.g., $0.5 \times \text{Image A} + 0.5 \times \text{Image B}$), and the model is tasked with predicting a similarly mixed label. However, applying IR directly to detection is challenging due to the "background" class. Mixing an object with a background patch can "corrupt" the object features, leading to degraded detector performance if the loss function does not account for the lack of foreground information in the background patch.
The ISD Framework
To address these challenges, the authors introduce Interpolation-based Semi-supervised learning for object Detection (ISD). The core innovation of ISD is the categorization of mixed image patches into two distinct types based on an "objectness score," which is calculated using a background elimination mask.
Type-I: Object + Object
In Type-I mixtures, both mixed patches contain foreground objects. The framework employs a Jensen-Shannon (JS) divergence loss here. The objective is to ensure the model's prediction on the mixed image aligns with the weighted average of its predictions on the two original source images. JS divergence is preferred over standard L2 loss as it avoids over-penalizing the background class, which typically dominates loss gradients in detection tasks.
Type-II: Object + Background
Type-II mixtures occur when one patch contains an object and the other is background. In this scenario, the mixed image is treated as a "strongly augmented" version of the original object. Using a combination of KL-divergence and L2 loss, the model is trained to predict the original object's class and location despite the added background noise. This "asymmetric learning" allows the clean object patch to act as a teacher for the noisy mixed patch, enhancing robustness to occlusion and varied backgrounds.
ISD is further integrated with Consistency-based Semi-supervised learning (CSD), which enforces prediction consistency across horizontal flips. The final training pipeline utilizes three forward passes (original, flipped, and mixed) to compute a joint supervised, CSD, and ISD loss.
Experimental Results
The authors evaluated ISD using the SSD300 architecture with a VGG-16 backbone on two industry-standard benchmarks:
- PASCAL VOC: Using VOC07 as labeled data and VOC12 as unlabeled data, ISD+CSD achieved 74.4% mAP. This represents a 4.2% improvement over the supervised baseline (70.2%) and a 2.1% improvement over the previous state-of-the-art CSD method.
- MS COCO: The method demonstrated a 2.2% improvement in [email protected]:0.95 compared to the standard SSD baseline.
- Supervised Regularization: Even in a fully supervised setting (using only labeled data), adding the ISD loss improved the SSD baseline from 70.2% to 72.3% mAP, highlighting its effectiveness as a general-purpose regularizer.
Conclusion and Future Work
ISD successfully adapts interpolation techniques for the structural complexities of object detection. By treating the background as a distinct entity rather than just another class, it achieves significant performance gains.
However, the method currently faces some limitations. Training with ISD requires three forward passes per iteration, roughly tripling the computational and memory requirements. Additionally, the current implementation is tailored for single-stage detectors like SSD; extending this to two-stage detectors (e.g., Faster R-CNN) is more complex due to the difficulty of aligning mixed patches during the Region of Interest (RoI) pooling stage. Future research may focus on improving computational efficiency and developing better alignment strategies for interpolation in multi-stage detection architectures.
Summary updated