HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Blockwisely Supervised Neural Architecture Search with Knowledge Distillation

Changlin Li Jiefeng Peng Liuchun Yuan Guangrun Wang Xiaodan Liang Liang Lin Xiaojun Chang

Blockwisely Supervised Neural Architecture Search with Knowledge Distillation

Abstract

Neural Architecture Search (NAS), aiming at automatically designing network architectures by machines, is hoped and expected to bring about a new revolution in machine learning. Despite these high expectation, the effectiveness and efficiency of existing NAS solutions are unclear, with some recent works going so far as to suggest that many existing NAS solutions are no better than random architecture selection. The inefficiency of NAS solutions may be attributed to inaccurate architecture evaluation. Specifically, to speed up NAS, recent works have proposed under-training different candidate architectures in a large search space concurrently by using shared network parameters; however, this has resulted in incorrect architecture ratings and furthered the ineffectiveness of NAS. In this work, we propose to modularize the large search space of NAS into blocks to ensure that the potential candidate architectures are fully trained; this reduces the representation shift caused by the shared parameters and leads to the correct rating of the candidates. Thanks to the block-wise search, we can also evaluate all of the candidate architectures within a block. Moreover, we find that the knowledge of a network model lies not only in the network parameters but also in the network architecture. Therefore, we propose to distill the neural architecture (DNA) knowledge from a teacher model as the supervision to guide our block-wise architecture search, which significantly improves the effectiveness of NAS. Remarkably, the capacity of our searched architecture has exceeded the teacher model, demonstrating the practicability and scalability of our method. Finally, our method achieves a state-of-the-art 78.4\% top-1 accuracy on ImageNet in a mobile setting, which is about a 2.1\% gain over EfficientNet-B0. All of our searched models along with the evaluation code are available online.

Code Repositories

changlin31/DNA
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
neural-architecture-search-on-cifar-10DNA-c
Top-1 Error Rate: 1.7%
neural-architecture-search-on-cifar-100-1DNA-c
Percentage Error: 11.7
neural-architecture-search-on-imagenetDNA-d
Accuracy: 78.4
FLOPs: 611M
Params: 6.4M
Top-1 Error Rate: 21.6
neural-architecture-search-on-imagenetDNA-c
Accuracy: 77.8
FLOPs: 466M
Params: 5.3M
Top-1 Error Rate: 22.2
neural-architecture-search-on-imagenetDNA-b
Accuracy: 77.5
FLOPs: 406M
Params: 4.9M
Top-1 Error Rate: 22.5
neural-architecture-search-on-imagenetDNA-a
Accuracy: 77.1
FLOPs: 348M
Params: 4.2M
Top-1 Error Rate: 22.9

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Blockwisely Supervised Neural Architecture Search with Knowledge Distillation | Papers | HyperAI