基于神经元的配置到性能缩放定律
Configuration-to-Performance Scaling Law with Neural Ansatz
AI总结:
本文提出基于神经元的配置到性能缩放定律,通过大规模预训练日志训练模型,实现对训练配置与性能之间关系的准确预测,并支持多超参数联合优化。
摘要:
研究人员构建了缩放定律,以预测更大模型规模N和数据规模D的昂贵大规模运行的训练性能。这些定律假设其他训练超参数被最优选择,这可能需要大量努力,在某些情况下由于外部硬件限制甚至不可能。为了提高在更广泛超参数集上的可预测性,并在大规模上实现更简单的调整,我们提出学习一个从完整训练配置到训练性能的映射,即配置到性能缩放定律(CPL):从完整训练配置到训练性能的映射。由于没有简单的函数形式可以表达这种映射,我们用大型语言模型(LLM)进行参数化,并用多种开源预训练日志进行拟合,得到一个神经元配置到性能缩放定律(NCPL)。NCPL准确预测训练配置如何影响最终预训练损失,其预测误差比无配置意识的Chinchilla定律低20-40%,并且能推广到使用比训练集中的任何运行多10倍计算量的运行。它进一步支持多个超参数的联合调整,其性能与超参数缩放定律基线相当。最后,NCPL自然有效地扩展到更丰富的预测目标,如损失曲线预测。
英文摘要:
Researchers build scaling laws to forecast the training performance of expensive large-scale runs with larger model size N and data size D. These laws assume that other training hyperparameters are optimally chosen, which can require significant effort and, in some cases, be impossible due to external hardware constraints. To improve predictability across a broader set of hyperparameters and enable simpler tuning at scale, we propose learning a \textit{Configuration-to-Performance Scaling Law} (CPL): a mapping from the \textit{full training configuration} to training performance. Because no simple functional form can express this mapping, we parameterize it with a large language model (LLM), and fit it with diverse open-source pretraining logs across multiple sources, yielding a \textit{Neural} Configuration-to-Performance Scaling Law (NCPL). NCPL accurately predicts how training configurations influence the final pretraining loss, achieving 20-40% lower prediction error than the configuration-agnostic Chinchilla law and generalizing to runs using up to 10 x more compute than any run in the training set. It further supports joint tuning of multiple hyperparameters with performance comparable to hyperparameter scaling law baselines. Finally, NCPL naturally and effectively extends to richer prediction targets such as loss-curve prediction.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。