Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Improved Knowledge Distillation via Teacher Assistant

About

Despite the fact that deep neural networks are powerful models and achieve appealing results on many tasks, they are too large to be deployed on edge devices like smartphones or embedded sensor nodes. There have been efforts to compress these networks, and a popular method is knowledge distillation, where a large (teacher) pre-trained network is used to train a smaller (student) network. However, in this paper, we show that the student network performance degrades when the gap between student and teacher is large. Given a fixed student network, one cannot employ an arbitrarily large teacher, or in other words, a teacher can effectively transfer its knowledge to students up to a certain size, not smaller. To alleviate this shortcoming, we introduce multi-step knowledge distillation, which employs an intermediate-sized network (teacher assistant) to bridge the gap between the student and the teacher. Moreover, we study the effect of teacher assistant size and extend the framework to multi-step distillation. Theoretical analysis and extensive experiments on CIFAR-10,100 and ImageNet datasets and on CNN and ResNet architectures substantiate the effectiveness of our proposed approach.

Seyed-Iman Mirzadeh, Mehrdad Farajtabar, Ang Li, Nir Levine, Akihiro Matsukawa, Hassan Ghasemzadeh• 2019

Related benchmarks

TaskDatasetResultRank
Object DetectionCOCO 2017 (val)
AP34.59
2454
Image ClassificationImageNet (val)
Top-1 Acc70.82
1206
Image ClassificationCIFAR-10 (test)
Accuracy88.01
906
Image ClassificationCIFAR-100 (val)
Accuracy75.34
661
Image ClassificationCIFAR-10
Accuracy93.13
507
Natural Language UnderstandingGLUE (dev)
SST-2 (Acc)91.4
504
Link PredictionFB15k-237 (test)
Hits@1044.1
419
Natural Language UnderstandingGLUE (test)
SST-2 Accuracy92.9
416
Link PredictionFB15k-237--
280
Image ClassificationCUB
Accuracy76.25
249
Showing 10 of 14 rows

Other info

Follow for update