atlas

Research map / Architectures and efficiency / Mixture of experts

Multi-Head Mixture-of-Experts

NeurIPS 2024 · Architectures and efficiency › Mixture of experts · approach: Expert routing and specialization · 6 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 Multi-Head Mixture-of-Experts (MH-MoE), which splits each token into sub-tokens routed to different experts in parallel and merges them back, improving expert activation and fine-grained understanding at similar cost to sparse MoE.

Problem

Sparse Mixture of Experts models suffer from low expert activation (only a small subset of experts receive tokens) and lack fine-grained analysis of multiple semantic concepts within a single token.

Approach

A multi-head layer projects each token, then splits it into h sub-tokens that are routed independently to experts (top-k over sub-tokens), and a merge layer reintegrates them into the original token shape; this increases the number of activated experts per token without extra computation, with the expert inner dimension scaled by beta to match parameters.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace X-MoE with MH-MoEX-MoE · English-focused, multilingual, and masked multi-modal language modelingperplexity: 14.82 -> 12.72; 11.96 -> 10.28; 7.19 -> 6.26; 6.02 -> 5.09; 16.34 -> 14.73; 12.68 -> 10.87Helped
replace X-MoE with MH-MoEX-MoE · English language understanding, 8 and 32 expertsAvg accuracy: 38.7 -> 39.8; 39.1 -> 40.6Helped
replace X-MoE with MH-MoEX-MoE · XNLI, 8 and 32 expertsAvg accuracy: 34.1 -> 34.7; 34.5 -> 35.3Helped
replace X-MoE with MH-MoEX-MoE · VQAv2 test-devVQA score: 68.4 -> 70.1Helped
replace X-MoE with MH-MoEX-MoE · NLVR2 dev and test-Paccuracy: 75.5 -> 77.0; 76.1 -> 77.8Helped
use 6 heads instead of 4 (ablation)MH-MoE · English-focused language modelingperplexity: 12.72 -> 12.41Helped
use 8 or 12 heads instead of 4 (ablation)MH-MoE · English-focused language modelingperplexity: 12.72 -> 12.95; 12.72 -> 13.28Hurt
remove token splitting-merging (TSM) (ablation)MH-MoE · English-focused language modelingperplexity: 12.72 -> 14.77Hurt
remove MLP layers (ablation)MH-MoE · English-focused language modelingperplexity: 12.72 -> 13.97Hurt
add MLP layers without TSM (ablation)Dense and X-MoE · English-focused language modelingperplexity: 16.23 -> 16.40; 14.82 -> 14.77Mixed
use 2 MLP layers instead of 1 (ablation)MH-MoE · English-focused language modelingperplexity: 12.72 -> 12.66Helped
use 3 MLP layers instead of 1 (ablation)MH-MoE · English-focused language modelingperplexity: 12.72 -> 12.87Hurt

Surprising findings

Limitations

Experimental setup

Datasets: RedPajama C4 multilingual Wikipedia ImageNet-21K CC12M CC3M SBU COCO Visual Genome XNLI English Wikipedia BookCorpus

Benchmarks: LLM Evaluation Harness tasks (ARC, RTE, BookQA, Winogrande, PiQA, BoolQ, HellaSwag, TruthfulQA) XNLI VQAv2 NLVR2 COCO Captioning

Metrics: perplexity accuracy accuracy-normalization VQA score BLEU@4 METEOR CIDEr SPICE

Baselines: Dense Transformer X-MoE

Builds on: X-MoE GShard Switch Transformer BEiT v3

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