Accelerating MoE with Dynamic In-Switch Computing on Multi-GPUs

Qijun Zhang, Chen Zhang, Zhuoshan Zhou, Haibo Wang, Zhe Zhou, Zhipeng Tu, Guangyu Sun, Zhiyao Xie, Yijia Diao, Zhigang Ji, Jingwen Leng, Guanghui He, Minyi GuoarXiv 2026

TL;DR

Mixture-of-Experts (MoE) models offer massive parameter scaling but are severely bottlenecked by redundant inter-GPU communication during token dispatching and combining. This paper introduces DySHARP, the first dynamic in-switch computing framework that eliminates this redundancy by co-designing hardware primitives and token-paced scheduling, delivering up to a 1.79× end-to-end training speedup.

What Problem Does This Paper Address?

Modern Large Language Models (LLMs) like DeepSeek-V3 and Qwen3 frequently employ Mixture-of-Experts (MoE) architectures to scale model capacity without a proportional increase in computational cost. In multi-GPU systems, these experts are distributed across different chips using Expert Parallelism (EP). This setup requires two major communication steps: Dispatch (sending tokens from their source GPU to the GPUs hosting their selected experts) and Combine (gathering and aggregating the expert outputs back). This frequent inter-GPU communication is a massive performance bottleneck, often consuming 50% to 80% of total MoE execution time.

The authors identify a fundamental inefficiency: massive data redundancy. When a single token activates multiple experts on different remote GPUs, the exact same token data is transmitted from the source GPU to the network switch multiple times. A similar redundancy occurs in reverse during the Combine phase.

While hardware solutions like NVIDIA’s NVLink SHARP (NVLS) can perform in-switch multicast and reduction to eliminate these redundancies, they are strictly limited to static collectives with fixed targets and symmetric memory layouts. They cannot handle the highly dynamic, irregular, and asymmetric communication patterns inherent to MoE models.

Communication redundancy and in-switch computing opportunities in MoE.

Methods

To bridge this gap, the authors propose DySHARP, an integrated hardware-software solution consisting of two core components:

  1. Dynamic Multimem Addressing: Instead of using explicit addressing (which inflates packet headers with multiple destination addresses), DySHARP introduces a compact packet format that carries a single algebraic index alongside a lightweight target list. Even though tokens are packed asymmetrically in physical memory across different GPUs, their original sequence position (algebraic index) remains identical. A new hardware memory manager in the GPU Hub dynamically translates this algebraic index into the local layout virtual address on the destination GPU.
  2. Token-Centric Kernel Fusion: Simply reducing network traffic does not automatically guarantee a speedup because in-switch computing creates a directional bandwidth imbalance (e.g., multicast slashes GPU-to-switch traffic but leaves switch-to-GPU traffic heavily loaded). DySHARP solves this by breaking down the traditional operator boundaries and pipelining the entire Dispatch-Computation-Combine chain at a fine-grained token/tile level. Managed by a hardware Token Tracker, this allows complementary asymmetric traffic patterns to run concurrently, balancing bidirectional network utilization.
How dynamic multimem addressing and token-centric kernel fusion work together as an integral solution.

Datasets

The framework was evaluated using a cycle-accurate architectural simulator (integrating Accel-Sim and BookSim2) configured to model an NVIDIA GH200 NVL32-like 32-GPU system. The authors benchmarked DySHARP against state-of-the-art MoE model configurations, primarily focusing on DeepSeek-V3 (across Small, Medium, and Large configurations), as well as GPT-OSS-120B and Qwen3-235B.

Key Insights and Ideas

  • The Algebraic Index Leverage: The "aha moment" of the paper is realizing that despite the chaotic, dynamic routing of tokens to different experts, the underlying token sequence index is a universal invariant across all GPUs. Exploiting this allows the system to maintain highly compact network packets, achieving near-ideal payload efficiency without heavy software overhead.
  • Traffic Reduction $\neq$ Performance Speedup: A crucial insight is that optimizing communication primitives in isolation is insufficient. If a technique only optimizes one direction of a bidirectional link, the unoptimized direction becomes the new bottleneck. True acceleration requires co-scheduling complementary workloads (like fusing Dispatch and Combine) to keep the network links perfectly balanced.

Key Results

  • Traffic and Speedup: DySHARP eliminates nearly 50% of total communication traffic compared to standard Expert Parallelism libraries like DeepEP. This translates to an end-to-end training speedup of up to 1.79× over the state-of-the-art COMET baseline and up to 2.31× over DeepEP.
  • Low Hardware Overhead: Synthesized under TSMC 12nm technology, the additional hardware logic requires less than 0.1% of the NVSwitch die area and a negligible 0.024% of an H100 GPU die area, proving its feasibility for real-world silicon implementation.

Limitations and Future Work

  • Hardware Modification Dependency: Unlike pure software libraries (e.g., DeepEP, FasterMoE), DySHARP requires non-intrusive but fundamental modifications to the GPU's Load-Store Unit (LSU), network switch routing logic, and the GPU Hub memory manager. This makes it inapplicable to off-the-shelf, unmodified current-generation hardware.
  • Multi-Node Scaling: Although the authors outline a conceptual extension for multi-node clusters using InfiniBand networks, a comprehensive, large-scale empirical evaluation across thousands of nodes remains an open direction for future work.

Summary updated

BibTeX
@misc{zhang2026accelerating,
  author = {Qijun Zhang and Chen Zhang and Zhuoshan Zhou and Haibo Wang and Zhe Zhou and Zhipeng Tu and Guangyu Sun and Zhiyao Xie and Yijia Diao and Zhigang Ji and Jingwen Leng and Guanghui He and Minyi Guo},
  title = {{Accelerating MoE with Dynamic In-Switch Computing on Multi-GPUs}},
  year = {2026},
  eprint = {2605.05607},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.05607},
}
Figure