Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Knowledge Distillation: A Survey

Survey reviews how knowledge distillation trains small models from large teachers

  • Problem Deep networks are too heavy to run on phones and embedded devices, because of their computation and storage needs. Compression methods exist, but small models often fall short when trained alone.
  • Method This survey organizes knowledge distillation, which trains a small student model under a large teacher. It sorts methods by knowledge type, offline or online training, teacher-student architecture, and application area.
  • Results The survey shows that distillation can lift a student model's accuracy on CIFAR10. For the FT method, a ResNet20 student rose from 92.22 to 93.15 percent accuracy.

Why a large teacher needs a small student

Deep networks with very many layers have become easy to train on large GPU or TPU clusters, but their computational load and storage needs make them hard to run on video surveillance systems or autonomous driving cars. Compression research therefore covers several routes, including parameter pruning and sharing, low-rank factorization, compact convolutional filters and knowledge distillation.

Knowledge distillation trains a small student model under the supervision of a large teacher model, with the aim that the student comes close to the teacher's behaviour. The authors split the framework into three parts: the knowledge being transferred, the distillation algorithm, and the teacher-student architecture, and the central question is how knowledge moves from the teacher to the student.

What the teacher passes on

Response-based knowledge is taken from the teacher's output layer, feature-based knowledge from its hint layers, and relation-based knowledge from the relations among feature maps or data samples. Figure 3 of the survey illustrates where each type is read from in a deep teacher network.

Relation-based knowledge covers structured knowledge of the data and privileged information about input features, and it is summarized in a table of relation-based categories. How to model relation information from feature maps or data samples as knowledge is still an open question, since some relation types have only been proposed recently.

Offline, online and self-distillation

The schemes are separated by whether the teacher is updated together with the student. In offline distillation the teacher is trained first on the training samples and then fixed, and its logits or intermediate features guide the student in a second stage. Offline methods mostly focus on the design of the knowledge and of the loss functions, and the teacher's structure receives little attention.

The offline approach is simple to implement, for example when the teacher is an ensemble trained with different software packages and its knowledge is cached. Its cost is that the large teacher takes a long time to train, and a capacity gap between teacher and student usually exists, with the student relying heavily on the teacher.

In online distillation the teacher and student are updated at the same time in an end-to-end trainable framework, which was introduced to help when no high-performance large teacher is available. Deep mutual learning is the reference case, in which several networks learn collaboratively and any one of them can act as student or teacher. Existing online methods such as mutual learning often do not handle a high-capacity teacher, which the authors identify as a topic to study further.

In self-distillation the same network serves as teacher and student, and the authors treat it as a special case of online distillation. One example distils knowledge from the deeper sections of a network into its shallower sections, and another transfers knowledge from earlier epochs into later epochs of the same network.

CIFAR10 gains for two offline methods

The CIFAR10 table compares each distillation method with a student baseline and reports the accuracy after distillation together with the gain over that baseline. For FSP, distilling RelK knowledge from a ResNet26 teacher (91.91) into a ResNet8 student, whose baseline is 87.91, gives 88.70 (0.79 ↑).

For FT, distilling FeaK knowledge from a ResNet56 teacher (93.61) into a ResNet20 student, whose baseline is 92.22, gives 93.15 (0.93 ↑). Both rows are offline methods on a single CIFAR10 setting, so they show gains for these teacher-student pairs and not for the other schemes or datasets.

Where the teacher-student idea has been carried

In visual recognition, a lightweight student can be trained under a high-capacity teacher, and cross-modal action recognition uses teacher networks that hold knowledge from several modalities.

In natural language processing, BERT is a heavy model, and distillation has produced lighter variants such as BERT-PKD, which transfers feature representations of the [CLS] token from hint layers. TinyBERT uses two-stage transformer distillation with general-domain and task-specific stages, and DistilBERT keeps the generic structure of BERT in a smaller model.

In speech recognition, distillation is used to build lightweight acoustic models for embedded platforms, for example by transferring an RNN teacher's knowledge into a small DNN student. In recommender systems, ranking distillation applies the idea to a ranking problem, and privacy-motivated variants use teachers on sensitive data while the student is applied to public data.

Open problems

The theoretical and empirical understanding of distillation is still insufficient, and it is hard to measure the quality of the knowledge or of a teacher-student architecture. Most work proposes new knowledge types or loss functions, while the design of teacher and student architectures is less studied, even though a capacity gap can limit what the student learns.

How to combine response-based, feature-based and relation-based knowledge in one framework that is complementary is still a challenge. Combining distillation with other compression techniques is needed for portable platforms, but few works study it, and the order in which compression methods are applied is an open question. Data-free distillation remains difficult because the synthesized training data must be high quality and diverse.

Paper info

Authors
Jianping Gou, Baosheng Yu, Stephen John Maybank, Dacheng Tao
Venue
arXiv · Preprint
First published
2020-6-9
Added
2026-11-12
Updated
2021-5-20
Version
v7
arXiv
2006.05525
DOI
10.1007/s11263-021-01453-z
Category
cs.LG · stat.ML
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Jianping Gou, Baosheng Yu, Stephen John Maybank, Dacheng Tao (2020). Knowledge Distillation: A Survey. arXiv:2006.05525v7. https://doi.org/10.1007/s11263-021-01453-z

BibTeX
@article{gou2020knowledge,
  title = {{Knowledge Distillation: A Survey}},
  author = {Jianping Gou and Baosheng Yu and Stephen John Maybank and Dacheng Tao},
  year = {2020},
  eprint = {2006.05525},
  archivePrefix = {arXiv},
  doi = {10.1007/s11263-021-01453-z},
  url = {https://arxiv.org/abs/2006.05525v7}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up