[Paper Review] HNAS: Hierarchical Neural Architecture Search on Mobile Devices.
HNAS proposes a hierarchical neural architecture search method that builds layer-wise operation search spaces through operation pruning, enabling automatic operation selection per layer while respecting mobile device latency constraints. Under mobile latency constraints, HNAS-generated models outperform both manually designed and NAS-optimized state-of-the-art models on ImageNet.
Neural Architecture Search (NAS) has attracted growing interest. To reduce the search cost, recent work has explored weight sharing across models and made major progress in One-Shot NAS. However, it has been observed that a model with higher one-shot model accuracy does not necessarily perform better when stand-alone trained. To address this issue, in this paper, we propose a new method, named Hierarchical Neural Architecture Search (HNAS). Unlike previous approaches where the same operation search space is shared by all the layers in the supernet, we formulate a hierarchical search strategy based on operation pruning and build a layer-wise operation search space. In this way, HNAS can automatically select the operations for each layer. During the search, we also take the hardware platform constraints into consideration for efficient neural network model deployment. Extensive experiments on ImageNet show that under mobile latency constraint, our models consistently outperform state-of-the-art models both designed manually and generated automatically by NAS methods.
Motivation & Objective
- Address the limitation of existing One-Shot NAS methods where high one-shot accuracy does not correlate with standalone model performance.
- Reduce the search cost of neural architecture search while maintaining high accuracy on mobile devices.
- Incorporate hardware platform constraints (e.g., latency) directly into the NAS process for efficient deployment.
- Develop a layer-wise operation search space that allows automatic operation selection per layer, improving model efficiency and performance.
Proposed method
- Formulate a hierarchical search strategy based on operation pruning to create layer-specific operation search spaces instead of a shared search space across all layers.
- Construct a supernet with layer-wise operation choices, where each layer dynamically selects from its own learned operation set.
- Integrate mobile latency constraints into the search process to prioritize architectures that meet real-world deployment requirements.
- Use weight sharing across the supernet to reduce training cost, while ensuring that the final standalone models achieve high accuracy.
- Apply a differentiable search strategy that enables end-to-end training of the supernet with gradient-based operation selection.
- Optimize the search process to favor architectures that are both accurate and efficient under mobile latency constraints.
Experimental results
Research questions
- RQ1Can a hierarchical operation search space that varies per layer improve the generalization of one-shot NAS beyond shared search spaces?
- RQ2Does operation pruning at the layer level lead to better standalone model performance compared to conventional NAS with shared operation spaces?
- RQ3To what extent can hardware-aware constraints like mobile latency be integrated into the NAS process without sacrificing accuracy?
- RQ4How does HNAS compare in accuracy and efficiency to state-of-the-art models designed manually or via NAS under mobile deployment constraints?
Key findings
- HNAS-generated models achieve higher top-1 accuracy than state-of-the-art models on ImageNet under the same mobile latency constraints.
- The hierarchical search strategy with layer-wise operation selection leads to better standalone model performance compared to models from conventional One-Shot NAS with shared operation spaces.
- Models searched with HNAS outperform both manually designed and NAS-generated models in terms of accuracy-efficiency trade-off on mobile devices.
- The integration of hardware latency constraints during search results in architectures that are not only accurate but also deployable on mobile platforms with minimal latency overhead.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.