Benchmarking of DL Libraries and Models on Mobile Devices

Qiyang Zhang, Xiang Li, Xiangying Che, Xiao Ma, Ao Zhou +4 more
2/14/2022
cs.LGcs.NI
benchmark-dataset

Official code: UbiquitousLearning/MobileDLFrameworksBenchmark (19 stars, Python, last commit 2022-02-28).

Abstract

Deploying deep learning (DL) on mobile devices has been a notable trend in recent years. To support fast inference of on-device DL, DL libraries play a critical role as algorithms and hardware do.

Show full abstract

Unfortunately, no prior work ever dives deep into the ecosystem of modern DL libs and provides quantitative results on their performance. In this paper, we first build a comprehensive benchmark that includes 6 representative DL libs and 15 diversified DL models. We then perform extensive experiments on 10 mobile devices, which help reveal a complete landscape of the current mobile DL libs ecosystem. For example, we find that the best-performing DL lib is severely fragmented across different models and hardware, and the gap between those DL libs can be rather huge. In fact, the impacts of DL libs can overwhelm the optimizations from algorithms or hardware, e.g., model quantization and GPU/DSP-based heterogeneous computing. Finally, atop the observations, we summarize practical implications to different roles in the DL lib ecosystem.

View on arXivView PDF

Code Implementations(1)

193Python, ShellJan 16, 20224 years ago

Similar Papers

Cite this paper

@article{zhang2022benchmarking,
  title  = {Benchmarking of DL Libraries and Models on Mobile Devices},
  author = {Qiyang Zhang and Xiang Li and Xiangying Che and Xiao Ma and Ao Zhou and Mengwei Xu and Shangguang Wang and Yun Ma and Xuanzhe Liu},
  year   = {2022},
  eprint = {2202.06512},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.06512}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.06512.svg)](https://codeofpaper.com/paper/2202.06512)

Discussion