paper-with-me

홈 › Papers

Distilling Knowledge via Intermediate Classifiers

2021-02-28 · Aryan Asadian, Amirali Salehi-Abari

The crux of knowledge distillation is to effectively train a resource-limited student model with the guide of a pre-trained larger teacher model. However, when there is a large difference between the model complexities of teacher and student (i.e., capacity gap), knowledge distillation loses its strength in transferring knowledge from the teacher to the student, thus training a weaker student. To mitigate the impact of the capacity gap, we introduce knowledge distillation via intermediate heads. By extending the intermediate layers of the teacher (at various depths) with classifier heads, we cheaply acquire a cohort of heterogeneous pre-trained teachers. The intermediate classifier heads can all together be efficiently learned while freezing the backbone of the pre-trained teacher. The cohort of teachers (including the original teacher) co-teach the student simultaneously. Our experiments on various teacher-student pairs and datasets have demonstrated that the proposed approach outperforms the canonical knowledge distillation approach and its extensions.

📄 PDF Abstract BibTeX arXiv:2103.00497

Code (2)

aryanasadianuoit/Distilling-Knowledge-via-Intermediate-Classifier-Heads-DIH- 공식 구현 pytorch
aryanasadianuoit/Distilling-Knowledge-via-Intermediate-Classifiers 공식 구현 pytorch

Tasks

Knowledge DistillationTransfer Learning

Methods 이 논문이 사용한 방법론

Knowledge Distillation A very simple way to improve the performance of almost any machine learning algorithm is to train many different models on the same data and then to average their predictions.…

Similar Papers 제목 키워드 기반

Universal-KD: Attention-based Output-Grounded Intermediate Layer Knowledge Distillation

2021-11-01 · EMNLP 2021 11 · Yimeng Wu, Mehdi Rezagholizadeh, Abbas Ghaddar, Md Akmal Haidar 외

Intermediate layer matching is shown as an effective approach for improving knowledge distillation (KD). However, this technique applies matching in the hidden spaces of two different networks (i.e. student and teacher),…

Knowledge Distillation

Masked Autoencoders Enable Efficient Knowledge Distillers

2022-08-25 · CVPR 2023 1 · Yutong Bai, Zeyu Wang, Junfei Xiao, Chen Wei 외

This paper studies the potential of distilling knowledge from pre-trained models, especially Masked Autoencoders. Our approach is simple: in addition to optimizing the pixel reconstruction loss on masked inputs, we minim…

Knowledge Distillation

Cumulative Spatial Knowledge Distillation for Vision Transformers

2023-07-17 · ICCV 2023 1 · Borui Zhao, RenJie Song, Jiajun Liang

Distilling knowledge from convolutional neural networks (CNNs) is a double-edged sword for vision transformers (ViTs). It boosts the performance since the image-friendly local-inductive bias of CNN helps ViT learn faster…

Inductive BiasKnowledge DistillationTransfer Learning

Revisiting Intermediate Layer Distillation for Compressing Language Models: An Overfitting Perspective

2023-02-03 · Jongwoo Ko, Seungjoon Park, Minchan Jeong, Sukjin Hong 외

Knowledge distillation (KD) is a highly promising method for mitigating the computational problems of pre-trained language models (PLMs). Among various KD approaches, Intermediate Layer Distillation (ILD) has been a de f…

Knowledge Distillation

Multi-Granularity Structural Knowledge Distillation for Language Model Compression

2022-05-01 · ACL 2022 5 · Chang Liu, Chongyang Tao, Jiazhan Feng, Dongyan Zhao

Transferring the knowledge to a small model through distillation has raised great interest in recent years. Prevailing methods transfer the knowledge derived from mono-granularity language units (e.g., token-level or sam…

Knowledge DistillationLanguage ModelingLanguage ModellingModel Compression+1