TL;DR
vExpert introduces a virtualized storage layer for Mixture-of-Experts (MoE) models that leverages host DRAM to solve the chronic problem of dynamic load imbalance. By treating host memory as a full-redundancy pool and using a novel performance model to manage transfers, it achieves up to a 55% improvement in load balancing and a 1.2$\times$ end-to-end speedup for massive models like DeepSeek-V3.1.
What Problem Does This Paper Address?
Mixture-of-Experts (MoE) models have become the standard for scaling Large Language Models (LLMs) efficiently. However, their distributed deployment faces a major hurdle: dynamic load imbalance. While experts are statically placed across GPUs (Expert Parallelism), the "routing" of tokens to these experts is highly dynamic and input-dependent. As shown in Figure 1, some experts become "hot" bottlenecks while others sit idle.
Existing solutions like expert replication are limited by tight GPU HBM constraints—you simply can't fit many redundant experts on the device. While host DRAM is vast, traditional offloading techniques fail in distributed settings because they ignore the physical reality of the hardware: Host-to-Device (H2D) transfers via PCIe compete for the same resources as the critical All-to-All communication required by MoE layers. Furthermore, managing model weights across multiple processes at scale incurs massive system-level memory overheads.
Methods
The authors propose vExpert, a system that shifts the paradigm from "partial residency" (offloading what doesn't fit) to "full redundancy" via storage virtualization.
- Tiered Storage Hierarchy: vExpert treats GPU HBM (L1) as a dynamic cache for the current and next layers, while Host DRAM (L2) maintains a full-coverage physical pool of all experts.
- Systematic Performance Model: The core of vExpert is a model that quantifies the trade-off between the gains of better load balancing and the costs of H2D latency and PCIe contention. It specifically accounts for how H2D transfers interfere with All-to-All communication (the "contention penalty").
- vExpert Allocator: A lightweight component that every $k$ iterations uses the performance model to solve a constrained optimization problem. It decides which physical experts to map to "virtual slots" in HBM to maximize throughput.
- Coordinator-Worker Disaggregated Management: To bypass OS-level shared memory limits and reduce HBM overhead (which can reach 18GB just for page tables at scale), vExpert uses a single "Coordinator" process to manage data provisioning while "Worker" processes focus on computation.
Datasets
The system was evaluated using a synthetic workload constructed from three major public datasets to simulate diverse real-world scenarios:
- ShareGPT: For standard multi-turn conversations.
- LongBench: To simulate long-context scenarios with lengthy system prompts.
- LiveCodeBench: For specialized code-generation tasks. The primary model used for evaluation was the 671B DeepSeek-V3.1.
Key Insights and Ideas
- PCIe Contention is a First-Class Citizen: Most offloading papers assume H2D transfers are "free" if overlapped with computation. vExpert proves that in distributed MoE, these transfers significantly degrade the performance of the network fabric (All-to-All), and this must be modeled to avoid performance regressions.
- Group-wise Budgeting: Instead of a strict per-layer transfer limit, vExpert groups consecutive layers. This allows "easy-to-balance" layers to "donate" their PCIe bandwidth budget to highly imbalanced "bottleneck" layers, expanding the optimization space.
- Discrete Optimization Robustness: Surprisingly, the performance model doesn't need high-precision calibration. Because the decision variable (number of virtual experts) is a discrete integer, the system is naturally robust to small errors in parameter estimation (e.g., $\pm$20% error in latency estimation results in <3% throughput drop).
Key Results
Evaluated on an 8-node H100 cluster, vExpert demonstrated significant gains over state-of-the-art baselines:
- Load Balancing: Improved the load balance ratio by up to 55% (increasing it from ~0.43 to 0.76).
- Throughput: Achieved a 1.2$\times$ (20%) end-to-end speedup at batch size 256 compared to vanilla SGLang.
- Memory Efficiency: The disaggregated manager reduced GPU memory overhead by 8$\times$, consuming less than 300MB per GPU for metadata that previously took gigabytes.
- Low Overhead: The entire allocation logic completes in ~11ms, which, when run every 10 iterations, adds less than 1ms of overhead per iteration.
Limitations and Future Work
- Decode-Phase Focus: vExpert is optimized for the decode phase of inference. While it can complement prefill-stage balancers, its current design is tailored for the strict latency and dynamic routing of decoding.
- Topology Assumptions: The analysis assumes standard PCIe/NVLink hierarchies. The authors note that emerging "supernode" architectures like NVIDIA's GB200 NVL72, which feature coherent CPU-GPU links (NVLink-C2C), will fundamentally change the H2D landscape and require further adaptation of the vExpert model.
- Future Direction: Exploring how host memory can be repurposed for prefix caching alongside expert redundancy is a suggested next step.
Summary updated