Cost-Effective Object Detection: Active Sample Mining With Switchable Selection Criteria

Keze Wang, Liang Lin, Xiaopeng Yan, Ziliang Chen, Dongyu Zhang, Lei Zhang

TL;DR

The Active Sample Mining (ASM) framework significantly reduces the human effort required to train high-performance object detectors by intelligently combining manual annotation (Active Learning) with automated pseudo-labeling (Self-Learning). By leveraging a "switchable" selection mechanism, the system achieves state-of-the-art detection accuracy using only a fraction of the manual labels typically required.

What Problem Does This Paper Address?

Training modern object detectors (like Faster R-CNN or SSD) requires massive amounts of labeled data. Unlike simple image classification, object detection requires drawing precise bounding boxes around every object, a task that is incredibly labor-intensive and expensive.

Existing Active Learning (AL) methods try to help by picking the most "informative" or "hard" samples for humans to label. However, these methods typically ignore the "easy" majority—the samples the model is already confident about. This paper argues that ignoring this majority is a missed opportunity. To build a truly robust detector, we need to utilize the entire dataset: humans should handle the confusing cases, while the model should "self-learn" from the clear ones.

Methods

The authors introduce the Active Sample Mining (ASM) framework, which treats sample selection as a principled optimization problem. Its core components include:

  • Switchable Selection Criteria: The framework uses a selector function to decide the fate of an unlabeled sample. If a sample is high-confidence ("simple"), it is automatically assigned a pseudo-label. If it is low-confidence ("complex/informative"), it is flagged for a human to annotate via AL.
  • Dual Curricula: The process is guided by two learning regimes:
  • Self-Learning Curriculum (SLC): Gradually incorporates pseudo-labeled samples from simple to complex.
  • Active Learning Curriculum (ALC): Intermittently adds human-annotated samples in a complex-to-simple manner.
  • Temporary Pseudo-labels: To prevent "model drift" (where the model starts believing its own mistakes), pseudo-labels are assigned specifically for each mini-batch and then discarded. This ensures the model is constantly re-evaluating its confidence as it improves.
  • Handling Undefined Categories: Real-world unlabeled data often contains objects the model wasn't designed to detect. ASM uses a "one-vs-rest" strategy to identify these "third-party" classes and prevent them from corrupting the training process.

Datasets

The framework was evaluated on several standard computer vision benchmarks:

  • PASCAL VOC 2007 & 2012: Used for primary training and evaluation.
  • MS COCO: Used as a "secondary" source of unlabeled data to test the model's ability to handle a vast, diverse pool of images containing many unseen object categories.

Key Insights and Ideas

  • The "Easy" Majority Matters: While "hard" samples drive the discovery of new features, "easy" samples provide the consistency and compactness needed for stable feature space training.
  • The Marginal Gap: The authors introduced an adaptive threshold that creates a "gap" between samples selected for manual labeling and those selected for pseudo-labeling. Samples falling in this ambiguous middle ground are discarded, which prevents noisy or confusing data from entering the training loop.
  • Compatibility with Mini-batches: Unlike many self-paced learning methods that require looking at the whole dataset to assign weights, ASM is designed to work within the standard stochastic gradient descent (SGD) mini-batch pipeline used by deep learning practitioners.

Key Results

The ASM framework consistently outperformed baseline methods and other active learning approaches (like CEAL and K-EM):

  • Efficiency: On the PASCAL VOC benchmark, the FRCN+ASM method achieved performance comparable to a fully supervised model (trained on 100% of the data) using only 30% of the manual annotations.
  • Accuracy: Using the R-FCN architecture on VOC 2007, ASM reached 81.8% mAP, outperforming the standard supervised baseline of 73.9% by effectively mining the unlabeled VOC 2012 and COCO data.
  • Robustness: The system proved highly resistant to "outliers" (noisy labels or unseen categories), maintaining stable performance even when 50% of the training samples were intentionally corrupted with incorrect labels.

Limitations and Future Work

  • Computational Overhead: While ASM saves human time, it increases machine time. The authors note a roughly 50% increase in training time (0.63s vs 0.42s per image) due to the extra steps of proposal generation and pseudo-labeling during training.
  • Hyperparameter Sensitivity: The framework relies on several thresholds ($\lambda$ and $\gamma$) that control the pace of learning. While the authors provide heuristic strategies for these, they may require tuning for entirely different datasets.
  • Future Directions: The authors suggest extending this framework to video object detection, where the temporal continuity of video frames could provide even stronger cues for automatic pseudo-labeling.

Summary updated

BibTeX
@article{wang2019cost,
  author = {Keze Wang and Liang Lin and Xiaopeng Yan and Ziliang Chen and Dongyu Zhang and Lei Zhang},
  title = {{Cost-Effective Object Detection: Active Sample Mining With Switchable Selection Criteria}},
  journal = {IEEE Trans. Neural Networks Learn. Syst.},
  year = {2019},
  url = {https://openreview.net/forum?id=jNfvx58AFGv},
}
Figure