Dilin Wang, Chengyue Gong, Meng Li, Qiang Liu, Vikas Chandra
Weight-sharing neural architecture search (NAS) is an effective technique for automating efficient neural architecture design. Weight-sharing NAS builds a supernet that assembles all the architectures as its sub-networks and jointly trains the supernet with the sub-networks. The success of weight-sharing NAS heavily relies on distilling the knowledge of the supernet to the sub-networks. However, we find that the widely used distillation divergence, i.e., KL divergence, may lead to student sub-networks that over-estimate or under-estimate the uncertainty of the teacher supernet, leading to inferior performance of the sub-networks. In this work, we propose to improve the supernet training with a more generalized alpha-divergence. By adaptively selecting the alpha-divergence, we simultaneously prevent the over-estimation or under-estimation of the uncertainty of the teacher model. We apply the proposed alpha-divergence based supernets training to both slimmable neural networks and weight-sharing NAS, and demonstrate significant improvements. Specifically, our discovered model family, AlphaNet, outperforms prior-art models on a wide range of FLOPs regimes, including BigNAS, Once-for-All networks, and AttentiveNAS. We achieve ImageNet top-1 accuracy of 80.0% with only 444M FLOPs. Our code and pretrained models are available at https://github.com/facebookresearch/AlphaNet.
| Task | Dataset | Metric | Value | Model |
|---|---|---|---|---|
| Neural Architecture Search | ImageNet | Accuracy | 80.8 | AlphaNet-A6 |
| Neural Architecture Search | ImageNet | Top-1 Error Rate | 19.2 | AlphaNet-A6 |
| Neural Architecture Search | ImageNet | Accuracy | 80.6 | AlphaNet-A5 (base) |
| Neural Architecture Search | ImageNet | Top-1 Error Rate | 19.4 | AlphaNet-A5 (base) |
| Neural Architecture Search | ImageNet | Accuracy | 80.3 | AlphaNet-A5 (small) |
| Neural Architecture Search | ImageNet | Top-1 Error Rate | 19.7 | AlphaNet-A5 (small) |
| Neural Architecture Search | ImageNet | Accuracy | 80 | AlphaNet-A4 |
| Neural Architecture Search | ImageNet | Top-1 Error Rate | 20 | AlphaNet-A4 |
| Neural Architecture Search | ImageNet | Accuracy | 79.4 | AlphaNet-A3 |
| Neural Architecture Search | ImageNet | Top-1 Error Rate | 20.6 | AlphaNet-A3 |
| Neural Architecture Search | ImageNet | Accuracy | 79.2 | AlphaNet-A2 |
| Neural Architecture Search | ImageNet | Top-1 Error Rate | 20.8 | AlphaNet-A2 |
| Neural Architecture Search | ImageNet | Accuracy | 79 | AlphaNet-A1 |
| Neural Architecture Search | ImageNet | Top-1 Error Rate | 21 | AlphaNet-A1 |
| Neural Architecture Search | ImageNet | Accuracy | 77.9 | AlphaNet-A0 |
| Neural Architecture Search | ImageNet | Top-1 Error Rate | 22.1 | AlphaNet-A0 |
| Image Classification | ImageNet | GFLOPs | 0.709 | AlphaNet-A6 |
| Image Classification | ImageNet | GFLOPs | 0.491 | AlphaNet-A5 |
| Image Classification | ImageNet | GFLOPs | 0.444 | AlphaNet-A4 |
| Image Classification | ImageNet | GFLOPs | 0.357 | AlphaNet-A3 |
| Image Classification | ImageNet | GFLOPs | 0.317 | AlphaNet-A2 |
| Image Classification | ImageNet | GFLOPs | 0.279 | AlphaNet-A1 |
| Image Classification | ImageNet | GFLOPs | 0.203 | AlphaNet-A0 |
| AutoML | ImageNet | Accuracy | 80.8 | AlphaNet-A6 |
| AutoML | ImageNet | Top-1 Error Rate | 19.2 | AlphaNet-A6 |
| AutoML | ImageNet | Accuracy | 80.6 | AlphaNet-A5 (base) |
| AutoML | ImageNet | Top-1 Error Rate | 19.4 | AlphaNet-A5 (base) |
| AutoML | ImageNet | Accuracy | 80.3 | AlphaNet-A5 (small) |
| AutoML | ImageNet | Top-1 Error Rate | 19.7 | AlphaNet-A5 (small) |
| AutoML | ImageNet | Accuracy | 80 | AlphaNet-A4 |
| AutoML | ImageNet | Top-1 Error Rate | 20 | AlphaNet-A4 |
| AutoML | ImageNet | Accuracy | 79.4 | AlphaNet-A3 |
| AutoML | ImageNet | Top-1 Error Rate | 20.6 | AlphaNet-A3 |
| AutoML | ImageNet | Accuracy | 79.2 | AlphaNet-A2 |
| AutoML | ImageNet | Top-1 Error Rate | 20.8 | AlphaNet-A2 |
| AutoML | ImageNet | Accuracy | 79 | AlphaNet-A1 |
| AutoML | ImageNet | Top-1 Error Rate | 21 | AlphaNet-A1 |
| AutoML | ImageNet | Accuracy | 77.9 | AlphaNet-A0 |
| AutoML | ImageNet | Top-1 Error Rate | 22.1 | AlphaNet-A0 |