Feasibility Analysis of Machine Learning Optimization on GPU-based Low-cost Edges
Authors:
- 1 October 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 89-96
Abstract
Many AI algorithms have been deployed on edge devices as edge computing has the advantages of reducing latency, saving network bandwidth, and protecting data privacy. Whether edge devices can run AI algorithms is an important challenge due to the low-power and low-cost characteristics of edge devices. Therefore, this paper analyzed the performance of optimization techniques by running YOLOv3 on a typical GPU-based low-cost edge device, NVIDIA Jetson Nano. YOLOv3 is a representative object detection algorithm, which is widely used as the benchmark in AI scenarios. We compared latency, memory, and power consumption of three deep learning frameworks, TensorFlow, PyTorch, and TensorRT. Then we squeezed the extreme performance using multiple optimization techniques, including model quantization, model parallelization, and image scaling on TensorRT. The running speed of YOLOv3 increases from 3.9FPS to 13.1FPS on NVIDIA Jetson Nano. It proves that the resource-limited edge device can run AI applications with high computing power requirements in a real-time manner. Moreover, we summarized nine observations and five insights to guide the selection and design of optimization techniques and verified the generalization of these rules on NVIDIA Jetson Xavier NX. We also provided a series of suggestions to help developers choose the appropriate method to deploy AI algorithms on edge devices.Keywords
Funding Information
- National Natural Science Foundation of China
This publication has 8 references indexed in Scilit:
- Mobile Edge Intelligence and Computing for the Internet of VehiclesProceedings of the IEEE, 2019
- OpenEI: An Open Framework for Edge Intelligence2019
- Edge Intelligence: Paving the Last Mile of Artificial Intelligence With Edge ComputingProceedings of the IEEE, 2019
- Distributed Perception by Collaborative RobotsIEEE Robotics and Automation Letters, 2018
- Context-Aware Computing, Learning, and Big Data in Internet of Things: A SurveyIEEE Internet of Things Journal, 2017
- Motor Anomaly Detection for Unmanned Aerial Vehicles Using Reinforcement LearningIEEE Internet of Things Journal, 2017
- Edge Computing: Vision and ChallengesIEEE Internet of Things Journal, 2016
- A Survey of CPU-GPU Heterogeneous Computing TechniquesACM Computing Surveys, 2015