OrderMoE: An expert similarity driven distributed edge MoE inference
Abstract
Although mixture-of-experts, MoE, models have been increasingly adopted to scale large language models with moderate computation cost, it remains challenging to deploy MoE inference over resource-constrained and bandwidth-limited edge infrastructures. Existing distributed MoE serving methods mainly rely on exact expert placement, caching, replication, or communication scheduling, while overlooking the functional similarity among experts, which provides an opportunity to reduce cross-server token transmission. Therefore, this paper introduces a similarity-aware expert allocation and distributed deployment framework, dubbed OrderMoE, which aims to accelerate edge MoE inference while balancing inference latency, communication overhead, server workload, and inference quality. OrderMoE first constructs an expert similarity model based on router-induced logits representations and partitions experts in each MoE layer into multiple similarity groups. Then, it develops a similarity-aware expert grouping and deployment strategy to improve local similarity coverage across edge servers. Since reducing remote expert invocation and preserving exact inference quality are conflicting objectives, OrderMoE further designs a quality-aware and trajectory-aware runtime server-expert selection algorithm to decide whether a token should invoke its remote target expert or use a feasible local substitute expert. Experimental results on a real distributed edge testbed show that OrderMoE significantly reduces average latency, tail latency, cross-server traffic, and remote expert invocation ratio, while introducing only small and controllable inference quality degradation.
Create a lesson
Metadata
- Categories
- cs.NI, cs.DC, cs.LG
- Comments
- 17 pages, 12 figures
Related papers
Denial of Deadline: Network-Driven Accuracy Collapse in Distributed Inference Pipelines
Shared title terminologycs.NIJhonatan Tavori, Gur-Eyal Sela, Ion Stoica et al.
HetRoute Heterogeneous and Cost-aware Collaborative Routing Framework for Distributed Edge MoE Inference
Shared title terminologycs.NIXin Yuan, Ning Li, Wenchao Xu et al.
TrimMoE A communication aware and adaptive depth framework for distributed edge inference
Shared title terminologycs.NINing Li, Shuting Bai, Xin Yuan et al.
RIGEL: Real-time Optical Anomaly Diagnosis with Stateful In-Network Inference based on Distributed On-switch GNNs
Shared title terminologycs.NIZhen Wei, Yidong Wang, Yufan Zhu et al.
Quality over Quantity: Value-Driven Distributed Congestion Control for the Collective Perception Service
Shared title terminologycs.NITengfei Lyu, Florian A. Schiegg, Md Noor-A-Rahim et al.
MORES: Mobile Reasoning-as-a-Service via Distributed LLM Inference-Time Scaling
Shared title terminologycs.NIGuanchen Liu, Hongyang Du, Kaibin Huang