A THREE-STAGE GENERALIZED SCALING LAW FOR LARGE LANGUAGE MODEL PRE-TRAINING
Large language models (LLMs) acquire their capabilities primarily through scaling, and the rapidly rising cost of training has turned compute-budget allocation into a central practical concern. Classical scaling laws express loss as a function of model size and data volume only, and therefore cannot quantify data quality or domain mixture, two factors that are increasingly decisive in modern pre-training. This paper develops a three-stage framework for a generalized scaling law. First, the classical power law is fitted to 1,176 standardized Pythia training points by multi-start nonlinear least squares, with row- and block-bootstrap confidence intervals. Second, four quality-augmented candidate forms are compared on a held-out N-D-Q experiment grid; the additive form, in which the quality penalty enters linearly with the quality deficit, is selected, and a large supplementary matrix is identified as contaminated by its reversed quality monotonicity, its violations of the entropy floor, and the sign reversal of its quality coefficient when pooled. Third, the law is unified with centered-log-ratio domain-mixture coordinates, from which equal-loss substitution rates, elasticities, and compute-normalized marginal gains are derived analytically. The classical law attains an RMSE of 0.00011 nat with stable exponents across five data sources; the quality law reaches a hold-out correlation of 0.99; and the predictions remain accurate for models up to ten trillion parameters, where quality improvement proves up to 30,000 times more cost-effective than parameter scaling. The framework thus provides a quantitative basis for compute-constrained resource allocation in LLM pre-training.
Authors
- Xue Yuan
- GengYin Li
- XueTong Zang
Institutions
- Shanghai Polytechnic University (CN)
Publication Details
- Journal
- Journal of Computer Science and Electrical Engineering
- Published
- 2026-11-27
- DOI
- https://doi.org/10.61784/jcsee3170
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 0.00