Multiple Instance Active Learning for Object Detection

Tianning Yuan, Fang Wan, Mengying Fu, Jianzhuang Liu, Songcen Xu, Xiangyang Ji, Qixiang Ye

Active Learning (AL) has long been a cornerstone of efficient machine learning, aiming to minimize labeling costs by identifying the most informative samples for human annotation. While highly successful in image classification, AL has historically struggled with object detection. At CVPR 2021, researchers introduced MI-AOD (Multiple Instance Active Object Detection), a framework that bridges this gap by leveraging Multiple Instance Learning (MIL) and adversarial training.

The Challenge of Active Object Detection

Standard AL methods for object detection face two primary hurdles:

  1. The Background Noise Problem: Unlike classification, where an image typically represents a single label, detection involves thousands of potential object locations (anchors). Most of these are background. Conventional AL often averages uncertainty across all anchors, allowing the "noise" of confusing background patches to drown out the "signal" from actual objects.
  2. Distribution Bias: Models trained on small, initial labeled sets often fail to generalize to the broader unlabeled pool because the data distributions differ significantly.
Comparison between conventional detector uncertainty (a) and MI-AOD re-weighted uncertainty (b). MI-AOD suppresses background noise to focus on informative instances.

The MI-AOD Framework

MI-AOD addresses these issues through a two-pronged approach integrated into a standard detector like RetinaNet.

1. Instance Uncertainty Learning (IUL)

To mitigate distribution bias, MI-AOD employs an adversarial setup. It uses two separate instance classifiers ($f_1$ and $f_2$) sharing a feature extractor. During the Maximization Phase, the classifiers are trained to maximize their prediction discrepancy on unlabeled data, highlighting "hard" instances. In the Minimization Phase, the feature extractor learns to minimize this discrepancy, effectively aligning the features of labeled and unlabeled sets.

2. Instance Uncertainty Re-weighting (IUR)

This core innovation treats each image as a "bag" and anchors as "instances" within a Multiple Instance Learning (MIL) framework. An MIL branch learns to assign weights to these instances; foreground-like instances receive higher weights, while background noise is suppressed. The final image uncertainty is calculated by re-weighting the discrepancy scores from the IUL module, ensuring the model selects images based on the uncertainty of actual objects rather than background clutter.

The MI-AOD framework overview. (a) Instance Uncertainty Learning via adversarial training. (b) Instance Uncertainty Re-weighting using MIL to select informative instance bags.

Experimental Results

The researchers evaluated MI-AOD on major benchmarks including PASCAL VOC and MS COCO, yielding state-of-the-art results:

  • Efficiency: On PASCAL VOC, MI-AOD outperformed existing methods like CDAL and LL4AL by significant margins. With only 5.0% of the data labeled, it exceeded the next best method by over 18% mAP.
  • Data Savings: The model achieved 72.27% mAP on PASCAL VOC using only 20% of the labeled data, nearing the performance of a model trained on the full 100% dataset (77.28%).
  • Robustness: The performance gains were consistent across different architectures, including RetinaNet and SSD.

Conclusion

MI-AOD demonstrates that high uncertainty does not always equate to high informativeness in object detection. By filtering the uncertainty map through an MIL lens, the framework ensures that manual labeling efforts are focused on the most critical parts of an image. While future work may explore its application to anchor-free detectors or Vision Transformers, MI-AOD currently stands as a powerful solution for reducing the high cost of data annotation in computer vision.

Summary updated

BibTeX
@inproceedings{yuan2021multiple,
  author = {Tianning Yuan and Fang Wan and Mengying Fu and Jianzhuang Liu and Songcen Xu and Xiangyang Ji and Qixiang Ye},
  title = {{Multiple Instance Active Learning for Object Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00529},
}
Figure