Large-scale Knowledge Distillation with Elastic Heterogeneous Computing Resources

Ji Liu, Daxiang Dong, Xi Wang, An Qin, Xingjian Li +3 more
7/14/2022
cs.DCcs.AIcs.LG

No official code found. Best implementation: elasticdeeplearning/edl (175 stars, Apache-2.0, last commit 2023-07-05).

Abstract

Although more layers and more parameters generally improve the accuracy of the models, such big models generally have high computational complexity and require big memory, which exceed the capacity of small devices for inference and incurs long training time. In addition, it is difficult to afford long training time and inference time of big models even in high performance servers, as well. As an efficient approach to compress a large deep model (a teacher model) to a compact model (a student model), knowledge distillation emerges as a promising approach to deal with the big models. Existing knowledge distillation methods cannot exploit the elastic available computing resources and correspond to low efficiency. In this paper, we propose an Elastic Deep Learning framework for knowledge Distillation, i.e., EDL-Dist. The advantages of EDL-Dist are three-fold. First, the inference and the training process is separated. Second, elastic available computing resources can be utilized to improve the efficiency. Third, fault-tolerance of the training and inference processes is supported. We take extensive experimentation to show that the throughput of EDL-Dist is up to 3.125 times faster than the baseline method (online knowledge distillation) while the accuracy is similar or higher.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Elastic Deep Learning for deep learning framework on Kubernetes

17551CMake, ShellMar 2, 20183 years agoApache-2.0

Similar Papers

Cite this paper

@article{liu2022largescale,
  title  = {Large-scale Knowledge Distillation with Elastic Heterogeneous Computing Resources},
  author = {Ji Liu and Daxiang Dong and Xi Wang and An Qin and Xingjian Li and Patrick Valduriez and Dejing Dou and Dianhai Yu},
  year   = {2022},
  eprint = {2207.06667},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2207.06667v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.06667.svg)](https://codeofpaper.com/paper/2207.06667)

Discussion