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

重要的不仅仅是规模:小型语言模型也是Few-Shot学习者

It's Not Just Size That Matters: Small Language Models Are Also Few-Shot Learners

LMU Munich(慕尼黑大学);Sulzer GmbH(苏尔寿有限公司)

Timo Schick, Hinrich Schütze

摘要:

当缩放到数千亿个参数时,预训练的语言模型,例如GPT-3(Brown et al.,2020)实现了卓越的Few-Shot性能。然而,训练和应用这些大型模型需要大量的计算,导致大量的碳足迹,使研究人员和从业人员难以使用它们。我们表明,可以获得类似于GPT-3的性能与语言模型,是“绿色”,因为他们的参数计数是几个数量级小。这是通过将文本输入转换为包含任务描述的完形填空题,结合基于梯度的优化来实现的;利用未标记的数据可以进一步改进。我们确定成功的自然语言理解所需的关键因素与小语言模型。

英文摘要:

When scaled to hundreds of billions of parameters, pretrained language models such as GPT-3 (Brown et al., 2020) achieve remarkable few-shot performance. However, enormous amounts of compute are required for training and applying such big models, resulting in a large carbon footprint and making it difficult for researchers and practitioners to use them. We show that performance similar to GPT-3 can be obtained with language models that are much "greener" in that their parameter count is several orders of magnitude smaller. This is achieved by converting textual inputs into cloze questions that contain a task description, combined with gradient-based optimization; exploiting unlabeled data gives further improvements. We identify key factors required for successful natural language understanding with small language models.

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

↑