arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.06512cs.LGcs.NI
收藏

移动设备上DL库和模型的基准测试

Benchmarking of DL Libraries and Models on Mobile Devices

Beijing University of Posts and Telecommunications(北京邮电大学);China University of Petroleum(中国石油大学);Peking University(北京大学)

Qiyang Zhang, Xiang Li, Xiangying Che, Xiao Ma, Ao Zhou, Mengwei Xu, Shangguang Wang, Yun Ma, Xuanzhe Liu

摘要:

近年来,在移动设备上部署深度学习(DL)已成为一个显着的趋势。为了支持设备上DL的快速推理,DL库与算法和硬件一样发挥着关键作用。不幸的是,以前的工作从来没有深入到现代DL库的生态系统,并提供定量的结果,他们的表现。在本文中,我们首先建立了一个全面的基准,包括6个代表性的DL库和15个多样化的DL模型。然后,我们在10个移动设备上进行了广泛的实验,这有助于揭示当前移动DL libs生态系统的完整景观。例如,我们发现性能最好的DL库在不同的模型和硬件之间严重分散,这些DL库之间的差距可能相当巨大。事实上,DL库的影响可以压倒来自算法或硬件的优化,例如,模型量化和基于GPU/DSP的异构计算。最后,在观察的基础上,我们总结了DL库生态系统中不同角色的实际意义。

英文摘要:

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. 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.

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

↑