Abstract
Object detection models often suffer from significant performance degradation when deployed in environments that differ from their training data. This paper presents a self-training framework for unsupervised domain adaptation (UDA) that leverages temporal consistency in unlabeled video. By combining a tracker to identify "hard positive" examples missed by the detector with a knowledge distillation approach using soft labels, the proposed method effectively adapts detectors to challenging target domains such as low-resolution surveillance and adverse weather conditions without manual annotation.
Introduction
Deep learning-based object detectors are notoriously brittle when faced with domain shifts. A model trained on high-quality, well-lit images (the source domain) typically fails when applied to target domains characterized by low resolution, motion blur, or poor lighting. Traditional solutions involving manual labeling for each new environment are prohibitively expensive and slow. This work addresses Unsupervised Domain Adaptation (UDA), enabling a detector to self-improve by observing unlabeled video in the target environment.
Methods
The proposed self-training pipeline consists of three primary components designed to robustly handle the noise inherent in automated labeling.
1. Mining Hard Positives via Tracking
Standard self-training often relies on high-confidence pseudo-labels, which limits the model to learning what it already knows. To discover "hard positives"—objects the detector currently misses—the authors utilize a tracker to maintain temporal continuity. If an object is detected in non-consecutive frames, the tracker interpolates its position in the intervening frames, providing critical training signals that shift the model's decision boundary toward the target domain.
2. Knowledge Distillation with Soft Labels
To mitigate the impact of noisy pseudo-labels, the framework employs knowledge distillation. Rather than using binary "hard" labels, the model is trained with "soft" scores derived from the detector's confidence or tracker reliability. This regularization prevents the model from overfitting to erroneous detections while preserving features learned from the source domain.
3. Cross-Domain Score Mapping
Detection confidence scores vary significantly across domains. The authors implement a parameter-free histogram matching technique to align the score distribution of the target domain with that of the source domain. This allows for automatic threshold selection without requiring a labeled validation set in the new environment.
Experiments and Results
The method was evaluated on two challenging benchmarks: face detection (adapting from WIDER-Face to CS6/IJB-S surveillance video) and pedestrian detection (adapting from BDD-100k daytime to rainy, foggy, and night-time scenes).
Quantitative Performance
In face detection, the baseline model's Average Precision (AP) improved from 15.66% to 20.80%, rivaling complex adversarial training methods. In pedestrian detection, the improvement was more pronounced, jumping from a baseline of 15.21% AP to 28.43% AP, significantly outperforming state-of-the-art adversarial approaches (23.69% AP).
Discussion and Conclusion
The results demonstrate that temporal continuity in video provides a powerful, "free" supervisory signal for domain adaptation. The inclusion of "hard positives" through tracking is the primary driver of performance gains, while soft labels provide necessary robustness against noise. Unlike adversarial methods that require complex optimization and extra sub-networks, this self-training approach is stable and easy to implement. Future work will explore extending this framework to multi-category detection and further reducing dependency on tracker accuracy.
Summary updated