TL;DR
Split learning allows resource-constrained IoT devices to collaboratively train deep neural networks by offloading heavy computations to edge servers, but scheduling these distributed tasks efficiently is notoriously difficult. This paper maps out the theoretical limits of minimizing total training time (makespan), proving that exact or highly accurate polynomial-time solutions are mathematically out of reach. To bridge the gap, the authors introduce a novel 5-approximation algorithm and a practical heuristic called EquiD that reduces training makespan by up to 34.6% compared to existing state-of-the-art methods.
What Problem Does This Paper Address?
In Split Learning (specifically the popular SplitFedV1 variant), a neural network is divided into three parts. The client device processes the first and third parts (e.g., initial layers and loss computation), while a more powerful edge server or "helper" handles the heavy middle layers (Part 2).
This setup creates a strict, five-step dependency chain for every single batch of data:
- T1: Client runs forward propagation (Part 1) and sends activations to the helper.
- T2: Helper runs forward propagation (Part 2).
- T3: Client receives activations, runs forward/backward propagation (Part 3), and sends gradients back.
- T4: Helper runs backward propagation (Part 2).
- T5: Client finishes the round with backward propagation (Part 1).
The core challenge is makespan minimization: how do we assign clients to helpers and schedule their interleaved tasks so that the entire training round finishes as quickly as possible? This is heavily complicated by helper memory limits and the massive hardware heterogeneity of IoT networks.
Methods
The authors tackle the problem from both a theoretical and practical perspective:
- Complexity Proofs: Using reductions from classic scheduling problems ($P \parallel C_{max}$ and $R \parallel C_{max}$), they prove that the homogeneous task setting (
SL-MAKESPAN) is strongly NP-hard and cannot admit a Polynomial-Time Approximation Scheme (PTAS). For the heterogeneous setting (GENSL-MAKESPAN), they prove that even finding a feasible client assignment is NP-hard, ruling out any standard approximation algorithms. - 5-Approximation Algorithm: For the homogeneous setting, they design a polynomial-time algorithm that guarantees a solution no worse than 5 times the theoretical optimum. It uses a fractional relaxation of the Generalized Assignment Problem (GAPCC) to assign clients, followed by a specialized sorting strategy to schedule tasks.
- EquiDistributed (EquiD) Heuristic: To handle the intractable heterogeneous setting, they adapt their approximation algorithm into a practical heuristic.
EquiDuses an Integer Program (IP) solver to find a client-helper assignment that evenly balances the total server workload (the sum of T2 and T4 tasks) across all available helpers. Once assigned, tasks are scheduled dynamically based on the client-side processing bottlenecks ($T3$ and $T5$).
Datasets
The authors evaluated their approach using a mix of real-world profiling data and synthetic scaling benchmarks:
- Real-World Profiling Data: Sourced from an open-source split learning testbed tracking layer-by-layer execution times and memory footprints. It includes training ResNet101 and VGG19 on CIFAR-10 and MNIST datasets.
- Heterogeneous Hardware Mix: The dataset profiles six distinct device types acting as clients or helpers: standard laptops, virtual machines, Raspberry Pi 3, Raspberry Pi 4, Jetson GPU, and Jetson CPU.
- Synthetic Data (Level 4 Heterogeneity): Generated randomly within the bounds of the real-world measurements to stress-test the algorithms under extreme scale and randomized network connection speeds.
Key Insights and Ideas
- Scheduling is Hard, Even with One Helper: A surprising takeaway is that even if you bypass the assignment problem entirely (e.g., if there is only a single server), simply ordering the tasks is strongly NP-hard. The bidirectional ping-pong of data between client and server creates unavoidable idle times.
- Lookahead Scheduling Beats Greedy Choices: Traditional First-Come-First-Serve (FCFS) scheduling fails because it is blind to "stragglers" (slow clients).
EquiDsucceeds because its scheduling phase sorts clients in decreasing order of their client-side workloads ($T3$ and $T5$). By prioritizing clients that take longer to return data, it minimizes the time helpers spend waiting around idly.
Key Results
- Substantial Speedups:
EquiDconsistently outperformed the state-of-the-art Balanced-Greedy (B-G) baseline, cutting the training makespan by up to 34.6% for ResNet101 on CIFAR-10.
- Near-Optimal Performance: When compared against exact mathematical programming solvers (like Gurobi),
EquiDachieved solutions within 7.79% of the absolute mathematical optimum on average. - Massive Execution Speedups: While exact solvers took up to 11 minutes (683 seconds) to find the optimal schedule for small networks,
EquiDcomputed its near-optimal schedules in a mere 0.01 to 0.03 seconds, making it highly viable for real-time edge deployment.
Limitations and Future Work
- Static Cut Layers: The paper assumes that the "cut layers" (where the neural network is split) are fixed beforehand. In reality, dynamically shifting the cut layer based on network conditions could yield even better optimization.
- Dynamic Network Fluctuations: The model assumes stable processing and communication times per batch. It does not explicitly account for sudden network drops, wireless fading, or client churn during a training round.
- The Theoretical Gap: While the authors proved a lower bound of 1.5 and an upper bound of 5 for approximating
SL-MAKESPAN, finding the exact optimal approximation factor remains an open theoretical challenge.
Summary updated