Neural Architecture Ranker

Bicheng Guo, Shibo He, Tao Chen, Jiming Chen, Peng Ye

Abstract: Neural Architecture Search (NAS) is a powerful tool for automating effective image processing DNN designing. The ranking has been advocated to design an efficient performance predictor for NAS. The previous contrastive method solves the ranking problem by comparing pairs of architectures and predicting their relative performance. However, it only focuses on the rankings between two involved architectures and neglects the overall quality distributions of the search space, which may suffer generalization issues. A predictor, namely Neural Architecture Ranker (NAR) which concentrates on the global quality tier of specific architecture, is proposed to tackle such problems caused by the local perspective. The NAR explores the quality tiers of the search space globally and classifies each individual to the tier they belong to according to its global ranking. Thus, the predictor gains the knowledge of the performance distributions of the search space which helps to generalize its ranking ability to the datasets more easily. Meanwhile, the global quality distribution facilitates the search phase by directly sampling candidates according to the statistics of quality tiers, which is free of training a search algorithm, e.g., Reinforcement Learning (RL) or Evolutionary Algorithm (EA), thus it simplifies the NAS pipeline and saves the computational overheads. The proposed NAR achieves better performance than the state-of-the-art methods on two widely used datasets for NAS research. On the vast search space of NAS-Bench-101, the NAR easily finds the architecture with top 0.01‰ performance only by sampling. It also generalizes well to different image datasets of NAS-Bench-201, i.e., CIFAR-10, CIFAR-100, and ImageNet-16-120 by identifying the optimal architectures for each of them.

Introduction

Designing deep neural networks (DNNs) manually is a labor-intensive process requiring significant expertise. Neural Architecture Search (NAS) has emerged to automate this design, but the computational cost of evaluating thousands of candidate models remains a primary bottleneck. To mitigate this, researchers employ performance predictors to estimate a model's efficacy without full training.

Historically, these predictors have followed two paradigms: absolute performance prediction and local pair-wise comparison. Absolute predictors attempt to estimate exact accuracy but often suffer from high bias and poor relative ranking. Pair-wise comparators improve ranking accuracy but lack a "big picture" view of the search space, leading to generalization issues when applied to new datasets. The Neural Architecture Ranker (NAR) addresses these limitations by shifting the focus to the global distribution of quality within the search space.

Comparison of NAS predictor paradigms: (a) shows the shift from absolute and pair-wise performance to global ranking; (b) illustrates optimal accuracies across datasets.

Methodology: The Neural Architecture Ranker (NAR)

The core innovation of NAR is its ability to classify architectures into global "quality tiers" rather than just comparing pairs. This global perspective allows the model to learn the statistical profile of high-performing architectures across the entire search space.

Architecture and Training

NAR utilizes a Transformer-based encoder-decoder framework. The process begins by converting model architectures into feature tensors that represent their operations, FLOPs, and parameters.

  • Encoder: Extracts structural features from the architecture tensor.
  • Decoder: Matches these features against five learnable "tier embeddings" representing different quality buckets (e.g., Top 20%, 20-40%, etc.).
  • Dual Loss Function: The model is optimized using a combination of Cross-Entropy Loss for accurate tier classification and Ranking Loss to ensure models within the same tier are correctly ordered.
The NAR architecture, featuring a Transformer-based encoder-decoder for tier classification and relative scoring.

Unlike traditional NAS methods that rely on complex Reinforcement Learning (RL) or Evolutionary Algorithms (EA), NAR simplifies the search phase through statistical sampling. By understanding the distribution of "good" models—such as their typical FLOP counts and preferred node operations—the system can identify optimal candidates just by sampling from the top-tier distribution. This approach significantly reduces computational overhead and simplifies the NAS pipeline.

Experimental Results

The researchers evaluated NAR on two major benchmarks: NAS-Bench-101 (over 423,000 architectures) and NAS-Bench-201 (covering CIFAR-10, CIFAR-100, and ImageNet-16-120).

  • Top-Tier Discovery: On NAS-Bench-101, NAR successfully identified architectures in the top 0.01‰ (per-mille) of the performance distribution solely through sampling.
  • Generalization: NAR demonstrated superior generalization power. When trained on a small subset of one dataset, it effectively identified optimal models for entirely different datasets, proving that underlying quality features translate across tasks.
  • Efficiency: On NAS-Bench-201, NAR achieved near-optimal results (e.g., 94.37% on CIFAR-10) with training and search times totaling only a few minutes on a single GPU, outperforming established methods like DARTS, ENAS, and CTNAS.

Conclusion

The Neural Architecture Ranker represents a paradigm shift in NAS by prioritizing global quality distributions over local comparisons. By mapping the search space into tiers, NAR achieves state-of-the-art performance with remarkable efficiency and stability. Future work will explore applying this global ranking approach to non-cell-based search spaces and more complex computer vision tasks.

Summary updated

BibTeX
@inproceedings{guo2022neural,
  author = {Bicheng Guo and Shibo He and Tao Chen and Jiming Chen and Peng Ye},
  title = {{Neural Architecture Ranker}},
  booktitle = {ACM Multimedia},
  year = {2022},
  doi = {10.1145/3503161.3548149},
}
Figure