在移动边缘云中启用DNN协同推理任务的流水线处理

Sheng Hu, Chongwu Dong, Wushao Wen
{"title":"在移动边缘云中启用DNN协同推理任务的流水线处理","authors":"Sheng Hu, Chongwu Dong, Wushao Wen","doi":"10.1109/ICCCS52626.2021.9449178","DOIUrl":null,"url":null,"abstract":"Deep Neural Network (DNN) based artificial intelligence help driving the great development of mobile Internet. However, the hardware of a mobile device may not be sufficiently to meet the computational requirements of a DNN inference task. Fortunately, computation offloading to the network edge can mitigate part of computation pressure for mobile devices. In this case, DNN computation in mobile devices can be accelerated by an edge-assistance collaborative inference scheme. Since co-inference tasks with multiple processing stages may continuously arrive at mobile devices, only considering one DNN-based task for acceleration is not practical. To solve the above challenge effectively, we formulate the problem of multiple co-inference tasks acceleration as a pipeline execution model. Based on the model, we design a fine-grained optimizer, which integrates model partition, model early-exit and intermediate data compression, to achieve tradeoff between accuracy and latency. Considering computational characteristics of a pipeline, the goal of the optimizer is designed to ensure the pipeline system's inference rate and single task execution performance. We implement the system prototype and do benchmark tests under a real-life testbed and the results prove the effectiveness of the optimizer.","PeriodicalId":376290,"journal":{"name":"2021 IEEE 6th International Conference on Computer and Communication Systems (ICCCS)","volume":"25 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-04-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":"{\"title\":\"Enable Pipeline Processing of DNN Co-inference Tasks In the Mobile-Edge Cloud\",\"authors\":\"Sheng Hu, Chongwu Dong, Wushao Wen\",\"doi\":\"10.1109/ICCCS52626.2021.9449178\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Deep Neural Network (DNN) based artificial intelligence help driving the great development of mobile Internet. However, the hardware of a mobile device may not be sufficiently to meet the computational requirements of a DNN inference task. Fortunately, computation offloading to the network edge can mitigate part of computation pressure for mobile devices. In this case, DNN computation in mobile devices can be accelerated by an edge-assistance collaborative inference scheme. Since co-inference tasks with multiple processing stages may continuously arrive at mobile devices, only considering one DNN-based task for acceleration is not practical. To solve the above challenge effectively, we formulate the problem of multiple co-inference tasks acceleration as a pipeline execution model. Based on the model, we design a fine-grained optimizer, which integrates model partition, model early-exit and intermediate data compression, to achieve tradeoff between accuracy and latency. Considering computational characteristics of a pipeline, the goal of the optimizer is designed to ensure the pipeline system's inference rate and single task execution performance. We implement the system prototype and do benchmark tests under a real-life testbed and the results prove the effectiveness of the optimizer.\",\"PeriodicalId\":376290,\"journal\":{\"name\":\"2021 IEEE 6th International Conference on Computer and Communication Systems (ICCCS)\",\"volume\":\"25 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2021-04-23\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"3\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2021 IEEE 6th International Conference on Computer and Communication Systems (ICCCS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ICCCS52626.2021.9449178\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 IEEE 6th International Conference on Computer and Communication Systems (ICCCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ICCCS52626.2021.9449178","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

摘要

基于深度神经网络(DNN)的人工智能助力移动互联网大发展。然而,移动设备的硬件可能不足以满足深度神经网络推理任务的计算需求。幸运的是,将计算卸载到网络边缘可以减轻移动设备的部分计算压力。在这种情况下,可以通过边缘辅助协同推理方案加速移动设备中的深度神经网络计算。由于具有多个处理阶段的协同推理任务可能会连续到达移动设备,因此仅考虑一个基于dnn的任务进行加速是不切实际的。为了有效地解决上述挑战,我们将多协同推理任务加速问题表述为管道执行模型。在此基础上,设计了一种集模型划分、模型提前退出和中间数据压缩于一体的细粒度优化器,实现了准确率与时延之间的平衡。考虑管道的计算特点,优化器的目标是保证管道系统的推理率和单任务执行性能。我们实现了系统原型,并在实际测试平台上进行了基准测试,结果证明了优化器的有效性。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Enable Pipeline Processing of DNN Co-inference Tasks In the Mobile-Edge Cloud
Deep Neural Network (DNN) based artificial intelligence help driving the great development of mobile Internet. However, the hardware of a mobile device may not be sufficiently to meet the computational requirements of a DNN inference task. Fortunately, computation offloading to the network edge can mitigate part of computation pressure for mobile devices. In this case, DNN computation in mobile devices can be accelerated by an edge-assistance collaborative inference scheme. Since co-inference tasks with multiple processing stages may continuously arrive at mobile devices, only considering one DNN-based task for acceleration is not practical. To solve the above challenge effectively, we formulate the problem of multiple co-inference tasks acceleration as a pipeline execution model. Based on the model, we design a fine-grained optimizer, which integrates model partition, model early-exit and intermediate data compression, to achieve tradeoff between accuracy and latency. Considering computational characteristics of a pipeline, the goal of the optimizer is designed to ensure the pipeline system's inference rate and single task execution performance. We implement the system prototype and do benchmark tests under a real-life testbed and the results prove the effectiveness of the optimizer.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
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学术官方微信