Abstract
Neural Architecture Search (NAS) has revolutionized image classification, yet its application to object detection remains constrained by high computational costs and memory requirements. This paper presents EAutoDet, an efficient NAS framework designed to jointly optimize backbone and Feature Pyramid Network (FPN) structures. By utilizing "kernel reusing" and "dynamic channel refinement," EAutoDet reduces search costs to as little as 1.4 GPU-days on a single V100. Our results demonstrate that EAutoDet achieves state-of-the-art performance on MS-COCO and transfers effectively to specialized tasks like rotation detection on DOTA, all without requiring ImageNet pre-training.
1. Introduction
Object detection models are inherently more complex than classification models, typically comprising a backbone for feature extraction and a neck (such as a Feature Pyramid Network or FPN) for multi-scale feature fusion. Designing these components manually is labor-intensive, yet automated design via NAS faces significant hurdles. Differentiable NAS methods, while faster than reinforcement learning approaches, often suffer from "memory explosion" because they must maintain an over-parameterized supernet containing all candidate operations. Consequently, many existing methods search only one component or rely on pre-trained backbones, which may lead to sub-optimal coupling between the backbone and the neck.
EAutoDet addresses these challenges by introducing a memory-efficient search mechanism that enables the joint discovery of backbone and FPN architectures directly on the target detection dataset.
2. Methodology
The core of EAutoDet lies in two technical innovations that optimize the search process for both memory and computation.
2.1 Kernel Reusing Technique
In traditional differentiable NAS (e.g., DARTS), each edge in the search space contains multiple separate candidate operations (e.g., 1x1, 3x3, 5x5, and 3x3-dilated convolutions). EAutoDet replaces this $O(N)$ complexity with a $O(1)$ "Kernel Reusing" strategy. It defines a single large kernel (e.g., 5x5) and uses binary masks to extract smaller kernels (e.g., 1x1, 3x3) from the central weights of the larger one. This allows the supernet to represent multiple operations within a single set of weights, drastically reducing the memory footprint and computational overhead per edge.
2.2 Dynamic Channel Refinement
Beyond operation types, the number of channels in each layer significantly impacts performance and latency. EAutoDet employs a Gumbel-Softmax approach to search for optimal channel expansion rates. Unlike previous methods that used zero-padding to handle varying channel widths—which wastes computation—EAutoDet dynamically slices weight tensors to match the sampled channel dimensions during each training iteration. This ensures that the search process remains as efficient as the final inferred architecture.
2.3 Joint Search Space
The search space is modeled after the YOLOv5 and PANet architectures, which are known for their efficiency in real-time detection. The framework allows for the simultaneous optimization of convolution types, channel configurations, and cross-scale connections across both the backbone and the FPN, ensuring the two components are architecturally compatible.
3. Experiments and Results
The authors evaluated EAutoDet on two primary benchmarks: MS-COCO 2017 for general detection and DOTA-v1.0 for aerial rotation detection.
3.1 Efficiency and Performance
The search process is remarkably efficient; the "small" variant (EAutoDet-s) was discovered in just 1.4 GPU-days on a single V100. Despite this low search cost, the resulting models outperform both handcrafted and NAS-generated baselines:
- EAutoDet-s: Achieves 40.1 mAP at 120 FPS on COCO, surpassing YOLOv5s and EfficientDet-D0.
- EAutoDet-x: Reaches 49.2 mAP at 41.3 FPS.
3.2 Transferability to Rotation Detection
To test the robustness of the discovered architectures, the authors applied EAutoDet-m to the DOTA dataset. It achieved 77.05 mAP₅₀, outperforming the YOLOv5-m baseline and several specialized rotation detectors. This demonstrates that the architectural features learned on general detection tasks transfer effectively to specialized domains like aerial imagery.
4. Discussion: Insights from Joint Search
The study provides two critical insights into detection architecture design:
- The Necessity of Joint Search: Ablation studies showed that searching the backbone and FPN together yielded a +3.2 mAP improvement over the baseline. In contrast, searching the backbone alone (+0.5 mAP) or the FPN alone (+2.0 mAP) resulted in significantly lower gains. This confirms that the synergy between feature extraction and fusion is vital.
- Redundancy of SPP in Deep Models: A notable observation was that larger models (variants 'l' and 'x') tended to drop the Spatial Pyramid Pooling (SPP) layer during the search. The authors suggest that the increased depth of these models provides a sufficiently large receptive field, rendering the SPP module redundant. Smaller models ('s' and 'm'), however, retained the SPP to compensate for their shallower structures.
5. Conclusion
EAutoDet demonstrates that efficient, joint NAS for object detection is possible on a single GPU without the need for ImageNet pre-training. By solving the memory constraints of differentiable NAS through kernel reusing and dynamic channel refinement, EAutoDet provides a scalable path for designing specialized detection architectures across various hardware constraints and tasks.
Summary updated