[Paper Review] K-shot NAS: Learnable Weight-Sharing for NAS with K-shot Supernets
This paper proposes K-shot NAS, a learnable weight-sharing framework that replaces single-supernet weight sharing with a dictionary of K supernets per operation, enabling path-specific convex combinations of weights via a simplex-net. The method improves architecture evaluation accuracy by approximating stand-alone training weights more effectively, achieving 77.9% Top-1 accuracy on ImageNet with only 412M FLOPs.
In one-shot weight sharing for NAS, the weights of each operation (at each layer) are supposed to be identical for all architectures (paths) in the supernet. However, this rules out the possibility of adjusting operation weights to cater for different paths, which limits the reliability of the evaluation results. In this paper, instead of counting on a single supernet, we introduce $K$-shot supernets and take their weights for each operation as a dictionary. The operation weight for each path is represented as a convex combination of items in a dictionary with a simplex code. This enables a matrix approximation of the stand-alone weight matrix with a higher rank ($K>1$). A extit{simplex-net} is introduced to produce architecture-customized code for each path. As a result, all paths can adaptively learn how to share weights in the $K$-shot supernets and acquire corresponding weights for better evaluation. $K$-shot supernets and simplex-net can be iteratively trained, and we further extend the search to the channel dimension. Extensive experiments on benchmark datasets validate that K-shot NAS significantly improves the evaluation accuracy of paths and thus brings in impressive performance improvements.
Motivation & Objective
- To address the limitation of one-shot NAS, where shared weights across all paths hinder accurate performance evaluation.
- To improve the reliability of supernet-based NAS by allowing paths to adaptively learn distinct operation weights.
- To enable higher-rank matrix approximation of stand-alone weights through a K-shot supernet dictionary and path-specific code.
- To extend the search to channel width with a non-parametric regularization for improved discrimination in code generation.
- To validate that learnable, architecture-customized weight sharing leads to superior final model performance.
Proposed method
- Introduce K-shot supernets, where each operation maintains a dictionary of K weight vectors instead of a single shared weight.
- Represent each path’s operation weight as a convex combination of the K dictionary items using a simplex code vector λ.
- Design a simplex-net to generate path-specific code λ based on architecture and channel width encoding.
- Frame weight sharing as a higher-rank matrix approximation problem, improving upon the rank-1 limitation of one-shot NAS.
- Incorporate a non-parametric regularization to enhance code discrimination across different channel widths.
- Train K-shot supernets and the simplex-net jointly in an iterative optimization scheme.
Experimental results
Research questions
- RQ1Can a K-shot supernet with learnable weight sharing improve the accuracy of path evaluation compared to one-shot NAS?
- RQ2How does the use of a path-specific simplex code affect the approximation of stand-alone training weights?
- RQ3Does extending the search to channel width with a dedicated regularization improve final model performance?
- RQ4What is the trade-off between the number of supernets (K) and training epochs in terms of search efficiency and accuracy?
- RQ5Can the proposed method achieve state-of-the-art performance with low FLOP budgets?
Key findings
- K-shot NAS achieves 77.9% Top-1 accuracy on ImageNet with only 412M FLOPs, significantly outperforming baseline one-shot NAS methods.
- The method improves evaluation accuracy by enabling path-specific weight adaptation, reducing the gap between supernet ranking and Oracle performance.
- Using a learned simplex-net for code generation yields a 0.28% accuracy gain over fixed or random code assignment in the K-shot setting.
- The histogram of learned simplex codes shows wide and diverse distribution, indicating effective path-specific weight adaptation.
- The trade-off analysis shows that K=8 offers a good balance between training cost and performance, with larger K requiring more epochs for convergence.
- The non-parametric regularization improves code discrimination across different channel widths, contributing to performance gains in joint search.
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.