arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1906.04278cs.LGcs.PFstat.ML
收藏

移动设备上训练深度学习模型的性能分析和表征

Performance Analysis and Characterization of Training Deep Learning Models on Mobile Devices

University of California, Merced(加州大学默塞德分校)

Jie Liu, Jiawen Liu, Wan Du, Dong Li

摘要:

最近,由于移动硬件上的计算能力不断提高以及能够实现高用户体验的优势,在移动设备上训练深度学习模型成为可能。移动设备上机器学习的大部分现有工作都集中在深度学习模型(特别是卷积神经网络和递归神经网络)的推理上,而不是训练。在移动设备上训练深度学习模型的性能表征在很大程度上尚未探索,尽管理解性能表征对于在移动设备上设计和实现深度学习模型至关重要。在本文中,我们在一款代表性的移动终端(NVIDIA TX2)上进行了各种实验,以研究训练深度学习模型的性能。我们引入了一个基准套件和工具,从内存消耗、硬件利用率和功耗的角度研究移动设备上训练深度学习模型的性能。这些工具可以将性能结果与深度学习模型中的细粒度操作相关联,从而提供以细粒度捕获性能差异和问题的功能。我们揭示了有趣的性能问题和机会,包括异构硬件的利用率不足,内存的大能耗,以及工作负载特性的高可预测性。基于性能分析,我们提出了有趣的研究方向。

英文摘要:

Training deep learning models on mobile devices recently becomes possible, because of increasing computation power on mobile hardware and the advantages of enabling high user experiences. Most of the existing work on machine learning at mobile devices is focused on the inference of deep learning models (particularly convolutional neural network and recurrent neural network), but not training. The performance characterization of training deep learning models on mobile devices is largely unexplored, although understanding the performance characterization is critical for designing and implementing deep learning models on mobile devices. In this paper, we perform a variety of experiments on a representative mobile device (the NVIDIA TX2) to study the performance of training deep learning models. We introduce a benchmark suite and tools to study performance of training deep learning models on mobile devices, from the perspectives of memory consumption, hardware utilization, and power consumption. The tools can correlate performance results with fine-grained operations in deep learning models, providing capabilities to capture performance variance and problems at a fine granularity. We reveal interesting performance problems and opportunities, including under-utilization of heterogeneous hardware, large energy consumption of the memory, and high predictability of workload characterization. Based on the performance analysis, we suggest interesting research directions.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑