pith. sign in

arxiv: 2408.13359 · v2 · pith:3FYQ4MUQnew · submitted 2024-08-23 · 💻 cs.CL · cs.AI· cs.LG

Power Scheduler: A Batch Size and Token Number Agnostic Learning Rate Scheduler

classification 💻 cs.CL cs.AIcs.LG
keywords sizeschedulermodelmodelsbatchlearningnumberrate
0
0 comments X
read the original abstract

Finding the optimal learning rate for language model pretraining is a challenging task. This is not only because there is a complicated correlation between learning rate, batch size, number of training tokens, model size, and other hyperparameters but also because it is prohibitively expensive to perform a hyperparameter search for large language models with Billions or Trillions of parameters. Recent studies propose using small proxy models and small corpus to perform hyperparameter searches and transposing the optimal parameters to large models and large corpus. While the zero-shot transferability is theoretically and empirically proven for model size related hyperparameters, like depth and width, the zero-shot transfer from small corpus to large corpus is underexplored. In this paper, we study the correlation between optimal learning rate, batch size, and number of training tokens for the recently proposed WSD scheduler. After thousands of small experiments, we found a power-law relationship between variables and demonstrated its transferability across model sizes. Based on the observation, we propose a new learning rate scheduler, Power scheduler, that is agnostic about the number of training tokens and batch size. The experiment shows that combining the Power scheduler with Maximum Update Parameterization (muP) can consistently achieve impressive performance with one set of hyperparameters regardless of the number of training tokens, batch size, model size, and even model architecture. Our 3B dense and MoE models trained with the Power scheduler achieve comparable performance as state-of-the-art small language models. We open-source these pretrained models at https://ibm.biz/BdKhLa.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 3 Pith papers

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. LoopMoE: Unifying Iterative Computation with Mixture-of-Experts for Language Modeling

    cs.LG 2026-06 unverdicted novelty 7.0

    LoopMoE is a looped MoE language model that outperforms matched vanilla MoE on 8 of 9 downstream benchmarks at 3B scale and continues to outperform at 9B scale under strictly controlled budgets.

  2. Predictable Scaling Laws of Optimal Hyperparameters for LLM Continued Pre-training

    cs.CL 2026-06 unverdicted novelty 6.0

    Optimal hyperparameters for LLM continued pre-training follow predictable scaling laws derived from proxy models, enabling a two-stage framework that predicts settings from compute budget and checkpoint state to reduc...

  3. How to Allocate Your Tokens? Scaling Laws with Training Steps and Batch Size

    cs.LG 2026-07 unverdicted novelty 5.0

    Proposes a three-term scaling law for model size, training steps and batch size that recovers optimal batch size scaling and can be fitted using fewer runs by incorporating suboptimal batch sizes.