Partitioning and Deployment of Deep Neural Networks on Edge Clusters
Arjun Parthasarathy, Bhaskar Krishnamachari
备注:
Preprint, intended submission to the ACM Journal of Wireless Communications and Mobile Computing. arXiv admin note: substantial text overlap with arXiv:2210.12219
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.
Privacy-Aware Joint DNN Model Deployment and Partitioning Optimization for Collaborative Edge Inference Services
School of Future Science and Engineering, Soochow University(苏州大学未来科学与工程学院);School of Computing Technologies, RMIT University(皇家墨尔本理工大学计算技术学院);Department of Control Science and Engineering, The National Key Laboratory of Autonomous Intelligent Unmanned Systems, Tongji University(同济大学控制科学与工程系);Department of automation, China University of Petroleum (East China)(中国石油大学(华东)自动化系);College of Computer and Information Sciences, Fujian Agriculture and Forestry University(福建农林大学计算机与信息科学学院);Department of Electrical and Computer Engineering, Western University(西方大学电气与计算机工程系)