[Paper Review] Plug and Play Active Learning for Object Detection
This paper proposes Plug and Play Active Learning (PPAL), a two-stage active learning framework for object detection that combines difficulty-calibrated uncertainty sampling and category-conditioned matching similarity to improve annotation efficiency. PPAL outperforms prior state-of-the-art methods on MS-COCO and Pascal VOC across multiple detector architectures without modifying model architectures or training pipelines.
Annotating datasets for object detection is an expensive and time-consuming endeavor. To minimize this burden, active learning (AL) techniques are employed to select the most informative samples for annotation within a constrained "annotation budget". Traditional AL strategies typically rely on model uncertainty or sample diversity for query sampling, while more advanced methods have focused on developing AL-specific object detector architectures to enhance performance. However, these specialized approaches are not readily adaptable to different object detectors due to the significant engineering effort required for integration. To overcome this challenge, we introduce Plug and Play Active Learning (PPAL), a simple and effective AL strategy for object detection. PPAL is a two-stage method comprising uncertainty-based and diversity-based sampling phases. In the first stage, our Difficulty Calibrated Uncertainty Sampling leverage a category-wise difficulty coefficient that combines both classification and localisation difficulties to re-weight instance uncertainties, from which we sample a candidate pool for the subsequent diversity-based sampling. In the second stage, we propose Category Conditioned Matching Similarity to better compute the similarities of multi-instance images as ensembles of their instance similarities, which is used by the k-Means++ algorithm to sample the final AL queries. PPAL makes no change to model architectures or detector training pipelines; hence it can be easily generalized to different object detectors. We benchmark PPAL on the MS-COCO and Pascal VOC datasets using different detector architectures and show that our method outperforms prior work by a large margin. Code is available at https://github.com/ChenhongyiYang/PPAL
Motivation & Objective
- Address the challenge of high annotation cost in object detection by minimizing the number of required annotations.
- Overcome limitations of existing uncertainty-based and diversity-based active learning methods in object detection due to dual tasks (localization and classification) and multi-instance image complexity.
- Develop a plug-and-play solution that requires no architectural or training pipeline modifications to integrate with existing object detectors.
- Improve active learning performance by jointly modeling classification and localization difficulty and enabling fine-grained similarity measurement for multi-instance images.
Proposed method
- Propose Difficulty Calibrated Uncertainty Sampling (DCUS): re-weight instance uncertainties using category-wise difficulty coefficients that account for both classification and localization difficulty.
- Introduce Category Conditioned Matching Similarity (CCMS): compute image-wise similarity by matching each object in one image to its most similar counterpart in another, then ensembling instance-wise similarities.
- Apply a modified k-means++ algorithm using CCMS to select diverse, representative images from a high-uncertainty candidate pool.
- Decouple the active learning process into two stages: (1) uncertainty-based candidate pool selection, (2) diversity-based query selection from the pool.
- Use entropy as the default uncertainty measure, but validate generalization to posterior probability and margin-based uncertainty.
- Ensure compatibility with any detector architecture and backbone by avoiding changes to model structure or training procedures.
Experimental results
Research questions
- RQ1Can uncertainty-based active learning be effectively adapted to object detection when both localization and classification uncertainty are present?
- RQ2How can similarity measurement be improved for multi-instance images in diversity-based active learning for object detection?
- RQ3Can a plug-and-play active learning framework be designed that works across different object detectors without architectural or training pipeline modifications?
- RQ4Does jointly modeling classification and localization difficulty improve active learning performance in object detection?
- RQ5How does the proposed CCMS similarity measure compare to global feature similarity in capturing semantic and instance-level diversity?
Key findings
- PPAL achieves state-of-the-art performance on MS-COCO and Pascal VOC, outperforming prior active learning methods across multiple detector architectures and backbone networks.
- On Pascal VOC with RetinaNet and ResNet-101, PPAL achieves 75.0% mAP at 20% annotation budget, compared to 72.3% for random sampling.
- With MobileNetV2, PPAL reaches 50.7% mAP at 20% budget, significantly outperforming random sampling (44.7%) and demonstrating strong performance on lightweight models.
- On Swin-Tiny, PPAL achieves 76.2% mAP at 20% budget, showing strong generalization across different backbone types including transformers.
- CCMS shows a strong positive correlation (r ≈ 0.7) with Jaccard similarity on COCO mini-val, indicating it better captures semantic similarity than global similarity.
- Visualizations confirm CCMS captures fine-grained details and avoids bias toward dominant objects, unlike global similarity, which often overlooks minority instances.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.