Paper Reading AI Learner

SliceMoE: Routing Embedding Slices Instead of Tokens for Fine-Grained and Balanced Transformer Scaling


Abstract

Mixture-of-Experts (MoE) layers scale transformers by routing tokens to a sparse subset of feed-forward experts. Token-level routing, however, assigns an entire semantic spectrum to each expert, creating capacity bottlenecks, load-balancing pathologies, and limited specialization. We introduce SliceMoE, an architecture that routes contiguous slices of a token's hidden vector. A d-dimensional embedding is partitioned into S slices, and for each slice, a lightweight shared router predicts the top-k experts. Experts operate on their assigned slices independently, and outputs are reassembled, maintaining per-token FLOP efficiency. Because slices from different tokens interleave within an expert, utilization is naturally smoother. We propose a slice-level capacity loss, cross-slice dropout, and efficient fused batched GEMM kernels. Experiments on WikiText-103 language modeling, WMT En-De translation, and three text-classification datasets show SliceMoE attains up to 1.7x faster inference than dense baselines, 12 to 18 percent lower perplexity than parameter-matched token-MoE, and improved expert balance, with interpretable expertise over syntactic versus semantic subspaces.

Abstract (translated)

混合专家(Mixture-of-Experts,MoE)层通过将令牌路由到一组稀疏的前馈专家子集来扩展转换器模型。然而,基于令牌级别的路由为每个专家分配了一个完整的语义频谱,这会导致容量瓶颈、负载均衡问题以及专业化的限制。为了应对这些问题,我们引入了SliceMoE架构,该架构根据连续的片段将令牌隐藏向量路由到不同的专家。 在SliceMoE中,一个d维嵌入被划分为S个片段(slices)。对于每一个片段,一个轻量级共享路由器预测出前k个专家。每个专家独立地操作它们分配到的片段,并且输出会被重新组装起来以保持每令牌的计算效率不变。由于来自不同令牌的片段在一个专家内交错进行处理,因此利用率会更加平滑。 我们提出了一种基于切片级别的容量损失、跨切片dropout策略以及高效的批矩阵乘法(GEMM)核来改进模型性能和效率。实验结果表明,在WikiText-103语言建模任务、WMT英德翻译任务及三个文本分类数据集上,与密集基线相比,SliceMoE实现了高达1.7倍的推理加速;与参数匹配的令牌MoE相比,困惑度降低了12%至18%,同时改进了专家间的平衡性,并且使得每个专家专注于语法或语义子空间中更具可解释性的专业知识。

URL

https://arxiv.org/abs/2510.04286

PDF

https://arxiv.org/pdf/2510.04286.pdf


Tags
3D Action Action_Localization Action_Recognition Activity Adversarial Agent Attention Autonomous Bert Boundary_Detection Caption Chat Classification CNN Compressive_Sensing Contour Contrastive_Learning Deep_Learning Denoising Detection Dialog Diffusion Drone Dynamic_Memory_Network Edge_Detection Embedding Embodied Emotion Enhancement Face Face_Detection Face_Recognition Facial_Landmark Few-Shot Gait_Recognition GAN Gaze_Estimation Gesture Gradient_Descent Handwriting Human_Parsing Image_Caption Image_Classification Image_Compression Image_Enhancement Image_Generation Image_Matting Image_Retrieval Inference Inpainting Intelligent_Chip Knowledge Knowledge_Graph Language_Model LLM Matching Medical Memory_Networks Multi_Modal Multi_Task NAS NMT Object_Detection Object_Tracking OCR Ontology Optical_Character Optical_Flow Optimization Person_Re-identification Point_Cloud Portrait_Generation Pose Pose_Estimation Prediction QA Quantitative Quantitative_Finance Quantization Re-identification Recognition Recommendation Reconstruction Regularization Reinforcement_Learning Relation Relation_Extraction Represenation Represenation_Learning Restoration Review RNN Robot Salient Scene_Classification Scene_Generation Scene_Parsing Scene_Text Segmentation Self-Supervised Semantic_Instance_Segmentation Semantic_Segmentation Semi_Global Semi_Supervised Sence_graph Sentiment Sentiment_Classification Sketch SLAM Sparse Speech Speech_Recognition Style_Transfer Summarization Super_Resolution Surveillance Survey Text_Classification Text_Generation Time_Series Tracking Transfer_Learning Transformer Unsupervised Video_Caption Video_Classification Video_Indexing Video_Prediction Video_Retrieval Visual_Relation VQA Weakly_Supervised Zero-Shot