Towards Reducing Labeling Cost in Deep Object Detection

Ismail Elezi, Zhiding Yu, Anima Anandkumar, Laura Leal-Taixé, José M. Álvarez

Abstract

Deep neural networks have reached high accuracy on object detection but their success hinges on large amounts of labeled data. To reduce the labels dependency, various active learning strategies have been proposed, typically based on the confidence of the detector. However, these methods are biased towards high-performing classes and can lead to acquired datasets that are not good representatives of the testing set data. In this work, we propose a unified framework for active learning, that considers both the uncertainty and the robustness of the detector, ensuring that the network performs well in all classes. Furthermore, our method leverages auto-labeling to suppress a potential distribution drift while boosting the performance of the model. Experiments on PASCAL VOC07+12 and MS-COCO show that our method consistently outperforms a wide range of active learning methods, yielding up to a 7.7% improvement in mAP, or up to 82% reduction in labeling cost. Code will be released upon acceptance of the paper.

Introduction

Training state-of-the-art object detectors requires massive, manually annotated datasets. This process is prohibitively expensive and time-consuming. While Active Learning (AL) and Semi-Supervised Learning (SSL) aim to mitigate this, they often suffer from significant drawbacks. Standard AL strategies are frequently biased toward classes the model already handles well, neglecting "low-performing" categories. Moreover, AL tends to select only the most difficult or "informative" samples, leading to a distribution drift where the model forgets the appearance of common, "easy" objects.

Comparison of labeling strategies on challenging samples.

The core insight of this work is that a model's robustness—measured by prediction consistency under data augmentation—is a more reliable signal for labeling than simple confidence. By identifying samples where the model is inconsistent, we can target data that truly challenges the detector's current understanding.

Methodology: A Unified Framework

We propose a framework that treats labeling as a strategic decision: which images require human expertise and which can be handled by the model itself.

Overview of the unified active learning and auto-labeling framework.

Inconsistency-based Acquisition

Instead of relying solely on uncertainty (entropy), we measure robustness. By comparing predictions on an original image versus its horizontally flipped version, we calculate an inconsistency score. High inconsistency indicates that the model lacks robustness for that sample, making it a prime candidate for manual labeling.

Unified Acquisition Score

The final decision to acquire a label is based on a unified score—the product of uncertainty and inconsistency. This ensures the model selects samples that are both confusing and lack structural robustness, effectively addressing class-agnostic learning even in categories where the model currently has poor accuracy.

Auto-labeling and Distribution Drift

To prevent the model from focusing exclusively on "hard" cases and losing its baseline performance, we employ auto-labeling (pseudo-labeling) for high-confidence "easy" samples. This maintains a representative data distribution during training. We also introduce a modified MultiBox loss function to handle images containing a mix of pseudo-labels and unknown objects, preventing incorrect penalties for unlabeled regions.

Experimental Results

The framework was evaluated on the PASCAL VOC07+12 and MS-COCO benchmarks.

  • Labeling Efficiency: On PASCAL VOC, the method achieved performance parity with fully supervised training while requiring 82% fewer manual labels.
  • Performance Gains: When constrained to the same label budget as competing methods, our approach outperformed them by up to 7.7% mAP on PASCAL VOC and 7% on MS-COCO.
  • Robustness: The single-model approach consistently outperformed more complex ensemble-based methods, demonstrating superior efficiency in both training and inference.

Conclusion

By unifying active learning with semi-supervised auto-labeling and prioritizing robustness over simple confidence, we significantly reduce the human effort required for high-performance object detection. Future work will explore extending this framework to more complex tasks like instance segmentation and investigating its performance in open-world scenarios where new object categories may appear.

Summary updated

BibTeX
@inproceedings{elezi2021towards,
  author = {Ismail Elezi and Zhiding Yu and Anima Anandkumar and Laura Leal-Taixé and José M. Álvarez},
  title = {{Towards Reducing Labeling Cost in Deep Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.48550/arxiv.2106.11921},
}
Figure