提出更精准的缩放定律,让小实验结果能可靠预测大模型性能。
Predictable Scale: Part II, Farseer: A Refined Scaling Law in Large Language Models
- 基于损失曲面构建新缩放定律,比旧方法拟合更好。
- 在大规模实验中将外推误差降低433%,显著提升预测精度。
- 适合做模型训练策略评估与资源分配优化的研究者使用。
训练大语言模型成本高昂,导致小规模实验的结论难以推广到实际生产系统,阻碍高效创新。为此,我们提出Farseer,一种新型且更精确的缩放定律,在跨尺度预测上表现卓越。通过系统构建模型损失表面 $L(N,D)$,Farseer对实证数据的拟合优于先前定律(如Chinchilla定律)。该方法实现高精度、强鲁棒性和高度泛化性,外推能力显著提升,相比Chinchilla定律,外推误差降低433%。这使得不同训练策略在任意 $(N,D)$ 配置下的性能可被可靠评估,小规模消融实验的结论可自信外推至大规模场景。此外,Farseer揭示了现代大模型训练中更精细的算力分配规律。为验证方法,我们在多种规模和配置下训练了约1,000个大语言模型,总计消耗约300万英伟达H100 GPU小时。所有模型、数据、结果及日志已全面开源,地址:https://github.com/Farseer-Scaling-Law/Farseer。
原文摘要 · Abstract (English)
Training Large Language Models (LLMs) is prohibitively expensive, creating a critical scaling gap where insights from small-scale experiments often fail to transfer to resource-intensive production systems, thereby hindering efficient innovation. To bridge this, we introduce Farseer, a novel and refined scaling law offering enhanced predictive accuracy across scales. By systematically constructing a model loss surface $L(N,D)$, Farseer achieves a significantly better fit to empirical data than prior laws (e.g., Chinchilla's law). Our methodology yields accurate, robust, and highly generalizable predictions, demonstrating excellent extrapolation capabilities, improving upon Chinchilla's law by reducing extrapolation error by 433\%. This allows for the reliable evaluation of competing training strategies across all $(N,D)$ settings, enabling conclusions from small-scale ablation studies to be confidently extrapolated to predict large-scale performance. Furthermore, Farseer provides new insights into optimal compute allocation, better reflecting the nuanced demands of modern LLM training. To validate our approach, we trained an extensive suite of approximately 1,000 LLMs across diverse scales and configurations, consuming roughly 3 million NVIDIA H100 GPU hours. We are comprehensively open-sourcing all models, data, results, and logs at https://github.com/Farseer-Scaling-Law/Farseer to foster further research.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。