arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2211.13778cs.CVcs.DC
收藏

边缘计算中分布式CNN推理加速的设计与原型实现

Design and Prototyping Distributed CNN Inference Acceleration in Edge Computing

Aarhus University(奥胡斯大学)

Zhongtian Dong, Nan Li, Alexandros Iosifidis, Qi Zhang

摘要:

对于使用深度学习的时间关键型物联网应用,通过分布式计算进行推理加速是满足严格截止日期的一种有前途的方法。在本文中,我们使用三个树莓派4实现了一个新的分布式推理加速方法HALP的工作原型。HALP通过在边缘计算中设计边缘设备(ED)之间的无缝协作来加速推理。我们最大限度地提高了通信和计算之间的协同ED的并行化,通过优化基于段的划分的任务划分比。实验结果表明,分布式推理HALP在VGG-16上实现了1.7倍的推理加速。然后,我们结合分布式推理与传统的神经网络模型压缩通过设置不同的收缩超参数的MobileNet-V1。通过这种方式,我们可以进一步加速推理,但代价是推理精度损失。为了在延迟和准确性之间取得平衡,我们提出了动态模型选择,以选择在延迟约束内提供最高准确性的模型。结果表明,与传统的单机计算相比,分布式推理HALP模型选择可以显着提高服务的可靠性。

英文摘要:

For time-critical IoT applications using deep learning, inference acceleration through distributed computing is a promising approach to meet a stringent deadline. In this paper, we implement a working prototype of a new distributed inference acceleration method HALP using three raspberry Pi 4. HALP accelerates inference by designing a seamless collaboration among edge devices (EDs) in Edge Computing. We maximize the parallelization between communication and computation among the collaborative EDs by optimizing the task partitioning ratio based on the segment-based partitioning. Experimental results show that the distributed inference HALP achieves 1.7x inference acceleration for VGG-16. Then, we combine distributed inference with conventional neural network model compression by setting up different shrinking hyperparameters for MobileNet-V1. In this way, we can further accelerate inference but at the cost of inference accuracy loss. To strike a balance between latency and accuracy, we propose dynamic model selection to select a model which provides the highest accuracy within the latency constraint. It is shown that the model selection with distributed inference HALP can significantly improve service reliability compared to the conventional stand-alone computation.

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

↑