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

从损失视角理解语言模型的涌现能力

Understanding Emergent Abilities of Language Models from the Loss Perspective

Zhipu AI(智谱AI);Tsinghua University(清华大学)

Zhengxiao Du, Aohan Zeng, Yuxiao Dong, Jie Tang

AI总结:

该研究从预训练损失视角探究语言模型涌现能力,发现相同预训练损失的Transformer模型下游性能一致,损失低于阈值时涌现能力显现,据此重新定义了涌现能力。

摘要:

近期研究对“语言模型的涌现能力为大模型独有”这一观点提出了质疑,该质疑源于两项观察:1)较小的模型也能在涌现能力上表现出高性能;2)用于衡量这些能力的非连续指标存在争议。本文提出从预训练损失的角度而非模型规模或训练计算量来研究涌现能力。我们证明,在数据语料、分词方式和模型架构固定的情况下,预训练损失相同但模型规模和数据规模不同的Transformer模型,在各类下游任务上能取得相同的性能。我们还发现,当模型的预训练损失低于特定阈值时,无论衡量指标是否连续,模型都会在某些任务上展现出涌现能力;在达到该阈值前,其性能始终处于随机猜测水平。这启发我们将涌现能力重新定义为在预训练损失更低的模型中显现的能力,强调仅通过外推预训练损失更高的模型的性能趋势,无法预测这些能力。

英文摘要:

Recent studies have put into question the belief that emergent abilities in language models are exclusive to large models. This skepticism arises from two observations: 1) smaller models can also exhibit high performance on emergent abilities and 2) there is doubt on the discontinuous metrics used to measure these abilities. In this paper, we propose to study emergent abilities in the lens of pre-training loss, instead of model size or training compute. We demonstrate that the Transformer models with the same pre-training loss, but different model and data sizes, generate the same performance on various downstream tasks, with a fixed data corpus, tokenization, and model architecture. We also discover that a model exhibits emergent abilities on certain tasks -- regardless of the continuity of metrics -- when its pre-training loss falls below a specific threshold. Before reaching this threshold, its performance remains at the level of random guessing. This inspires us to redefine emergent abilities as those that manifest in models with lower pre-training losses, highlighting that these abilities cannot be predicted by merely extrapolating the performance trends of models with higher pre-training losses.

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

↑