Skip to main content
QUICK REVIEW

[Paper Review] Blockwisely Supervised Neural Architecture Search with Knowledge Distillation

Changlin Li, Jiefeng Peng|arXiv (Cornell University)|Nov 29, 2019
Advanced Neural Network ApplicationsComputer Science36 references26 citations
TL;DR

This paper proposes Blockwisely Supervised Neural Architecture Search with Knowledge Distillation (DNA), a method that divides neural architecture search into modular blocks to enable full, fair training of candidate architectures, reducing errors from parameter sharing. By distilling architectural knowledge from a teacher model via feature map matching, DNA achieves state-of-the-art 78.4% top-1 accuracy on ImageNet in a mobile setting—surpassing EfficientNet-B0 by 2.1%—and even exceeds its teacher model in performance.

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.

Motivation & Objective

  • To address the inefficacy and inaccuracy of existing one-shot NAS methods that rely on undertrained shared weights for architecture evaluation.
  • To improve NAS effectiveness by modularizing the search space into blocks, enabling full and fair training of candidate architectures within each block.
  • To overcome the lack of supervision in greedy block-wise search by introducing a novel architecture distillation method that transfers knowledge from a teacher model’s feature maps.
  • To enable the searched architecture to surpass the performance of the teacher model, demonstrating scalability and practicality.

Proposed method

  • The search space is decomposed into discrete blocks, each containing a subset of architectural choices, allowing full training of all candidates within a block.
  • A novel distillation method, DNA, transfers knowledge from a teacher model by matching feature maps across blocks, using MSE loss between student and teacher activations.
  • The student supernet is trained block-by-block using the teacher’s feature maps as input for each block, ensuring architectural knowledge is preserved during search.
  • A multi-cell supernet design is introduced to increase architectural variability in channel and depth, enhancing search capacity.
  • The method employs a progressive, block-wise training and evaluation strategy, with each block's architecture selected based on full training and distillation guidance.
  • The final architecture is retrained from scratch without teacher supervision, validating the method's generalization and scalability.

Experimental results

Research questions

  • RQ1Can modularizing the search space into blocks improve the accuracy and reliability of architecture evaluation in one-shot NAS?
  • RQ2Does distilling architectural knowledge from a teacher model’s feature maps enhance the effectiveness of block-wise architecture search?
  • RQ3Can the searched architecture outperform the teacher model in accuracy, even when the teacher is not the best-performing architecture?
  • RQ4How does the performance of the searched architecture scale with model size, and can it surpass larger teacher models?

Key findings

  • The proposed DNA method achieves a state-of-the-art 78.4% top-1 accuracy on ImageNet in a mobile setting, representing a 2.1% improvement over EfficientNet-B0.
  • The searched model with 5.28M parameters (DNA-B7) achieves 77.8% top-1 accuracy, matching the performance of a much larger 66M-parameter EfficientNet-B7 teacher model.
  • When scaled to 64.9M parameters, the DNA-B7 model achieves 79.9% top-1 accuracy, surpassing its 66M-parameter teacher by 2.1%.
  • The method is robust to teacher quality: using EfficientNet-B0 as a teacher yields a model (DNA-B0) that outperforms the teacher by 1.5% with the same parameter count.
  • The ablation study confirms that multi-cell search and distillation strategy significantly improve accuracy, with the proposed distillation method outperforming S1 and S2 baselines by 0.3% and 0.2% respectively.
  • The student supernet successfully mimics the teacher’s feature maps across all channels and spatial dimensions, even at abstract 14×14 feature maps, confirming effective knowledge transfer.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.