Optimal Learning Rate Schedules under Functional Scaling Laws: Power Decay and Warmup-Stable-Decay
Center for Machine Learning Research, Peking University(北京大学机器学习研究中心);School of Mathematical Sciences, Peking University(北京大学数学科学学院);AI for Science Institute, Beijing(北京人工智能科学研究院)
我们研究了在Li等人(2025)引入的功能缩放定律(FSL)框架下最优学习率调度(LRSs)。该框架准确地建模了线性回归和大型语言模型(LLM)预训练的损失动态。在FSL中,损失动态由两个指数控制:源指数s>0控制信号学习的速率,容量指数β>1决定噪声遗忘的速率。在固定的训练时间N内,我们推导出最优的LRSs并揭示了一个尖锐的相变。在容易任务的 regime s ≥ 1 - 1/β,最优调度遵循功率衰减到零,η*(z) = η_peak(1 - z/N)^{2β- 1},其中峰值学习率的尺度为η_peak ≅ N^{-ν},对于显式指数ν=ν(s,β)。相反,在困难任务的 regime s < 1 - 1/β,最优LRS表现出温升稳定衰减(WSD)(Hu等人,2024)结构:它在大部分训练中保持最大的可接受学习率,并在最后才衰减,衰减阶段占据时间范围的微小比例。我们进一步分析了最优形状固定的调度,其中仅调节峰值学习率——这是实践中广泛采用的策略,并且刻画了其优势和内在限制。这导致了对常用调度如余弦和线性衰减的系统评估。最后,我们将功率衰减LRS应用于单次通过随机梯度下降(SGD)进行核回归,并显示最后迭代达到精确的最小最大最优速率,消除了先前分析中存在的对数次优性。数值实验证实了我们的理论预测。
英文摘要:
We study optimal learning rate (LR) schedules under the functional scaling law (FSL) framework (Li et al., 2025), which decomposes training dynamics into signal learning and noise forgetting. In power-law kernel regression, these two components are governed by a source exponent $s>0$ and a capacity exponent $q>1$, respectively, with smaller $s$ corresponding to harder tasks. For a fixed training horizon $N$, we characterize the schedules that minimize the final-step loss under a stability constraint and reveal a sharp phase transition. In the easy-task regime $s>1-1/q$, the optimal schedule follows power decay from the beginning of training; in the hard-task regime $s<1-1/q$, it becomes warmup-stable-decay (WSD)-like (Hu et al., 2024), staying at the largest admissible LR for most of training before a final decay. In both regimes, the decay exponent is $2q-1$: task difficulty determines when to decay, while model capacity determines how to decay. Beyond the exact optimum, we study fractional schedules, whose shape is defined over relative training progress. We show that precise tuning of the decay shape is often unnecessary: a broad class of profiles attains the optimal convergence rate, while overly slow terminal decay leads to schedule-induced capacity saturation. Finally, for one-pass SGD in kernel regression, FSL-motivated power-decay schedules achieve optimal last-iterate rates. Experiments support the theoretical predictions and the task-dependent transition between early and delayed decay.
On the adequacy of untuned warmup for adaptive optimization
Booth School of Business, University of Chicago(芝加哥大学布斯商学院);U.S. Patent and Trademark Office, Department of Commerce(美国商务部专利商标局);Courant Institute of Mathematical Sciences, New York University(纽约大学库朗数学科学研究所);Facebook AI Research(Facebook人工智能研究院)
Functional Scaling Laws in Kernel Regression: Loss Dynamics and Learning Rate Schedules
Center for Machine Learning Research, Peking University(北京大学机器学习研究中心);School of Mathematical Sciences, Peking University(北京大学数学科学学院);State Key Laboratory of Multimedia Information Processing, School of Computer Science, Peking University(北京大学多媒体信息处理国家重点实验室);AI for Science Institute, Beijing(北京人工智能科学研究院)
在随机梯度下降(SGD)优化中使用的步长的选择在大多数训练过程中是凭经验选择的。此外,使用计划学习技术(如步进衰减,循环学习和预热)来调整步长需要大量的实践经验-对参数如何更新提供有限的见解-并且在应用程序中不一致。这项工作试图回答一个研究人员和从业者都感兴趣的问题,即\textit{"how much knowledge is gained in iterative training of deep neural networks?"},解决这个问题引入了两个有用的度量,这些度量来自深度神经网络中卷积层的低秩因子分解的奇异值。我们引入\textit{"knowledge gain"}和\textit{"mapping condition"}的概念,并提出了一种新的算法,称为自适应调度(AdaS),利用这些派生的指标,以适应SGD学习率的变化率在连续的迭代知识增益成比例。实验表明,使用派生的指标,AdaS表现出:(a)比现有的自适应学习方法更快的收敛和更好的泛化能力;(b)不依赖于验证集来确定何时停止训练。代码可从\url{https://github.com/mahdihosseini/AdaS}获得。
Adaptive Batch Size Schedules for Distributed Training of Language Models with Data and Model Parallelism
Perelman School of Medicine, University of Pennsylvania(宾夕法尼亚大学佩雷尔曼医学院);The University of Chicago Booth School of Business(芝加哥大学布斯商学院);Northwestern University(西北大学);University of Southern California Marshall School of Business(南加州大学马歇尔商学院)
Towards Understanding Momentum Acceleration in River-Valley Loss Landscape
Stanford University(斯坦福大学);University of California, San Diego(加州大学圣迭戈分校);University of Chicago(芝加哥大学);Yale University(耶鲁大学);Toyota Technological Institute at Chicago(芝加哥丰田技术学院)
Fast Catch-Up, Late Switching: Optimal Batch Size Scheduling via Functional Scaling Laws
School of Mathematical Sciences, Peking University(北京大学数学科学学院);Center for Machine Learning Research, Peking University(北京大学机器学习研究中心);School of Computer Science, Shanghai Jiao Tong University(上海交通大学计算机科学学院);State Key Laboratory of Cognitive Intelligence, University of Science and Technology of China(中国科学技术大学认知智能国家重点实验室);Meituan, Beijing(美团(北京));AI for Science Institute, Beijing(北京人工智能科学研究院)