arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2304.11941cs.NI
收藏

深度神经网络在边缘集群上的划分与部署

Partitioning and Deployment of Deep Neural Networks on Edge Clusters

Arjun Parthasarathy, Bhaskar Krishnamachari

AI总结:

本文提出一种面向资源受限边缘集群的 DNN 划分与分布式部署算法及开源框架,以最小化瓶颈延迟、提升吞吐,并验证其近优性、可扩展性与容错能力。

摘要:

边缘推理已变得更加普及,其多样化应用涵盖从零售到可穿戴技术的领域。由联网的资源受限边缘设备组成的集群正变得常见,但目前尚不存在在这些集群之间拆分 DNN,同时最大化系统推理吞吐量的系统。此外,也不存在可用于在此类边缘网络上部署上述模型、并具备云端稳健性和可扩展性的生产级编排系统。我们提出了一种算法,该算法对 DNN 进行划分,并将其分布到一组边缘设备上,目标是最小化瓶颈延迟,从而最大化推理吞吐量。该系统能够很好地扩展到具有不同节点内存容量和节点数量的系统,同时具备节点容错能力。我们发现,与随机算法相比,我们能够将瓶颈延迟降低 10 倍;与贪婪的联合划分—放置算法相比降低 35%,尽管该联合划分算法在大多数实际用例中优于我们的算法。此外,我们通过实验发现,对于我们测试的一组代表性模型,该算法产生的结果与最优瓶颈延迟相差不超过 9.2%。随后,我们开发了一个独立的集群网络仿真器,在其上测试了多达 20 个节点的配置,并发现随着集群规模扩展,吞吐量稳步提升,端到端延迟下降。在这些测试中,我们观察到我们的系统具有多节点容错能力以及网络和系统 IO 容错能力。我们已在开源软件中实现了该框架,研究社区可在 https://github.com/ANRGUSC/SEIFER 公开获取。

英文摘要:

Edge inference has become more widespread, as its diverse applications range from retail to wearable technology. Clusters of networked resource-constrained edge devices are becoming common, yet no system exists to split a DNN across these clusters while maximizing the inference throughput of the system. Additionally, no production-ready orchestration system exists for deploying said models over such edge networks which adopts the robustness and scalability of the cloud. We present an algorithm which partitions DNNs and distributes them across a set of edge devices with the goal of minimizing the bottleneck latency and therefore maximizing inference throughput. The system scales well to systems of different node memory capacities and numbers of nodes, while being node fault-tolerant. We find that we can reduce the bottleneck latency by 10x over a random algorithm and 35% over a greedy joint partitioning-placement algorithm, although the joint-partitioning algorithm outperforms our algorithm in most practical use-cases. Furthermore we find empirically that for the set of representative models we tested, the algorithm produces results within 9.2% of the optimal bottleneck latency. We then developed a standalone cluster network emulator on which we tested configurations of up to 20 nodes and found a steady increase in throughput and decrease in end-to-end latency as the cluster size scales. In these tests, we observed that our system has multi-node fault-tolerance as well as network and system IO fault-tolerance. We have implemented our framework in open-source software that is publicly available to the research community at https://github.com/ANRGUSC/SEIFER.

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

↑