ParGLU: Partial Gating Improves Language Modeling in MoE Transformers
Abstract
Multiplicative gating improves Transformer feed-forward networks (FFNs), but it reduces intermediate representation width under a fixed parameter budget. This trade-off is particularly relevant to Mixture-of-Experts (MoE) models, where individual experts have limited capacity. We introduce ParGLU, a partially gated FFN that combines SwiGLU and ReLU2 in two parallel branches. ParGLU matches the parameter count and principal matrix computation budget of conventional SwiGLU. We evaluate ParGLU in 30M, 75M, and 152M MoE language models using three random seeds per scale. ParGLU outperforms SwiGLU across all three seeds at 75M and 152M, reducing mean validation NLL by 0.0200 and 0.0249, respectively. Results at 30M are mixed. Controlled ablations show that increasing backbone width or expert width strengthens ParGLU's relative performance. Ablation studies further show that combining SwiGLU and ReLU2 improves performance over either architecture alone. Token-frequency analysis reveals larger improvements on low-frequency tokens. These findings show that fully gated FFNs are not always the most effective use of an MoE expert's parameter budget. Partial gating can improve language modeling in MoE Transformers.
Create a lesson
Related papers
Classical structural priors improve neural molecular representations in molecule language models
Shared title terminology · Donghyeok Lee, Sangkwon Park, Munyoung Chang et al.
THRIFTY: Cost-Constrained Reasoning-Data Synthesis for Small Language Models
Shared title terminology · Aasheesh Singh, Vishal Vaddina
Degradation of Language Models under Controlled Load: Synchronization, Rule Execution and Misfires on the Background
Shared title terminology · Hennadii Kutomanov
Improved Accuracy Scaling with Problem Complexity in LLM Arithmetic Reasoning Using Executable Symbolic Representations
Shared title terminology · Yu-Bin Liu, Shi-Ju Ran
BusemannFormer: Horospherical Self-Attention for Hyperbolic Graph Transformers
Shared title terminology · Youheng Yao, Ziyao Zeng, Wenbo Liao et al.
ORION: Exact Canonical-State Supervision for Systematic Generalization in Transformers
Shared title terminology · Sibi Gokul, Jyoti Prakash Meher