Precise estimation of downstream performance in large language models (LLMs) prior to training is essential for guiding their development process. Scaling laws analysis utilizes the statistics of a series of significantly smaller sampling language models (LMs) to predict the performance of the target LLM. For downstream performance prediction, the critical challenge lies in the emergent abilities in LLMs that occur beyond task-specific computational thresholds. In this work, we focus on the pre-training loss as a more computation-efficient metric for performance estimation. Our two-stage approach FLP consists of first estimating a function that maps computational resources (e.g., FLOPs) to the pre-training Loss using a series of fully-converged sampling models, followed by mapping the pre-training loss to downstream task Performance using the intermediate models with emerged performance. In our experiments, this FLP solution accurately predicts the performance of LLMs with 7B and 13B parameters using a series of sampling LMs up to 3B, achieving error margins of 5% and 10%, respectively, and significantly outperforming the FLOPs-to-Performance approach. Further, we present FLP-M, a fundamental approach for performance prediction that addresses the practical need to integrate datasets from multiple sources during pre-training. FLP-M extends the power law analytical function to predict domain-specific pre-training loss based on FLOPs across data sources, and employs a two-layer neural network to model the non-linear relationship between multiple domain-specific loss and downstream performance. By utilizing a 3B LLM trained on a specific ratio and a series of smaller sampling LMs, FLP-M can effectively forecast the performance of 3B and 7B LLMs across various data mixtures for most benchmarks within 10% error margins.
LLMs on the Line: Data Determines Loss-to-Loss Scaling Laws
Max Planck Institute for Intelligent Systems(智能系统马克斯·普朗克研究所);ELLIS Institute Tübingen(图宾根ELLIS研究所);Tübingen AI Center(图宾根人工智能中心);University of Tübingen(图宾根大学)
Towards Engineering Scaling Laws with Pretraining Data Composition
Department of Applied Physics(应用物理系);Stanford University(斯坦福大学);Department of Physics and Astronomy(物理与天文学系);University of California, Irvine(加州大学尔湾分校);SLAC National Accelerator Laboratory(SLAC国家加速器实验室)
Sloth: scaling laws for LLM skills to predict multi-benchmark performance across families
Department of Statistics, University of Michigan(密歇根大学统计学系);MIT-IBM Watson AI Lab, IBM Research(MIT-IBM Watson AI实验室,IBM研究);Computer Science and Artificial Intelligence Laboratory, MIT(MIT计算机科学与人工智能实验室);Institute of Foundation Models, MBZUAI(基础模型研究所,MBZUAI)
Seeing the Goal, Missing the Truth: Human Accountability for AI Bias
University of Maryland(马里兰大学);Robert H. Smith School of Business, University of Maryland, College Park(马里兰大学罗伯特·H·史密斯商学院);Emory University(埃默里大学);Lancaster University(兰卡斯特大学)
Not-Just-Scaling Laws: Towards a Better Understanding of the Downstream Impact of Language Model Design Decisions
Carnegie Mellon University(卡内基梅隆大学);Language Technologies Institute(语言技术研究所);Instituto Superior Técnico (Lisbon ELLIS Unit)(里斯本ELLIS单位(理工学院));Instituto de Telecomunicações(电信研究所);NEC Laboratories Europe, Germany(德国NEC欧洲实验室);CAIR, Ss. Cyril and Methodius University of Skopje, North Macedonia(北马其顿斯·西里尔和方法ius大学)
Language models scale reliably with over-training and on downstream tasks
Columbia University(哥伦比亚大学);UT Austin(德克萨斯大学奥斯汀分校);Apple(苹果公司);University of Washington(华盛顿大学);Juelich Supercomputing Center, Research Center Juelich(于利希超级计算中心,于利希研究中心);LAION;Allen Institute for AI(艾伦人工智能研究所);Stanford University(斯坦福大学);Tel Aviv University(特拉维夫大学);TU Munich(慕尼黑工业大学);Contextual AI