Dynamic supervisor for cross-dataset object detection

Ze Chen, Zhihang Fu, Jianqiang Huang, Mingyuan Tao, Shengyu Li, Rongxin Jiang, Xiang Tian, Yaowu Chen, Xian-Sheng Hua

Abstract

Training object detectors across multiple datasets is challenging due to inconsistent label spaces, where one dataset's foreground may be another's background. This paper introduces the Dynamic Supervisor, a framework that iteratively refines missing labels by alternating between "hard-label" training to maximize recall and "soft-label" training to filter false positives and improve precision.

Introduction

In a perfect world, every object detection dataset would share a unified taxonomy. In practice, Dataset A might label "cars" while Dataset B only labels "pedestrians." When merged, a car in Dataset B—unlabeled—is treated as background, confusing the model. This inconsistency transforms standard supervised learning into a complex semi-supervised task.

Previous "static supervisor" approaches trained a model once to predict missing labels. However, the authors argue that a single model is rarely strong enough to be both perfectly thorough (high recall) and perfectly accurate (high precision). The Dynamic Supervisor addresses this by treating label refinement as an iterative process.

Methodology

The Dynamic Supervisor framework updates annotations through three main stages:

  1. Initial Labeling: Models trained on individual datasets generate baseline pseudo-annotations for the other datasets.
  2. Expanding (The "Hard" Step): Hard-label training (using 0/1 targets) encourages the model to be more confident. This phase "expands" the annotation set, significantly increasing recall by finding objects previously missed.
  3. Shrinking (The "Soft" Step): Soft-label training (using smoothed probabilities) produces more conservative predictions. This phase "shrinks" the annotation set by filtering out false positives introduced during expansion, thereby increasing precision.

To prevent the model from overfitting to its own mistakes, the researchers implemented a "Cross-annotated mechanism." Instead of self-annotation, two models trained on different datasets update each other's labels.

Key Insights: The Hard vs. Soft Trade-off

A core contribution of this work is the statistical proof that hard and soft labels produce distinct error profiles. Hard labels are effective for "finding everything" but are prone to "hallucinating" objects. Conversely, soft labels are "picky" but reliable.

Ablation study showing the impact of hard (+) and soft (-) label strategies on recall and precision.

As shown in the ablation study, the "Expand-then-Shrink" sequence provides a balanced boost. For example, hard-label expansion ($hC^+$) can increase recall by up to 18.8%, while soft-label shrinking ($sC^-$) can boost precision by 27.6%.

Experimental Results

The framework was evaluated across three settings: miniCOCO (controlled ablation), VOC + COCO (standard benchmark), and a complex mix of PASCAL VOC, SUN-RGBD, and LISA-Signs (domain gap test).

  • Performance Gains: In the VOC + COCO setting, the method achieved 56.2% mAP, significantly outperforming previous state-of-the-art pseudo-labeling methods (50.3%).
  • Robustness: In mixed scenarios featuring indoor and outdoor data, the model reached 61.7% mAP, proving its effectiveness even across significant domain gaps.
  • Adaptive Thresholding: The authors found that using category-specific thresholds based on F1-scores outperformed a single global confidence threshold, acknowledging that models handle different categories (e.g., "buses" vs. "handbags") with varying levels of natural competency.

Conclusion and Future Work

The Dynamic Supervisor effectively bridges the gap between disparate datasets by iteratively polishing labels. While highly successful for common categories, the authors note that small or highly ambiguous objects remain a challenge. Future research may explore more complex sequences of expansion and shrinking or integrate the framework with advanced architectures to better capture fine-grained instances.

Summary updated

BibTeX
@article{chen2022dynamic,
  author = {Ze Chen and Zhihang Fu and Jianqiang Huang and Mingyuan Tao and Shengyu Li and Rongxin Jiang and Xiang Tian and Yaowu Chen and Xian-Sheng Hua},
  title = {{Dynamic supervisor for cross-dataset object detection}},
  journal = {Neurocomputing},
  year = {2022},
  doi = {10.1016/j.neucom.2021.09.076},
}
Figure