The Fine Line: Navigating Large Language Model Pretraining with Down-streaming Capability Analysis

Chen Yang, Junzhuo Li, Xinyao Niu, Xinrun Du, Songyang Gao +9 more
4/1/2024
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{yang2024fine,
  title  = {The Fine Line: Navigating Large Language Model Pretraining with Down-streaming Capability Analysis},
  author = {Chen Yang and Junzhuo Li and Xinyao Niu and Xinrun Du and Songyang Gao and Haoran Zhang and Zhaoliang Chen and Xingwei Qu and Ruibin Yuan and Yizhi Li and Jiaheng Liu and Stephen W. Huang and Shawn Yue and Ge Zhang},
  year   = {2024},
  eprint = {2404.01204},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.01204v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.01204.svg)](https://codeofpaper.com/paper/2404.01204)

Discussion