atlas

Research map / Architectures and efficiency / Mixture of experts

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

ICLR 2025 · Architectures and efficiency › Mixture of experts · approach: Expert routing and specialization · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes DynMoE, which uses a top-any sigmoid-threshold gating with per-expert thresholds and an adaptive process that adds and removes experts during training, removing the need to tune the number of experts and top-k.

Problem

Sparse Mixture of Experts performance depends heavily on hyper-parameters (number of experts K and top-k), making tuning costly; existing fixes either need extra hyperparameters (top-p) or dense warm-up.

Approach

Treat gating as multi-label classification: each token independently activates any subset of experts via cosine similarity against learnable per-expert thresholds (sign function with straight-through gradient), while experts are added when tokens activate none and removed when unused; a diversity-and-simplicity auxiliary loss encourages sparsity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use dynamic expert count and top-any gating instead of fixed top-k MoEBERT-large MoE · GLUE averagescore: 81.77 -> 81.64No clear effect
Use dynamic expert count and top-any gating instead of fixed top-2 routingMoE-LLaVA with StableLM-1.6B · VQA-v2score: 76.7 -> 77.4Helped
Use dynamic expert count and top-any gating instead of fixed top-2 routingMoE-LLaVA with Qwen-1.8B · VQA-v2score: 76.2 -> 76.4No clear effect
Use dynamic expert count and top-any gating instead of fixed top-2 routingMoE-LLaVA with Phi-2-2.7B · VQA-v2score: 77.6 -> 77.9Helped
Add load-balance loss (ablation)DynMoE with StableLM-1.6B · VQA-v2score: 77.4 -> 77.1Hurt
Add efficiency loss on top of load-balance loss (ablation)DynMoE with StableLM-1.6B · VQA-v2score: 77.1 -> 77.1No clear effect
Weight expert-output averaging by gating scores (ablation)DynMoE-LLaVA with StableLM-1.6B · VQA-v2score: 77.4 -> 73.9Hurt
Weight expert-output averaging by gating scores (ablation)DynMoE-LLaVA with StableLM-1.6B · MMEscore: 1300.9 -> 1176.8Hurt
Initialize new experts by averaging existing expert parameters (ablation)DynMoE with ViT-S · TinyImageNet fine-tuning, E20accuracy: 86.70 -> 86.75Helped
Initialize new experts by weighted averaging existing expert parameters (ablation)DynMoE with ViT-S · CIFAR-10 pretraining, epoch 500accuracy: 83.57 -> 82.01Hurt
Initialize new experts from the most frequently activated expert (ablation)DynMoE with ViT-S · CIFAR-10 pretraining, epoch 500accuracy: 83.57 -> 80.58Hurt

Surprising findings

Limitations

Experimental setup

Datasets: GLUE DomainBed PACS VLCS OfficeHome DomainNet ImageNet CIFAR-10 Tiny-ImageNet LLaVA-Finetuning

Benchmarks: GLUE DomainBed VQA-v2 GQA VisWiz ScienceQA-IMG TextVQA POPE MME MMBench LLaVA-Bench (in-the-Wild) MM-Vet

Metrics: accuracy activated parameters throughput latency FLOPs memory

Baselines: GMoE MoE-LLaVA top-p gating DeepSpeed-MoE LLaVA-1.5

Builds on: GMoE MoE-LLaVA MoEfication GShard auxiliary loss

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy