Accelerating On-Device Learning with Layer-Wise Processor Selection Method on Unified Memory
Open Access
Abstract
Recent studies have applied the superior performance of deep learning to mobile devices, and these studies have enabled the running of the deep learning model on a mobile device with limited computing power. However, there is performance degradation of the deep learning model when it is deployed in mobile devices, due to the different sensors of each device. To solve this issue, it is necessary to train a network model specific to each mobile device. Therefore, herein, we propose an acceleration method for on-device learning to mitigate the device heterogeneity. The proposed method efficiently utilizes unified memory for reducing the latency of data transfer during network model training. In addition, we propose the layer-wise processor selection method to consider the latency generated by the difference in the processor performing the forward propagation step and the backpropagation step in the same layer. The experiments were performed on an ODROID-XU4 with the ResNet-18 model, and the experimental results indicate that the proposed method reduces the latency by at most 28.4% compared to the central processing unit (CPU) and at most 21.8% compared to the graphics processing unit (GPU). Through experiments using various batch sizes to measure the average power consumption, we confirmed that device heterogeneity is alleviated by performing on-device learning using the proposed method.Keywords
Funding Information
- Electronics and Telecommunications Research Institute (21ZS1200)
This publication has 38 references indexed in Scilit:
- In-Datacenter Performance Analysis of a Tensor Processing Unit2017
- DeepMon2017
- DianNao familyCommunications of the ACM, 2016
- CNNdroid2016
- Deep Residual Learning for Image Recognition2016
- DeepX: A Software Accelerator for Low-Power Deep Learning Inference on Mobile Devices2016
- DeepEar2015
- Environmental sound classification with convolutional neural networks2015
- OpenCL: A Parallel Programming Standard for Heterogeneous Computing SystemsComputing in Science & Engineering, 2010
- A Survey on Transfer LearningIEEE Transactions on Knowledge and Data Engineering, 2009