Fitting the Search Space of Weight-sharing NAS with Graph Convolutional Networks

Xin Chen, Lingxi Xie, Jun Wu, Longhui Wei, Yuhui Xu, Qi Tian

Abstract

Weight-sharing Neural Architecture Search (NAS) offers a computationally efficient alternative to traditional NAS by training a single "super-network." However, this approach is often undermined by "ranking inconsistency," where the performance of sampled sub-networks poorly correlates with their standalone accuracy. This paper introduces a Graph Convolutional Network (GCN) based predictor to "denoise" these performance estimates. By modeling the search space as a graph and leveraging GCNs to aggregate structural information from neighboring architectures, the proposed method significantly improves ranking reliability. Our resulting model, One-Shot-NAS-GCN, achieves 75.5% top-1 accuracy on ImageNet with a search cost of only 4.7 GPU-days, demonstrating a superior balance of efficiency and performance.

1. Introduction: The Challenge of Ranking Inconsistency

Neural Architecture Search (NAS) aims to automate the design of optimal deep learning models. While early methods required thousands of GPU-days, weight-sharing NAS reduced costs by training a single super-network. However, the performance of a sub-network within this super-net often fails to reflect its true standalone performance. The authors quantify this "ranking inconsistency" with a Kendall-$\tau$ correlation of just 0.2143. This discrepancy arises because layers in the super-net are updated at varying frequencies, introducing significant random noise into performance estimations. If the rankings are unreliable, the search process cannot effectively identify the best model.

2. Methodology: GCN as a Performance Denoiser

To address this, the authors propose using a GCN-based predictor. The core hypothesis is that sampled accuracy ($z_M$) consists of the true accuracy ($z^*_M$) plus a zero-mean random error ($\epsilon_M$). By training a GCN on the graph of the search space—where nodes are architectures and edges connect those with a Hamming distance of 1—the model acts as a low-pass filter. It aggregates information from structurally similar neighbors to suppress noise and reveal the underlying performance trend.

Due to the massive search space ($6^{19}$ architectures), the authors employ an iterative search strategy. The search is partitioned into three segments; top candidates from one segment are treated as "super-cells" for the next, making the optimization tractable. Architectures are encoded using Gray coding to ensure structural differences are reflected in the feature vectors.

The iterative search process: architectures are sampled, ranked by a GCN predictor, and top-ranked candidates are used to form super-cells for subsequent stages.

3. Experimental Results

The method was evaluated on the ImageNet (ILSVRC2012) dataset. A 100-class subset was used for the search phase and GCN training, while the final architectures were trained on the full 1,000-class dataset to report final results.

The discovered architecture, One-Shot-NAS-GCN, achieved a top-1 accuracy of 75.5% with 383M multi-add operations. Notably, the search process required only 4.7 GPU-days, which is orders of magnitude faster than early Reinforcement Learning (RL) or Evolutionary Algorithm (EA) approaches that often exceeded 1,800 GPU-days.

Performance comparison of One-Shot-NAS-GCN against various manual and automated architecture search methods on ImageNet.

4. Discussion and Conclusion

The primary insight of this work is that the super-network's performance estimates are noisy rather than fundamentally incorrect. The GCN predictor effectively smooths these erratic spikes, boosting the Kendall-$\tau$ correlation from 0.2143 to 0.6429. Furthermore, the trained GCN serves as an efficient lookup table, allowing researchers to instantly query predicted performance under various hardware constraints (like FLOPs or latency) without additional training.

While the current model assumes a linear relationship between sampled and true accuracy, future work could explore higher-order functions or more heterogeneous graph structures. Despite these potential refinements, the current GCN-based approach sets a new standard for efficient and reliable weight-sharing NAS.

Summary updated

BibTeX
@inproceedings{chen2021fitting,
  author = {Xin Chen and Lingxi Xie and Jun Wu and Longhui Wei and Yuhui Xu and Qi Tian},
  title = {{Fitting the Search Space of Weight-sharing NAS with Graph Convolutional Networks}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i8.16869},
}
Figure