arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.03262cs.CL
收藏

通过无限分辨率评估预测涌现能力

Predicting Emergent Abilities with Infinite Resolution Evaluation

Tsinghua University(清华大学);Beijing Language and Culture University(北京语言大学);Shanghai Artificial Intelligence Laboratory(上海人工智能实验室);Renmin University of China(中国人民大学);Zhihu Inc.(知乎);Modelbest Inc.(模贝斯特公司)

Shengding Hu, Xin Liu, Xu Han, Xinrong Zhang, Chaoqun He, Weilin Zhao, Yankai Lin, Ning Ding, Zebin Ou, Guoyang Zeng, Zhiyuan Liu, Maosong Sun

AI总结:

本研究提出具备理论无限分辨率的PassUntil评估策略,发现任务层面的严格缩放定律,可提前预测大模型性能并定量研究加速涌现的涌现能力,验证了可预测缩放假设。

摘要:

大语言模型(LLMs)的科学规模化发展要求人们全面理解其缩放特性。然而现有关于缩放特性的研究仅给出了不完整的结论:优化损失随模型规模增大呈可预测的下降趋势,符合已确立的缩放定律;但尚未建立任务层面的缩放定律,缩放过程中任务性能的可预测性极低。任务性能通常在小模型上提升微弱,一旦模型规模超过某个阈值便会大幅提升,这正是“涌现能力”的典型表现。本研究发现,小模型尽管性能表现不佳,却存在显著且一致的任务性能提升,而传统评估策略因测量分辨率不足未能捕捉到这些提升。为测量这类提升,我们提出PassUntil评估策略,该策略通过解码阶段的大规模采样,具备理论上的无限分辨率。借助PassUntil,我们对任务性能的缩放定律展开定量研究,研究分为两部分。第一,我们发现了一种传统认知中不存在的严格任务缩放定律,提升了任务性能的可预测性。值得注意的是,我们能在训练开始前预测2.4B模型的代码生成性能,偏差仅为0.05%,这是首次系统性验证GPT-4报告中提出的可预测缩放假设的尝试。第二,我们得以对涌现能力进行定量研究。我们识别出一种加速涌现现象,其缩放曲线无法用标准缩放定律函数拟合,且增长速度持续加快。随后我们检验了两种假设,表明“多回路假设”可能是加速涌现的成因。

英文摘要:

The scientific scale-up of large language models (LLMs) necessitates a comprehensive understanding of their scaling properties. However, the existing literature on the scaling properties only yields an incomplete answer: optimization loss decreases predictably as the model size increases, in line with established scaling law; yet no scaling law for task has been established and the task performances are far from predictable during scaling. Task performances typically show minor gains on small models until they improve dramatically once models exceed a size threshold, exemplifying the ``emergent abilities''. In this study, we discover that small models, although they exhibit minor performance, demonstrate critical and consistent task performance improvements that are not captured by conventional evaluation strategies due to insufficient measurement resolution. To measure such improvements, we introduce PassUntil, an evaluation strategy with theoretically infinite resolution, through massive sampling in the decoding phase. With PassUntil, we conduct a quantitative investigation into the scaling law of task performance. The investigation contains two parts. Firstly, a strict task scaling law that is not conventionally known to exist, is identified, enhancing the predictability of task performances. Remarkably, we are able to predict the performance of the 2.4B model on code generation with merely 0.05\% deviation before training starts, which is the first systematic attempt to verify predictable scaling proposed by GPT-4's report. Secondly, we are able to study emergent abilities quantitatively. We identify a kind of accelerated emergence whose scaling curve cannot be fitted by standard scaling law function and has a increasing speed. We then examine two hypothesis and imply that the ``multiple circuits hypothesis'' might be responsible for the accelerated emergence.

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

↑