HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

LayerNAS: Neural Architecture Search in Polynomial Complexity

Yicheng Fan Dana Alon Jingyue Shen Daiyi Peng Keshav Kumar Yun Long Xin Wang Fotis Iliopoulos Da-Cheng Juan Erik Vee

LayerNAS: Neural Architecture Search in Polynomial Complexity

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.

Benchmarks

BenchmarkMethodologyMetrics
neural-architecture-search-on-imagenetLayerNAS-60M
MACs: 61M
Params: 3.7M
Top-1 Error Rate: 31
neural-architecture-search-on-imagenetLayerNAS-600M
MACs: 627M
Params: 9.7M
Top-1 Error Rate: 21.4
neural-architecture-search-on-imagenetLayerNAS-300M
MACs: 322M
Params: 5.2M
Top-1 Error Rate: 22.9
neural-architecture-search-on-imagenetLayerNAS-220M
MACs: 229M
Params: 5.1M
Top-1 Error Rate: 24.4
neural-architecture-search-on-nas-bench-101LayerNAS
Accuracy (%): 94.26%
neural-architecture-search-on-nats-benchLayerNAS
Test Accuracy: 46.58±0.59
neural-architecture-search-on-nats-bench-1LayerNAS
Test Accuracy: 94.34±0.12
neural-architecture-search-on-nats-bench-2LayerNAS
Test Accuracy: 73.01±0.63
neural-architecture-search-on-nats-bench-size-1LayerNAS
Test Accuracy: 93.2
Validation Accuracy: 0.844
neural-architecture-search-on-nats-bench-size-2LayerNAS
Test Accuracy: 70.64
Validation Accuracy: 60.67
neural-architecture-search-on-nats-bench-size-3LayerNAS
Test Accuracy: 45.37
Validation Accuracy: 38.12

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
LayerNAS: Neural Architecture Search in Polynomial Complexity | Papers | HyperAI