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

AutoDiCE:边缘全自动分布式CNN推理

AutoDiCE: Fully Automated Distributed CNN Inference at the Edge

University of Amsterdam(阿姆斯特丹大学);Leiden University(莱顿大学)

Xiaotian Guo, Andy D. Pimentel, Todor Stefanov

摘要:

基于卷积神经网络(CNN)的深度学习方法在包括图像分类和语音识别在内的广泛应用领域中得到了广泛的应用和成功。对于训练的CNN的执行,即模型推理,我们现在见证了从云到边缘的转变。不幸的是,在边缘设备上部署和推断大型计算和内存密集型CNN是一项挑战,因为这些设备通常具有有限的功率预算和计算/内存资源。解决这一挑战的一种方法是利用跨多个边缘设备的所有可用资源,通过适当地划分CNN并在单独的边缘设备上运行每个CNN分区来部署和执行大型CNN。尽管在多个边缘设备上的大型CNN的这种分布、部署和执行是期望的和有益的方法,但是目前不存在采用经训练的CNN模型以及CNN分区规范并且完全自动化在多个边缘设备上的CNN模型分割和部署以促进边缘处的分布式CNN推断的设计和编程框架。因此,在本文中,我们提出了一种新的框架,称为AutoDiCE,用于将CNN模型自动拆分为一组子模型,并自动生成代码生成,用于在多个可能异构的边缘设备上分布式和协同执行这些子模型,同时支持边缘设备之间和内部的并行性。我们的实验结果表明,AutoDiCE可以提供分布式CNN推理,降低每个边缘设备的能耗和内存使用,同时提高整体系统吞吐量。

英文摘要:

Deep Learning approaches based on Convolutional Neural Networks (CNNs) are extensively utilized and very successful in a wide range of application areas, including image classification and speech recognition. For the execution of trained CNNs, i.e. model inference, we nowadays witness a shift from the Cloud to the Edge. Unfortunately, deploying and inferring large, compute and memory intensive CNNs on edge devices is challenging because these devices typically have limited power budgets and compute/memory resources. One approach to address this challenge is to leverage all available resources across multiple edge devices to deploy and execute a large CNN by properly partitioning the CNN and running each CNN partition on a separate edge device. Although such distribution, deployment, and execution of large CNNs on multiple edge devices is a desirable and beneficial approach, there currently does not exist a design and programming framework that takes a trained CNN model, together with a CNN partitioning specification, and fully automates the CNN model splitting and deployment on multiple edge devices to facilitate distributed CNN inference at the Edge. Therefore, in this paper, we propose a novel framework, called AutoDiCE, for automated splitting of a CNN model into a set of sub-models and automated code generation for distributed and collaborative execution of these sub-models on multiple, possibly heterogeneous, edge devices, while supporting the exploitation of parallelism among and within the edge devices. Our experimental results show that AutoDiCE can deliver distributed CNN inference with reduced energy consumption and memory usage per edge device, and improved overall system throughput at the same time.

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

↑