paper-with-me

Papers

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

2024-08-23 · Yikang Shen, Matthew Stallone, Mayank Mishra, Gaoyuan Zhang, Shawn Tan, Aditya Prasad, Adriana Meza Soria, David D. Cox, Rameswar Panda

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.

📄 PDF Abstract BibTeX arXiv:2408.13359

Code (1)

ibm/dolomite-engine pytorch

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically
MoE 설명 없음

Similar Papers 제목 키워드 기반

Requests of a Feather Must Flock Together: Batch Size vs. Prefix Homogeneity in LLM Inference

2026-05-07 · Saksham Rathi, Preeti, Mythili Vutukuru arxiv

Auto-regressive token generation in large language models is memory-bound because it requires "attending to" key and value tensors (KV cache) of all previous tokens. Prior work aims to improve the efficiency of this deco…

Reinforcement Learning

Increasing Both Batch Size and Learning Rate Accelerates Stochastic Gradient Descent

2024-09-13 · Hikaru Umeda, Hideaki Iiduka

The performance of mini-batch stochastic gradient descent (SGD) strongly depends on setting the batch size and learning rate to minimize the empirical loss in training the deep neural network. In this paper, we present t…

Adaptive Batch Size and Learning Rate Scheduler for Stochastic Gradient Descent Based on Minimization of Stochastic First-order Oracle Complexity

2025-08-07 · Hikaru Umeda, Hideaki Iiduka arxiv

The convergence behavior of mini-batch stochastic gradient descent (SGD) is highly sensitive to the batch size and learning rate settings. Recent theoretical studies have identified the existence of a critical batch size…

How to Set the Batch Size for Large-Scale Pre-training?

2026-01-08 · Yunhua Zhou, Junhao Huang, Shuhao Xing, Yechen Zhang 외 arxiv

The concept of Critical Batch Size, as pioneered by OpenAI, has long served as a foundational principle for large-scale pre-training. However, with the paradigm shift towards the Warmup-Stable-Decay (WSD) learning rate s…

Automated Learning Rate Scheduler for Large-batch Training

2021-07-13 · ICML Workshop AutoML 2021 7 · Chiheon Kim, Saehoon Kim, Jongmin Kim, Donghoon Lee 외

Large-batch training has been essential in leveraging large-scale datasets and models in deep learning. While it is computationally beneficial to use large batch sizes, it often requires a specially designed learning rat…

image-classificationImage ClassificationScheduling