Performance Analysis and Characterization of Training Deep Learning Models on Mobile Devices
arXiv:1906.04278
Abstract
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.
References in corpus (16)
- Very Deep Convolutional Networks for Large-Scale Image Recognition
- Sequence to Sequence Learning with Neural Networks
- Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks
- SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model size
- Communication-Efficient Learning of Deep Networks from Decentralized Data
- Federated Learning: Strategies for Improving Communication Efficiency
- Federated Learning with Non-IID Data
- Towards Federated Learning at Scale: System Design
- SQuAD: 100,000+ Questions for Machine Comprehension of Text
- Applied Federated Learning: Improving Google Keyboard Query Suggestions
- Federated Optimization in Heterogeneous Networks
- Communication-Efficient On-Device Machine Learning: Federated Distillation and Augmentation under Non-IID Private Data
- Agnostic Federated Learning
- Fathom: Reference Workloads for Modern Deep Learning Methods
- Beyond Data and Model Parallelism for Deep Neural Networks
- Modeling the Resource Requirements of Convolutional Neural Networks on Mobile Devices