arXiv Science⌕ Search

arXiv subjects

Jiongjiong Gu

Publications and source records attributed to Jiongjiong Gu.

2 recordsLinked to original sources

CED-MoE: Reversible Service Tiers from Frozen Expert Routers

Web services that serve released Mixture-of-Experts (MoE) models must trade quality for cost as traffic changes, yet each router executes a fixed number of experts per token. Skipping experts in a frozen model offers this control, but prevailing skipping rules such as NAEE and ACE renormalize the retained gate weights. We find that this renormalization, which inflates the gain of the expert branch, raises perplexity more than six times as much as changing which experts are skipped. We introduce CED-MoE, which applies Calibrated Expert Deferral (CED). A prefix-relative router score decides which later experts execute, retained experts keep their native mixture coefficients, and one threshold calibrated on unlabeled router traces meets a requested average budget while capping the depth of every token. At matched compute on Qwen3-30B-A3B, CED lowers C4 perplexity by 17.5% relative to both NAEE and ACE, and it wins all 18 calibrated comparisons against NAEE across three MoE families. On GSM8K, CED keeps 96.7% of full-budget accuracy with 60.8% fewer routed expert calls and leads NAEE by 16.9 points. A threshold calibrated once on C4 holds its budget from language modeling to arithmetic generation. Grouped execution converts the saving into up to 1.44$\times$ prefill throughput, and CED runs inside vLLM, where each service tier is one threshold that changes between batches without reloading the model.

cs.LG↗

FlexNPU: Transparent NPU Virtualization for Dynamic LLM Prefill-Decode Co-location

Modern AI serving increasingly relies on NPUs for conventional inference and large language model serving. However, current NPU deployments commonly expose physical devices directly to applications, which limits runtime control over scheduling and makes it difficult to adapt execution to phase-level workload behavior. This limitation is particularly evident in LLM serving, where the prefill phase is compute-intensive while the decode phase is often constrained by memory bandwidth and KV-cache accesses. Static prefill-decode (PD) disaggregation reduces phase interference, but can introduce resource imbalance and unnecessary data movement. We present FlexNPU, a transparent user-space virtualization layer for Ascend NPUs. FlexNPU interposes on AscendCL APIs and routes NPU operations through per-device daemons, decoupling unmodified from physical NPU devices without modifying model code, AI frameworks, or NPU drivers. This runtime boundary allows FlexNPU to virtualize NPU objects, control operator dispatch, and support phase-aware scheduling for LLM serving. In particular, FlexNPU enables dynamic PD co-location, which adapts scheduling between prefill and decode according to their complementary resource characteristics. We implement FlexNPU on Huawei Ascend NPUs and evaluate it with typical LLM workloads. Compared with direct NPU passthrough, FlexNPU introduces no measurable inference overhead and slightly improves throughput in some scenarios. On a 384-card Ascend 910C deployment of DeepSeek-R1, FlexNPU improves throughput over static PD disaggregation by 5.15% and 26.33%. On Qwen2.5-7B, compared with static PD co-location, FlexNPU maintains comparable throughput while reducing TTFT by over 92% across tested workloads with nearly unchanged TPOT. These results show that transparent NPU virtualization is a practical substrate for efficient and responsive LLM serving.

cs.DC↗