arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2408.09895cs.CLcs.LG
收藏

大语言模型的性能定律

Performance Law of Large Language Models

Chuhan Wu, Ruiming Tang

AI总结:

针对缩放定律仅能定性估算损失、难以反映大语言模型真实性能的问题,本文提出可直接预测MMLU分数的性能定律经验公式,仅靠少量架构超参数和训练数据规模就能准确预测不同大模型的性能,可指导架构选型与算力分配。

摘要:

在缩放定律(scaling law)理念的指引下,大语言模型(LLM)近年来已取得令人瞩目的性能表现。但缩放定律仅能对损失值进行定性估算,且该估算受模型架构、数据分布、分词器(tokenizer)、计算精度等多种因素影响。因此,在实际开发中,估算不同训练设置下大语言模型的真实性能而非仅损失值,可能具备很高的实用价值。本文提出了一个名为“Performance Law(性能定律)”的经验公式,可直接预测大语言模型的MMLU分数——MMLU是衡量大语言模型在真实对话与应用中通用能力的广泛使用的指标。仅需基于大语言模型架构的少量关键超参数以及训练数据规模,我们就能对不同机构在不同年份开发的、尺寸与架构各异的各类大语言模型,得出相当准确的MMLU预测结果。性能定律可用于指导大语言模型的架构选型与计算资源的有效分配,无需开展大量实验。

英文摘要:

Guided by the belief of the scaling law, large language models (LLMs) have achieved impressive performance in recent years. However, scaling law only gives a qualitative estimation of loss, which is influenced by various factors such as model architectures, data distributions, tokenizers, and computation precision. Thus, estimating the real performance of LLMs with different training settings rather than loss may be quite useful in practical development. In this article, we present an empirical equation named "Performance Law" to directly predict the MMLU score of an LLM, which is a widely used metric to indicate the general capability of LLMs in real-world conversations and applications. Based on only a few key hyperparameters of the LLM architecture and the size of training data, we obtain a quite accurate MMLU prediction of various LLMs with diverse sizes and architectures developed by different organizations in different years. Performance law can be used to guide the choice of LLM architecture and the effective allocation of computational resources without extensive experiments.

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

↑