arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.19913cs.DCcs.AR
收藏

面向分布式嵌入式系统的深度神经网络推理自动划分

Automated Deep Neural Network Inference Partitioning for Distributed Embedded Systems

Fabian Kreß, El Mahdi El Annabi, Tim Hotfilter, Julian Hoefer, Tanja Harbaum, Juergen Becker

AI总结:

本文提出一种基于图的硬件感知层调度框架,用于在分布式嵌入式系统中自动寻找DNN推理的最佳划分点,在满足内存和能耗约束下显著提升吞吐量与能效。

摘要:

分布式系统广泛应用于机器人或自动驾驶等领域,以实现更高的灵活性和鲁棒性。因此,以数据流为中心的应用(如深度神经网络(DNN)推理)通过将工作负载划分到多个计算节点上,在性能和能效方面受益。然而,由于低延迟和高吞吐量要求与严格的能耗和内存约束相结合,将大型模型映射到分布式嵌入式系统是一项复杂的任务。在本文中,我们提出了一种在分布式嵌入式系统中进行DNN推理的硬件感知层调度的新方法。因此,我们提出的框架使用基于图的算法,在给定的DNN中自动寻找有利的划分点。每个划分点都基于准确率和内存利用率等几个关键系统指标进行评估,同时考虑相应的系统约束。我们通过推理划分对六种不同DNN的各种性能指标的影响来展示我们的方法。例如,对于划分到两个平台上的EfficientNet-B0推理,我们可以实现47.5%的吞吐量提升,同时保持高能效。

英文摘要:

Distributed systems can be found in various applications, e.g., in robotics or autonomous driving, to achieve higher flexibility and robustness. Thereby, data flow centric applications such as Deep Neural Network (DNN) inference benefit from partitioning the workload over multiple compute nodes in terms of performance and energy-efficiency. However, mapping large models on distributed embedded systems is a complex task, due to low latency and high throughput requirements combined with strict energy and memory constraints. In this paper, we present a novel approach for hardware-aware layer scheduling of DNN inference in distributed embedded systems. Therefore, our proposed framework uses a graph-based algorithm to automatically find beneficial partitioning points in a given DNN. Each of these is evaluated based on several essential system metrics such as accuracy and memory utilization, while considering the respective system constraints. We demonstrate our approach in terms of the impact of inference partitioning on various performance metrics of six different DNNs. As an example, we can achieve a 47.5 % throughput increase for EfficientNet-B0 inference partitioned onto two platforms while observing high energy-efficiency.

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

↑