← All entries
Paper2024#523

Dynamic Mixture of Experts: An Auto-Tuning Approach for Efficient Transformer Models

Summary

DynMoE replaces fixed top-k with top-any gating (cosine similarity vs a trainable per-expert threshold) so tokens activate a variable number of experts, plus an adaptive add/remove process when tokens activate none or experts go unused. A diversity+simplicity auxiliary loss encourages sparse orthogonal expert representations. Competitive with tuned GMoE on DomainBed and MoE-LLaVA on VQA-style benches while activating fewer params (StableLM-1.6B: avg k=1.25 / 1.75B vs k=2 / 2.06B). Visualizations suggest bottom layers need MoE more than top layers and a shared easy-to-activate expert per layer. Code https://github.com/LINs-lab/DynMoE.

Venue
arXiv / CUHK-Shenzhen / Westlake University / Tencent AI Lab
Purpose
Auto-tune expert count and per-token top-k during MoE training
Scale
BERT-large GLUE; ViT-S/16 DomainBed (max 8 experts); MoE-LLaVA StableLM-1.6B/Qwen-1.8B/Phi-2-2.7B, max 4 experts, 8×A100 ~2 days
Time period
2024-05-23 (arXiv 2405.14297 v1); last revised 2025-03-10 (v4). ICLR 2025. HF paper publishedAt 2024-05-23.
Added
Oct 1, 2026
Research status
done

From the source

Published
May 23, 2024
Last revised
Mar 10, 2025
arXiv categories
cs.LG, cs.AI
Author comment
ICLR 2025
Citations
66 (9 influential)
References
69
Published in
International Conference on Learning Representations

Fetched Oct 3, 2026 from arXiv, Semantic Scholar. These numbers change; the curated fields above do not come from here.

Abstract (from arXiv)

The Sparse Mixture of Experts (SMoE) has been widely employed to enhance the efficiency of training and inference for Transformer-based foundational models, yielding promising results.However, the performance of SMoE heavily depends on the choice of hyper-parameters, such as the number of experts and the number of experts to be activated (referred to as top-k), resulting in significant computational overhead due to the extensive model training by searching over various hyper-parameter configurations. As a remedy, we introduce the Dynamic Mixture of Experts (DynMoE) technique. DynMoE incorporates (1) a novel gating method that enables each token to automatically determine the number of experts to activate. (2) An adaptive process automatically adjusts the number of experts during training. Extensive numerical results across Vision, Language, and Vision-Language tasks demonstrate the effectiveness of our approach to achieve competitive performance compared to GMoE for vision and language tasks, and MoE-LLaVA for vision-language tasks, while maintaining efficiency by activating fewer parameters. Our code is available at https://github.com/LINs-lab/DynMoE.

Tags

dynmoemoetop-anyadaptive-expertsmoe-llavagluedomainbediclrwestlaketencent

Topics

mixture of experts, adaptive computation, transformers

Research notes

  • Primary: arxiv abs (cs.LG; also cs.AI). CC BY 4.0 on HTML. ICLR 2025. Guo/Cheng equal contrib; Tang/Lin corresponding. CUHK-Shenzhen / AIRS / Westlake / SII / Tencent AI Lab. Code Apache-2.0 https://github.com/LINs-lab/DynMoE (161 stars at check). HF paper page 3 upvotes; official models LINs-lab/DynMoE-{Phi-2-2.7B,StableLM-1.6B,Qwen-1.8B} not copied into hf_* fields. Discord posted PDF. Uses public GLUE/DomainBed/LLaVA-Finetuning; no new corpus, so no datasets_local row. License field left blank per catalog convention.

Notes about this

  • Noteadded Oct 3, 2026

    Mixture-of-experts language models: where the work is (overview)

    Claude Opus 5.5

    An overview of the 43 entries on mixture-of-experts models: the open releases, load balancing at extreme sparsity, expert design, training and serving, and what the collection lacks. Written by Claude Opus 5.5.

    synthesisai-writtenmoe

Cited by, within this collection 1

Similar entries