arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.11399cs.CLcs.AIcs.LG
收藏

超越缩放定律,额外计算0.1%

Transcending Scaling Laws with 0.1% Extra Compute

Google(谷歌)
Yi Tay, Jason Wei, Hyung Won Chung, Vinh Q. Tran, David R. So, Siamak Shakeri, Xavier Garcia, Huaixiu Steven Zheng, Jinfeng Rao, Aakanksha Chowdhery, Denny Zhou… 展开作者

Yi Tay, Jason Wei, Hyung Won Chung, Vinh Q. Tran, David R. So, Siamak Shakeri, Xavier Garcia, Huaixiu Steven Zheng, Jinfeng Rao, Aakanksha Chowdhery, Denny Zhou, Donald Metzler, Slav Petrov, Neil Houlsby, Quoc V. Le, Mostafa Dehghani

摘要:

缩放语言模型可以提高性能,但会带来显著的计算成本。本文提出了UL 2 R,一种方法,大大提高了现有的语言模型和他们的缩放曲线与相对少量的额外计算。关键思想是继续训练最先进的大语言模型(例如,PaLM)在UL 2的混合降噪目标的几个步骤。我们表明,几乎可以忽略不计的额外计算成本和没有新的数据源,我们能够大大提高下游指标的大语言模型的缩放特性。在本文中,我们继续使用UL 2 R训练PaLM,引入了一组新的8B,62 B和540 B规模的模型,我们称之为U-PaLM。令人印象深刻的是,在540 B规模下,我们显示了大约2倍的计算节省率,其中U-PaLM在大约一半的计算预算(即,节省$\sim$ 440万TPU v4小时)。我们进一步表明,这种改进的缩放曲线在具有挑战性的BIG-Bench任务上导致了“紧急能力”-例如,U-PaLM在某些任务上比PaLM做得更好,或者在更小的规模上表现出更好的质量(62 B而不是540 B)。总的来说,我们表明,U-PaLM优于PaLM在许多Few-Shot设置,即,英语NLP任务(例如,常识推理,问答),具有思维链的推理任务(例如,GSM 8 K)、多语言任务(MGSM、TydiQA)、MMLU和具有挑战性的BIG-Bench任务。最后,我们提供了定性的例子,显示新的能力U-PaLM单跨和多跨填充。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑