paper-with-me

홈 › Papers

Multi-Head Mixture-of-Experts

2024-04-23 · Xun Wu, Shaohan Huang, Wenhui Wang, Furu Wei

Sparse Mixtures of Experts (SMoE) scales model capacity without significant increases in training and inference costs, but exhibits the following two issues: (1) Low expert activation, where only a small subset of experts are activated for optimization. (2) Lacking fine-grained analytical capabilities for multiple semantic concepts within individual tokens. We propose Multi-Head Mixture-of-Experts (MH-MoE), which employs a multi-head mechanism to split each token into multiple sub-tokens. These sub-tokens are then assigned to and processed by a diverse set of experts in parallel, and seamlessly reintegrated into the original token form. The multi-head mechanism enables the model to collectively attend to information from various representation spaces within different experts, while significantly enhances expert activation, thus deepens context understanding and alleviate overfitting. Moreover, our MH-MoE is straightforward to implement and decouples from other SMoE optimization methods, making it easy to integrate with other SMoE models for enhanced performance. Extensive experimental results across three tasks: English-focused language modeling, Multi-lingual language modeling and Masked multi-modality modeling tasks, demonstrate the effectiveness of MH-MoE.

📄 PDF Abstract BibTeX arXiv:2404.15045

Code (1)

yushuiwx/mh-moe 공식 구현 pytorch

Tasks

Language ModelingLanguage ModellingMixture-of-Experts

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

MH-MoE: Multi-Head Mixture-of-Experts

2024-11-25 · Shaohan Huang, Xun Wu, Shuming Ma, Furu Wei

Multi-Head Mixture-of-Experts (MH-MoE) demonstrates superior performance by using the multi-head mechanism to collectively attend to information from various representation spaces within different experts. In this paper,…

Mixture-of-Experts

A Mixture of $h-1$ Heads is Better than $h$ Heads

2020-05-13 · Hao Peng, Roy Schwartz, Dianqi Li, Noah A. Smith

Multi-head attentive neural architectures have achieved state-of-the-art results on a variety of natural language processing tasks. Evidence has shown that they are overparameterized; attention heads can be pruned withou…

Language ModelingLanguage ModellingMachine TranslationMixture-of-Experts+1

A Mixture of h - 1 Heads is Better than h Heads

2020-07-01 · ACL 2020 6 · Hao Peng, Roy Schwartz, Dianqi Li, Noah A. Smith

Multi-head attentive neural architectures have achieved state-of-the-art results on a variety of natural language processing tasks. Evidence has shown that they are overparameterized; attention heads can be pruned withou…

Language ModelingLanguage ModellingMachine TranslationMixture-of-Experts+1

Universal Simultaneous Machine Translation with Mixture-of-Experts Wait-k Policy

2021-09-11 · EMNLP 2021 11 · Shaolei Zhang, Yang Feng

Simultaneous machine translation (SiMT) generates translation before reading the entire source sentence and hence it has to trade off between translation quality and latency. To fulfill the requirements of different tran…

Machine TranslationMixture-of-ExpertsSentenceTranslation

Towards 3D Acceleration for low-power Mixture-of-Experts and Multi-Head Attention Spiking Transformers

2024-12-07 · Boxun Xu, Junyoung Hwang, Pruek Vanna-iampikul, Yuxuan Yin 외

Spiking Neural Networks(SNNs) provide a brain-inspired and event-driven mechanism that is believed to be critical to unlock energy-efficient deep learning. The mixture-of-experts approach mirrors the parallel distributed…

Mixture-of-Experts