Hyperion: Hierarchical Scheduling for Parallel LLM Acceleration in Multi-tier Networks
Abstract
Deploying Large Language Models (LLMs) on resource-constrained edge devices necessitates distributing workloads across multi-tier network architectures. However, the coupling of model partitioning and task scheduling presents a complex optimization challenge. This paper introduces Hyperion, a hierarchical two-stage framework that decouples offline inter-tier model partitioning from online intra-tier task scheduling. By leveraging timescale differences, Hyperion achieves near-optimal inference performance with minimal overhead. Experimental results on heterogeneous NVIDIA Jetson clusters demonstrate that Hyperion reduces inference latency by up to 52.1% compared to state-of-the-art baselines while significantly improving GPU utilization.
Introduction: The Challenge of Edge LLM Inference
The proliferation of Large Language Models (LLMs) has created a demand for low-latency inference on edge devices like smartphones and industrial sensors. However, the memory and computational requirements of models like Llama 3 often exceed the capabilities of individual edge nodes. Multi-tier network architectures—comprising cloud servers, regional gateways, and local devices—offer a solution by distributing model layers across the hierarchy.
The primary difficulty lies in the "Min-Max" optimization problem: determining how to partition the model across tiers (inter-tier) and schedule specific requests to individual nodes (intra-tier) to minimize overall latency. Because these decisions are tightly coupled, existing methods often struggle with computational complexity or fail to account for the specific hierarchical topology of edge networks.
The Hyperion Framework
Hyperion addresses this NP-hard problem by decoupling it into two distinct stages based on their operational timescales.
Stage 1: Offline Inter-tier Partitioning (HypSplit-DP)
Since the underlying LLM architecture is static, model partitioning can be performed offline. Hyperion utilizes a Dynamic Programming (DP) approach, HypSplit-DP, to identify optimal "cut points" for LLM blocks across network tiers. This algorithm employs a "binary search for latency" strategy, balancing workloads based on the "effective capacity" of each tier—defined by its most capable node—while strictly adhering to memory constraints.
Stage 2: Online Intra-tier Scheduling (HypSched-RT)
While partitioning is static, request arrivals are highly dynamic. Hyperion employs HypSched-RT, a lightweight, real-time algorithm that maps incoming requests to the optimal available node within a tier. By performing a single linear scan of available nodes, the algorithm estimates the earliest completion time, accounting for current queue lengths and node-specific compute capacities.
This hierarchical approach enables global optimization without the massive computational overhead typically associated with solving joint optimization problems in real-time.
Experimental Evaluation
The framework was evaluated using popular open-source LLMs, including Llama 3-8B and Phi-3-medium (14B), on a physical testbed of heterogeneous NVIDIA Jetson nodes (AGX Orin, Orin NX, and Orin Nano). Request arrivals were modeled as a Poisson process to simulate realistic network traffic.
Key Results
- Latency Reduction: Hyperion outperformed GPipe (pipeline parallelism) by up to 52.1% and HEFT (task-scheduling heuristic) by 31.2% in terms of inference latency.
- Scalability and Stability: For long-sequence generation (256 tokens), Hyperion maintained 44.5% lower latency than GPipe, demonstrating robustness as task complexity increases.
- Resource Efficiency: The framework achieved a median GPU utilization of approximately 56%, significantly higher than baseline methods, indicating more effective hardware utilization.
- Bandwidth Resilience: Performance remained stable even when network bandwidth was restricted from 1 Gbps to 100 Mbps, proving its suitability for real-world wireless edge environments.
Discussion and Future Work
A key insight from this work is the effectiveness of timescale decoupling. By treating partitioning as a static planning problem and scheduling as a dynamic execution problem, Hyperion achieves near-optimal results with negligible runtime overhead. Furthermore, the system's sensitivity to sequence length highlights that as output sequences grow, the system transitions from being network-bound to compute-bound—a transition Hyperion manages effectively through resource-aware scheduling.
Future research directions include:
- Energy Optimization: Incorporating power consumption models for battery-constrained edge devices.
- Dynamic Topologies: Adapting the offline partitioning stage for networks with high node churn.
- Privacy Integration: Implementing cryptographic or differential privacy techniques within the scheduling logic to further secure local data processing.
Summary updated