paper-with-me

홈 › Papers

Straight to Zero: Why Linearly Decaying the Learning Rate to Zero Works Best for LLMs

2025-02-21 · Shane Bergsma, Nolan Dey, Gurpreet Gosal, Gavia Gray, Daria Soboleva, Joel Hestness

LLMs are commonly trained with a learning rate (LR) warmup, followed by cosine decay to 10% of the maximum (10x decay). In a large-scale empirical study, we show that under an optimal peak LR, a simple linear decay-to-zero (D2Z) schedule consistently outperforms other schedules when training at compute-optimal dataset sizes. D2Z is superior across a range of model sizes, batch sizes, datasets, and vocabularies. Benefits increase as dataset size increases. Leveraging a novel interpretation of AdamW as an exponential moving average of weight updates, we show how linear D2Z optimally balances the demands of early training (moving away from initial conditions) and late training (averaging over more updates in order to mitigate gradient noise). In experiments, a 610M-parameter model trained for 80 tokens-per-parameter (TPP) using D2Z achieves lower loss than when trained for 200 TPP using 10x decay, corresponding to an astonishing 60% compute savings. Models such as Llama2-7B, trained for 286 TPP with 10x decay, could likely have saved a majority of compute by training with D2Z.

📄 PDF Abstract BibTeX arXiv:2502.15938

Code (0)

등록된 구현이 없습니다.

Methods 이 논문이 사용한 방법론

AdamW AdamW is a stochastic optimization method that modifies the typical implementation of weight decay in Adam, by decoupling [weight…

Similar Papers 제목 키워드 기반

SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalization

2026-04-02 · Zhengxi Lu, Zhiyuan Yao, Jinyang Wu, Chengcheng Han 외 arxiv

Agent skills, structured packages of procedural knowledge and executable resources that agents dynamically load at inference time, have become a reliable mechanism for augmenting LLM agents. Yet inference-time skill augm…

Reinforcement Learning

Zero-Crossing Waveform Interferometry: an Alternative to Correlation in Signal Processing

2018-09-10

It is shown that multiple representations (such as replicas or Hilbert transforms) of a random waveform can interfere constructively to form a compact pattern, akin to a wave packet, when the representations are created …

Investigation of event-based memory surfaces for high-speed tracking, unsupervised feature extraction and object recognition

2016-03-14 · Saeed Afshar, Gregory Cohen, Tara Julia Hamilton, Jonathan Tapson 외

In this paper we compare event-based decaying and time based-decaying memory surfaces for high-speed eventbased tracking, feature extraction, and object classification using an event-based camera. The high-speed recognit…

Object Recognition

Preserving Topology of Network Systems: Metric, Analysis, and Optimal Design

2023-07-31 · Yushan Li, Zitong Wang, Jianping He, Cailian Chen 외

Preserving the topology from being inferred by external adversaries has become a paramount security issue for network systems (NSs), and adding random noises to the nodal states provides a promising way. Nevertheless, re…

Differentially Private ADMM for Distributed Medical Machine Learning

2019-01-07 · Jiahao Ding, Xiaoqi Qin, Wenjun Xu, Yanmin Gong 외

Due to massive amounts of data distributed across multiple locations, distributed machine learning has attracted a lot of research interests. Alternating Direction Method of Multipliers (ADMM) is a powerful method of des…

BIG-bench Machine Learning