TL;DR
This paper introduces GAIA, a transfer learning system for object detection that automatically generates customized models for diverse downstream needs, including specific latency requirements and data distributions. GAIA achieves this by unifying data and architectures for large-scale pre-training, intelligently selecting optimal models, and even gathering relevant data for scenarios with limited examples, significantly improving efficiency and performance.
What Problem Does This Paper Address?
The success of transfer learning, particularly pre-training on massive datasets, has revolutionized computer vision. However, applying these large-scale pre-trained models to specific downstream tasks often proves challenging and expensive. This is because real-world applications have diverse demands, such as strict latency constraints (e.g., for real-time systems) or specialized data distributions (e.g., medical imaging, aerial views). Directly adapting generic pre-trained models to these unique needs can be prohibitively costly, requiring extensive per-task fine-tuning or even re-training from scratch. Object detection, in particular, is sensitive to architecture choices and data characteristics, making this problem even more pronounced. GAIA aims to bridge this gap by providing an automated and efficient system that tailors pre-trained object detection models to specific user requirements.
Methods
GAIA is built upon two core components: task-agnostic unification and task-specific adaptation.
- Task-Agnostic Unification:
- Unified Data and Label Space: GAIA merges data from multiple diverse datasets (e.g., COCO, Objects365, Open Images) into a single large pool with a unified label space. This is achieved by mapping categories based on word2vec similarity, reducing label conflicts and enabling broader knowledge transfer.
- Unified Architecture Training (Weight Sharing): To efficiently train a multitude of models with varying architectures (depth, width, input scale), GAIA employs a weight-sharing scheme within a supernet. To mitigate interference between sub-networks during training, they introduce an "anchor-based progressive shrinking" (ABPS) method. This involves iteratively shrinking the search space around a model anchor, ensuring compatibility between input scale and depth.
- Task-Specific Adaptation:
- Task-Specific Architecture Selection (TSAS): After pre-training the supernet, GAIA intelligently selects the most suitable architecture for a given downstream task and its constraints (e.g., latency). This is done by analyzing ranking correlations using Kendall Tau and employing a "fast-finetuning" approach to efficiently evaluate candidate models without full training.
- Task-Specific Data Selection (TSDS): For data-scarce scenarios, GAIA can collect relevant data from its large upstream pool to augment the limited downstream data. This is achieved by measuring domain similarity using feature representations from the pre-trained GAIA models.
Datasets
Upstream Datasets (for pre-training): * Open Images * Objects365 * MS-COCO * Caltech * CityPersons
Downstream Datasets (for evaluation): * A collection of datasets referred to as UODB (Universal Object Detection Benchmark), which includes: * KITTI * VOC (Pascal VOC) * WiderFace * DOTA * Clipart * Comic * Kitchen * DeepLesions * LISA * Watercolor
Key Insights and Ideas
- Unified Label Space is Crucial: Merging diverse datasets with a unified label space, even with potential long-tail issues, significantly benefits downstream tasks by providing a richer and more consistent knowledge base.
- Fast-Finetuning for Model Selection: Directly evaluating candidate architectures from a supernet is unreliable. Employing a "fast-finetuning" strategy (e.g., 0.2x scheduler) dramatically improves the correlation between evaluation results and actual performance, making model selection efficient and effective.
- Domain Similarity for Data Selection: GAIA's pre-trained models implicitly learn domain representations. This learned representation can be leveraged to identify and select relevant data from a large pool for data-scarce downstream tasks, effectively bridging domain gaps.
- Anchor-Based Progressive Shrinking (ABPS) for Supernet Training: This method is key to efficiently training a supernet that covers a wide range of architectures while mitigating interference between sub-networks, which is particularly important for object detection's sensitivity to receptive fields and input scales.
Key Results
- COCO Performance: GAIA achieves significant improvements on COCO. For example, with ResNet50, GAIA pre-training yields an AP of 42.9% compared to 37.0% for ImageNet pre-training. With TSAS, AP can reach up to 49.1% with only 1x training time.
- Latency-Performance Trade-off: GAIA can efficiently produce models covering a wide range of latency (16ms to 53ms on COCO) while maintaining competitive AP (38.2 to 46.5).
- UODB Performance: On the UODB benchmark, GAIA-TSAS achieves an average mAP of 74.4%, outperforming baselines by a considerable margin.
- Data Selection Gains: In data-scarce scenarios, GAIA's TSDS (most-similar strategy) improves average mAP by up to 2.3% compared to random selection, demonstrating its effectiveness in leveraging large-scale pre-training for targeted data augmentation.
- Efficiency: GAIA significantly reduces the need for extensive per-task fine-tuning, offering substantial time savings.
Limitations and Future Work
- Computational Cost of Supernet Training: While GAIA aims for efficiency, the initial large-scale pre-training of the supernet is still computationally intensive.
- Potential for Long-Tail and Partial Annotation Issues: The unified label space, while beneficial, might introduce long-tail and partial annotation problems, though the authors note these had minimal impact on downstream fine-tuning in their experiments.
- Future Work: The authors suggest extending GAIA to more architectures (e.g., MobileNetV3), frameworks (e.g., GAIA-YOLO), and vision tasks (e.g., GAIA-Seg). They also highlight the potential for further improvements by exploring more sophisticated data selection strategies and architecture search techniques.
Summary updated