arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Computer Science · Computer Networks and Communications

A Novel Heterogeneous Computing Middleware for Mobile AI Services

Zihao Shao, Tonghua Su, Manyang Xu, Qinglin Liu, Ruipeng Han, Zhongjie Wang

See on the map

Abstract

Mobile applications play an important role in edge computing. Recently, with the advancement of more powerful mobile devices, deep models have been widely deployed in mobile applications to provide more intelligent and convenient services to users. However, mobile devices still face critical challenges, such as restricted power, sensitive latency, limited memory. As emerging AI chips are integrated into mobile devices, mobile AI solutions are proposed to accelerate model execution and improve mobile service experience. Unfortunately, they only focus on the acceleration of single chip and ignore the heterogeneity among different chips. This paper proposes a mobile heterogeneous computing AI middleware, which provides developers of AI applications with the ability to accelerate model execution. This proposed middleware utilizes three heterogeneous chips, CPU, GPU, DSP for model scheduling at a layer-wise granularity. It is designed in five layers from top to bottom: User Interface Layer, Heterogeneous Scheduling Layer, Performance Collection Layer, Hardware Information Collection Layer, AI Framework Layer. We verified it in the environment of typical mobile device through a series of experiments. The results prove the high accuracy of data collection algorithm and the effectiveness of heterogeneous scheduling services. For AlexNet and Inception V3, our schedule plan achieves at least 36.39% improvement in inference time and at least 24.4% reduction in energy consumption.

More like this