TL;DR
GAIA is a comprehensive transfer learning system for object detection that efficiently "gives birth" to customized models tailored to specific latency constraints and data domains. By combining a unified large-scale data pool with a weight-sharing supernet and intelligent architecture selection, GAIA outperforms traditional ImageNet pre-training and training-from-scratch across a wide variety of downstream tasks.
What Problem Does This Paper Address?
While large-scale pre-training (like BERT in NLP or BiT in CV) has revolutionized deep learning, it remains remarkably inflexible. In the real world, object detection tasks have diverse requirements: a model might need to run on a low-power mobile device (strict latency) or detect specialized objects like medical anomalies or aerial views (unique data distributions).
Currently, if you need a specific architecture for a specific latency, you usually have to pre-train it from scratch on a massive dataset—a process that is prohibitively expensive for most. Furthermore, practitioners with very little data for their specific task often struggle to leverage these giant pre-trained models effectively. GAIA addresses this "gap between generalist and specialist models" by providing a system that automates architecture selection and data augmentation from a massive upstream pool.
Methods
GAIA consists of two main phases: Task-agnostic Unification and Task-specific Adaptation.
1. Task-agnostic Unification
- Unified Data & Label Space: The authors merged multiple major datasets (like COCO and Open Images) into a single pool. To handle conflicting or overlapping categories (e.g., "man" vs. "person"), they used word2vec similarity to map labels into a unified space of 700 categories.
- Unified Architecture Training: Instead of training one model, they trained a supernet using weight-sharing. This single training run produces a model from which thousands of sub-networks (varying in depth, width, and input scale) can be extracted.
- Anchor-based Progressive Shrinking (ABPS): Standard progressive shrinking often fails in detection because the relationship between network depth and input scale (receptive field) is delicate. ABPS trains around specific "model anchors" to ensure sub-networks remain compatible and performant across a wide latency range.
2. Task-specific Adaptation
- Task-Specific Architecture Selection (TSAS): To find the best sub-network for a new task without evaluating 300k+ candidates, GAIA uses a two-step search. A crucial finding here was that "direct evaluation" of sub-networks is unreliable. Instead, they use a "fast-finetuning" proxy (training for just 0.2x of a standard schedule), which dramatically improves the correlation between predicted and actual performance.
- Task-Specific Data Selection (TSDS): For data-scarce scenarios, GAIA can "crawl" its own upstream data pool to find images similar to the downstream task using feature embeddings from the network's internal layers.
Datasets
- Upstream (Pre-training): A massive union of Open Images, Objects365, MS-COCO, Caltech, and CityPersons.
- Downstream (Evaluation): The Universal Object Detection Benchmark (UODB), which includes 10 diverse datasets: Pascal VOC, WiderFace, KITTI, LISA, DOTA, Watercolor, Clipart, Comic, Kitchen, and DeepLesions.
Key Insights and Ideas
- The "Direct Eval" Trap: The authors discovered that simply running a sub-network from a supernet on a validation set (direct evaluation) is a poor predictor of how that model will perform after finetuning. As shown in Figure 2, the Kendall Tau (a measure of ranking correlation) jumped from a weak 0.18 to a robust 0.85 when using "fast-finetuning." Model ranking correlations
- Implicit Domain Knowledge: Large-scale pre-training allows the model to learn domain representations implicitly. Visualizing these features via t-SNE (Figure 3) shows that common datasets occupy broad spaces, while specialized ones (like Comic or Caltech) form tight, distinct clusters. t-SNE visualization of domain features
- Receptive Field Matters: Unlike image classification, object detection is highly sensitive to the match between input resolution and network depth. ABPS is essential to maintain this balance during supernet training.
Key Results
GAIA demonstrates superior flexibility and performance compared to standard baselines:
- Efficiency: On COCO, GAIA produced models covering a latency range of 16ms to 53ms, with AP scores ranging from 38.2 to 46.5.
- Superiority over Scratch: Models adapted from GAIA outperformed those trained from scratch by an average of 12.67% within the same training time.
- Generalization: On the UODB benchmark, GAIA improved average mAP by 4.4% over COCO pre-training, with the TSAS architecture selection adding another 2.5% boost.
- Latency vs. Accuracy: As seen in Figure 1, GAIA models (orange line) consistently provide a better accuracy-to-latency trade-off than models trained from scratch or standard ImageNet-initialized ResNets. Transfer performance and latency constraints
Limitations and Future Work
- Computational Cost of Training: While using GAIA is efficient, the initial construction and training of the supernet on massive data is a "heavy workload."
- Architecture Scope: The current implementation focuses on ResNet-based architectures. The authors suggest extending this to more mobile-friendly backbones like MobileNetV3 or different frameworks like YOLO.
- Task Expansion: Future iterations could expand beyond object detection to other vision tasks like semantic segmentation (GAIA-Seg).
The code and pre-trained weights are available at https://github.com/GAIA-vision.
Summary updated