A Comprehensive Benchmark of Deep Learning Libraries on Mobile Devices
Qiyang Zhang, Xiang Li, Xiangying Che, Xiao Ma, Ao Zhou, Mengwei Xu, Shangguang Wang, Yun Ma, Xuanzhe Liu
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. 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.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- SoCFlow: Efficient and Scalable DNN Training on SoC-Clustered Edge Servers cites Mandheling: mixed-precision on-device DNN training with DSP offloading
- Mandheling: mixed-precision on-device DNN training with DSP offloading cites NEMO: enabling neural-enhanced video streaming on commodity mobile devices
- Mandheling: mixed-precision on-device DNN training with DSP offloading cites AsyMo: scalable and efficient deep-learning inference on asymmetric mobile CPUs
- A Workload-Aware DVFS Robust to Concurrent Tasks for Mobile Devices cites AsyMo: scalable and efficient deep-learning inference on asymmetric mobile CPUs
Cited by top-tier papers5
- A Workload-Aware DVFS Robust to Concurrent Tasks for Mobile DevicesChengdong Lin, Kun Wang, Zhenjiang Li, Yu PuMobiCom 2023 · 52 citations
- Mandheling: mixed-precision on-device DNN training with DSP offloadingDaliang Xu, Mengwei Xu, Qipeng Wang, Shangguang Wang et al.MobiCom 2022 · 43 citations
- Mobile Foundation Model as FirmwareJinliang Yuan, Chen Yang, Dongqi Cai, Shihe Wang et al.MobiCom 2024 · 40 citations
- Resource-efficient In-orbit Detection of Earth ObjectsQiyang Zhang, Xin Yuan, Ruolin Xing, Yiran Zhang et al.INFOCOM 2024 · 12 citations
- SoCFlow: Efficient and Scalable DNN Training on SoC-Clustered Edge ServersDaliang Xu, Mengwei Xu, Chiheng Lou, Li Zhang et al.ASPLOS 2024 · 5 citations
Builds on7
- Ansor: Generating High-Performance Tensor Programs for Deep LearningLianmin Zheng, Chengfan Jia, Minmin Sun, Zhao Wu et al.OSDI 2020 · 551 citations
- SPINN: synergistic progressive inference of neural networks over device and cloudStefanos Laskaridis, Stylianos I. Venieris, Mário Almeida, Ilias Leontiadis et al.MobiCom 2020 · 312 citations
- NEMO: enabling neural-enhanced video streaming on commodity mobile devicesHyunho Yeo, Chan Ju Chong, Youngmok Jung, Juncheol Ye et al.MobiCom 2020 · 118 citations
- Chameleon: Adaptive Code Optimization for Expedited Deep Neural Network CompilationByung Hoon Ahn, Prannoy Pilligundla, Amir Yazdanbakhsh, Hadi EsmaeilzadehICLR 2020 · 90 citations
- AsyMo: scalable and efficient deep-learning inference on asymmetric mobile CPUsManni Wang, Shaohua Ding, Ting Cao, Yunxin Liu et al.MobiCom 2021 · 69 citations
Related papers
- An Empirical Study on Deployment Faults of Deep Learning Based Mobile ApplicationsZhenpeng Chen, Huihan Yao, Yiling Lou, Yanbin Cao et al.ICSE 2021 · 73 citations
- Understanding performance problems in deep learning systemsJunming Cao, Bihuan Chen, Chao Sun, Longjie Hu et al.FSE 2022 · 33 citations
- Romou: rapidly generate high-performance tensor kernels for mobile GPUsRendong Liang, Ting Cao, Jicheng Wen, Manni Wang et al.MobiCom 2022 · 13 citations
- DyCL: Dynamic Neural Network Compilation Via Program Rewriting and Graph OptimizationSimin Chen, Shiyi Wei, Cong Liu, Wei YangISSTA 2023 · 11 citations
- GCD2: A Globally Optimizing Compiler for Mapping DNNs to Mobile DSPsWei Niu, Jiexiong Guan, Xipeng Shen, Yanzhi Wang et al.MICRO 2022 · 7 citations
