[Paper Review] NAS-FCOS: Fast Neural Architecture Search for Object Detection
This paper proposes NAS-FCOS, a fast and memory-efficient neural architecture search framework for object detection that optimizes the feature pyramid network (FPN) and prediction head of the anchor-free FCOS detector using a tailored reinforcement learning paradigm. By employing a lightweight proxy task, progressive search, and discriminative evaluation, it discovers state-of-the-art architectures in just 4 days using 8 V100 GPUs, achieving 1.5–3.5 AP gains on COCO over existing models with comparable FLOPs and memory.
The success of deep neural networks relies on significant architecture engineering. Recently neural architecture search (NAS) has emerged as a promise to greatly reduce manual effort in network design by automatically searching for optimal architectures, although typically such algorithms need an excessive amount of computational resources, e.g., a few thousand GPU-days. To date, on challenging vision tasks such as object detection, NAS, especially fast versions of NAS, is less studied. Here we propose to search for the decoder structure of object detectors with search efficiency being taken into consideration. To be more specific, we aim to efficiently search for the feature pyramid network (FPN) as well as the prediction head of a simple anchor-free object detector, namely FCOS, using a tailored reinforcement learning paradigm. With carefully designed search space, search algorithms and strategies for evaluating network quality, we are able to efficiently search a top-performing detection architecture within 4 days using 8 V100 GPUs. The discovered architecture surpasses state-of-the-art object detection models (such as Faster R-CNN, RetinaNet and FCOS) by 1.5 to 3.5 points in AP on the COCO dataset, with comparable computation complexity and memory footprint, demonstrating the efficacy of the proposed NAS for object detection.
Motivation & Objective
- To address the high computational cost and inefficiency of existing Neural Architecture Search (NAS) methods in object detection, especially for complex, multi-head architectures.
- To reduce search time and memory usage while maintaining high accuracy in searching optimal FPN and prediction head structures for one-stage object detectors.
- To develop a proxy training scheme that avoids full backbone fine-tuning, enabling faster evaluation without sacrificing search quality.
- To demonstrate the effectiveness and generalization of the searched architecture across diverse backbones (e.g., MobileNetV2, ResNet, ResNeXt) with consistent AP improvements.
Proposed method
- Designs a lightweight proxy task that skips backbone fine-tuning, significantly reducing evaluation time while maintaining strong correlation with full COCO training performance.
- Employs a reinforcement learning-based search strategy with a reward function based on validation loss, which shows better convergence than direct AP-based rewards in early search stages.
- Constructs a progressive search strategy that first searches the FPN (f) and then jointly searches the FPN and head (f + h), reducing search space expansion and improving efficiency.
- Defines a search space including standard and deformable convolutions for both FPN and head, enabling architectural diversity while maintaining computational tractability.
- Uses a simplified, anchor-free one-stage detector (FCOS) as the base framework to reduce complexity and accelerate training during search.
- Introduces a discriminative evaluation criterion that prioritizes architectures with high performance on a small validation set, reducing false positives in search.
Experimental results
Research questions
- RQ1Can a fast and memory-efficient NAS framework effectively search for high-performing FPN and prediction head architectures in object detection without relying on full training for evaluation?
- RQ2How does using validation loss as a proxy reward compare to using AP directly in terms of search convergence and final model accuracy?
- RQ3To what extent does progressive search (first FPN, then head) improve search efficiency and performance compared to joint search from the start?
- RQ4How do deformable convolutions and weight sharing in the head contribute to performance gains in the searched architecture?
- RQ5Can the discovered architecture generalize across different backbones (e.g., ResNet, MobileNetV2) while maintaining consistent AP improvements?
Key findings
- NAS-FCOS discovers a top-performing object detection architecture in only 4 days using 8 V100 GPUs, achieving a 1.5–3.5 AP improvement over state-of-the-art models like Faster R-CNN, RetinaNet, and FCOS on the COCO dataset.
- The search process achieves strong correlation (Fig. 6) between proxy task rewards and final COCO AP, validating the effectiveness of the proposed proxy evaluation scheme.
- Using validation loss as the RL reward leads to a stable and clear performance gain trend, while direct AP-based rewards show poor convergence in early search rounds.
- Jointly searching both FPN and head (f + h) yields the best performance (AP = 39.8 with ResNet-50), outperforming separate searches and the DeformFPN-FCOS baseline (AP = 38.4).
- The searched architecture generalizes well across backbones: NAS-FCOS with ResNeXt-101 achieves 1.3 AP higher than NAS-FPN while using only 1/3 of the FLOPs.
- The model with FPN width 128 and head width 256 offers a favorable accuracy-computation trade-off, balancing performance and inference cost.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.