MeDNN: A distributed mobile system with enhanced partition and deployment for large-scale DNNs

Jiachen Mao, Zhongda Yang, W. Wen, Chunpeng Wu, Linghao Song, Kent W. Nixon, Xiang Chen, Hai Helen Li, Yiran Chen
{"title":"MeDNN: A distributed mobile system with enhanced partition and deployment for large-scale DNNs","authors":"Jiachen Mao, Zhongda Yang, W. Wen, Chunpeng Wu, Linghao Song, Kent W. Nixon, Xiang Chen, Hai Helen Li, Yiran Chen","doi":"10.1109/ICCAD.2017.8203852","DOIUrl":null,"url":null,"abstract":"Deep Neural Networks (DNNs) are pervasively used in a significant number of applications and platforms. To enhance the execution efficiency of large-scale DNNs, previous attempts focus mainly on client-server paradigms, relying on powerful external infrastructure, or model compression, with complicated pre-processing phases. Though effective, these methods overlook the optimization of DNNs on distributed mobile devices. In this work, we design and implement MeDNN, a local distributed mobile computing system with enhanced partitioning and deployment tailored for large-scale DNNs. In MeDNN, we first propose Greedy Two Dimensional Partition (GTDP), which can adaptively partition DNN models onto several mobile devices w.r.t. individual resource constraints. We also propose Structured Model Compact Deployment (SMCD), a mobile-friendly compression scheme which utilizes a structured sparsity pruning technique to further accelerate DNN execution. Experimental results show that, GTDP can accelerate the original DNN execution time by 1.86–2.44x with 2–4 worker nodes. By utilizing SMCD, 26.5% of additional computing time and 14.2% of extra communication time are saved, on average, with negligible effect on the model accuracy.","PeriodicalId":126686,"journal":{"name":"2017 IEEE/ACM International Conference on Computer-Aided Design (ICCAD)","volume":"62 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-11-13","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"63","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2017 IEEE/ACM International Conference on Computer-Aided Design (ICCAD)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCAD.2017.8203852","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 63

Abstract

Deep Neural Networks (DNNs) are pervasively used in a significant number of applications and platforms. To enhance the execution efficiency of large-scale DNNs, previous attempts focus mainly on client-server paradigms, relying on powerful external infrastructure, or model compression, with complicated pre-processing phases. Though effective, these methods overlook the optimization of DNNs on distributed mobile devices. In this work, we design and implement MeDNN, a local distributed mobile computing system with enhanced partitioning and deployment tailored for large-scale DNNs. In MeDNN, we first propose Greedy Two Dimensional Partition (GTDP), which can adaptively partition DNN models onto several mobile devices w.r.t. individual resource constraints. We also propose Structured Model Compact Deployment (SMCD), a mobile-friendly compression scheme which utilizes a structured sparsity pruning technique to further accelerate DNN execution. Experimental results show that, GTDP can accelerate the original DNN execution time by 1.86–2.44x with 2–4 worker nodes. By utilizing SMCD, 26.5% of additional computing time and 14.2% of extra communication time are saved, on average, with negligible effect on the model accuracy.
MeDNN:为大规模 DNN 提供增强分区和部署的分布式移动系统
深度神经网络(DNN)被广泛应用于大量应用程序和平台。为了提高大规模 DNNs 的执行效率,以往的尝试主要集中在客户端-服务器范式(依赖于强大的外部基础设施)或模型压缩以及复杂的预处理阶段。这些方法虽然有效,但忽略了在分布式移动设备上对 DNN 的优化。在这项工作中,我们设计并实现了 MeDNN,这是一个本地分布式移动计算系统,具有为大规模 DNNs 量身定制的增强分区和部署功能。在 MeDNN 中,我们首先提出了 "贪婪二维分区"(Greedy Two Dimensional Partition,GTDP),它可以根据各自的资源限制,将 DNN 模型自适应地分区到多个移动设备上。我们还提出了结构化模型紧凑部署(SMCD),这是一种移动友好型压缩方案,利用结构化稀疏性剪枝技术进一步加速 DNN 的执行。实验结果表明,在使用 2-4 个工作节点的情况下,GTDP 可将原始 DNN 的执行时间加快 1.86-2.44 倍。通过使用 SMCD,平均节省了 26.5% 的额外计算时间和 14.2% 的额外通信时间,而对模型准确性的影响可以忽略不计。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信