paper-with-me

Papers

MomentumSMoE: Integrating Momentum into Sparse Mixture of Experts

2024-10-18 · Rachel S. Y. Teo, Tan M. Nguyen

Sparse Mixture of Experts (SMoE) has become the key to unlocking unparalleled scalability in deep learning. SMoE has the potential to exponentially increase parameter count while maintaining the efficiency of the model by only activating a small subset of these parameters for a given sample. However, it has been observed that SMoE suffers from unstable training and has difficulty adapting to new distributions, leading to the model's lack of robustness to data contamination. To overcome these limitations, we first establish a connection between the dynamics of the expert representations in SMoEs and gradient descent on a multi-objective optimization problem. Leveraging our framework, we then integrate momentum into SMoE and propose a new family of SMoEs named MomentumSMoE. We theoretically prove and numerically demonstrate that MomentumSMoE is more stable and robust than SMoE. In particular, we verify the advantages of MomentumSMoE over SMoE on a variety of practical tasks including ImageNet-1K object recognition and WikiText-103 language modeling. We demonstrate the applicability of MomentumSMoE to many types of SMoE models, including those in the Sparse MoE model for vision (V-MoE) and the Generalist Language Model (GLaM). We also show that other advanced momentum-based optimization methods, such as Adam, can be easily incorporated into the MomentumSMoE framework for designing new SMoE models with even better performance, almost negligible additional computation cost, and simple implementations.

📄 PDF Abstract BibTeX arXiv:2410.14574

Code (1)

rachtsy/momentumsmoe 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingMixture-of-ExpertsObject Recognition

Methods 이 논문이 사용한 방법론

Adam 설명 없음
MoE 설명 없음

Similar Papers 제목 키워드 기반

Expert Merging in Sparse Mixture of Experts with Nash Bargaining

2025-10-17 · Dung V. Nguyen, Anh T. Nguyen, Minh H. Nguyen, Luc Q. Nguyen 외 arxiv

Existing expert merging strategies for Sparse Mixture of Experts (SMoE) typically rely on input-dependent or input-independent averaging of expert parameters, but often lack a principled weighting mechanism. In this work…

Image ClassificationText ClassificationLanguage Modelling

How Does Momentum Benefit Deep Neural Networks Architecture Design? A Few Case Studies

2021-10-13 · Bao Wang, Hedi Xia, Tan Nguyen, Stanley Osher

We present and review an algorithmic and theoretical framework for improving neural network architecture design via momentum. As case studies, we consider how momentum can improve the architecture design for recurrent ne…

Computational Efficiency

Scaling and Enhancing LLM-based AVSR: A Sparse Mixture of Projectors Approach

2025-05-20 · Umberto Cappellazzo, Minsu Kim, Stavros Petridis, Daniele Falavigna 외

Audio-Visual Speech Recognition (AVSR) enhances robustness in noisy environments by integrating visual cues. While recent advances integrate Large Language Models (LLMs) into AVSR, their high computational cost hinders d…

Audio-Visual Speech RecognitionMixture-of-Expertsspeech-recognitionSpeech Recognition+1

Sparse Networks from Scratch: Faster Training without Losing Performance

2019-07-10 · ICLR 2020 1 · Tim Dettmers, Luke Zettlemoyer

We demonstrate the possibility of what we call sparse learning: accelerated training of deep neural networks that maintain sparse weights throughout training while achieving dense performance levels. We accomplish this b…

Image ClassificationSparse Learning

MomentumRNN: Integrating Momentum into Recurrent Neural Networks

2020-06-12 · NeurIPS 2020 12 · Tan M. Nguyen, Richard G. Baraniuk, Andrea L. Bertozzi, Stanley J. Osher 외

Designing deep neural networks is an art that often involves an expensive search over candidate architectures. To overcome this for recurrent neural nets (RNNs), we establish a connection between the hidden state dynamic…