[Paper Review] PreNAS: Preferred One-Shot Learning Towards Efficient Neural Architecture Search
PreNAS proposes a search-free neural architecture search framework that enhances one-shot NAS by pre-identifying high-performing, isomorphic architectures via a zero-cost proxy, then concentrating training on this preferred space to improve convergence and performance. It achieves state-of-the-art results with zero search cost after training, outperforming existing one-shot NAS methods on both Vision Transformers and CNNs.
The wide application of pre-trained models is driving the trend of once-for-all training in one-shot neural architecture search (NAS). However, training within a huge sample space damages the performance of individual subnets and requires much computation to search for an optimal model. In this paper, we present PreNAS, a search-free NAS approach that accentuates target models in one-shot training. Specifically, the sample space is dramatically reduced in advance by a zero-cost selector, and weight-sharing one-shot training is performed on the preferred architectures to alleviate update conflicts. Extensive experiments have demonstrated that PreNAS consistently outperforms state-of-the-art one-shot NAS competitors for both Vision Transformer and convolutional architectures, and importantly, enables instant specialization with zero search cost. Our code is available at https://github.com/tinyvision/PreNAS.
Motivation & Objective
- To address the inefficiency and poor convergence in conventional one-shot NAS due to vast, redundant search spaces.
- To reduce computational cost and improve model performance by focusing training on a pre-identified set of high-quality, isomorphic architectures.
- To enable instant model specialization with zero search cost after a one-time, efficient zero-cost proxy-based selection.
- To enhance training efficacy by minimizing gradient conflicts through a reduced, preferred sampling space.
Proposed method
- PreNAS uses a zero-cost proxy to identify isomorphic architectures—architectures with identical FLOPs and parameters—across Vision Transformers, forming a preferred search space.
- It applies a compound architecture selection mechanism that evaluates and prunes the search space based on zero-cost proxy scores, eliminating redundant isomeric variants.
- The method performs weight-sharing one-shot training exclusively on the preferred architectures, reducing gradient conflicts and improving convergence.
- It introduces balanced sampling during training, ensuring fair update frequency for critical hyperparameters like depth and embedding dimension.
- The approach is generalizable and adapted to CNNs by replacing Transformer blocks with convolutional layers, with isomeric pruning skipped due to structural differences.
- The final model is specialized instantly post-training without further search, leveraging the pre-identified preferred architecture.
Experimental results
Research questions
- RQ1Can a zero-cost proxy effectively identify high-performing, isomorphic Transformer architectures to reduce the search space in one-shot NAS?
- RQ2How does concentrating one-shot training on a preferred architecture set improve model convergence and performance compared to uniform sampling over the full search space?
- RQ3To what extent can the proposed preferred learning strategy generalize to CNN architectures, where isomeric structures are less prevalent?
- RQ4Does the combination of zero-shot selection and focused one-shot training lead to a search-free specialization pipeline with superior accuracy and efficiency?
- RQ5What is the impact of balanced sampling on the performance of subnets with varying resource constraints?
Key findings
- PreNAS-S outperforms ViT-B/16 and DeiT-B on CIFAR-10, CIFAR-100, and Flowers-102 with significantly fewer parameters.
- On ImageNet, PreNAS-S achieves 99.1% top-1 accuracy on CIFAR-10 and 91.2% on CIFAR-100, surpassing similar-scale models like ViTAE-S and DearKD-S.
- For CNNs, PreNAS achieves 0.5% to 1.0% higher top-1 accuracy than BigNAS across multiple FLOP levels, with 237M to 1040M FLOPs.
- The balanced sampling strategy improves small model performance by ensuring fair update frequency of key hyperparameters like depth and embedding dimension.
- PreNAS enables instant model specialization with zero search cost after training, making it ideal for deployment in resource-constrained scenarios.
- The method consistently improves the Pareto frontier in accuracy-FLOPs space, demonstrating superior efficiency and effectiveness across both Vision Transformers and CNNs.
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.