A causal decoder pretrained with autoregressive next-token prediction achieves the highest zero-shot accuracy immediately after unsupervised pretraining, yet that ranking flips completely once prompted multitask finetuning is added, where an encoder-decoder trained with masked language modeling wins by a wide margin.
- Pretraining-only winner: Across 168B C4 tokens (~15 petaflops-days per run), a 4.8B-parameter causal decoder (
CD:FLM) scored 44.2% on EleutherAI’s LM Eval Harness (EAI-Eval), beating a non-causal prefix decoder (ND:PLM, 43.5%) and an 11.0B compute-matched encoder-decoder (ED:PLM, 39.9%). - Multitask-finetuned reversal: After 13B tokens of T0 multitask finetuning (
MTF), masked-language-modeling (MLM) architectures took over:ED:MLM + MTFreached 60.6% onT0-Evaland 51.3% onEAI-Eval, vs. 51.4% and 50.4% forCD:FLM + MTF. - Non-causal decoders close the gap: A 4.8B non-causal decoder pretrained with
MLM(ND:MLM + MTF) hit 51.0% onEAI-Evaland 55.2% onT0-Eval, capturing nearly all ofED:MLM’sEAI-Evalgain at half the parameter count and memory footprint. - 3.3x faster adaptation: Switching a 168B-token
CD:FLMmodel’s attention mask to non-causal and running 51B tokens ofMLMadaptation (NC-A) converged 3.3x faster than trainingND:MLMfrom scratch and boostedT0-Evalaccuracy to 54.9%.
Separating Architecture From Objective
Famous language models usually bundle architecture and training objective together: GPT models pair a causal decoder (CD) with full autoregressive language modeling (FLM), while T5 and T0 pair an encoder-decoder (ED) with span-corruption masked language modeling (MLM). Wang and colleagues ran a controlled factorial study across six (architecture, objective) combinations using 832,896 TPUv4 chip-hours on C4.
To match pretraining compute rather than parameter count, decoder-only models (CD and non-causal decoder ND) used 24 layers and 4.8B parameters, while ED used 48 layers (24 encoder + 24 decoder) and 11.0B parameters, incurring roughly 10% extra FLOPs from cross-attention and double the memory footprint. Every pretraining run consumed the same 168B input tokens (sequences of 626 tokens, GEGLU activations, T5 relative biases, Adafactor, and auxiliary z-loss), which inherently exposed different token fractions to the loss: 100% of tokens for FLM, 50% on average for prefix PLM (random split point), and ~18% (15% masked in average length-3 spans) for MLM.
Key Findings: Benchmark Skew and Model Adaptation
Evaluating both EAI-Eval (31 tasks using single GPT-3-style cloze prompts) and T0-Eval (11 tasks averaged over diverse natural-language prompts) uncovered why prior benchmarks disagreed and how teams can avoid training two separate models:
- Task selection drives
EAI-Evaldifferences: Controlling for prompt format showed thatEDmodels held an edge on the 10 sharedT0-Evaldatasets even withEAI-Evalprompts, whereasCDmodels spiked on non-T0 completion tasks like LAMBADA. - Dropout matters during
MTF: Adding 0.1 dropout during the 13B-token T0 finetuning phase improvedT0-Evalaccuracy across every architecture and objective (Appendix E.3), while adding a 4B-token language-modeling adaptation (LM-A) phase beforeMTFat 42B scale did not help and often hurt slightly. - Asymmetric mask adaptation works only within decoders: Switching a
168BND:MLMmodel to causalFLM(LM-A) hit target language-modeling loss in 105B tokens (1.6x speedup over trainingCD:FLMfrom scratch). Going the opposite way (NC-A, converting a168BCD:FLMmodel intoND:MLMfor 51B tokens beforeND:MTF) acceleratedMLMconvergence by 3.3x vs.ND:MLMfrom scratch (9.1x vs.CD:MLM) and reached 52.3%EAI-Evaland 54.9%T0-Evalat 232B total tokens. Simply flippingCD:FLM (219B)to a non-causal mask duringMTFalone withoutMLMadaptation leftT0-Evalflat (52.0% vs. 52.1%). Trying to prune or adapt anED:MLMmodel intoCD:FLMperformed worse than training from scratch.
Caveats and Builder Takeaway
Compute matching equated seen tokens rather than memory: ED models required 2x the RAM of decoder-only models, and the authors did not evaluate few-shot in-context learning, long open-ended generation, or toxicity/bias shifts across architectures. Still, the BigScience group ran this ablation to choose the blueprint for BLOOM, and the tradeoff remains practical under fixed compute budgets and large-scale training regimes.
If your product needs a single base model that prompts well out of the box and adapts easily to downstream instruction tuning, start with a causal decoder trained with FLM (and apply non-causal MLM adaptation only if multitask zero-shot breadth justifies the extra 30% pretraining). Reserve ED:MLM for pipelines committed to supervised multitask or single-task finetuning where 2x parameter memory is acceptable.


