Entropy-based Active Learning for Object Detection with Progressive Diversity Constraint

Jiaxi Wu, Jiaxin Chen, Di HuangCVPR 2022

Introduction

Training robust deep learning models for object detection remains a resource-intensive endeavor. Unlike image classification, which requires a single label per image, object detection necessitates precise bounding boxes and category labels for every instance within a scene. This complexity makes manual annotation significantly more expensive. Active Learning (AL) has emerged as a solution to reduce these costs by strategically selecting the most informative unlabeled samples for human annotation.

However, traditional AL methods—largely designed for classification—often struggle with the multi-instance nature of detection. Selecting images based solely on high uncertainty can lead to significant redundancy, where a model repeatedly requests labels for similar objects within the same scene. This paper introduces a two-stage hybrid active learning framework that addresses these challenges through Entropy-based Non-Maximum Suppression (ENMS) and a Diverse Prototype (DivProto) strategy.

Methodology

The proposed framework adopts a "bottom-up" approach, balancing instance-level uncertainty with dataset-wide diversity through a hierarchical selection process.

1. Entropy-based Non-Maximum Suppression (ENMS)

Standard Non-Maximum Suppression (NMS) is typically used during inference to merge overlapping bounding box predictions. The authors adapt this concept into ENMS to measure image-level uncertainty. Instead of simply aggregating all instance uncertainties, which might over-count redundant information in crowded scenes, ENMS uses the entropy of instances in the feature space to filter out redundant predictions. By summing the entropies of only the most unique and informative instances, the system generates a more accurate representation of an image's potential information gain.

2. Diverse Prototype (DivProto) Strategy

To ensure the labeled dataset remains representative and balanced, the framework employs a "Diverse Prototype" strategy. This method utilizes representative feature vectors, or "prototypes," for each object class, avoiding the computational bottleneck of pair-wise image comparisons.

  • Intra-class Diversity: The system calculates the similarity between a candidate image and the existing labeled set for a specific class. If an image is too similar to what the model has already seen, it is rejected to prevent redundancy.
  • Inter-class Diversity: The framework tracks class distribution across the labeled set. It prioritizes images containing "minority" or under-represented classes, ensuring the detector maintains high performance across all categories rather than biasing toward common objects.

This progressive constraint model—filtering redundancy within the image first, then within the class, and finally across the dataset—mirrors the inherent complexity of the detection task itself.

Experimental Setup

The researchers evaluated the framework on two gold-standard benchmarks:

  • MS COCO: A large-scale dataset featuring 80 categories and over 118,000 training images.
  • Pascal VOC: A classic benchmark with 20 categories and approximately 16,500 images.

To demonstrate the "plug-and-play" nature of the method, it was tested across various architectures, including Faster R-CNN, RetinaNet, SSD, and YOLOv5.

Key Results and Insights

Superior Efficiency and Accuracy

On the MS COCO dataset using Faster R-CNN, the proposed method achieved a 32.87% Average Precision (AP) using only 40% of the total training data. This performance outperformed random selection by 1.25% and surpassed other state-of-the-art AL methods such as MIAL and Learn Loss. On Pascal VOC, the method reached a mean Average Precision (mAP) of 73.68% with only 7,000 images, whereas competing methods required between 8,000 and 10,000 images to reach the same threshold.

Computational Speed

One of the most significant advantages of the DivProto approach is its speed. By using prototypes rather than exhaustive pair-wise comparisons, the acquisition phase (the time taken to choose which images to label) was reduced to 1,015 seconds. In comparison, the CDAL method took 2,798 seconds, making the proposed framework much more viable for large-scale industrial pipelines.

Limitations and Future Work

While the framework shows significant promise, the authors identified a "cold start" limitation: in the very early cycles of training (the first 2,000–3,000 images), the detector is often not accurate enough to produce reliable entropy scores. Consequently, the method's performance in these initial stages is comparable to random sampling.

Additionally, the system relies on specific thresholds for intra-class and inter-class rejection. While the provided defaults work well for standard benchmarks, specialized datasets (such as medical or satellite imagery) may require further hyper-parameter tuning. Future research may focus on integrating this AL framework with semi-supervised learning to further leverage unlabeled data and drive down annotation costs even further.

Summary updated

BibTeX
@inproceedings{wu2022entropy,
  author = {Jiaxi Wu and Jiaxin Chen and Di Huang},
  title = {{Entropy-based Active Learning for Object Detection with Progressive Diversity Constraint}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure