atlas

Research map / Architectures and efficiency / Mixture of experts

MoEUT: Mixture-of-Experts Universal Transformers

NeurIPS 2024 · Architectures and efficiency › Mixture of experts · approach: Sparse MoE as regularization and attention · 2 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 MoEUT, a mixture-of-experts shared-layer Universal Transformer combining sigma-MoE feedforward, SwitchHead attention, layer grouping, and a peri-layernorm scheme, which matches or slightly beats parameter-matched dense Transformers on language modeling at lower compute.

Problem

Universal Transformers share parameters across layers, which cuts parameter count for a given width and makes naive scaling compute-prohibitive, so they have not been competitive on parameter-dominated tasks like language modeling.

Approach

Make the shared layer mixture-of-experts in both feedforward and attention blocks, recurrently stack groups of non-shared MoE layers (layer grouping), and use a peri-layernorm scheme that applies layernorm only before sigmoid/softmax-gated linear layers and leaves the residual path free of norms.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace the dense Transformer with parameter-matched MoEUTTransformer language models · C4, 44M–1040MPPL: 18.97 -> 18.30; 13.40 -> 13.24; 11.15 -> 10.90Helped
replace the dense Transformer with parameter-matched MoEUTTransformer language models · peS2oPPL: 11.46 -> 11.09; 8.55 -> 8.52Helped
replace the dense Transformer with parameter-matched MoEUTTransformer language models · SlimPajama, 1040MPPL: 9.56 -> 9.36Helped
remove ACT (ablation)SUT · C4, 44MPPL: 40.50 -> 21.51Helped
remove ACT (ablation)SUT · C4, 244MPPL: 20.05 -> 14.58Helped
use recurrent layer grouping with group size G=2 instead of G=1 or G=18 (ablation)MoEUT, 244M · C4PPLHelped
stack grouped layers as ABAB instead of AABB (ablation)MoEUT, 244M, G=2 · C4PPLHelped
use peri-layernorm instead of pre-layernorm or post-layernorm (ablation)MoEUT · C4PPL: 11.29 vs 11.32Helped
use peri-layernorm instead of post-layernorm (ablation)MoEUT, 719M · C4PPL: 11.29 perplexity points compared to 11.32Helped
use smaller MLP expert sizes while keeping compute fixed (ablation)MoEUT, 244M · C4PPLHelped
increase the number of active MLP experts (ablation)MoEUT, 244M · C4PPLHelped
replace MoEUT with a non-shared TransformerMoEUT · C4ms/batch: 772 vs 443Helped

Surprising findings

Limitations

Experimental setup

Datasets: C4 SlimPajama peS2o The Stack

Benchmarks: C4 held-out perplexity SlimPajama peS2o The Stack LAMBADA BLiMP Children's Book Test HellaSwag PIQA ARC-E

Metrics: perplexity accuracy MAC operations wall-clock time per batch memory usage

Baselines: dense pre-layernorm Transformer sigma-MoE (non-shared) Sparse Universal Transformer (SUT) Naive UT MoEUT with post-layernorm MoEUT with pre-layernorm

Builds on: sigma-MoE SwitchHead Universal Transformer pre-layernorm post-layernorm

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