Label-efficient object detection via region proposal network pre-training

Nanqing Dong, Linus Ericsson, Yongxin Yang, Ales Leonardis, Steven McDonagh

TL;DR

This paper introduces ADePT, a novel self-supervised learning strategy that pre-trains the Region Proposal Network (RPN) component of object detectors. By aligning the RPN's pre-training task with the downstream detection task, ADePT significantly reduces localization errors and improves overall performance, especially in label-scarce scenarios.

What Problem Does This Paper Address?

Object detection is a crucial task in computer vision, but it typically requires large amounts of labeled data. While self-supervised learning (SSL) has shown promise in learning transferable representations from unlabeled data, existing SSL methods primarily focus on pre-training the feature extractor. This leaves essential detection-specific modules, like the Region Proposal Network (RPN), to be trained from scratch during fine-tuning, which can be suboptimal, especially when labeled data is limited. The RPN is responsible for proposing potential object locations, and errors in localization can significantly impact the overall detection performance. This paper aims to address this gap by proposing a method to effectively pre-train the RPN itself, thereby improving label-efficient object detection.

Methods

The core of ADePT lies in its novel pretext task designed for RPN pre-training. Instead of relying on human-annotated bounding boxes, ADePT utilizes "pseudo ground-truth" labels generated by an unsupervised region proposal method, specifically Selective Search [20]. The RPN is then trained to regress these pseudo bounding boxes. This approach allows for object-level pre-training without requiring any manual annotations for bounding boxes.

The overall ADePT framework integrates this RPN pre-training with a BYOL-style [2] contrastive learning strategy for the feature extractor and detector head. This means that the entire multi-stage detector architecture (feature extractor, RPN, and detector head) is trained in a self-supervised manner. The authors explore two training strategies: "separate" (pre-training only the RPN) and "joint" (pre-training all components simultaneously).

Datasets

The paper evaluates ADePT on the following datasets:

  • MS COCO [21]: A large-scale dataset for object detection and instance segmentation. Experiments were conducted on the train2017 subset and evaluated on the val2017 subset. Label-scarce settings (10% and 1% of training data) were also simulated.
  • SODA10M [15]: A dataset specifically designed for autonomous driving scenarios, featuring driving scenes captured by dash cameras.
  • PASCAL VOC [22]: Used for few-shot evaluation, employing the trainval07+12 set for fine-tuning and the test07 set for evaluation.

Key Insights and Ideas

  • RPN Pre-training is Crucial for Localization: The paper strongly emphasizes that localization errors are a significant contributor to overall detection errors. By pre-training the RPN, ADePT directly tackles this issue, leading to substantial improvements.
  • Alignment is Key: Aligning the pretext task (RPN pre-training) with the downstream task (object detection) proves to be highly beneficial. This alignment allows the model to learn more relevant representations for the specific demands of object detection.
  • Pseudo Labels are Sufficient: The success of ADePT demonstrates that unsupervised region proposals (like those from Selective Search) can serve as effective pseudo ground-truth labels for RPN pre-training, circumventing the need for manual annotations.
  • Label-Scarce Performance Boost: The most significant gains for ADePT are observed in label-scarce settings, highlighting its potential for applications where data annotation is a bottleneck.
  • Joint vs. Separate Training: While both training strategies show improvements, the "separate" training approach (pre-training RPN first) offers a good balance between performance and computational cost.

Key Results

  • MS COCO: ADePT consistently outperforms SoCo [13] and other baselines on MS COCO, with moderate improvements in both object detection (APbb) and instance segmentation (APmk). In label-scarce settings (10% and 1%), ADePT shows even more pronounced gains.
  • SODA10M: ADePT achieves state-of-the-art performance on the challenging SODA10M benchmark, demonstrating its effectiveness in application-specific domains.
  • Few-Shot Detection: On PASCAL VOC, ADePT consistently outperforms SoCo in few-shot learning scenarios across various K-shot settings, indicating its ability to learn useful representations for fast adaptation with limited data.
  • Error Analysis: ADePT (separate training) exhibits the lowest localization error among the evaluated methods.

Limitations and Future Work

  • Noisy RPN Proposals: The paper notes that intermediate RPN proposals during joint training can be noisy, potentially destabilizing detector head training. This suggests that the quality of unsupervised proposals is critical.
  • Dataset Similarity: The authors suggest that pre-training datasets should ideally be similar to the fine-tuning datasets for optimal performance, as ADePT can struggle when these distributions differ significantly (e.g., challenging imaging conditions).
  • Future Work: The authors propose future extensions to improve the quality of unsupervised object proposals beyond Selective Search and to leverage unsupervised mask labels for instance segmentation training.

Summary updated

BibTeX
@article{dong2024label,
  author = {Nanqing Dong and Linus Ericsson and Yongxin Yang and Ales Leonardis and Steven McDonagh},
  title = {{Label-efficient object detection via region proposal network pre-training}},
  journal = {Neurocomputing},
  year = {2024},
  doi = {10.1016/j.neucom.2024.127376},
}
Figure