atlas

Research map / Large language models / Instruction and fine-tuning

Mixture-of-Experts Meets Instruction Tuning: A Winning Combination for Large Language Models

ICLR 2024 · Large language models › Instruction and fine-tuning · approach: Instruction data selection · 20 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.

Shows that instruction tuning (Flan) reverses the weakness of sparse MoE models: Flan-MoE (up to 32B total params, Flan-ST-32B) outperforms dense Flan-PaLM 62B on held-out MMLU/BBH and other benchmarks at about one-third the FLOPs per token.

Problem

Sparse Mixture-of-Experts models often underperform dense models of equal compute when finetuned directly on downstream tasks, and it is unclear whether instruction tuning can make MoE models scale effectively for task-agnostic generalization.

Approach

Instruction-tune sparse MoE encoder-decoder models (Switch, GShard, expert-choice, ST-MoE) on the Flan collection; instruction tuning benefits MoE models more than dense models, so MoE + instruction tuning becomes superior to dense models at equal compute.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
instruction-tune MoE models rather than leaving them without instruction tuningMoE models · Normalized average across MMLU, BBH, reasoning, and QAnormalized average: +45.2%Helped
increase active experts from top-1 token-choice to top-2 token-choice routingFlan-MoE · MMLU Directaccuracy: 38.0% to 39.9%Helped
use expert-choice top-2 routing instead of GShard top-2 token-choice routingFlan-MoE · MMLU and BBH across model scalesaccuracyHelped
freeze the gating function during instruction tuning (ablation)Flan-EC-base · Average across MMLU, BBH, and GSM8Kaverage score: 37.7 -> 38.0Helped
freeze expert modules during instruction tuning (ablation)Flan-EC-base · Average across MMLU, BBH, and GSM8Kaverage score: 37.7 -> 36.2Hurt
freeze MoE parameters during instruction tuning (ablation)Flan-EC-base · Average across MMLU, BBH, and GSM8Kaverage score: 37.7 -> 36.2Hurt
use router Z-loss during instruction tuning (ablation)Flan-EC-base · Average across MMLU, BBH, and GSM8Kaverage score: 37.7 -> 36.8Hurt
use balancing loss during instruction tuning (ablation)Flan-EC-base · Average across MMLU, BBH, and GSM8Kaverage score: 37.7 -> 38.3Helped
freeze the gating function during instruction tuning (ablation)Flan-ST-base · Average across MMLU, BBH, and GSM8Kaverage score: 37.8 -> 38.2Helped
freeze expert modules during instruction tuning (ablation)Flan-ST-base · Average across MMLU, BBH, and GSM8Kaverage score: 37.8 -> 37.3Hurt
freeze MoE parameters during instruction tuning (ablation)Flan-ST-base · Average across MMLU, BBH, and GSM8Kaverage score: 37.8 -> 36.9Hurt
use router Z-loss during instruction tuning (ablation)Flan-ST-base · Average across MMLU, BBH, and GSM8Kaverage score: 37.8 -> 38.1Helped

Surprising findings

Limitations

Experimental setup

Datasets: Flan collection (1,836 tasks: Muffin, T0-SF, NIV2, CoT) GLaM dataset (pretraining for MoE checkpoints)

Benchmarks: MMLU BBH GSM8K SVAMP ASDIV StrategyQA UnifiedQA AI2 science BoolQ ARC-easy ARC-challenge TyDiQA MGSM

Metrics: few-shot exact-match accuracy normalized average

Baselines: Flan-T5 Flan-PaLM PaLM T5 Flan-Switch Flan-GS Flan-EC

Builds on: Switch Transformer ST-MoE Flan instruction tuning GShard expert-choice 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