arXiv(opens in a new tab)cs.LGAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.28308

Deriving Scaling Laws for OpenEuroLLM Models: Learning Rate, Batch Size and Loss

Niccolò Ajroldi, Diana Alexandra Onutu, Haider Al-Tahan, Jörg Franke, Sampo Pyysalo, Jenia Jitsev, Aaron Klein

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

We study the scaling behavior of learning rate and batch size in pretraining dense large language models on English-prevalent corpora. Beyond scaling jointly optimal learning rates and batch sizes, we investigate their marginal evolution with model capacity and data scale and develop a model that captures these relationships. As we employ a Warmup-Stable-Decay learning rate schedule, we further investigate the gains from learning rate annealing over a broad range of hyperparameters settings, models and data budgets, and whether the optimal learning rate and batch size transfer between the stable and decay phases. Finally, we characterize the dependence of loss on model capacity and dataset size, evaluating recently proposed scaling forms that explicitly model their interaction. We find these approaches particularly effective at capturing both undertraining and overtraining regimes across our experiments. This study establishes a first baseline and scaling procedure for the development of future OpenEuroLLM models. We open-source the complete collection of pretraining runs used in this study.

1 Introduction

Scaling optimal hyperparameters. Pretraining Large Language Models (LLMs) at scale requires making informed decisions about how models, data, and training configurations should grow. Among these, a critical component of successful pretraining recipes is the choice of learning rate and batch size, which not only affects training efficiency but is also crucial for deriving accurate scaling laws [Lourie et al., 2026]. To ensure that measured performance reflects the architecture and dataset scaling properties rather than hyperparameter mistuning, it is important to understand how optimal learning rates and batch sizes themselves scale with models size and training horizons. Whereas early work focused on the critical batch size [McCandlish et al., 2018, Merrill et al., 2025, Bergsma et al., 2025], more recent approaches have investigated how the optimal batch size scales with number of parameters, data, compute, or combinations thereof [Hu et al., 2024, DeepSeek-AI, 2024, Li et al., 2025b, Rütte et al., 2026]. On the other hand, learning rate (LR) scaling has been studied both theoretically and empirically, with muP [Yang et al., 2021] providing a principled framework for transferring optimal learning rates across model scales. In parallel, several works have characterized scaling laws for the optimal learning rate, both with and without muP parameterization [Shen et al., 2024, Porian et al.,

openeurollm/dense_english_scaling_laws

OpenEuroLLM/dense_english_scaling_laws

2025]. In this report, we present an extensive study of learning rate and batch size scaling. Rather than considering only their joint optimum, we distinguish between their joint and marginal scaling behavior, and develop models for both. In addition, leveraging this extensive set of training runs, we investigate how optimal hyperparameters are systematically affected by learning rate annealing under modern Warmup-Stable-Decay (WSD) learning rate schedule.

Performance prediction. With appropriate hyperparameters in place, scaling laws can characterize how model performance evolves with scale. Laws of this kind have been used to predict performance at larger scales, to derive compute-optimal boundaries [Kaplan et al., 2020, Hoffmann et al., 2022], and as a mean of comparison to evaluate models [Nezhurina et al., 2025b] and datasets [Nezhurina et al., 2025a]. To better capture the dependencies between model and data scale, and better account for overtrained and undertrained models, recent works have explored functional forms beyond the well-known Chinchilla formulation [Hoffmann et al., 2022, Videau et al., 2026]. In this work, we explore this dependence by fitting to a suite of training runs spanning a broad range of model and data scales. As developing scaling laws is challenging [Li et al., 2025c] and their results can be difficult to reproduce [Besiroglu et al., 2024], we open-source our training data and code to foster further research.

The remainder of this technical report is organized as follows. Section 2 presents the experimental setting; Section 3 derives scaling laws for optimal learning rate and batch size; Section 4 analyzes the effect of LR annealing on loss and hyperparameters; Section 5 studies scaling laws for cross entropy loss; Section 6 evaluates models on downstream tasks; and Section 7 concludes.

References (47)