ReNAS:Relativistic Evaluation of Neural Architecture Search

Yixing Xu, Yunhe Wang, Kai Han, Yehui Tang, Shangling Jui, Chunjing Xu, Chang Xu · DOI

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 that of the state-of-the-art methods.

Introduction

Neural Architecture Search (NAS) aims to automate the design of deep learning models, but the evaluation phase remains a massive bottleneck. Finding the best architecture typically requires training thousands of candidates. To save time, researchers often use "proxy tasks"—training models for fewer epochs or on smaller datasets.

The problem is that these proxies are often noisy indicators; a model that looks good after 5 epochs might be mediocre after 100. ReNAS addresses this by shifting the focus from predicting absolute accuracy (e.g., 92.1% vs 92.2%) to predicting the relative ranking between models. Current predictors that rely on regression (like Mean Squared Error) often fail to maintain the correct ranking, leading search algorithms toward sub-optimal designs.

Methodology

The authors propose a Relativistic Architecture Performance Predictor consisting of three main components:

  1. Architecture Encoding: Neural network cells are represented as feature tensors. This includes an adjacency matrix for topology and feature vectors for node operations, FLOPs, and parameter counts. These are concatenated into a $19 \times 7 \times 7$ tensor.
  2. The Predictor: A simple LeNet-5 style architecture processes the feature tensor to output a performance score.
  3. Relativistic Loss Function: Instead of Mean Squared Error (MSE), ReNAS uses a Pairwise Ranking Loss (Hinge Loss) to penalize incorrect orderings and a Continuity Loss to ensure that similar architectures have similar performance scores.
Overview of the ReNAS pipeline and the comparison between MSE and Ranking-based loss functions.

Once trained on a tiny subset (0.1%) of the search space, this predictor replaces the expensive training-and-evaluation step in discrete search algorithms like Evolutionary Algorithms (EA).

Key Results and Insights

The researchers evaluated ReNAS using major benchmarks including NAS-Bench-101 and NAS-Bench-201.

Superior Ranking Correlation

The paper demonstrates that a ranking-based loss is more robust than MSE for NAS. As shown in the correlation plots, ReNAS achieves a significantly higher Spearman rank correlation (0.8453) compared to baselines like Peephole (0.6439) and E2EPP (0.7560) when using the same amount of training data.

Comparison of Spearman rank correlation between the proposed ReNAS and baseline methods (Peephole and E2EPP).

Efficiency and Performance

  • The Power of 0.1%: Sampling just 424 models (0.1% of NAS-Bench-101) is sufficient to train a predictor that finds models in the top 0.02% of the entire search space.
  • Feature Richness: Including computational cost metrics (FLOPs and parameters) directly into the feature tensor significantly improves the predictor's accuracy compared to using graph topology alone.
  • Search Speed: The search process using the trained predictor takes only milliseconds, as it eliminates the need to train new candidate models during the search phase.

Conclusion

ReNAS proves that relativistic evaluation is a more effective paradigm for NAS than absolute performance prediction. By focusing on ranking, the framework achieves state-of-the-art results with minimal computational overhead. Future work may involve adapting this encoding strategy for non-cell-based "macro" search spaces and combining it with one-shot NAS methods to further reduce initial data collection costs.

Summary updated

BibTeX
@inproceedings{xu2021renas,
  author = {Yixing Xu and Yunhe Wang and Kai Han and Yehui Tang and Shangling Jui and Chunjing Xu and Chang Xu},
  title = {{ReNAS:Relativistic Evaluation of Neural Architecture Search}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  doi = {10.1109/cvpr46437.2021.00439},
}
Figure