Stronger NAS with Weaker Predictors

Junru Wu, Xiyang Dai, Dongdong Chen, Yinpeng Chen, Mengchen Liu, Ye Yu, Zhangyang Wang, Zicheng Liu, Mei Chen, Lu Yuan

TL;DR

Instead of training a single, complex model to map the entire massive search space of neural architectures, WeakNAS uses a sequence of "weak" predictors to iteratively zoom in on high-performance regions. This simple paradigm shift finds better architectures with significantly fewer samples—requiring up to 7.5x fewer queries than previous state-of-the-art methods to find the global optimum on standard benchmarks.

What Problem Does This Paper Address?

Neural Architecture Search (NAS) aims to automate the design of deep learning models. However, evaluating an architecture usually requires training it from scratch, which is computationally ruinous. "Predictor-based" NAS tries to solve this by training a proxy model (a predictor) to estimate the performance of architectures without training them.

The challenge is that the search space is often astronomical and highly non-convex. Traditional methods try to train one "strong" predictor to model the entire space. This requires a huge number of expensive samples to be accurate. The authors of this paper ask a provocative question: If our goal is only to find the best architecture, do we really need to model the bad parts of the search space at all?

Methods

The authors propose WeakNAS, a framework that treats NAS as a progressive, bi-level optimization problem. Instead of one-shot global modeling, it uses a "coarse-to-fine" iteration.

Comparison of previous single strong predictor approaches versus the proposed WeakNAS iterative zoom-in strategy.
  1. Initial Sampling: Start by training a small number of random architectures to get baseline data.
  2. Weak Predictor Fitting: Train a simple model (like a small MLP or a Gradient Boosting Tree) on the current samples. Because it only needs to be "good enough" to point toward better architectures, it is considered a "weak" predictor.
  3. Iterative "Zoom-In": Use the predictor to rank the search space. Instead of picking the absolute best, randomly sample new architectures from the "Top-N" predicted candidates. This maintains a balance between exploration (trying new things) and exploitation (focusing on what looks good).
  4. Repeat: Add these new high-potential samples to the dataset and train a new, slightly better weak predictor.

By the final iteration, the predictor has "zoomed in" on the most promising subspace, allowing it to be highly accurate where it matters most.

Datasets

The researchers evaluated WeakNAS on both "closed" tabular benchmarks (where every architecture's performance is pre-calculated) and "open" large-scale search spaces:

  • NAS-Bench-101 & NAS-Bench-201: Standard benchmarks used to measure search efficiency and accuracy against a known global optimum.
  • ImageNet (NASNet & MobileNet Search Spaces): Real-world, large-scale search spaces to prove the method's scalability to state-of-the-art computer vision tasks.

Key Insights and Ideas

  • The "Compass" vs. the "Map": Traditional NAS tries to build a perfect map of the whole world. WeakNAS acts like a compass that gets more precise as you get closer to the North Pole. You don't need to know what the desert looks like if you're heading for the mountains.
  • Sample Efficiency is King: By focusing only on promising regions, WeakNAS avoids wasting "queries" (expensive model trainings) on architectures that are obviously poor.
  • Robustness to Model Choice: Surprisingly, the framework works well regardless of whether the "weak" predictor is a Multi-Layer Perceptron (MLP), a Random Forest, or a GBRT. This suggests the strategy of iterative refinement is more important than the specific architecture of the predictor itself.
  • Structured Search Spaces: The success of this method confirms that NAS search spaces are highly structured—good architectures tend to cluster together, making a "zoom-in" approach mathematically sound.

Key Results

WeakNAS demonstrates massive improvements in sample efficiency and final model accuracy compared to traditional methods.

Validation accuracy over number of samples, showing WeakNAS reaching optimal performance much faster than a strong predictor.
  • 7.5x Speedup: On NAS-Bench-101, WeakNAS found the global optimal architecture using 7.5x fewer samples than previous leading predictor-based methods.
  • New SOTA on ImageNet: In the MobileNet search space, WeakNAS discovered an architecture that achieved 81.3% top-1 accuracy on ImageNet, setting a new state-of-the-art for NAS-generated models in that category.
  • Lower Variance: Because the method progressively narrows its focus, it is much more consistent across different runs compared to random sampling or one-shot predictors.

Limitations and Future Work

  • Human-Designed Encodings: The method still relies on how architectures are "described" to the predictor (e.g., adjacency matrices or one-hot vectors). The authors note that future work could involve learning these representations automatically during the search process.
  • Retraining Overhead: While WeakNAS saves on expensive architecture evaluations, it does require retraining the predictor multiple times. For very small search spaces, this overhead might be noticeable, though it is negligible compared to the cost of training a full neural network on ImageNet.
  • Hyperparameter Sensitivity: The choice of how many architectures to sample and the size of the top-tier pool affects the exploration-exploitation trade-off and may require tuning for different search spaces.

Summary updated

BibTeX
@inproceedings{wu2021stronger,
  author = {Junru Wu and Xiyang Dai and Dongdong Chen and Yinpeng Chen and Mengchen Liu and Ye Yu and Zhangyang Wang and Zicheng Liu and Mei Chen and Lu Yuan},
  title = {{Stronger NAS with Weaker Predictors}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2021},
  url = {https://openreview.net/forum?id=gGJem2fVt_Hm},
}
Figure