Abstract
Neural Architecture Search (NAS) has traditionally been hindered by high computational costs and training instabilities. We present PredNAS, a universal framework that bridges the gap between efficient predictor-based methods and powerful gradient-based optimization. By employing differentiable neural predictors trained on minimal architecture-accuracy pairs, PredNAS enables direct gradient ascent within massive search spaces. Our approach demonstrates superior sample efficiency, achieving state-of-the-art results on NAS-Bench-201 and significant performance gains in object detection tasks like YOLOX, all while maintaining a simple and versatile pipeline.
Introduction
The automation of deep learning model design via NAS faces a persistent "trilemma": prohibitive search costs, training instability in weight-sharing methods, and low sample efficiency in predictor-based approaches. Early NAS methods required training thousands of models, while one-shot methods like DARTS often suffer from "unfair" evaluation where shared weights do not accurately reflect sub-network potential. PredNAS addresses these challenges by developing a performance estimator that is both sample-efficient and differentiable, allowing for direct optimization of architecture parameters.
Methodology
The PredNAS framework operates in three distinct stages:
- Predictor Training: A small set of architectures (typically 30-50) is sampled and briefly trained to obtain accuracy and resource cost (FLOPs) data. This data trains two networks: a Main Predictor ($P_m$) for performance estimation and an Auxiliary Predictor ($P_{aux}$) for resource cost prediction.
- Architecture Encoding: The framework handles different search spaces through specialized encoders. Topology search (layer connections) utilizes Graph Convolutional Networks (GCNs) on adjacency matrices, while size search (widths/depths) employs Multi-Layer Perceptrons (MLPs) on vector encodings.
- Gradient-guided Search: Leveraging the differentiability of the predictors, PredNAS performs gradient ascent from an initial random architecture. The optimization objective maximizes predicted performance while penalizing budget violations. A projection function ($P_\Omega$) maps continuous updates back to valid discrete configurations.
Experimental Setup
PredNAS was evaluated across three scales:
- NAS-Bench-201: 15,625 architectures across CIFAR-10, CIFAR-100, and ImageNet-16-120.
- ImageNet: Searching the AnyNet space ($\approx 10^{18}$ candidates) to compete with human-designed RegNet models.
- MSCOCO: Object detection search within a YOLOX-based space ($\approx 10^{100}$ candidates).
Key Results and Discussion
PredNAS exhibits remarkable sample efficiency. On NAS-Bench-201 (ImageNet-16-120), it achieved 46.72% accuracy using only 70 queries, outperforming RL-based (45.03%) and other predictor-based methods like AceNAS (45.99%). This suggests that predictors do not need global accuracy to be effective; they only need to provide a valid local gradient direction.
In object detection, PredNAS discovered "PredNAS-S," which reached 42.5% AP on MSCOCO—a 2.0% absolute improvement over the YOLOX-S baseline at similar FLOP counts. Furthermore, in the ImageNet AnyNet space, PredNAS automatically identified architectures competitive with human-refined RegNet models, demonstrating its ability to surpass manual heuristics.
Conclusion and Future Work
PredNAS provides a universal, efficient alternative to complex NAS pipelines by replacing encoder-decoder setups with direct gradient ascent on architecture encodings. While highly effective, the framework's performance is tied to the consistency of proxy tasks used for predictor training. Future research will focus on refining proxy task designs to ensure gradients remain valid for full-scale model training and reducing sensitivity to hyperparameters like the accuracy-cost trade-off coefficient.
Summary updated