[Paper Review] Where to Split? A Pareto-Front Analysis of DNN Partitioning for Edge Inference
The paper presents ParetoPipe, an open-source framework that treats DNN partitioning for edge inference as a multi-objective problem, mapping the latency-throughput Pareto frontier across heterogeneous edge hardware and network conditions.
The deployment of deep neural networks (DNNs) on resource-constrained edge devices is frequently hindered by their significant computational and memory requirements. While partitioning and distributing a DNN across multiple devices is a well-established strategy to mitigate this challenge, prior research has largely focused on single-objective optimization, such as minimizing latency or maximizing throughput. This paper challenges that view by reframing DNN partitioning as a multi-objective optimization problem. We argue that in real-world scenarios, a complex trade-off between latency and throughput exists, which is further complicated by network variability. To address this, we introduce ParetoPipe, an open-source framework that leverages Pareto front analysis to systematically identify optimal partitioning strategies that balance these competing objectives. Our contributions are threefold: we benchmark pipeline partitioned inference on a heterogeneous testbed of Raspberry Pis and a GPU-equipped edge server; we identify Pareto-optimal points to analyze the latency-throughput trade-off under varying network conditions; and we release a flexible, open-source framework to facilitate distributed inference and benchmarking. This toolchain features dual communication backends, PyTorch RPC and a custom lightweight implementation, to minimize overhead and support broad experimentation.
Motivation & Objective
- Reframe DNN partitioning for edge inference as a multi-objective optimization problem balancing latency and throughput.
- Benchmark pipeline-partitioned inference on heterogeneous edge hardware to map Pareto-optimal frontiers.
- Evaluate robustness of partitioning strategies under varying network delays and bandwidth.
- Provide an open-source framework to enable distributed inference benchmarking and analysis.
Proposed method
- Proposes ParetoPipe, an extensible framework using pipeline parallelism to partition DNNs across edge devices.
- Implements dual communication backends: PyTorch RPC and a custom lightweight TCP socket backend to study overhead.
- Profiles block-level execution times across six CNN models to identify optimal split points.
- Performs exhaustive partition-point testing on Pi-to-Pi and Pi-to-GPU setups to generate latency-throughput Pareto frontiers.
- Simulates adverse network conditions with tc to study frontier shifts under latency/bandwidth constraints.
- Compares custom backend against PyTorch RPC to quantify overhead and performance differences.
Experimental results
Research questions
- RQ1How can DNN partitioning for edge inference be analyzed as a multi-objective optimization problem balancing latency and throughput?
- RQ2What are the Pareto-optimal partition points for common CNN models on heterogeneous edge hardware?
- RQ3How do network delays and bandwidth limitations shift the latency-throughput frontier and affect partitioning decisions?
- RQ4What is the performance impact of using a custom socket-based backend versus PyTorch RPC for distributed inference?
- RQ5How does block-level profiling influence optimal partition strategies across models and configurations?
Key findings
- ParetoFrontiers show distinct optimal partition points for Pi-to-Pi versus Pi-to-GPU deployments, with MobileNetV2 and similar models favoring asymmetric splits on Pi-to-Pi and more offloading when GPUs are involved.
- Under realistic network constraints, the frontier shifts toward more computation on the edge device, and high data-transfer overhead degrades benefits of GPU offloading.
- The custom socket-based backend significantly reduces end-to-end latency (up to 76% for MobileNetV2 throughput example) and increases throughput (up to 53%) compared with PyTorch RPC.
- Block-wise profiling reveals that not all blocks are equally costly, guiding partition points toward balancing compute and inter-device communication.
- Network conditions are a first-class bottleneck; high latency/low bandwidth can render GPU acceleration less effective due to data transfer overhead.
- The Pareto frontier becomes sparse under network bottlenecks, highlighting the need for network-aware adaptive partitioning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.