AccUDNN: A GPU Memory Efficient Accelerator for Training Ultra-deep Deep Neural Networks
Institute of Information Engineering, Chinese Academy of Sciences
arXiv:1901.06773 [cs.LG], (21 Jan 2019)
@article{guo2019accudnn,
title={AccUDNN: A GPU Memory Efficient Accelerator for Training Ultra-deep Deep Neural Networks},
author={Guo, Jinrong and Liu, Wantao and Wang, Wang and Lu, Qu and Hu, Songlin and Han, Jizhong and Li, Ruixuan},
year={2019},
month={jan},
archivePrefix={"arXiv"},
primaryClass={cs.LG}
}
Typically, Ultra-deep neural network(UDNN) tends to yield high-quality model, but its training process is usually resource intensive and time-consuming. Modern GPU’s scarce DRAM capacity is the primary bottleneck that hinders the trainability and the training efficiency of UDNN. In this paper, we present "AccUDNN", an accelerator that aims to make the utmost use of finite GPU memory resources to speed up the training process of UDNN. AccUDNN mainly includes two modules: memory optimizer and hyperparameter tuner. Memory optimizer develops a performance-model guided dynamic swap out/in strategy, by offloading appropriate data to host memory, GPU memory footprint can be significantly slashed to overcome the restriction of trainability of UDNN. After applying the memory optimization strategy, hyperparameter tuner is designed to explore the efficiency-optimal minibatch size and the matched learning rate. Evaluations demonstrate that AccUDNN cuts down the GPU memory requirement of ResNet-152 from more than 24GB to 8GB. In turn, given 12GB GPU memory budget, the efficiency-optimal minibatch size can reach 4.2x larger than original Caffe. Benefiting from better utilization of single GPU’s computing resources and fewer parameter synchronization of large minibatch size, 7.7x speed-up is achieved by 8 GPUs’ cluster without any communication optimization and no accuracy losses.
January 27, 2019 by hgpu