TL;DR
ProSeCo (Proposal Selection Contrast) is a novel unsupervised pretraining method for transformer-based object detectors that excels when labeled data is scarce. By leveraging the detector's own object proposals in a student-teacher framework and introducing a localization-aware contrastive loss, it achieves state-of-the-art performance on low-data benchmarks while remaining computationally efficient.
The Challenge: Feature Discrepancy and Resource Intensity
In computer vision, pretraining a "backbone" on a massive dataset like ImageNet and then fine-tuning it for downstream tasks is standard practice. However, standard pretraining focuses on global information (e.g., "is there a dog in this image?"), whereas dense prediction tasks like object detection require local information (e.g., "where exactly are the dog's paws?").
Existing solutions for "overall" pretraining—training the backbone and the detection head together—face two major hurdles:
- Resource Intensity: Popular contrastive learning methods often require massive batch sizes, which are computationally prohibitive for many researchers.
- Feature Discrepancy: Using a fixed, globally-trained backbone alongside a locally-focused detection head creates a mismatch in "information levels" that can actually hinder model performance.
Methodology: The ProSeCo Approach
To address these challenges, the authors introduce ProSeCo, an architecture that utilizes a Student-Teacher framework to learn local features efficiently without requiring massive batch sizes.
- Student-Teacher Setup: The system maintains two versions of the detector. The "Student" learns to make predictions on a heavily distorted ("strong") view of an image. The "Teacher," updated via an exponential moving average (EMA) of the Student, processes a "weakly augmented" version of the same image to provide stable targets.
- Proposal-Based Contrastive Learning: Instead of comparing entire images, ProSeCo compares the hundreds of "object proposals" (potential bounding boxes) generated by the transformer. Because a single image yields many proposals, the effective batch size is large, allowing the model to learn efficiently even with limited hardware.
- Localization-Aware Loss (LocSCE): Standard contrastive learning treats only one specific match as a "positive" example. ProSeCo’s novel loss function considers any proposals that significantly overlap (measured by Intersection over Union, or IoU) as positive examples. This encourages the model to group features of the same object together.
- Dual Matching: The model uses the Hungarian algorithm to match student predictions to teacher proposals, while simultaneously using Selective Search (a classic computer vision algorithm) to provide auxiliary "ground truth" boxes for a separate localization task.
Datasets and Evaluation
The model was pretrained on unlabeled ImageNet (ILSVRC 2012) data and fine-tuned/evaluated on several benchmarks:
- MS-COCO: Evaluated on "Mini-COCO" subsets representing 1%, 5%, and 10% of the total data.
- Pascal VOC: 2007 and 2012 sets, including a newly introduced "Mini-VOC" benchmark.
- FSOD (Few-Shot Object Detection): Used to create novel "FSOD-test" and "FSOD-train" benchmarks to test generalization to unseen object categories.
Key Insights and Results
ProSeCo consistently outperforms previous state-of-the-art methods like DETReg and UP-DETR, especially in low-data regimes:
- Consistency is King: By pretraining the backbone and the detection head together to focus on local features, ProSeCo eliminates the discrepancy that plagues models using off-the-shelf global backbones.
- Leveraging Redundancy: Object detectors naturally produce many overlapping boxes for a single object. ProSeCo successfully turns this redundancy into a rich source of positive examples for contrastive learning.
- Superior Low-Data Performance: On just 5% of the COCO dataset, ProSeCo achieved 28.8 mAP, a significant +5.2 point improvement over a standard supervised baseline and a +2.7 point lead over the previous best overall pretraining method (DETReg). On 1% of COCO, it reached 18.0 mAP, outperforming the supervised baseline (13.0 mAP) by a wide margin.
- Strong Generalization: On the FSOD-test benchmark, ProSeCo outperformed DETReg by 3.4 mAP, demonstrating that the learned features are robust and transfer well to novel object types.
Limitations and Future Work
While ProSeCo advocates for consistency, the current implementation still relies on a backbone initially pretrained on ImageNet. Future work could involve updating the backbone during the ProSeCo pretraining phase to further improve feature alignment. Additionally, the method currently uses Selective Search for initial localization; exploring more modern or learnable region proposal methods could potentially boost performance even further.
Summary updated