TL;DR
This paper introduces a modular, hardware-aware system designed to automate and accelerate the search for optimal sub-networks within a pre-trained "super-network." By combining evolutionary algorithms with a novel iterative search strategy called ConcurrentNAS, the authors achieve an 8x speedup in finding high-performing models compared to state-of-the-art methods like WeakNAS.
What Problem Does This Paper Address?
Deep Neural Networks (DNNs) are typically designed and evaluated on whatever hardware a researcher has at hand (usually a high-end GPU) and optimized for a single metric like accuracy. However, end-users often deploy these models on vastly different hardware—ranging from mobile CPUs to specialized edge accelerators—where latency and power consumption are just as critical as accuracy.
While "super-network" approaches like Once-For-All (OFA) allow us to train one massive network and then extract smaller "sub-networks" for specific devices, the search for these sub-networks remains a major bottleneck. Manually searching through billions of possible configurations is impossible, and even automated search methods often require thousands of expensive hardware measurements to train accurate performance predictors.
Methods
The authors propose a comprehensive system (Figure 1) that interfaces with existing super-network frameworks (like OFA for vision and HAT for NLP) to find optimal architectures efficiently.
Key technical innovations include:
- ConcurrentNAS: Instead of the standard two-stage approach (collect thousands of samples $\rightarrow$ train a predictor $\rightarrow$ search), ConcurrentNAS is iterative. It starts with a "weak" predictor trained on as few as 100 samples and uses it to guide an evolutionary search. The best candidates from that search are then measured on real hardware to further refine the predictor.
- PopDB (Population Density-Based Constraints): This is an unsupervised method that uses clustering (HDBSCAN) to analyze past searches. It identifies which architectural parameters (like specific kernel sizes or depths) consistently lead to high performance and prunes the search space accordingly, making subsequent searches much faster.
- Warm-Starting: The system can take the "winners" from a search on one hardware platform (e.g., a CPU) and use them as the starting population for a search on another (e.g., a GPU), significantly cutting down exploration time.
Datasets
The system was evaluated using three major super-network architectures across different domains:
- Image Classification: ResNet50 and MobileNetV3 (derived from the OFA framework).
- Machine Translation: The Transformer super-network (derived from the HAT framework).
- Hardware Benchmarks: Evaluations were conducted across a variety of Intel Xeon CPUs (Skylake and Cascade Lake) and NVIDIA Tesla GPUs (V100 and A100).
Key Insights and Ideas
- Hardware Sensitivity is Granular: The authors show that "optimal" is a moving target. A sub-network optimized for a GPU performs poorly on a CPU (Figure 5). Surprisingly, even on the same CPU, changing the batch size or thread count shifts the Pareto front, meaning a model that is "best" for batch size 1 might be suboptimal for batch size 64 (Figure 6).
- Weak Predictors are Strong Enough: You don't need a perfect performance predictor to start a search. Even with high error rates, "weak" predictors can effectively point the search algorithm toward promising regions of the architectural space.
- Simpler is Better for Predictors: While many NAS papers use complex Multi-Layer Perceptrons (MLPs) to predict accuracy, this paper finds that simple Ridge Regression and Support Vector Machines (SVR) converge faster and require far fewer training samples (Figure 3).
Key Results
- 8x Speedup: ConcurrentNAS found competitive sub-networks for MobileNetV3 in just 100 validation measurements, whereas the previous state-of-the-art (WeakNAS) required 800 to 1000.
- Superior Accuracy/Efficiency: On the MobileNetV3-w1.2 super-network, the system identified a model with 78.81% top-1 accuracy using only 478M MACs, outperforming models found by WeakNAS which had lower accuracy and higher computational costs.
- Cross-Domain Success: The system proved effective not just for convolutional vision models but also for Transformer-based NLP models, demonstrating its flexibility.
Limitations and Future Work
The primary limitation is that the system relies on the existence of a pre-trained super-network. While it makes the search phase incredibly efficient, the initial training of a super-network remains a computationally expensive hurdle.
The authors suggest that future work could involve extending the system to handle even more objectives, such as power consumption or memory footprint, and further refining the PopDB unsupervised pruning to work across even more diverse hardware families.
Summary updated