Not All Labels Are Equal: Rationalizing The Labeling Costs for Training Object Detection

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

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.

Introduction

Training deep learning models for object detection typically requires massive amounts of human-labeled data—a process that is both slow and expensive. To mitigate this, researchers use Active Learning (AL), where the model "asks" for labels on the most informative samples. However, current AL strategies have two major flaws: they are often biased toward classes the model already performs well in, and they ignore "easy" samples, leading to a distribution drift where the training set no longer represents real-world data.

This paper introduces a unified framework that combines AL and semi-supervised learning (SSL) to drastically reduce the cost of training object detectors. By selecting images for manual labeling based on a novel "robustness" score and automatically labeling "easy" samples, the authors achieve state-of-the-art performance while reducing manual labeling requirements by up to 82%.

Methods

The authors propose a "holistic" approach that treats manual labeling and auto-labeling as two sides of the same coin. The framework follows a cyclic process of detection, acquisition scoring, and decision-making.

The proposed unified framework for active and semi-supervised learning.

1. Inconsistency-based Acquisition

Instead of just looking at how "uncertain" the model is, the authors look at its robustness. They pass an image and its horizontally flipped version through the detector. If the predictions for the two versions are wildly different (high inconsistency), the model clearly hasn't "learned" that object's features well. These inconsistent samples are prioritized for manual labeling. The final acquisition score is a product of uncertainty (entropy) and inconsistency.

2. Auto-labeling (Pseudo-labeling)

To prevent distribution drift, the framework identifies "easy" samples—those where the model is extremely confident (threshold $\tau = 0.99$). Instead of wasting human effort on these, the model generates its own "pseudo-labels" and adds them to the training set for free.

3. Consistency Training

The model is trained to minimize the difference between its predictions on original and augmented images. This forces the network to become more robust, which in turn makes the inconsistency-based selection process even more effective in later cycles.

Key Results

The researchers evaluated their framework on two industry-standard benchmarks: PASCAL VOC07+12 (~16,500 training images) and MS-COCO (~83,000 training images).

Performance comparison on VOC07+12 showing the proposed method achieving full supervision performance with ~82% fewer labels.
  • Massive Cost Savings: On PASCAL VOC, the method achieves the same accuracy as a fully supervised baseline while using 82% fewer labels (reaching the target mAP with only ~18% of the total labeling cost).
  • Superior Performance: On MS-COCO, the approach yielded a 7% relative improvement in mean Average Precision (mAP) compared to other state-of-the-art active learning methods.
  • Fixing "Worst" Classes: The method showed dramatic gains in classes where detectors usually struggle. For example, it improved performance by up to 24% in difficult categories like "Bottle" and "Chair" compared to standard entropy-based sampling.

Key Insights and Conclusion

  • Robustness is a better teacher than Uncertainty: For low-performing classes, the model's internal "confidence" is often unreliable. However, its inconsistency across augmentations remains a reliable signal that it doesn't understand the object.
  • The "Easy" Data is Essential: Standard AL pipelines throw away easy data. This paper argues that keeping easy data (via pseudo-labels) is critical for maintaining the statistical distribution of the dataset, preventing the model from "forgetting" common cases.
  • Synergy between AL and SSL: Active Learning and Semi-Supervised Learning are synergistic: AL provides high-quality labels for the hardest cases, while SSL provides the volume needed for the model to generalize across the entire data distribution.

Summary updated

BibTeX
@inproceedings{elezi2021not,
  author = {Ismail Elezi and Zhiding Yu and Anima Anandkumar and Laura Leal-Taixé and José M. Álvarez},
  title = {{Not All Labels Are Equal: Rationalizing The Labeling Costs for Training Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.48550/arxiv.2106.11921},
}
Figure