atlas

Research map / Architectures and efficiency / Mixture of experts

From Sparse to Soft Mixtures of Experts

ICLR 2024 · Architectures and efficiency › Mixture of experts · approach: Expert routing and specialization · 25 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 Soft MoE, a fully differentiable sparse Transformer MoE that routes soft-mixed slots (weighted averages of all tokens) to experts, evaluated on JFT-pretrained vision transformers against ViT and sparse MoEs.

Problem

Sparse MoEs rely on discrete token-to-expert assignment, causing training instability, token dropping, expert imbalance, and difficulty scaling experts or finetuning.

Approach

Replace hard token-expert routing with soft assignment: each expert slot is a learned convex combination of all input tokens (dispatch weights), and each output token is a convex combination of all expert output slots (combine weights), keeping everything differentiable and avoiding sort/top-k operations.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace the second half of ViT S/16 MLP blocks with Soft MoE layersViT S/16 · JFT-4Bprecision-at-1: 51.3 -> 58.1Helped
Replace the second half of ViT S/16 MLP blocks with Soft MoE layersViT S/16 · ImageNet-1k 10-shotaccuracy: 67.6 -> 78.8Helped
Replace the second half of ViT S/16 MLP blocks with Soft MoE layersViT S/16 · ImageNet-1k finetuneaccuracy: 84.0 -> 86.8Helped
Replace the second half of ViT L/16 MLP blocks with Soft MoE layersViT L/16 · JFT-4Bprecision-at-1: 59.8 -> 61.3Helped
Replace the second half of ViT L/16 MLP blocks with Soft MoE layersViT L/16 · ImageNet-1k 10-shotaccuracy: 81.5 -> 83.7Helped
Replace the second half of ViT L/16 MLP blocks with Soft MoE layersViT L/16 · ImageNet-1k finetuneaccuracy: 88.5 -> 88.9Helped
Average expert outputs uniformly instead of learning combine weights (ablation)Soft MoE S/14 256E · JFT-4Bprecision-at-1: 54.3% -> 53.6%Hurt
Average expert outputs uniformly instead of learning combine weights (ablation)Soft MoE S/14 256E · ImageNet-1k 10-shotaccuracy: 74.8% -> 72.0%Hurt
Average input tokens uniformly instead of learning dispatch weights (ablation)Soft MoE S/14 256E · JFT-4Bprecision-at-1: 54.3% -> 52.6%Hurt
Average input tokens uniformly instead of learning dispatch weights (ablation)Soft MoE S/14 256E · ImageNet-1k 10-shotaccuracy: 74.8% -> 71.8%Hurt
Use uniform averaging for both dispatch and combine (ablation)Soft MoE S/14 256E · JFT-4Bprecision-at-1: 54.3% -> 51.8%Hurt
Route tokens to experts in identity order without mixing (ablation)Soft MoE S/14 256E · ImageNet-1k 10-shotaccuracy: 74.8% -> 69.1%Hurt

Surprising findings

Limitations

Experimental setup

Datasets: JFT-4B WebLI LAION-400M ImageNet-1k Cifar-100 Pets COCO

Benchmarks: JFT-4B precision-at-1 ImageNet 10-shot ImageNet finetuning ImageNet zero-shot Cifar-100 zero-shot Pets zero-shot COCO retrieval

Metrics: precision-at-1 10-shot accuracy finetune accuracy zero-shot accuracy recall TPU-v3 training time inference ms/img GFLOPs

Baselines: ViT Tokens Choice (V-MoE top-K) Experts Choice Batch Priority Routing LIT

Builds on: Vision Transformer V-MoE Expert Choice routing Batch Priority Routing

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