Abstract
Active learning strategies aim to train high-performance models with minimal labeled data by selecting the most informative instances for labeling. However, existing methods for assessing data informativeness often fail to align directly with task model performance metrics, such as mean average precision (mAP) in object detection. This paper introduces Mean-AP Guided Reinforced Active Learning for Object Detection (MGRAL), a novel approach that leverages the concept of expected model output changes as informativeness for deep detection networks, directly optimizing the sampling strategy using mAP. MGRAL employs a reinforcement learning agent based on LSTM architecture to efficiently navigate the combinatorial challenge of batch sample selection and the non-differentiable nature between performance and selected batches. The agent optimizes selection using policy gradient with mAP improvement as the reward signal. To address the computational intensity of mAP estimation with unlabeled samples, we implement fast look-up tables, ensuring real-world feasibility. We evaluate MGRAL on PASCAL VOC and MS COCO benchmarks across various backbone architectures. Our approach demonstrates strong performance, establishing a new paradigm in reinforcement learning-based active learning for object detection.
Introduction
The primary goal of Active Learning (AL) is to minimize labeling costs by identifying the most informative data points for model training. Traditional AL strategies typically rely on heuristics such as uncertainty (selecting "confusing" samples) or diversity (ensuring feature space coverage). However, these heuristics often suffer from an "alignment gap," where the selection criteria do not directly correlate with the target performance metric, such as Mean Average Precision (mAP) in object detection.
Furthermore, most AL methods evaluate images in isolation, failing to account for the collective impact of a batch. Selecting an optimal batch is a complex combinatorial problem, and the relationship between a specific data batch and the resulting mAP improvement is non-differentiable, making it impossible to optimize using standard gradient-based methods.
The MGRAL Framework
To bridge this gap, we propose MGRAL (Mean-AP Guided Reinforced Active Learning). MGRAL reformulates data selection as a Reinforcement Learning (RL) problem, where an agent learns to select batches that maximize expected performance gains.
Reinforcement Learning for Data Selection
The MGRAL framework consists of two main phases: the training phase, where the sampling agent learns the optimal selection policy, and the inference phase, where the trained agent selects samples from the unlabeled pool for labeling by an oracle. The RL agent utilizes an LSTM-based architecture to process unlabeled images sequentially. This allows the agent to maintain a history of previous selections within a batch, ensuring that the selected set is complementary rather than redundant.
Performance-Driven Rewards and Efficiency
The agent is trained using policy gradients, with the reward signal defined as the improvement in model performance ($\Delta mAP$). To estimate mAP on unlabeled data, MGRAL employs a semi-supervised detector proxy.
A significant challenge in performance-driven RL is the computational cost of retraining a detector to calculate rewards for thousands of agent iterations. MGRAL overcomes this with a Fast Look-up Table. By pre-computing a set of experiments and using Wasserstein distance to estimate the mAP of new batches based on their similarity to pre-computed ones, the framework achieves a massive speedup in agent training, reducing training time from 4,800 minutes to just 3 minutes for 10 iterations.
Experimental Evaluation
MGRAL was evaluated on the PASCAL VOC and MS COCO benchmarks using various backbones, including SSD and RetinaNet.
- Accuracy: MGRAL consistently outperformed standard baselines such as Random sampling, Core-set, and MIAL. On MS COCO, it demonstrated superior performance curves, eventually exceeding state-of-the-art methods like EBAL.
- Efficiency: On PASCAL VOC, MGRAL reached a mAP of ~75.8% with significantly fewer labeled images than competitors.
- Speed: Once trained, the MGRAL agent is highly efficient, completing a selection cycle in approximately 0.5 minutes, compared to 43 minutes for MIAL and 181 minutes for EBAL.
Conclusion
MGRAL demonstrates that performance-driven active learning is not only effective but also computationally feasible for deep object detection. By directly optimizing for mAP and leveraging an LSTM-based agent to capture batch context, MGRAL sets a new benchmark for efficient data selection. Future work will explore hierarchical sampling for massive datasets and online RL adaptations to further enhance real-time performance.
Summary updated