[Paper Review] SM-NAS: Structural-to-Modular Neural Architecture Search for Object Detection
SM-NAS proposes a two-stage, multi-objective neural architecture search framework that jointly optimizes module composition and individual module architectures for object detection, achieving state-of-the-art speed-accuracy trade-offs by searching directly from scratch on detection datasets without ImageNet pretraining. It outperforms SOTA models like FPN and Mask R-CNN, halving inference time with a 1% mAP gain on COCO and reaching 46% mAP at similar latency.
The state-of-the-art object detection method is complicated with various modules such as backbone, feature fusion neck, RPN and RCNN head, where each module may have different designs and structures. How to leverage the computational cost and accuracy trade-off for the structural combination as well as the modular selection of multiple modules? Neural architecture search (NAS) has shown great potential in finding an optimal solution. Existing NAS works for object detection only focus on searching better design of a single module such as backbone or feature fusion neck, while neglecting the balance of the whole system. In this paper, we present a two-stage coarse-to-fine searching strategy named Structural-to-Modular NAS (SM-NAS) for searching a GPU-friendly design of both an efficient combination of modules and better modular-level architecture for object detection. Specifically, Structural-level searching stage first aims to find an efficient combination of different modules; Modular-level searching stage then evolves each specific module and pushes the Pareto front forward to a faster task-specific network. We consider a multi-objective search where the search space covers many popular designs of detection methods. We directly search a detection backbone without pre-trained models or any proxy task by exploring a fast training from scratch strategy. The resulting architectures dominate state-of-the-art object detection systems in both inference time and accuracy and demonstrate the effectiveness on multiple detection datasets, e.g. halving the inference time with additional 1% mAP improvement compared to FPN and reaching 46% mAP with the similar inference time of MaskRCNN.
Motivation & Objective
- To address the lack of holistic optimization in existing NAS methods that focus only on single components like backbones or necks, rather than the full detection pipeline.
- To develop a coarse-to-fine search strategy that first identifies efficient module combinations and then evolves individual modules for better performance.
- To enable direct training from scratch on detection datasets without relying on ImageNet pretraining or proxy tasks.
- To achieve optimal speed-accuracy trade-offs on real hardware by considering input size, module composition, and internal architecture jointly.
- To demonstrate transferability and robustness of searched architectures across diverse datasets like COCO, VOC, and BDD.
Proposed method
- A two-stage search pipeline: first, structural-level search to identify optimal module combinations (backbone, neck, RPN, head) and input sizes; second, modular-level search to evolve individual components.
- Multi-objective NAS targeting both inference latency and mAP, with a Pareto front of efficient, task-specific designs.
- Evolutionary algorithm with Partial Order Pruning for efficient exploration of the large search space.
- Distributed training system to parallelize and accelerate the search process.
- A novel training strategy using group normalization, weight standardization, larger batch sizes, and learning rates to train detection networks from scratch effectively.
- Direct search on detection datasets (COCO, VOC, BDD) without ImageNet pretraining, enabling task-specific architecture optimization.
Experimental results
Research questions
- RQ1Can a holistic NAS framework that jointly optimizes module composition and internal architecture outperform component-wise search in object detection?
- RQ2Is it feasible to train a detection network from scratch using a search strategy that avoids ImageNet pretraining and proxy tasks?
- RQ3How do input size, module combination, and internal architecture design jointly affect the speed-accuracy trade-off in real-time object detection?
- RQ4To what extent can architectures searched on one dataset (e.g., COCO) generalize to others (e.g., VOC, BDD)?
- RQ5What architectural patterns emerge in Pareto-optimal detectors, and how do depth, width, and channel distribution correlate with mAP under FLOPs constraints?
Key findings
- SM-NAS achieves a 1% mAP improvement over FPN while halving the inference time on COCO, demonstrating superior speed-accuracy trade-offs.
- The E2 model reaches 46% mAP with inference latency comparable to Mask R-CNN, outperforming it in both speed and accuracy.
- On Pascal VOC, E0 reduces inference time by 44% (21.5ms vs. 38.4ms) while improving mAP from 80.4% to 81.4%.
- On BDD, E3 achieves 17.4ms faster inference than FPN with ResNet-101, with mAP increasing from 36.9% to 39.6%.
- The search process identifies that optimal architectures favor shallower depth and higher channel capacity in early stages, with longer high-level stages under FLOPs constraints.
- A training strategy using group normalization, weight standardization, larger batch sizes, and higher learning rates enables effective training from scratch, achieving 37.5% mAP in only 16 epochs on COCO.
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.