[Paper Review] UL2: Unifying Language Learning Paradigms
UL2 proposes a unified pre-training framework with Mixture-of-Denoisers (MoD) and mode switching to achieve universal performance across diverse NLP tasks, outperforming T5 and GPT-like models at scale up to 20B parameters.
Existing pre-trained models are generally geared towards a particular class of problems. To date, there seems to be still no consensus on what the right architecture and pre-training setup should be. This paper presents a unified framework for pre-training models that are universally effective across datasets and setups. We begin by disentangling architectural archetypes with pre-training objectives -- two concepts that are commonly conflated. Next, we present a generalized & unified perspective for self-supervision in NLP and show how different pre-training objectives can be cast as one another and how interpolating between different objectives can be effective. We then propose Mixture-of-Denoisers (MoD), a pre-training objective that combines diverse pre-training paradigms together. We furthermore introduce a notion of mode switching, wherein downstream fine-tuning is associated with specific pre-training schemes. We conduct extensive ablative experiments to compare multiple pre-training objectives and find that our method pushes the Pareto-frontier by outperforming T5 & GPT-like models across multiple diverse setups. By scaling our model up to 20B parameters, we achieve SOTA performance on 50 well-established supervised finetuning based NLP tasks. Our model also achieve strong results at in-context learning, outperforming 175B GPT-3 on zero-shot SuperGLUE and tripling the performance of T5-XXL on one-shot summarization. On 0-shot MMLU, UL2 20B outperforms T0 and T5 models. UL2 20B also works well with chain-of-thought prompting and reasoning, making it an appealing choice for research into reasoning at a small to medium scale of 20B parameters. Finally, we apply FLAN instruction tuning to the UL2 20B model, achieving MMLU and Big-Bench scores competitive to FLAN-PaLM 62B. We release Flax-based T5X checkpoints for the UL2 20B & Flan-UL2 20B.
Motivation & Objective
- Motivate the need for a universally effective pre-trained language model that performs well across varied downstream tasks and setups.
- Disentangle architectural choices from pre-training objectives to show objective design is more impactful than backbone architecture.
- Introduce Mixture-of-Denoisers (MoD) to blend diverse denoising objectives and enable strong cross-task transfer.
- Present mode switching to tie downstream fine-tuning to specific pre-training schemes and enhance adaptability.
- Demonstrate scalability to 20B parameters achieving SOTA on a broad suite of tasks and favorable zero-/few-shot performance.
Proposed method
- Define a unified input-to-target denoising formulation that encompasses causal LM, Prefix LM, and span corruption as special cases.
- Introduce Mixture-of-Denoisers (R-Denoiser, S-Denoiser, X-Denoiser) and configure a 7-denoiser mixture to train a universal model.
- Incorporate mode switching via sentinel tokens to dynamically select among R, S, and X denoisers during pre-training and downstream tasks.
- Maintain architecture-agnostic stance by supporting both decoder-only and encoder-decoder backbones while keeping a T5-like Transformer backbone.
- Pre-train on 32B tokens with 500k steps using C4 data, evaluate on 50+ tasks including SuperGLUE, GEM, XSUM, ToTTo, and SGD, and compare against baselines (GPT-like, T5, UniLM).
- Scale up to ~20B parameters and assess effects on supervised finetuning, prompt-based learning, chain-of-thought prompting, and FLAN-style instruction tuning.
Experimental results
Research questions
- RQ1Can a single pre-training objective and architecture yield competitive performance across both discriminative fine-tuning and prompt-based generation tasks?
- RQ2How do different denoising objectives complement each other, and does a mixture (MoD) outperform standard single-objective pre-training?
- RQ3Does mode switching effectively align downstream fine-tuning with appropriate pre-training schemes to improve performance across tasks?
- RQ4What are the performance gains when scaling UL2 to 20B parameters on a broad NLP benchmark suite?
- RQ5How does UL2 fare in zero-/few-shot settings and with instruction tuning compared to state-of-the-art models?
Key findings
- UL2 outperforms T5-like and GPT-like baselines on 9/9 tasks in supervised and one-shot settings.
- MoD and mode switching enable a Pareto-efficient balance between zero-shot and fine-tuned performance.
- At ~20B parameters, UL2 achieves SOTA on a wide range of tasks spanning generation, understanding, reasoning, grounding, and retrieval.
- UL2 zero-shot SuperGLUE surpasses GPT-175B in zero-shot performance; one-shot summarization matches or exceeds PaLM/LaMDA at similar compute.
- UL2 with FLAN instruction tuning yields MMLU and Big-Bench results competitive with FLAN-PaLM 62B; chain-of-thought prompting is effective at 20B scale.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.