HyperMoE: Towards Better Mixture of Experts via Transferring Among Experts

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Zhao, Hao, Qiu, Zihan, Wu, Huijia, Wang, Zili, He, Zhaofeng, Fu, Jie
Natura: Preprint
Pubblicazione: 2024
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866913444322607104
author Zhao, Hao
Qiu, Zihan
Wu, Huijia
Wang, Zili
He, Zhaofeng
Fu, Jie
author_facet Zhao, Hao
Qiu, Zihan
Wu, Huijia
Wang, Zili
He, Zhaofeng
Fu, Jie
contents The Mixture of Experts (MoE) for language models has been proven effective in augmenting the capacity of models by dynamically routing each input token to a specific subset of experts for processing. Despite the success, most existing methods face a challenge for balance between sparsity and the availability of expert knowledge: enhancing performance through increased use of expert knowledge often results in diminishing sparsity during expert selection. To mitigate this contradiction, we propose HyperMoE, a novel MoE framework built upon Hypernetworks. This framework integrates the computational processes of MoE with the concept of knowledge transferring in multi-task learning. Specific modules generated based on the information of unselected experts serve as supplementary information, which allows the knowledge of experts not selected to be used while maintaining selection sparsity. Our comprehensive empirical evaluations across multiple datasets and backbones establish that HyperMoE significantly outperforms existing MoE methods under identical conditions concerning the number of experts.
format Preprint
id arxiv_https___arxiv_org_abs_2402_12656
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle HyperMoE: Towards Better Mixture of Experts via Transferring Among Experts
Zhao, Hao
Qiu, Zihan
Wu, Huijia
Wang, Zili
He, Zhaofeng
Fu, Jie
Machine Learning
Artificial Intelligence
The Mixture of Experts (MoE) for language models has been proven effective in augmenting the capacity of models by dynamically routing each input token to a specific subset of experts for processing. Despite the success, most existing methods face a challenge for balance between sparsity and the availability of expert knowledge: enhancing performance through increased use of expert knowledge often results in diminishing sparsity during expert selection. To mitigate this contradiction, we propose HyperMoE, a novel MoE framework built upon Hypernetworks. This framework integrates the computational processes of MoE with the concept of knowledge transferring in multi-task learning. Specific modules generated based on the information of unselected experts serve as supplementary information, which allows the knowledge of experts not selected to be used while maintaining selection sparsity. Our comprehensive empirical evaluations across multiple datasets and backbones establish that HyperMoE significantly outperforms existing MoE methods under identical conditions concerning the number of experts.
title HyperMoE: Towards Better Mixture of Experts via Transferring Among Experts
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2402.12656