Learning to Rank Ace Neural Architectures via Normalized Discounted Cumulative Gain

Yuge Zhang, Quanlu Zhang, Li Lyna Zhang, Yaming Yang, Chenqian Yan, Xiaotian Gao, Yuqing Yang

Abstract

One of the key challenges in Neural Architecture Search (NAS) is to efficiently rank the performances of architectures. The mainstream assessment of performance rankers uses ranking correlations (e.g., Kendall's tau), which pay equal attention to the whole space. However, the optimization goal of NAS is identifying top architectures while paying less attention on other architectures in the search space. In this paper, we show both empirically and theoretically that Normalized Discounted Cumulative Gain (NDCG) is a better metric for rankers. Subsequently, we propose a new algorithm, AceNAS, which directly optimizes NDCG with LambdaRank. It also leverages weak labels produced by weight-sharing NAS to pre-train the ranker, so as to further reduce search cost. Extensive experiments on 12 NAS benchmarks and a large-scale search space demonstrate that our approach consistently outperforms SOTA NAS methods, with up to 3.67% accuracy improvement and 8x reduction on search cost.

Introduction

Neural Architecture Search (NAS) has revolutionized the design of deep learning models by automating the discovery of high-performance architectures. However, the computational cost of evaluating thousands of candidate models is immense, often requiring hundreds of GPU days. Performance rankers—surrogate models that predict the relative quality of architectures—are used to mitigate this.

Traditionally, these rankers are evaluated using Kendall’s tau (KdT), a correlation metric that measures global ranking accuracy across the entire search space. This paper argues that KdT is a fundamentally flawed compass for NAS because it treats "junk" architectures with the same importance as "gems." In practice, we only care about the top 1% of models. By forcing rankers to be accurate across the "long tail" of bad architectures, we waste computational resources and potentially overlook the true "Aces."

Methodology: The AceNAS Framework

The authors propose AceNAS, which shifts the focus to the top of the performance distribution using Normalized Discounted Cumulative Gain (NDCG). NDCG, a staple in information retrieval (like Google Search), applies a logarithmic discount to rankings, ensuring that errors among top-tier candidates are penalized much more heavily than those at the bottom.

The AceNAS workflow: leveraging a weight-sharing super-net for weak supervision followed by ranking optimization via a Ranking Head.

As illustrated in the workflow above, AceNAS employs a two-stage training strategy to maximize efficiency. First, it uses a weight-sharing super-net to generate "weak labels" for pre-training a Graph Convolutional Network (GCN) ranker. This stage incorporates multi-task learning, where the model predicts not only accuracy but also hardware-related metadata like FLOPs and parameter counts. In the second stage, the ranker is fine-tuned using LambdaRank to directly optimize for NDCG, focusing the model's predictive power on identifying the highest-performing architectures.

Experimental Results

The effectiveness of AceNAS was validated across 12 NAS benchmarks, including NAS-Bench-101/201 and the massive ProxylessNAS search space. A key finding is that NDCG is a far more reliable indicator of a ranker's ability to find high-accuracy models than Kendall's tau.

Comparison of Final Accuracy vs. Kendall's tau (left) and NDCG (right). NDCG shows a much stronger correlation with the final searched performance, particularly for top-performing methods like AceNAS.

As shown in the comparative plots, methods that achieve high NDCG scores consistently yield better final architectures. In contrast, Kendall's tau fails to differentiate between rankers that perform well at the top versus those that are merely accurate on average.

Key performance highlights include:

  • Search Cost Reduction: On NAS-Bench-101, AceNAS reached SOTA accuracy using only 110 ground-truth samples—an 18x reduction in search cost compared to GBDT-NAS.
  • Accuracy Gains: On NAS-Bench-201, it improved final searched accuracy by up to 3.67% under similar computational budgets.
  • Real-World Scalability: On the ProxylessNAS ImageNet challenge, AceNAS discovered a model achieving 75.13% top-1 accuracy with only 84ms latency, surpassing previous specialized predictors.

Conclusion

By prioritizing the "Aces" in the search space through NDCG optimization, AceNAS provides a more efficient and effective path for automated architecture design. The "sharp head" phenomenon observed in NDCG-optimized rankers ensures high precision where it matters most. Future work will explore more advanced Learning-to-Rank (LTR) techniques to further bridge the generalization gap between validation and test performance.

Summary updated

Abstract

One of the key challenges in Neural Architecture Search (NAS) is to efficiently rank the performances of architectures. The mainstream assessment of performance rankers uses ranking correlations (e.g., Kendall's tau), which pay equal attention to the whole space. However, the optimization goal of NAS is identifying top architectures while paying less attention on other architectures in the search space. In this paper, we show both empirically and theoretically that Normalized Discounted Cumulative Gain (NDCG) is a better metric for rankers. Subsequently, we propose a new algorithm, AceNAS, which directly optimizes NDCG with LambdaRank. It also leverages weak labels produced by weight-sharing NAS to pre-train the ranker, so as to further reduce search cost. Extensive experiments on 12 NAS benchmarks and a large-scale search space demonstrate that our approach consistently outperforms SOTA NAS methods, with up to 3.67% accuracy improvement and 8x reduction on search cost.
BibTeX
@misc{zhang2021learning,
  author = {Yuge Zhang and Quanlu Zhang and Li Lyna Zhang and Yaming Yang and Chenqian Yan and Xiaotian Gao and Yuqing Yang},
  title = {{Learning to Rank Ace Neural Architectures via Normalized Discounted Cumulative Gain}},
  year = {2021},
  eprint = {2108.03001},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2108.03001},
}
Figure