[Paper Review] Prior-Guided One-shot Neural Architecture Search
This paper proposes Prior-Guided One-shot NAS (PGONAS), a method to improve ranking consistency in one-shot neural architecture search by using smoother activation functions, a balanced sampling strategy based on the Sandwich Rule, and prior-guided regularization with FLOPs and Zen-Score. The approach achieves a Pearson correlation coefficient of 83.20, ranking 3rd in the CVPR 2022 NAS Challenge supernet track.
Neural architecture search methods seek optimal candidates with efficient weight-sharing supernet training. However, recent studies indicate poor ranking consistency about the performance between stand-alone architectures and shared-weight networks. In this paper, we present Prior-Guided One-shot NAS (PGONAS) to strengthen the ranking correlation of supernets. Specifically, we first explore the effect of activation functions and propose a balanced sampling strategy based on the Sandwich Rule to alleviate weight coupling in the supernet. Then, FLOPs and Zen-Score are adopted to guide the training of supernet with ranking correlation loss. Our PGONAS ranks 3rd place in the supernet Track Track of CVPR2022 Second lightweight NAS challenge. Code is available in https://github.com/pprp/CVPR2022-NAS?competition-Track1-3th-solution.
Motivation & Objective
- To address the weak ranking correlation between supernet and standalone architectures in one-shot NAS, which hinders accurate performance estimation.
- To improve supernet training stability by reducing weight coupling through better sampling and activation function design.
- To enhance performance prediction accuracy by incorporating train-free metrics such as FLOPs and Zen-Score as priors in the loss function.
- To achieve state-of-the-art ranking consistency in one-shot NAS without requiring extensive retraining or additional supervision.
Proposed method
- Replaces ReLU with smoother activation functions like Mish and PReLU to improve channel-wise information flow and ranking predictability.
- Proposes a balanced sampling strategy based on the Sandwich Rule, sampling maximum, middle, and minimum architectures to stabilize training and reduce interference.
- Introduces a rank loss that regularizes the supernet to align its performance ranking with train-free proxy metrics like FLOPs and Zen-Score.
- Employs a warm-up scheduler for the loss coefficient to gradually increase regularization and avoid training instability.
- Uses architectural distance and loss weighting to fine-tune the regularization effect, improving generalization across diverse architectures.
- Combines prior-based regularization with supernet training to enhance the correlation between supernet predictions and actual standalone model accuracy.
Experimental results
Research questions
- RQ1How do different activation functions affect the ranking consistency of subnetworks in a weight-shared supernet?
- RQ2Can a balanced sampling strategy based on the Sandwich Rule improve supernet training stability and reduce weight coupling?
- RQ3To what extent can train-free metrics like FLOPs and Zen-Score serve as effective priors to guide supernet training and improve performance ranking?
- RQ4What is the optimal schedule for the regularization loss coefficient in prior-guided supernet training?
- RQ5Does combining multiple priors (e.g., FLOPs and Zen-Score) lead to better ranking consistency than using a single prior?
Key findings
- Using Mish activation achieved the highest ranking correlation of 81.56, significantly outperforming ReLU (78.20), demonstrating the benefit of smoother nonlinearities.
- The balanced sampling strategy based on the Sandwich Rule achieved a Pearson correlation of 81.63, surpassing uniform sampling (72.49) and progressive shrinking (69.03).
- The warm-up scheduler for the loss coefficient yielded the best performance with a correlation of 83.20, outperforming constant, cosine, and multistage schedules.
- FLOPs-guided rank loss achieved a correlation of 83.20, slightly better than Zen-Score-guided loss (83.00), indicating FLOPs as a more effective prior.
- Without prior guidance, the best correlation was 80.65; with FLOPs or Zen-Score priors, it improved to 83.20 and 83.00, respectively, proving the effectiveness of prior-based regularization.
- Visualization showed that FLOPs and Zen-Score have high correlation (95.97) but different distribution patterns, with Zen-Score showing a ribbon-like concentration that may limit its generalization.
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.