Adaptive Self-Training for Object Detection

Renaud Vandeghen, Gilles Louppe, Marc Van Droogenbroeck

Abstract

Adaptive Self-Training for Object Detection (ASTOD) is a semi-supervised learning framework that eliminates the need for manual, dataset-specific threshold tuning. By using a "ground thresholding" heuristic based on score histograms and a systematic student refinement step, it achieves state-of-the-art performance on diverse datasets like MS-COCO and DIOR without the cost of a parameter sweep.

Introduction

Deep learning models for object detection typically require massive labeled datasets to achieve high performance. Semi-supervised object detection (SSOD) addresses this by leveraging small amounts of labeled data alongside vast quantities of unlabeled data. The standard approach is self-training: a "teacher" model predicts labels for unlabeled images (pseudo-labels), and a "student" model is trained on those predictions.

However, a significant challenge in self-training is noise: if the teacher's predictions are incorrect, the student learns from faulty data. To mitigate this, researchers traditionally apply a confidence threshold (e.g., keeping only predictions with >90% confidence). The "optimal" threshold varies significantly across datasets, architectures, and object classes. Finding this value usually requires expensive parameter sweeps. ASTOD aims to automate this process, making SSOD more practical and generalizable.

Methodology

The ASTOD framework follows a multi-stage iterative pipeline designed to optimize pseudo-label quality and student learning.

The ASTOD pipeline overview, showing the iterative process from teacher warm-up to student refinement.
  1. Teacher Warm-up: A standard detector is initially trained on the available labeled data.
  2. Multi-View Pseudo-Labeling: To enhance pseudo-label robustness, the teacher processes unlabeled images through multiple "views" (original, flipped, and upscaled). These predictions are aggregated using Non-Maximum Suppression (NMS).
  3. Ground Thresholding: This is the core innovation of ASTOD. Rather than picking an arbitrary threshold, the system analyzes the histogram of confidence scores for predicted boxes.
  4. Iterative Student Training: The student is trained on both labeled and pseudo-labeled data, with loss contributions weighted by confidence scores.
  5. Refinement: The student is fine-tuned exclusively on the small labeled dataset to correct for biases introduced by pseudo-labels. This refined student then serves as the teacher for the next cycle.

The Ground Thresholding Heuristic

The "Ground Thresholding" mechanism relies on the observation that confidence score histograms typically form a "U-shape." This distribution consists of many low-confidence noise detections and many high-confidence true detections.

Score histogram illustrating the U-shape distribution and the 'valley' used for ground thresholding.

ASTOD automatically sets the threshold at the "valley"—the bin with the lowest density. This effectively separates signal from noise independently for every object class. This class-wise autonomy allows the model to set lower thresholds for difficult classes (e.g., small objects) and higher thresholds for easier ones without human intervention.

Experimental Evaluation

The researchers evaluated ASTOD on two distinct datasets:

  • MS-COCO: A benchmark for natural images, tested with 1%, 2%, 5%, and 10% labeled data.
  • DIOR: A satellite imagery dataset, representing a challenging out-of-domain test with different scales and orientations.

Key Results

  • Performance: On MS-COCO (10% labeled), ASTOD achieved 34.58 mAP, significantly outperforming other adaptive methods like Humble Teacher (31.61 mAP).
  • Efficiency: ASTOD performed nearly as well as "Unbiased Teacher v2" (35.05 mAP), which requires manual parameter tuning, proving the heuristic's effectiveness.
  • Generalization: On the DIOR dataset, ASTOD improved the baseline supervised performance from 47.59 mAP to 52.89 mAP.

Discussion and Conclusion

The success of ASTOD highlights two critical insights. First, the "valley" heuristic provides an elegant, data-driven way to find optimal thresholds. Second, the refinement step is non-negotiable; fine-tuning on ground-truth labels prevents the student from drifting into the biases of the teacher's pseudo-labels.

While ASTOD is highly effective, its iterative nature can be more computationally demanding than simultaneous "mutual learning" frameworks. Future work may involve integrating adaptive thresholding into Mean Teacher or EMA frameworks to combine adaptive benefits with increased training speed.

Code available at: https://github.com/rvandeghen/ASTOD

Summary updated

BibTeX
@inproceedings{vandeghen2023adaptive,
  author = {Renaud Vandeghen and Gilles Louppe and Marc Van Droogenbroeck},
  title = {{Adaptive Self-Training for Object Detection}},
  booktitle = {Workshops @ ICCV},
  year = {2023},
  doi = {10.1109/iccvw60793.2023.00098},
}
Figure