SERE: Similarity-based Expert Re-routing for Efficient Batch Decoding in MoE Models

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Wu, Juntong, Cheng, Jialiang, Lv, Fuyu, Dan, Ou, Yuan, Li
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910015350112256
author Wu, Juntong
Cheng, Jialiang
Lv, Fuyu
Dan, Ou
Yuan, Li
author_facet Wu, Juntong
Cheng, Jialiang
Lv, Fuyu
Dan, Ou
Yuan, Li
contents Mixture-of-Experts (MoE) architectures employ sparse activation to deliver faster training and inference with higher accuracy than dense LLMs. However, in production serving, MoE models require batch inference to optimize hardware efficiency, which may cause excessive expert activation and thus slow the memory-bound decoding stage. To address the fundamental tension between batch decoding and expert sparsity, we present SERE, a Similarity-based Expert Re-routing method for Efficient batch decoding in MoE models. SERE dynamically reduces the number of active experts in an input-aware manner by re-routing tokens from secondary experts to their most similar primary counterparts. It also leverages similarity patterns to identify and preserve critical experts, thereby preventing capability loss. Notably, SERE avoids static expert pruning or merging, instead enabling dynamic expert skipping based on batch-level expert redundancy. Additionally, we provide an efficient custom CUDA kernel for SERE, enabling plug-and-play use in vLLM with only a single-line code change. Extensive experiments on various complex reasoning benchmarks demonstrate that SERE achieves up to 2.0x speedup with minimal quality loss, providing a practical solution for cost-efficient and latency-sensitive large-scale MoE deployment. Code implementation of SERE can be found in https://github.com/JL-Cheng/SERE.
format Preprint
id arxiv_https___arxiv_org_abs_2602_07616
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle SERE: Similarity-based Expert Re-routing for Efficient Batch Decoding in MoE Models
Wu, Juntong
Cheng, Jialiang
Lv, Fuyu
Dan, Ou
Yuan, Li
Machine Learning
Artificial Intelligence
Mixture-of-Experts (MoE) architectures employ sparse activation to deliver faster training and inference with higher accuracy than dense LLMs. However, in production serving, MoE models require batch inference to optimize hardware efficiency, which may cause excessive expert activation and thus slow the memory-bound decoding stage. To address the fundamental tension between batch decoding and expert sparsity, we present SERE, a Similarity-based Expert Re-routing method for Efficient batch decoding in MoE models. SERE dynamically reduces the number of active experts in an input-aware manner by re-routing tokens from secondary experts to their most similar primary counterparts. It also leverages similarity patterns to identify and preserve critical experts, thereby preventing capability loss. Notably, SERE avoids static expert pruning or merging, instead enabling dynamic expert skipping based on batch-level expert redundancy. Additionally, we provide an efficient custom CUDA kernel for SERE, enabling plug-and-play use in vLLM with only a single-line code change. Extensive experiments on various complex reasoning benchmarks demonstrate that SERE achieves up to 2.0x speedup with minimal quality loss, providing a practical solution for cost-efficient and latency-sensitive large-scale MoE deployment. Code implementation of SERE can be found in https://github.com/JL-Cheng/SERE.
title SERE: Similarity-based Expert Re-routing for Efficient Batch Decoding in MoE Models
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2602.07616