Generalized Global Ranking-Aware Neural Architecture Ranker for Efficient Image Classifier Search

Bicheng Guo, Tao Chen, Shibo He, Haoyu Liu, Lilin Xu, Peng Ye, Jiming Chen

TL;DR

This paper introduces the Neural Architecture Ranker (NAR), a novel approach to Neural Architecture Search (NAS) that classifies architectures into global quality tiers rather than relying on local pairwise comparisons. This global perspective allows NAR to generalize better and efficiently identify high-performing architectures with reduced computational cost.

What Problem Does This Paper Address?

Neural Architecture Search (NAS) aims to automate the design of efficient deep neural networks (DNNs). A key challenge in NAS is the prohibitive cost of evaluating every candidate architecture. Performance predictors are used to estimate an architecture's performance, but traditional methods often struggle with generalization and can be misled by local prediction biases. Previous contrastive methods, while better at ranking, still focus on pairwise comparisons and neglect the overall distribution of architecture quality within the search space, limiting their ability to generalize to new datasets. This paper addresses the need for a more robust and efficient NAS predictor that can understand the global quality landscape of a search space and generalize across different datasets.

Methods

The core of the proposed method is the Neural Architecture Ranker (NAR). Instead of predicting absolute performance or pairwise probabilities, NAR classifies architectures into one of five global quality tiers.

Here's a breakdown of the key techniques:

  • Architecture Encoding: Architectures are first encoded into feature tensors. This involves representing the network's structure (nodes, operations, connections) and computational properties (FLOPs, parameters) as a sequence of "patches."
  • Encoder-Decoder Architecture: A Transformer-based encoder extracts features from the encoded architecture. A decoder then matches these features against learned "tier embeddings" to classify the architecture into a quality tier.
  • Global Quality Tiers: The search space is divided into five tiers based on the ground-truth performance distribution. This global view helps the predictor understand the overall landscape of architecture quality.
  • Supervised Feature Extraction: The encoder is trained using a combination of classification loss (for tier assignment) and ranking loss (for relative scoring within tiers). This dual-loss approach aims to improve both generalization and fine-grained ranking.
  • Distribution-Guided Sampling: Crucially, NAR leverages the collected distributions of architectures within each tier (FLOPs, parameters, operations) to guide the search phase. This eliminates the need for expensive training of RL controllers or evolutionary algorithms, significantly simplifying the NAS pipeline and reducing computational overhead.

Datasets

The paper evaluates NAR on two widely used NAS benchmarks:

  • NAS-Bench-101: A large search space (over 423k architectures) used for evaluating the ability to find top-performing architectures.
  • NAS-Bench-201: A smaller search space used to test the generalization capabilities of NAR across three different image classification datasets: CIFAR-10, CIFAR-100, and ImageNet-16-120.

Key Insights and Ideas

  • Global vs. Local Perspective: The paper convincingly argues that understanding the global distribution of architecture quality (via tiers) is more effective for generalization than local pairwise comparisons.
  • Tier-Based Classification as a Proxy for Performance: By classifying architectures into quality tiers, NAR relaxes the difficult task of precise performance prediction into a more manageable classification problem.
  • Eliminating Search Algorithm Training: The most significant practical contribution is the ability to guide the search phase using collected tier distributions, bypassing the need to train computationally expensive RL controllers or EA methods.
  • Transformer's Suitability for Architecture Encoding: The use of a Transformer architecture, particularly its self-attention mechanism, is shown to be well-suited for processing the "patch-based" architecture representations.

Key Results

  • State-of-the-Art Performance: NAR achieves state-of-the-art results on both NAS-Bench-101 and NAS-Bench-201.
  • NAS-Bench-101: NAR finds an architecture with top 0.01% performance using statistics-guided sampling, outperforming previous methods. Even with random sampling, it finds the top 0.03% architecture.
  • NAS-Bench-201: NAR demonstrates strong generalization by finding optimal architectures for CIFAR-10, CIFAR-100, and ImageNet-16-120, achieving new state-of-the-art average validation and test accuracies.
  • Reduced Cost: The distribution-guided sampling significantly reduces the computational cost associated with the search phase, making NAS more accessible. For example, the search cost on NAS-Bench-201 is reported as 51 seconds.

Limitations and Future Work

  • Ablation on Random Sampling Proportion: The paper notes that while NAR performs well, the optimal proportion of randomly sampled architectures (as opposed to distribution-guided samples) needs careful consideration to balance diversity and efficiency.
  • Generalization to Unseen Architectures: While NAR shows good generalization, the paper acknowledges that predictors can still fail when encountering architectures with large distinctions.
  • Future Work: The authors plan to release detailed cell information datasets to facilitate further research into micro-structure NAS. They also suggest that their method can be extended to other NAS search spaces and tasks.

Summary updated

BibTeX
@inproceedings{guo2022generalized,
  author = {Bicheng Guo and Tao Chen and Shibo He and Haoyu Liu and Lilin Xu and Peng Ye and Jiming Chen},
  title = {{Generalized Global Ranking-Aware Neural Architecture Ranker for Efficient Image Classifier Search}},
  booktitle = {ACM Multimedia},
  year = {2022},
  doi = {10.1145/3503161.3548149},
}
Figure