Accelerating Large Scale Knowledge Distillation via Dynamic Importance Sampling
Knowledge distillation is an effective technique that transfers knowledge from a large teacher model to a shallow student. However, just like massive classification, large scale knowledge distillation also imposes heavy computational costs on training models of deep neural networks, as the softmax activations at the last layer involve computing probabilities over numerous classes. In this work, we apply the idea of importance sampling which is often used in Neural Machine Translation on large scale knowledge distillation. We present a method called dynamic importance sampling, where ranked classes are sampled from a dynamic distribution derived from the interaction between the teacher and student in full distillation. We highlight the utility of our proposal prior which helps the student capture the main information in the loss function. Our approach manages to reduce the computational cost at training time while maintaining the competitive performance on CIFAR-100 and Market-1501 person re-identification datasets.
Code (0)
등록된 구현이 없습니다.
Tasks
Knowledge DistillationMachine TranslationPerson Re-IdentificationTranslationMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
Directed Acyclic Graph Factorization Machines for CTR Prediction via Knowledge Distillation
With the growth of high-dimensional sparse data in web-scale recommender systems, the computational cost to learn high-order feature interaction in CTR prediction task largely increases, which limits the use of high-orde…
Click-Through Rate PredictionKnowledge DistillationRecommendation SystemsAccelerating Molecular Graph Neural Networks via Knowledge Distillation
Recent advances in graph neural networks (GNNs) have enabled more comprehensive modeling of molecules and molecular systems, thereby enhancing the precision of molecular property prediction and molecular simulations. Non…
Data AugmentationKnowledge DistillationMolecular Property PredictionPrediction+1Small Scale Data-Free Knowledge Distillation
Data-free knowledge distillation is able to utilize the knowledge learned by a large teacher network to augment the training of a smaller student network without accessing the original training data, avoiding privacy, se…
Data-free Knowledge DistillationGenerative Adversarial Networkimage-classificationImage Classification+2Knowledge distillation as a pathway toward next-generation intelligent ecohydrological modeling systems
Simulating ecohydrological processes is essential for understanding complex environmental systems and guiding sustainable management amid accelerating climate change and human pressures. Process-based models provide phys…
Knowledge DistillationGraph Neural NetworkGKD: A General Knowledge Distillation Framework for Large-scale Pre-trained Language Model
Currently, the reduction in the parameter scale of large-scale pre-trained language models (PLMs) through knowledge distillation has greatly facilitated their widespread deployment on various devices. However, the deploy…
General KnowledgeKnowledge DistillationLanguage ModelingLanguage Modelling