Automated Deep Neural Network Inference Partitioning for Distributed Embedded Systems
Fabian Kreß, El Mahdi El Annabi, Tim Hotfilter, Julian Hoefer, Tanja Harbaum, Juergen Becker
TL;DR
This work tackles the challenge of efficiently mapping large DNN inference onto distributed embedded systems with multiple accelerators. It introduces a graph-based, hardware-aware design space exploration framework that automatically identifies partition points, filters candidates by memory and link constraints, and evaluates accuracy under quantization before mapping to hardware and selecting Pareto-optimal solutions via NSGA-II. The approach is validated across six CNNs, showing substantial throughput improvements (e.g., up to 47.5% for EfficientNet-B0) and revealing meaningful memory and energy trade-offs as partitioning points vary; increasingly, partitioning across more accelerators proves beneficial for large architectures. Overall, the framework demonstrates the value of holistic hardware/software co-design for energy-efficient, high-throughput inference in distributed embedded systems used in robotics and autonomous applications.
Abstract
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.
