Mixture-of-Experts Serving
Abstract
Mixture-of-Experts (MoE) models route each token to only a few expert networks, distributing the serving load across experts whose popularity shifts over time. A serving system must therefore dynamically decide how many GPUs to assign to each expert, trading off service latency against the cost of reconfiguring the assignment. We introduce a formal model of MoE Serving and initiate a principled study of online and offline algorithms for it. Our main result is a polynomial-time -competitive online algorithm, where is the number of GPUs beyond one per expert. We complement it with a matching barrier for the online dual problem underlying our analysis. In the offline setting, we give a constant-factor approximation, show that MoE Serving is NP-hard, and rule out an FPTAS assuming ETH.
Create a lesson
Recent in the same category
Linear Single-Source Shortest Path, Almost
Recent in the same categorycs.DSIman Gholami, MohammadTaghi Hajiaghayi
Robust large-scale approximate solutions of the constrained Kemeny aggregation ranking problem
Recent in the same categorycs.DSXuan Kien Phung, Sylvie Hamel
Pinwheel Scheduling is PSPACE-Complete
Recent in the same categorycs.DSDimitris Fotakis, Sotiris Kanellopoulos, Giorgos Mitropoulos et al.
Min-Plus Products and Dynamic Programming with Few Violations of the Adjacent Monge Inequalities
Recent in the same categorycs.DSYanqiao Chen
Uniform Guarded Bootstrapping for Topology-Sensitive Directed Shortest Paths
Recent in the same categorycs.DSBin Cai
Parameterized Algorithms for Minimum Sum Vertex Cover on Dense Graphs
Recent in the same categorycs.DSShubhada Aute, Noleen Köhler, Fahad Panolan