微妙界限:通过下游能力分析导航大型语言模型预训练
The Fine Line: Navigating Large Language Model Pretraining with Down-streaming Capability Analysis
AI总结:
本文通过比较不同规模模型预训练中间检查点的下游能力,发现特定指标动态相似,并发布复现的检查点资源,提出评估优化状态的策略以指导稳定预训练。
摘要:
揭示反映最终模型性能的早期指标是大规模预训练的核心原则之一。现有的缩放定律展示了预训练损失与训练浮点运算之间的幂律相关性,这作为大型语言模型当前训练状态的重要指标。然而,这一原则仅关注模型在训练数据上的压缩特性,导致其与下游任务能力提升不一致。一些后续工作尝试将缩放定律扩展到更复杂的指标(如超参数),但仍缺乏对预训练过程中各种能力动态差异的全面分析。为解决上述局限性,本文对多个预训练中间检查点的模型能力进行了全面比较。通过这一分析,我们确认特定下游指标在不同规模模型(最大达670亿参数)中表现出相似的训练动态。除核心发现外,我们复现了Amber和OpenLLaMA,并发布了它们的中间检查点。这一举措为研究社区提供了宝贵资源,并促进了开源研究者对LLM预训练的验证和探索。此外,我们提供了经验性总结,包括不同模型和能力的性能比较,以及不同训练阶段关键指标的指导。基于这些发现,我们提供了一种更用户友好的评估优化状态的策略,为建立稳定的预训练过程提供指导。
英文摘要:
Uncovering early-stage metrics that reflect final model performance is one core principle for large-scale pretraining. The existing scaling law demonstrates the power-law correlation between pretraining loss and training flops, which serves as an important indicator of the current training state for large language models. However, this principle only focuses on the model's compression properties on the training data, resulting in an inconsistency with the ability improvements on the downstream tasks. Some follow-up works attempted to extend the scaling-law to more complex metrics (such as hyperparameters), but still lacked a comprehensive analysis of the dynamic differences among various capabilities during pretraining. To address the aforementioned limitations, this paper undertakes a comprehensive comparison of model capabilities at various pretraining intermediate checkpoints. Through this analysis, we confirm that specific downstream metrics exhibit similar training dynamics across models of different sizes, up to 67 billion parameters. In addition to our core findings, we've reproduced Amber and OpenLLaMA, releasing their intermediate checkpoints. This initiative offers valuable resources to the research community and facilitates the verification and exploration of LLM pretraining by open-source researchers. Besides, we provide empirical summaries, including performance comparisons of different models and capabilities, and tuition of key metrics for different training phases. Based on these findings, we provide a more user-friendly strategy for evaluating the optimization state, offering guidance for establishing a stable pretraining process.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。