paper-with-me

홈 › Papers

Dense Training, Sparse Inference: Rethinking Training of Mixture-of-Experts Language Models

2024-04-08 · Bowen Pan, Yikang Shen, Haokun Liu, Mayank Mishra, Gaoyuan Zhang, Aude Oliva, Colin Raffel, Rameswar Panda

Mixture-of-Experts (MoE) language models can reduce computational costs by 2-4$\times$ compared to dense models without sacrificing performance, making them more efficient in computation-bounded scenarios. However, MoE models generally require 2-4$\times$ times more parameters to achieve comparable performance to a dense model, which incurs larger GPU memory requirements and makes MoE models less efficient in I/O-bounded scenarios like autoregressive generation. In this work, we propose a hybrid dense training and sparse inference framework for MoE models (DS-MoE) which achieves strong computation and parameter efficiency by employing dense computation across all experts during training and sparse computation during inference. Our experiments on training LLMs demonstrate that our DS-MoE models are more parameter-efficient than standard sparse MoEs and are on par with dense models in terms of total parameter size and performance while being computationally cheaper (activating 30-40% of the model's parameters). Performance tests using vLLM show that our DS-MoE-6B model runs up to $1.86\times$ faster than similar dense models like Mistral-7B, and between $1.50\times$ and $1.71\times$ faster than comparable MoEs, such as DeepSeekMoE-16B and Qwen1.5-MoE-A2.7B.

📄 PDF Abstract BibTeX arXiv:2404.05567

Code (0)

등록된 구현이 없습니다.

Tasks

GPUMixture-of-Experts

Methods 이 논문이 사용한 방법론

MoE 설명 없음

Similar Papers 제목 키워드 기반

Rethinking Anticipation Tasks: Uncertainty-aware Anticipation of Sparse Surgical Instrument Usage for Context-aware Assistance

2020-07-01 · Dominik Rivoir, Sebastian Bodenstedt, Isabel Funke, Felix von Bechtolsheim 외

Intra-operative anticipation of instrument usage is a necessary component for context-aware assistance in surgery, e.g. for instrument preparation or semi-automation of robotic tasks. However, the sparsity of instrument …

Accurate Neural Network Pruning Requires Rethinking Sparse Optimization

2023-08-03 · Denis Kuznedelev, Eldar Kurtic, Eugenia Iofinova, Elias Frantar 외

Obtaining versions of deep neural networks that are both highly-accurate and highly-sparse is one of the main challenges in the area of model compression, and several high-performance pruning techniques have been investi…

Model CompressionNetwork PruningStochastic Optimization

Rethinking the Role of Dynamic Sparse Training for Scalable Deep Reinforcement Learning

2025-10-14 · Guozheng Ma, Lu Li, Zilin Wang, Haoyu Wang 외 arxiv

Scaling neural networks has driven breakthrough advances in machine learning, yet this paradigm fails in deep reinforcement learning (DRL), where larger models often degrade performance due to unique optimization patholo…

Reinforcement Learning

Exploring the Benefit of Activation Sparsity in Pre-training

2024-10-04 · Zhengyan Zhang, Chaojun Xiao, Qiujieli Qin, Yankai Lin 외

Pre-trained Transformers inherently possess the characteristic of sparse activation, where only a small fraction of the neurons are activated for each token. While sparse activation has been explored through post-trainin…

Training Bayesian Neural Networks with Sparse Subspace Variational Inference

2024-02-16 · Junbo Li, Zichen Miao, Qiang Qiu, Ruqi Zhang

Bayesian neural networks (BNNs) offer uncertainty quantification but come with the downside of substantially increased training and inference costs. Sparse BNNs have been investigated for efficient inference, typically b…

Uncertainty QuantificationVariational Inference