Skip to content
Preprint

A Deterministic Constant-Competitive Algorithm for Dynamic Mixture-of-Experts Serving

Aug 2026 · 0 citations · 4 references
Computer Science

TL;DR

A deterministic O(1)-competitive algorithm that allocates k replica GPUs among m experts as workloads change and is machine-checked in Lean 4 relative to the positive-body result as the sole scientific source premise.

Abstract

Dynamic Mixture-of-Experts Serving allocates k replica GPUs among m experts as workloads change. At each round, the online algorithm sees the current workload, chooses integral replica counts, and pays bottleneck service cost plus replica movement. It does not know future workloads. Huang, Lou, and Xiao gave an O(sqrt(log k))-competitive randomized algorithm for this problem. We prove a deterministic O(1)-competitive algorithm. For every number of experts and every k>=1, the algorithm satisfies ALG_det<= 10 C_PB OPT + (5 C_PB + 8) k + 16, where C_PB is the absolute constant from Chasing Positive Bodies at resource augmentation one and covering sparsity two. Consequently, CR_det(k)<=10 C_PB for every k>=1, so CR_det(k)=Theta(1). The multiplicative factor does not depend on the number of experts, replica budget, horizon, or workload values. Thus randomization is not needed for the asymptotic guarantee. The proof has two layers. A finite tangent envelope, summable positive resets, and a nonexpansive balanced projection reduce reciprocal-max service costs to a deterministic exact-budget fractional path. A new deterministic rounding theorem converts every such path to integral allocations with service distortion three and movement bounded by the fractional movement plus 6k. The complete reduction, rounding theorem, causal composition, and quantified main theorem are machine-checked in Lean 4 relative to the positive-body result as the sole scientific source premise. The theorem concerns the allocation model above. It does not include network topology, shared-edge congestion, or routing decisions.

View source

Similar papers

Preprint Aug 2026

A Tight Linear Deterministic Competitive Ratio for Fully Online KV-Cache Scheduling

A fully online model for batching nonpreemptive LLM requests under a growing KV-cache memory constraint and it is proved that every deterministic algorithm has competitive ratio Omega(sqrt(n), while the elementary sequential upper bound is n.

Ian D'Ambrosio · 0 citations
Preprint Aug 2026

TEMPO: Makespan-Aware Expert-Parallel Load Balancing Across Memory- and Compute-Bound Regimes

This work formalizes per-batch dispatch as a fixed-charge makespan problem---NP-hard on two fully replicated GPUs, polynomial in degenerate limits---and presents TEMPO, a makespan-aware dispatcher solving it in milliseconds off the critical path; its SGLang integration runs out-of-process and fuses dispatch with count...

Jie Li, Chen-Xin Jia, Jinliang Shen et al. · 1 citation
Preprint Oct 2026

Ofan: Optimal Load Balancing for AI Training

The extreme collective completion time (CCT) demands of AI workloads challenge existing packet spraying algorithms, which can have trouble efficiently load-balancing workloads that are sent at full line rates. We trace this to a structural cause: on a fat tree, once a packet picks its upward path, the downward path to...

Sarah McClure, E. Cohen, Jakob Krebs et al. · 0 citations
#machine learning Preprint Sep 2026

COMPASS-ABS: Reducing Fragmentation in Shared GPU Clusters for Deep Learning Training Workloads

SIF is introduced, a metric built on the notion of partial-nodes that is independent of historical workload knowledge that matches both theory and production and COMPASS-ABS is proposed, which employs the COMPact-ASSured (COMPASS) algorithm to confine the cluster state within a tight Anchor-Based Space (ABS).

Yu-Kai Zhou, Hong-Fan Wu · 0 citations
Preprint Sep 2026

The Fixed Server Locality Gap of Count Load Assignment Games

Marginal-contribution pricing makes the social objective an exact potential, but does not ensure that every stable assignment is efficient. We study indivisible clients with heterogeneous workloads, arbitrary nonnegative assignment costs, and private eligibility menus over a fixed number of shared servers and optional...

Hao Li, Meng-Fan Ma · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.