[Paper Review] HM-NAS: Efficient Neural Architecture Search via Hierarchical Masking
HM-NAS proposes an efficient neural architecture search method that overcomes limitations of existing weight-sharing NAS by using a multi-level architecture encoding and hierarchical masking to automatically learn optimal network structures without hand-designed heuristics. It achieves state-of-the-art accuracy on CIFAR-10 and ImageNet with 1.8× fewer parameters and 2.7× faster training compared to prior methods.
The use of automatic methods, often referred to as Neural Architecture Search (NAS), in designing neural network architectures has recently drawn considerable attention. In this work, we present an efficient NAS approach, named HM- NAS, that generalizes existing weight sharing based NAS approaches. Existing weight sharing based NAS approaches still adopt hand-designed heuristics to generate architecture candidates. As a consequence, the space of architecture candidates is constrained in a subset of all possible architectures, making the architecture search results sub-optimal. HM-NAS addresses this limitation via two innovations. First, HM-NAS incorporates a multi-level architecture encoding scheme to enable searching for more flexible network architectures. Second, it discards the hand-designed heuristics and incorporates a hierarchical masking scheme that automatically learns and determines the optimal architecture. Compared to state-of-the-art weight sharing based approaches, HM-NAS is able to achieve better architecture search performance and competitive model evaluation accuracy. Without the constraint imposed by the hand-designed heuristics, our searched networks contain more flexible and meaningful architectures that existing weight sharing based NAS approaches are not able to discover.
Motivation & Objective
- To address the sub-optimality of existing weight-sharing NAS methods constrained by hand-designed heuristics in architecture candidate generation.
- To enable searching over a broader space of neural architectures by relaxing fixed constraints on edges and operations per node.
- To improve search efficiency and model accuracy by formulating architecture search as a differentiable pruning problem using hierarchical masks.
- To correct architecture search bias caused by bilevel optimization in supernet training through learned masking mechanisms.
- To discover more flexible and meaningful architectures than previously possible with fixed-cell, fixed-operation NAS approaches.
Proposed method
- Introduces a multi-level architecture encoding scheme that allows variable numbers of edges and operations per node, with learnable importance weights for each edge and operation.
- Employs a hierarchical masking mechanism to automatically learn optimal architectures by pruning unimportant weights and connections during supernet training.
- Treats architecture search as a differentiable model pruning problem, where masks are trained end-to-end to select the best architecture from the supernet.
- Uses the learned masks to correct bias from bilevel optimization in supernet training, improving convergence and generalization.
- Constructs a single over-parameterized supernet that contains all possible architectures, enabling efficient joint training of all candidates.
- Applies the hierarchical masking scheme to dynamically determine the number of input edges per node and the number of operations per edge, moving beyond fixed-cell designs.
Experimental results
Research questions
- RQ1Can relaxing the fixed architectural constraints of existing weight-sharing NAS methods lead to better-performing and more flexible neural architectures?
- RQ2Can a hierarchical masking mechanism automatically learn optimal architecture configurations without hand-designed heuristics?
- RQ3Does the proposed method reduce search bias caused by bilevel optimization in supernet training?
- RQ4Can the method achieve competitive accuracy with significantly reduced parameter count and training time compared to state-of-the-art NAS approaches?
- RQ5Are the discovered architectures more flexible and semantically meaningful than those found by conventional NAS methods?
Key findings
- HM-NAS achieves 2.41±0.05 top-1 accuracy on CIFAR-10 with 1.8× fewer parameters and 2.7× faster training compared to state-of-the-art weight-sharing NAS methods.
- On ImageNet, HM-NAS achieves competitive accuracy with improved efficiency, demonstrating generalization beyond CIFAR-10.
- The learned edge importance in HM-NAS is robust across random weight initializations, with later intermediate nodes consistently showing higher importance.
- The best-performing architectures discovered by HM-NAS feature variable numbers of input edges (≥2) and multiple operations per edge, unlike DARTS which enforces exactly two edges and one operation per edge.
- The hierarchical masking scheme enables the discovery of more flexible and meaningful architectures that existing NAS approaches cannot explore due to architectural constraints.
- Ablation studies confirm that the multi-level encoding and hierarchical masking outperform random architectures and methods using single-level encoding or hand-designed heuristics.
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.