[Paper Review] DisWOT: Student Architecture Search for Distillation WithOut Training
DisWOT proposes a training-free neural architecture search framework that selects optimal student models for knowledge distillation by measuring semantic and relational similarity between randomly initialized teacher and student networks. By leveraging gradient-based activation maps and feature correlation matrices, it achieves state-of-the-art distillation performance with over 180× speedup over standard training, outperforming existing zero-cost NAS methods.
Knowledge distillation (KD) is an effective training strategy to improve the lightweight student models under the guidance of cumbersome teachers. However, the large architecture difference across the teacher-student pairs limits the distillation gains. In contrast to previous adaptive distillation methods to reduce the teacher-student gap, we explore a novel training-free framework to search for the best student architectures for a given teacher. Our work first empirically show that the optimal model under vanilla training cannot be the winner in distillation. Secondly, we find that the similarity of feature semantics and sample relations between random-initialized teacher-student networks have good correlations with final distillation performances. Thus, we efficiently measure similarity matrixs conditioned on the semantic activation maps to select the optimal student via an evolutionary algorithm without any training. In this way, our student architecture search for Distillation WithOut Training (DisWOT) significantly improves the performance of the model in the distillation stage with at least 180$ imes$ training acceleration. Additionally, we extend similarity metrics in DisWOT as new distillers and KD-based zero-proxies. Our experiments on CIFAR, ImageNet and NAS-Bench-201 demonstrate that our technique achieves state-of-the-art results on different search spaces. Our project and code are available at https://lilujunai.github.io/DisWOT-CVPR2023/.
Motivation & Objective
- To address the performance gap in knowledge distillation caused by architectural mismatch between teacher and student models.
- To identify student architectures that maximize distillation performance without any training, overcoming limitations of vanilla training-based search.
- To develop zero-cost metrics that correlate strongly with final distillation accuracy, enabling efficient architecture search.
- To improve distillation performance by enhancing semantic and relational alignment between teacher and student networks.
- To provide a scalable, training-free alternative to existing NAS methods for distillation, reducing search cost by over 180×.
Proposed method
- Measures semantic similarity between teacher and student networks using channel-wise similarity of Grad-CAM activation maps from a single forward and backward pass.
- Computes relation similarity by comparing L2 distance of normalized sample-relation correlation matrices derived from feature activations before global average pooling.
- Employs an evolutionary algorithm to search for optimal student architectures using the semantic and relation similarity metrics as fitness scores.
- Uses randomly initialized networks (Gaussian and He initialization) to compute metrics without any fine-tuning or training.
- Applies the metrics on a predefined search space of ResNet-like architectures with variable depth, width, and kernel size, constrained to divisible-by-8 channels and max 2048 channels.
- Validates architecture candidates through structural checks post-mutation to ensure feasibility within search constraints.
Experimental results
Research questions
- RQ1Can training-free metrics based on feature semantics and sample relations predict distillation performance more accurately than vanilla accuracy or existing zero-cost proxies?
- RQ2Why does a model with higher standalone (vanilla) accuracy perform worse in knowledge distillation, and what architectural factors explain this gap?
- RQ3Can semantic and relational similarity between randomly initialized teacher and student networks serve as reliable surrogates for distillation performance?
- RQ4To what extent can a training-free architecture search framework improve distillation accuracy while reducing search cost?
- RQ5How do different architectural configurations (depth, width, kernel size) affect distillation performance when guided by semantic and relation similarity?
Key findings
- The optimal student architecture under vanilla training does not necessarily yield the best distillation performance, indicating a disconnect between standalone and distillation accuracy.
- Vanilla accuracy correlates only 85% with final distillation performance, highlighting the need for better search proxies.
- ResNet[3,3,3] achieved higher standalone accuracy than ResNet[7,1,3], but the latter outperformed it in distillation due to better receptive field and knowledge matching.
- Semantic and relation similarity metrics achieved higher ranking correlation with distillation accuracy than existing zero-cost NAS methods on search space $S_0$.
- DisWOT achieved state-of-the-art distillation performance on CIFAR, ImageNet, and NAS-Bench-201 with at least 180× faster search than standard training.
- The proposed metrics serve as effective distillers and zero-proxies, enabling high-accuracy student model selection without any training.
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.