Papers › HyperMoE: Towards Better Mixture of Experts via Transferring Among Experts

HyperMoE: Towards Better Mixture of Experts via Transferring Among Experts

20 Feb 2024arXiv:2402.12656archive 2025-07-28

Hao Zhao, Zihan Qiu, Huijia Wu, Zili Wang, Zhaofeng He, Jie Fu

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.12656")

Code

Syntology Ran 12 of 18 code samples harvested from 2 repositories linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · our draft was wrong; 11 ran with no contract checked.

By repository: official repository: 14 samples from 1 repository, 9 ran; found in paper text by Syntology: 4 samples from 1 repository, 3 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

bumble666/hypermoe_early_version officialmentioned in papermentioned on GitHubjaxApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

18 samples harvested; 12 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
11ran
6unverified

Licence: 0 of the 18 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

booleans_processing bumble666/hypermoe_early_version/gpt-2-moe/transformers/modeling_tf_utils.py official repository ran Apache-2.0 (permissive) · 743ceb9025a7955d · report
convert_pytorch_state_dict_to_flax bumble666/hypermoe_early_version/gpt-2-moe/transformers/modeling_flax_pytorch_utils.py official repository ran Apache-2.0 (permissive) · 5168a172bbb363a5 · report
dummy_loss bumble666/hypermoe_early_version/gpt-2-moe/transformers/modeling_tf_utils.py official repository ran Apache-2.0 (permissive) · 3c1eb64dde6b86af · report
get_imports bumble666/hypermoe_early_version/gpt-2-moe/transformers/dynamic_module_utils.py official repository ran Apache-2.0 (permissive) · ccaa0edba373622c · report
infer_metric_tags_from_eval_results bumble666/hypermoe_early_version/gpt-2-moe/transformers/modelcard.py official repository ran Apache-2.0 (permissive) · dd8f7751ef859581 · report
keras_serializable bumble666/hypermoe_early_version/gpt-2-moe/transformers/modeling_tf_utils.py official repository ran Apache-2.0 (permissive) · 6a3959a0ffd36577 · report
parse_keras_history bumble666/hypermoe_early_version/gpt-2-moe/transformers/modelcard.py official repository ran Apache-2.0 (permissive) · a4491b45d19b7a39 · report
quick_gelu bumble666/hypermoe_early_version/gpt-2-moe/transformers/modeling_flax_utils.py official repository ran fingerprinted Apache-2.0 (permissive) · a66d2b78670c85e1 · report
rename_key_and_reshape_tensor bumble666/hypermoe_early_version/gpt-2-moe/transformers/modeling_flax_pytorch_utils.py official repository ran Apache-2.0 (permissive) · 61779b0406a59cfc · report
dtype_byte_size bumble666/hypermoe_early_version/gpt-2-moe/transformers/modeling_flax_utils.py official repository unverified Apache-2.0 (permissive) · 9d98806acb3144b7 · report
flax_shard_checkpoint bumble666/hypermoe_early_version/gpt-2-moe/transformers/modeling_flax_utils.py official repository unverified Apache-2.0 (permissive) · e3ce70ca9258800e · report
get_relative_import_files bumble666/hypermoe_early_version/gpt-2-moe/transformers/dynamic_module_utils.py official repository unverified Apache-2.0 (permissive) · 00cc853a73f3aeb6 · report
get_relative_imports bumble666/hypermoe_early_version/gpt-2-moe/transformers/dynamic_module_utils.py official repository unverified Apache-2.0 (permissive) · 450aeffe7f80f917 · report
is_hf_dataset bumble666/hypermoe_early_version/gpt-2-moe/transformers/modelcard.py official repository unverified Apache-2.0 (permissive) · ec7b1528a936234d · report
AdapterLayer Bumble666/Hyper_MoE/gpt-2-moe/transformers/models/layers.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 7fa2bef8aa39823f · report
SparseDispatcher Bumble666/Hyper_MoE/gpt-2-moe/transformers/models/layers.py found in paper text by Syntology ran Apache-2.0 (permissive) · 3e2fbf364e529352 · report
noisy_top_k_gating_mixing Bumble666/Hyper_MoE/gpt-2-moe/transformers/models/layers.py found in paper text by Syntology ran · our draft was wrong Apache-2.0 (permissive) · 7e4c76ff93dbad95 · report
MoE Bumble666/Hyper_MoE/gpt-2-moe/transformers/models/layers.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 89f7e4ccbdd62673 · report

Tasks

Mixture-of-ExpertsMulti-Task Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections