TL;DR
PARALLAX is a decentralized serving system that enables efficient LLM inference across heterogeneous, geographically dispersed volunteer GPUs. By decoupling model placement from dynamic, per-request pipeline routing, PARALLAX cuts tail latency by up to $3.2\times$ and boosts throughput by up to $3.6\times$ compared to state-of-the-art decentralized baselines.
What Problem Does This Paper Address?
Serving Large Language Models (LLMs) in centralized data centers requires costly, homogeneous GPU clusters linked by high-bandwidth interconnects (like NVLink and InfiniBand). Aggregating idle, decentralized consumer GPUs is a promising, low-cost alternative, but volunteer networks present severe systems challenges:
- Extreme Hardware Heterogeneity: Devices vary drastically in compute throughput (FLOPs) and VRAM capacity. Uniform pipeline partitioning leaves fast GPUs bottlenecked by slow stragglers.
- Network Bottlenecks: Public internet connections range from fast local links to slow, high-latency cross-region routes. In these environments, transferring activations between pipeline stages often takes significantly longer than the forward-pass computation itself.
- Dynamic Churn: Volunteer nodes join and leave unpredictably.
Prior decentralized systems like Petals rely on swarm parallelism with greedy, local peer-to-peer heuristics, which often get trapped by slow nodes and suboptimal pipeline placements. PARALLAX aims to solve the joint placement-and-routing problem globally without incurring massive runtime overhead.
Methods
PARALLAX implements a principled two-phase scheduler that separates static layer placement from dynamic runtime routing:
- Phase 1: Offline Model Allocation
- Heuristic-Guided Dynamic Programming: Joint optimization across heterogeneous nodes is NP-hard. PARALLAX applies two heuristics: (1) Region-based grouping, restricting model slices to the same geographic region to minimize costly cross-region hops; and (2) Latency-dominant pipeline minimization, favoring fewer stages per pipeline replica to curtail communication boundaries.
- Intra-Pipeline Water-Filling: To prevent GPU stragglers within an assigned pipeline, a water-filling algorithm allocates transformer layer counts proportionally to each device's compute capacity ($F_i$) under memory capacity constraints ($c_i$), rounding allocations via Hamilton’s largest-remainder method.
- Phase 2: Request-Time Pipeline Chain Selection
- Dynamic DAG Routing: PARALLAX represents available layer replicas across GPUs as a directed acyclic graph (DAG).
- Distributed Hash Table (DHT) Tracking: Participating GPUs periodically publish their layer compute times ($\tau_{\langle g_i, \ell \rangle}$) and pairwise network latencies ($\rho_{\langle g_i, g_{i'} \rangle}$) to a DHT every 1–2 seconds.
- Single-Pass Dynamic Programming: For each incoming request, a client performs a fast left-to-right sweep over the DAG ($O(L \bar{R}^2)$ time complexity, where $L$ is model depth and $\bar{R}$ is the average number of replicas per layer) to stitch an optimal end-to-end execution chain. This naturally steers requests away from heavily loaded or congested nodes.
- Dynamic Membership Management: When nodes join or leave, PARALLAX performs localized layer re-assignments targeting bottleneck layers, triggering a full Phase-1 rebalance only if a pipeline slice is broken or load imbalance exceeds a designated coefficient of variation.
Datasets
The authors evaluated PARALLAX using real-world user conversation traces driving inference on Qwen3-32B (tested in both BF16 and FP8 precision):
- ShareGPT: Real-world multi-turn conversation logs between users and ChatGPT.
- WildGPT: A diverse collection of user interactions with conversational models.
No new training datasets or benchmarks were created; subsampled subsets of these public datasets were used as inference workload traces across varying request arrival rates (4, 8, and 32 req/s).
Key Insights and Ideas
- Communication Latency Dominates Compute: In volunteer settings, the round-trip latency between GPUs can dwarf layer forward-pass times. Treating communication reduction as the primary optimization target (rather than strictly balancing memory utilization) yields massive speedups.
- Decoupled Placement and Routing: Trying to solve placement and routing simultaneously at runtime is computationally intractable. Allocating contiguous layer blocks coarsely and letting fine-grained DP choose the active path per request balances global optimality with sub-millisecond scheduling speeds.
- Natural Load Balancing via Latency Profiling: Because node weights in the Phase-2 DAG reflect real-time processing latencies (which increase under queue buildup), the shortest-path algorithm naturally deflects traffic toward less busy replicas without centralized lock managers.
Key Results
The authors evaluated PARALLAX against HexGen, a state-of-the-art decentralized LLM inference framework, across a distributed testbed of 5 RTX 5090s and 2 RTX 4090s across geographically separated data centers:
- Throughput: Achieved up to $3.6\times$ higher throughput (average $1.58\times$). On the WildGPT trace (FP16, arrival rate 32 req/s), PARALLAX sustained 0.40 req/s versus HexGen's 0.11 req/s.
- Latency: Decreased tail latency by up to $3.2\times$ (average $1.66\times$). Under the WildGPT 32B trace (FP16, rate 32 req/s), PARALLAX cut p99 latency from 207.0 ms to 78.1 ms ($2.6\times$ reduction).
- Scalability & Overhead: In scalability simulations up to 256 GPUs, Phase-1 placement solved in 8.55 ms (up from 0.10 ms at 4 GPUs). Phase-2 per-request chain selection completed in 6.63 ms/request at 256 GPUs (0.0136 ms/request at 4 GPUs), demonstrating negligible runtime scheduling overhead.
Limitations and Future Work
- Evaluation Scale: While algorithmic scalability is simulated up to 256 GPUs, the physical testbed experiments were conducted on a relatively small cluster of 7 high-end consumer GPUs (RTX 5090 and 4090). Evaluation across larger, more volatile pools with wider hardware disparities (e.g., mixing older consumer GPUs) remains unverified.
- DHT Staleness: Metrics are updated in the DHT every 1–2 seconds. Highly bursty network conditions or sudden traffic spikes could lead to suboptimal routing before the live performance map updates.
- Trust and Security: The paper focuses purely on systems scheduling; untrusted environments pose security, privacy, and Byzantine fault-tolerance challenges (e.g., malicious nodes returning bad outputs) that are not addressed in the scheduler.
Summary updated