paper-with-me

Papers

SoftMoE: Soft Differentiable Routing for Mixture-of-Experts in LLMs

2026-06-16 · Mikołaj Zasada, Łukasz Struski, Jacek Tabor, Marcin Kurdziel arxiv

Sparse Mixture-of-Experts (MoE) architectures enable scaling LLM parameters under a fixed inference budget by activating only a small subset of experts via top-$k$ routing. While this preserves causality and suits autoregressive language models, the discrete top-$k$ operator is not differentiable, forcing a fixed number of active experts per input and resulting in inefficient use of computation. We propose SoftMoE, which replaces discrete routing with a truncated soft top-$k$ LapSum relaxation, allowing gradient-based optimization of expert routing. We further parameterize the mean number of active experts per layer and impose a global budget constraint, enabling the model to learn how to allocate expert capacity across layers. SoftMoE remains fully compatible with autoregressive modeling and achieves performance comparable to or better than sparse MoE on language modeling and downstream tasks, while activating significantly fewer experts. Notably, the learned allocation is highly non-uniform, with later layers activating more experts. The source code is publicly available$^\dagger$.

📄 PDF Abstract BibTeX arXiv:2606.17952

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Don't flatten, tokenize! Unlocking the key to SoftMoE's efficacy in deep RL

2024-10-02 · Ghada Sokar, Johan Obando-Ceron, Aaron Courville, Hugo Larochelle 외

The use of deep neural networks in reinforcement learning (RL) often suffers from performance degradation as model size increases. While soft mixtures of experts (SoftMoEs) have recently shown promise in mitigating this …

Reinforcement Learning (RL)

Mixture-of-Experts Models in Vision: Routing, Optimization, and Generalization

2026-01-21 · Adam Rokah, Daniel Veress, Caleb Caulk, Sourav Sharan arxiv

Mixture-of-Experts (MoE) architectures enable conditional computation by routing inputs to multiple expert subnetworks and are often motivated as a mechanism for scaling large language models. In this project, we instead…

Image Classification

DirMoE: Dirichlet-routed Mixture of Experts

2026-02-09 · Amirhossein Vahidi, Hesam Asadollahzadeh, Navid Akhavan Attar, Marie Moullet 외 arxiv

Mixture-of-Experts (MoE) models have demonstrated exceptional performance in large-scale language models. Existing routers typically rely on non-differentiable Top-$k$+Softmax, limiting their performance and scalability.…

ReMoE: Fully Differentiable Mixture-of-Experts with ReLU Routing

2024-12-19 · Ziteng Wang, Jianfei Chen, Jun Zhu

Sparsely activated Mixture-of-Experts (MoE) models are widely adopted to scale up model capacity without increasing the computation budget. However, vanilla TopK routers are trained in a discontinuous, non-differentiable…

Mixture-of-Experts

Maximum Score Routing For Mixture-of-Experts

2025-08-18 · Bowen Dong, Yilong Fan, Yutao Sun, Zhenyu Li 외 arxiv

Routing networks in sparsely activated mixture-of-experts (MoE) dynamically allocate input tokens to top-k experts through differentiable sparse transformations, enabling scalable model capacity while preserving computat…

Computational Efficiency