ReNAS: Relativistic Evaluation of Neural Architecture Search

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

Abstract

Neural Architecture Search (NAS) is often hampered by the immense computational cost of evaluating candidate models. This paper introduces ReNAS, a relativistic performance predictor that shifts the paradigm from predicting absolute accuracy to predicting relative rankings. By training on as little as 0.1% of a search space, ReNAS identifies top-tier architectures more efficiently and accurately than traditional regression-based methods.

Introduction

The primary bottleneck in NAS is the evaluation phase. Training every candidate architecture to completion is prohibitively expensive. While "proxy" evaluations (e.g., fewer epochs, smaller datasets) offer a speedup, they are often noisy and unreliable. Recent attempts to use neural networks as performance predictors typically rely on Mean Squared Error (MSE) to estimate exact accuracy. However, for the purpose of search, knowing the precise accuracy of a model is less important than knowing its relative rank compared to others. ReNAS addresses this by reformulating performance prediction as a ranking problem.

The ReNAS Framework

The authors propose a three-part framework designed to capture structural information and learn relative performance.

Overview of the ReNAS framework, illustrating the transition from architecture encoding to relativistic performance prediction.

1. Architecture Encoding

Cell-based architectures are encoded into 3D feature tensors. These tensors represent the adjacency matrix, operation types (e.g., convolutions, pooling), and computational metadata like FLOPs and parameter counts. A depth-first search sorting strategy ensures the encoding remains robust regardless of node ordering.

2. Relativistic Predictor

A simple LeNet-5 style architecture processes these feature tensors to output a performance score. The simplicity of the predictor ensures that the evaluation of thousands of architectures can be completed in milliseconds.

3. Relativistic Loss Functions

The core innovation lies in the loss functions:

  • Pairwise Ranking Loss: A hinge loss that penalizes the predictor for incorrect relative rankings of model pairs.
  • Continuity Loss: Ensures that structurally similar architectures have similar feature representations, aligning with the intuition that small structural changes lead to small performance variations.

Experimental Results

ReNAS was validated on standard benchmarks like NAS-Bench-101 and NAS-Bench-201. The results demonstrate that ranking-based prediction is significantly more effective than regression-based approaches, especially when training data is scarce.

Kendall’s Tau correlation coefficients for different methods across varying percentages of training data on NAS-Bench-101.

The Power of 0.1%

As shown in the table above, ReNAS-6 achieves a Kendall’s Tau of 0.6574 using only 0.1% of the training data (approx. 424 architectures). This significantly outperforms previous state-of-the-art methods like Peephole (0.4556) and E2EPP (0.5038). With more data, the correlation improves further, reaching nearly 0.90.

Search Performance and Efficiency

On NAS-Bench-201, ReNAS found architectures achieving 93.99% accuracy on CIFAR-10 and 45.97% on ImageNet-16-120. These results surpass popular methods like DARTS and ENAS. Crucially, the search phase itself takes only seconds or minutes on a single GPU once the predictor is trained.

Conclusion

ReNAS demonstrates that predicting relative rankings is a more robust and efficient objective for NAS than predicting absolute accuracy. By leveraging structural features and relativistic loss functions, it achieves high search performance with minimal training data. Future work may involve adapting this approach to macro search spaces and integrating it into online search processes.

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