[Paper Review] Transcending Scaling Laws with 0.1% Extra Compute
This paper proposes UL2R, a method that improves large language models by continuing pretraining with a mixture of denoising objectives using only 0.1% extra compute. By fine-tuning PaLM with UL2's objective, the resulting U-PaLM models achieve significantly better scaling laws, enabling 2x computational efficiency at 540B parameters and unlocking emergent abilities at smaller scales, such as 62B and 8B, on challenging BIG-Bench tasks.
Scaling language models improves performance but comes with significant computational costs. This paper proposes UL2R, a method that substantially improves existing language models and their scaling curves with a relatively tiny amount of extra compute. The key idea is to continue training a state-of-the-art large language model (e.g., PaLM) on a few more steps with UL2's mixture-of-denoiser objective. We show that, with almost negligible extra computational costs and no new sources of data, we are able to substantially improve the scaling properties of large language models on downstream metrics. In this paper, we continue training PaLM with UL2R, introducing a new set of models at 8B, 62B, and 540B scale which we call U-PaLM. Impressively, at 540B scale, we show an approximately 2x computational savings rate where U-PaLM achieves the same performance as the final PaLM 540B model at around half its computational budget (i.e., saving $\sim$4.4 million TPUv4 hours). We further show that this improved scaling curve leads to 'emergent abilities' on challenging BIG-Bench tasks -- for instance, U-PaLM does much better than PaLM on some tasks or demonstrates better quality at much smaller scale (62B as opposed to 540B). Overall, we show that U-PaLM outperforms PaLM on many few-shot setups, i.e., English NLP tasks (e.g., commonsense reasoning, question answering), reasoning tasks with chain-of-thought (e.g., GSM8K), multilingual tasks (MGSM, TydiQA), MMLU and challenging BIG-Bench tasks. Finally, we provide qualitative examples showing the new capabilities of U-PaLM for single and multi-span infilling.
Motivation & Objective
- To improve the scaling laws of large language models with minimal additional computational cost.
- To enable emergent capabilities in large language models without increasing model size or data.
- To extend PaLM's functionality with new prompting modes, such as multi-span infilling, using only a small amount of additional training.
- To demonstrate that diverse pretraining objectives can lead to improved performance and new capabilities beyond standard causal language modeling.
Proposed method
- Continue pretraining a state-of-the-art causal language model (PaLM) using UL2's mixture-of-denoiser objective, which combines prefix language modeling and span corruption (infilling) tasks.
- Use mode-specific tokens ([NLU], [NLG], [S2S]) during inference to control the model’s behavior, enabling different prompting modes.
- Train with a combination of denoising objectives: R-denoisers (span corruption), X-denoisers (span corruption with different span patterns), and S-denoisers (prefix language modeling).
- Introduce an extra ID token for infilling during inference, allowing the model to fill in multiple spans in a single prompt.
- Apply the UL2 objective to PaLM checkpoints with minimal additional FLOPs (~0.1% of original training), preserving model weights and requiring no new data.
- Enable bidirectional attention and infilling capabilities by incorporating PrefixLM and span corruption objectives into the pretraining regime.
Experimental results
Research questions
- RQ1Can a small amount of additional compute significantly improve the scaling behavior of large language models?
- RQ2Can a mixture of denoising objectives unlock emergent abilities in models that previously showed no performance gains until much larger scale?
- RQ3Does continued pretraining with diverse objectives like infilling and prefix modeling improve downstream few-shot performance across NLP, reasoning, and multilingual tasks?
- RQ4Can a single model support multiple prompting modes (e.g., infilling, NLU, NLG) without architectural changes, using only mode tokens and extra ID tokens?
- RQ5To what extent can a model trained with causal language modeling be enhanced to support bidirectional and multi-span generation with minimal compute?
Key findings
- U-PaLM achieves the same performance as PaLM 540B at approximately half the computational budget, saving ~4.4 million TPUv4 hours.
- At 540B scale, U-PaLM demonstrates a 2x improvement in computational efficiency, effectively doubling the performance per FLOP.
- On emergent BIG-Bench tasks, U-PaLM shows significant performance gains at 62B and 8B scales where PaLM performs poorly or not at all.
- U-PaLM outperforms PaLM on commonsense reasoning, question answering, chain-of-thought reasoning (e.g., GSM8K), multilingual tasks (MGSM, TydiQA), and MMLU.
- The model supports multi-span infilling and mode-controlled prompting (e.g., [S2S], [NLU], [NLG]), enabling diverse and controllable generation without architectural changes.
- Qualitative examples show that U-PaLM correctly infills multiple spans and produces more accurate and diverse outputs than PaLM, especially in complex or open-ended prompts.
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.