Skip to main content
QUICK REVIEW

[Paper Review] LayerNAS: Neural Architecture Search in Polynomial Complexity

Yicheng Fan, Dana Alon|arXiv (Cornell University)|Apr 23, 2023
Advanced Neural Network ApplicationsComputer Science3 citations
TL;DR

LayerNAS proposes a polynomial-complexity neural architecture search (NAS) method that transforms multi-objective NAS into a combinatorial optimization problem by layerwise search and cost-based bucketing. It reduces search complexity from exponential to O(H·|S|·L), achieving state-of-the-art accuracy under MAdds constraints across MobileNetV2/V3 and NATS-Bench search spaces with only 2 million trials.

ABSTRACT

Neural Architecture Search (NAS) has become a popular method for discovering effective model architectures, especially for target hardware. As such, NAS methods that find optimal architectures under constraints are essential. In our paper, we propose LayerNAS to address the challenge of multi-objective NAS by transforming it into a combinatorial optimization problem, which effectively constrains the search complexity to be polynomial. For a model architecture with $L$ layers, we perform layerwise-search for each layer, selecting from a set of search options $\mathbb{S}$. LayerNAS groups model candidates based on one objective, such as model size or latency, and searches for the optimal model based on another objective, thereby splitting the cost and reward elements of the search. This approach limits the search complexity to $ O(H \cdot |\mathbb{S}| \cdot L) $, where $H$ is a constant set in LayerNAS. Our experiments show that LayerNAS is able to consistently discover superior models across a variety of search spaces in comparison to strong baselines, including search spaces derived from NATS-Bench, MobileNetV2 and MobileNetV3.

Motivation & Objective

  • To address the exponential search complexity of multi-objective NAS in large architecture spaces.
  • To enable efficient, scalable architecture search under hardware constraints like latency and FLOPs.
  • To decouple model quality and cost metrics for effective multi-objective optimization.
  • To reduce NAS search complexity from O(|S|^L) to polynomial O(H·|S|·L) using bucketed cost grouping.
  • To demonstrate consistent performance gains across diverse search spaces including MobileNetV2, MobileNetV3, and NATS-Bench.

Proposed method

  • LayerNAS performs a directional, layerwise search from first to last layer, assuming optimal layer i can be built from optimal layer i-1.
  • It groups model candidates by their cost (e.g., MAdds), storing only the best-performing model per cost bucket per layer.
  • For each layer, it generates child candidates by selecting from the set of search options S, then filters based on target cost constraints.
  • It maintains H buckets per layer (e.g., H=100), limiting the number of candidates and ensuring polynomial complexity.
  • The algorithm uses dynamic programming to propagate the best-performing models forward, optimizing for accuracy under cost constraints.
  • It leverages a factorized search space where each layer’s choice is independent, enabling efficient pruning and search.

Experimental results

Research questions

  • RQ1Can multi-objective NAS be reformulated as a combinatorial optimization problem to achieve polynomial-time complexity?
  • RQ2Does layerwise search with cost-based bucketing outperform standard NAS in accuracy under MAdds constraints?
  • RQ3Can LayerNAS scale effectively to large search spaces like those in MobileNetV2 and MobileNetV3?
  • RQ4How does the number of buckets H affect the trade-off between search efficiency and model performance?
  • RQ5Is LayerNAS robust across diverse search spaces, including those derived from NATS-Bench?

Key findings

  • LayerNAS achieves state-of-the-art accuracy on ImageNet-1K under 600M MAdds, outperforming strong baselines in the same search space.
  • The method reduces the effective search space from 1.6×10^39 candidates to approximately 2.0×10^6 trials with 300 candidates per layer.
  • With H=100 buckets per layer, LayerNAS maintains high performance while ensuring polynomial complexity.
  • The algorithm discovers a model with 86.4% top-1 accuracy under 600M MAdds, surpassing MobileNetV3 and other baselines.
  • LayerNAS consistently finds superior architectures across multiple search spaces, including those derived from MobileNetV2, MobileNetV3, and NATS-Bench.
  • The directional, layerwise search with cost-based filtering enables efficient exploration without exhaustive enumeration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.