Introduction
Running complex Deep Learning (DL) models on edge devices, such as smartphones or IoT sensors, presents a significant challenge due to limited battery life and processing power. While split computing—partitioning a neural network so the initial layers run on the edge and the remaining layers run in the cloud—offers a potential solution, finding the optimal "split point" is complex.
Existing research often treats software partitioning and hardware configuration as isolated problems. DynaSplit addresses this gap by proposing a hardware-software co-design framework that simultaneously tunes hardware knobs (like CPU frequency) and software partitioning to meet strict Quality of Service (QoS) targets while minimizing energy consumption.
The DynaSplit Framework
DynaSplit operates through a two-phase approach designed to balance exhaustive optimization with real-time responsiveness:
- Offline Phase (The Solver): The framework explores a vast configuration space, including CPU frequencies (DVFS), TPU usage, cloud GPU availability, and every possible layer split point. Using the NSGA-III multi-objective optimization algorithm, it identifies a Pareto front—a set of optimal configurations where energy cannot be reduced without increasing latency, and vice versa.
- Online Phase (The Controller): During runtime, when an inference request arrives with a specific latency deadline (e.g., 200ms), a lightweight controller queries the pre-computed Pareto front. It selects and applies the most energy-efficient configuration predicted to meet the deadline in under 15ms.
Hardware-Software Co-Design Insights
The researchers implemented DynaSplit on a testbed featuring a Raspberry Pi 4B (edge), a Google Coral TPU (accelerator), and a remote cloud node with NVIDIA V100 GPUs. Their evaluation using the ImageNet dataset across models like ResNet50, MobileNetV2, VGG16, and Vision Transformer (ViT) revealed several critical insights into the interplay between hardware and software.
Key Findings:
- Non-Linear Hardware Relationships: Increasing CPU frequency does not always result in a linear decrease in latency; sometimes, it leads to disproportionate energy spikes. DynaSplit’s co-design approach captures these hidden relationships that manual tuning often misses.
- Model-Specific Strategies: Split computing is most beneficial for "heavy" models like VGG16 and ViT. Conversely, mobile-optimized models like MobileNetV2 are often more efficient when run entirely on the edge.
- Quantization Trade-offs: To utilize edge accelerators (TPUs), models must be quantized from 32-bit floats to 8-bit integers. DynaSplit found that the resulting accuracy loss was negligible (<1%), while the energy savings were substantial.
- The 20% Rule: The authors discovered that exploring just 20% of the possible configuration search space was sufficient to identify optimal settings, significantly reducing the overhead of the offline optimization phase.
Results and Performance
DynaSplit demonstrates significant improvements over static or software-only baselines:
- Energy Efficiency: The framework achieved up to 72% energy savings compared to cloud-only execution.
- QoS Reliability: DynaSplit successfully met user-defined latency thresholds for approximately 90% of requests.
- Low Overhead: The online controller's decision-making process is extremely fast, ensuring that the optimization logic does not introduce its own latency bottlenecks.
Conclusion and Future Work
DynaSplit proves that hardware-software co-design is essential for sustainable edge AI. While the current framework assumes relatively stable network conditions, future iterations aim to address high volatility in 5G/6G environments and investigate "request clustering" to minimize the overhead of frequent hardware re-configurations. By treating the edge-to-cloud pipeline as a single, tunable system, DynaSplit paves the way for more intelligent and energy-aware mobile applications.
Summary updated