Abstract
An effective and efficient architecture performance evaluation scheme is essential for the success of Neural Architecture Search (NAS). To save computational cost, most existing NAS algorithms often train and evaluate intermediate neural architectures on a small proxy dataset with limited training epochs. However, it is difficult to expect an accurate performance estimation of an architecture in such a coarse evaluation way. This paper advocates a new neural architecture evaluation scheme, which aims to determine which architecture would perform better instead of accurately predicting the absolute architecture performance. Therefore, we propose a relativistic architecture performance predictor in NAS (ReNAS). We encode neural architectures into feature tensors and further refine the representations with the predictor. Experimental results on the NAS-Bench-101 dataset suggest that sampling 424 (0.1% of the entire search space) neural architectures and their corresponding validation performance is already enough for learning an accurate architecture performance predictor. The accuracies of our searched neural architectures on NAS-Bench-101 and NAS-Bench-201 datasets are higher than those of state-of-the-art methods, demonstrating the priority of the proposed method.
Introduction
Neural Architecture Search (NAS) aims to automate the design of high-performance deep learning models. However, the "evaluation" phase remains a massive bottleneck because training every candidate architecture to completion is computationally prohibitive. To mitigate this, researchers often use "proxy" evaluations—training models on smaller datasets for fewer epochs. Unfortunately, these coarse estimates are often noisy and correlate poorly with final performance.
While some researchers have developed "performance predictors" (neural networks that estimate the accuracy of another network), these typically attempt to predict an absolute number (e.g., "this model will be 92.4% accurate"). ReNAS argues that this is unnecessarily difficult. For a search algorithm to succeed, it does not need to know the exact accuracy; it only needs to know if Model A is better than Model B.
Methodology: Relativistic Performance Prediction
ReNAS introduces a relativistic architecture performance predictor that shifts the focus from regression to ranking. The approach consists of three main pillars:
- Architecture Encoding: Instead of treating a neural network as a black box, ReNAS encodes it into a feature tensor. This tensor includes the adjacency matrix (the "map" of connections), node types (e.g., $3\times3$ conv, max-pool), and—crucially—the computational cost (FLOPs and parameters) of each node.
- Pairwise Ranking Loss: Instead of using standard Mean Squared Error (MSE) to train the predictor, ReNAS utilizes a hinge ranking loss. This penalizes the predictor if it ranks two models in the wrong order, regardless of how close their predicted absolute scores are.
- Continuity Loss: A secondary loss function ensures "feature continuity," encouraging the predictor to assign similar representations to architectures with similar performance, making the search space smoother and easier to navigate.
Theoretical analysis in the paper demonstrates that the generalization error bound for ranking loss is tighter than for MSE. In essence, it is mathematically easier to learn to rank than it is to learn to predict exact values.
Experimental Results
The authors validated ReNAS using industry-standard NAS benchmarks, including NAS-Bench-101 (423,000+ architectures) and NAS-Bench-201 (15,625 architectures).
The 0.1% Rule
One of the most striking findings is the efficiency of the relativistic approach. Sampling just 424 architectures (0.1% of NAS-Bench-101) is sufficient to train a predictor that can identify models in the top 0.02% of the entire search space. As shown in the table below, ReNAS significantly outperforms previous state-of-the-art methods like Peephole and E2EPP across various training data ratios.
Performance and Efficiency
- Superior Correlation: ReNAS achieved a Kendall’s Tau of 0.6574 on NAS-Bench-101 with only 0.1% training data, compared to 0.4556 for Peephole and 0.5038 for E2EPP.
- Top-Tier Accuracy: On NAS-Bench-201, ReNAS discovered architectures that outperformed popular NAS methods like DARTS, ENAS, and REA across CIFAR-10, CIFAR-100, and ImageNet.
- Search Speed: Once the predictor is trained, the search process (using an Evolutionary Algorithm) finishes in milliseconds, making the initial training of the small sample set the only significant cost.
Conclusion and Future Work
ReNAS demonstrates that relativistic ranking is a more robust and efficient objective for NAS than absolute accuracy regression. By focusing on relative performance, ReNAS achieves state-of-the-art results with minimal training data.
Future work may address current limitations, such as the cell-based constraint of the encoding method, which might require more flexibility for macro-architectures. Additionally, exploring "zero-shot" predictors that require no ground-truth training data could further reduce the computational overhead of NAS.
Summary updated