paper-with-me

홈 › Papers

Sigmoid Gating is More Sample Efficient than Softmax Gating in Mixture of Experts

2024-05-22 · Huy Nguyen, Nhat Ho, Alessandro Rinaldo

The softmax gating function is arguably the most popular choice in mixture of experts modeling. Despite its widespread use in practice, the softmax gating may lead to unnecessary competition among experts, potentially causing the undesirable phenomenon of representation collapse due to its inherent structure. In response, the sigmoid gating function has been recently proposed as an alternative and has been demonstrated empirically to achieve superior performance. However, a rigorous examination of the sigmoid gating function is lacking in current literature. In this paper, we verify theoretically that the sigmoid gating, in fact, enjoys a higher sample efficiency than the softmax gating for the statistical task of expert estimation. Towards that goal, we consider a regression framework in which the unknown regression function is modeled as a mixture of experts, and study the rates of convergence of the least squares estimator under the over-specified case in which the number of fitted experts is larger than the true value. We show that two gating regimes naturally arise and, in each of them, we formulate an identifiability condition for the expert functions and derive the corresponding convergence rates. In both cases, we find that experts formulated as feed-forward networks with commonly used activation such as ReLU and GELU enjoy faster convergence rates under the sigmoid gating than those under softmax gating. Furthermore, given the same choice of experts, we demonstrate that the sigmoid gating function requires a smaller sample size than its softmax counterpart to attain the same error of expert estimation and, therefore, is more sample efficient.

📄 PDF Abstract BibTeX arXiv:2405.13997

Code (0)

등록된 구현이 없습니다.

Tasks

Mixture-of-Experts

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Rethinking Multinomial Logistic Mixture of Experts with Sigmoid Gating Function

2026-02-01 · Tuan Minh Pham, Thinh Cao, Viet Nguyen, Huy Nguyen 외 arxiv

The sigmoid gate in mixture-of-experts (MoE) models has been empirically shown to outperform the softmax gate across several tasks, ranging from approximating feed-forward networks to language modeling. Additionally, rec…

Sigmoid Self-Attention has Lower Sample Complexity than Softmax Self-Attention: A Mixture-of-Experts Perspective

2025-02-01 · Fanqi Yan, Huy Nguyen, Pedram Akbarian, Nhat Ho 외

At the core of the popular Transformer architecture is the self-attention mechanism, which dynamically assigns softmax weights to each input token so that the model can focus on the most salient information. However, the…

Mixture-of-Experts

Better Models, Faster Training: Sigmoid Attention for single-cell Foundation Models

2026-04-29 · Vijay Sadashivaiah, Georgios Dasoulas, Judith Mueller, Soumya Ghosh arxiv

Training stable biological foundation models requires rethinking attention mechanisms: we find that using sigmoid attention as a drop in replacement for softmax attention a) produces better learned representations: on si…

Mixtape: Breaking the Softmax Bottleneck Efficiently

2019-12-01 · NeurIPS 2019 12 · Zhilin Yang, Thang Luong, Russ R. Salakhutdinov, Quoc V. Le

The softmax bottleneck has been shown to limit the expressiveness of neural language models. Mixture of Softmaxes (MoS) is an effective approach to address such a theoretical limitation, but are expensive compared to sof…

Language ModelingLanguage ModellingMachine TranslationTranslation+1

On Least Square Estimation in Softmax Gating Mixture of Experts

2024-02-05 · Huy Nguyen, Nhat Ho, Alessandro Rinaldo

Mixture of experts (MoE) model is a statistical machine learning design that aggregates multiple expert networks using a softmax gating function in order to form a more intricate and expressive model. Despite being commo…

Mixture-of-Experts