about
Enhancing Efficiency in Sparse Models with Sparser Selection (arxiv.org)
2 points by PaulHoule on Apr 8, 2024 | hide | past | pdf | discuss on HN

In plain words: Rather than sending each word to a few big expert blocks, it uses small experts and a cutoff rule so each word touches only the parameters it needs. On language and translation, it cut expert-layer work by over 50% while keeping or improving results.

Abstract · XMoE: Sparse Models with Fine-grained and Adaptive Expert Selection

Sparse models, including sparse Mixture-of-Experts (MoE) models, have emerged as an effective approach for scaling Transformer models. However, they often suffer from computational inefficiency since a significant number of parameters are unnecessarily involved in computations via multiplying values by zero or low activation values. To address this issue, we present \tool, a novel MoE designed to enhance both the efficacy and efficiency of sparse MoE models. \tool leverages small experts and a threshold-based router to enable tokens to selectively engage only essential parameters. Our extensive experiments on language modeling and machine translation tasks demonstrate that \tool can enhance model performance while decreasing the computation load at MoE layers by over 50\% without sacrificing performance. Furthermore, we present the versatility of \tool by applying it to dense models, enabling sparse computation during inference. We provide a comprehensive analysis and make our code available at https://github.com/ysngki/XMoE.

Yuanhang Yang, Shiyi Qi, Wenchao Gu, Chaozheng Wang, Cuiyun Gao, Zenglin Xu
arXiv:2403.18926 · cs.LG, cs.CL · submitted Feb 27, 2024 · updated May 24, 2024
abstract · pdf · html · ACL2024 Findings

add comment on HN