Papers
Topics
Authors
Recent
Search
2000 character limit reached

Warmup–Stable–Merge Learning Rate Schedule

Updated 16 April 2026
  • The paper demonstrates that WSM replaces explicit decay with a principled checkpoint merging operation that emulates late-stage annealing.
  • WSM divides training into three phases—warmup, stable, and merge—reducing hyperparameter complexity and streamlining schedule design.
  • Empirical and theoretical results show that WSM enhances both convergence and downstream performance in large-scale language model pre-training.

A Warmup–Stable–Merge (WSM) learning rate schedule, introduced as a decay-free alternative for large-scale LLM pre-training, is a framework that eschews the traditional explicit decay phase present in schedules such as Warmup–Stable–Decay (WSD). Instead, WSM achieves effective late-stage “annealing” via a principled model-merging operation over a window of checkpoints at the end of training. Theoretical and empirical research demonstrates clear connections between gradient-based learning rate decay and post-hoc model averaging, and highlights practical advantages for both convergence and downstream performance in LLM pre-training and supervised fine-tuning.

1. Structure and Formulation of the WSM Schedule

WSM divides training into three distinct phases, each characterized by a specific learning rate or post-processing operation:

a. Warmup (t<T1t < T_1):

A strictly linear ramp from η(t)=0\eta(t) = 0 at step t=0t = 0 up to the peak value ηpeak\eta_{\rm peak} at t=T1t = T_1: η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}

b. Stable (T1t<T1+T2T_1 \le t < T_1+T_2):

A prolonged plateau with fixed learning rate: η(t)=ηpeak\eta(t) = \eta_{\rm peak}

c. Merge (tT1+T2t \ge T_1+T_2):

No further training or explicit decay. Instead, the final model is produced by merging the last K+1K+1 checkpoints from the stable phase using a specific convex combination determined by the desired “annealing” curve: η(t)=0\eta(t) = 00 where η(t)=0\eta(t) = 01 are consecutive saved models, η(t)=0\eta(t) = 02 are merge weights with η(t)=0\eta(t) = 03, η(t)=0\eta(t) = 04 is the checkpoint interval, and η(t)=0\eta(t) = 05 is the total merge window duration (Tian et al., 23 Jul 2025).

The resulting live learning rate is strictly non-decaying in the final phase; all annealing is achieved by the merge operator.

2. Formal Connection to Classical Learning Rate Decay

WSM provides a theoretical bridge between learning rate schedules and checkpoint merging. Any classical decaying learning rate schedule can be emulated by a properly chosen checkpoint-average. Given a sequence of η(t)=0\eta(t) = 06 checkpoints generated under SGD, a merge defined by weights η(t)=0\eta(t) = 07,

η(t)=0\eta(t) = 08

can be re-expressed as a monotone reweighting of the trailing η(t)=0\eta(t) = 09 stochastic gradients: t=0t = 00 This equivalence (Theorem 3.1) enables WSM to exactly reproduce the effect of any target decay profile (e.g., linear, cosine, inverse square root) via discrete model averaging (Tian et al., 23 Jul 2025). Explicit matching between desired decay curves t=0t = 01 and merge weights t=0t = 02 is given by

t=0t = 03

Examples:

  • Linear decay: t=0t = 04, t=0t = 05 (uniform average).
  • Cosine decay: t=0t = 06, t=0t = 07, t=0t = 08.
  • Inverse-sqrt decay: t=0t = 09, ηpeak\eta_{\rm peak}0, ηpeak\eta_{\rm peak}1.

3. Key Hyperparameters and Practical Implementation

Empirical results establish that merge duration ηpeak\eta_{\rm peak}2 is the single most sensitive and impactful hyperparameter. A typical recipe for large-scale LLM pre-training is:

  • Merge duration (ηpeak\eta_{\rm peak}3): ηpeak\eta_{\rm peak}4 billion tokens. Performance saturates beyond ηpeak\eta_{\rm peak}5B tokens.
  • Checkpoint interval (ηpeak\eta_{\rm peak}6): ηpeak\eta_{\rm peak}7 tokens, with ηpeak\eta_{\rm peak}8B as a robust default.
  • Number of checkpoints (ηpeak\eta_{\rm peak}9): t=T1t = T_10; t=T1t = T_11 too small (<4) undersamples, too large (>16) offers limited gain.

Granularity (t=T1t = T_12) and merge shape (weight profile) have modest effects compared to t=T1t = T_13. The merge window should cover late stable-phase training, maximizing effective annealing without redundant snapshots (Tian et al., 23 Jul 2025).

Hyperparameter Typical Range Primary Importance
Merge duration t=T1t = T_14 100–200B toks Dominant; controls annealing
Checkpoint interval t=T1t = T_15 5–25B toks Moderate; tradeoff vs. storage
# of checkpoints t=T1t = T_16 4–16 Minor beyond t=T1t = T_17

In practice, the simplest linear-average merge (t=T1t = T_18) is nearly optimal for linear decay, while the 1–√ weight schedule empirically outperforms EMA and uniform for LLMs.

4. Comparative Analysis: WSM vs. Warmup–Stable–Decay (WSD)

WSM consistently surpasses WSD (explicit decay) schedules across diverse tasks. In extensive MoE transformer pre-training experiments (Tian et al., 23 Jul 2025):

  • Model: 16.3B-parameter MoE transformer (1.43B active), trained on 10.2T tokens mixed English/Chinese.
  • Benchmark results (WSM vs. WSD):
    • MATH: 58.81% vs. 57.49% (+3.5% relative)
    • HumanEval: 65.58% vs. 64.88% (+2.9%)
    • MMLU-Pro: 45.2% vs. 43.3% (+5.5%)
    • Overall: +2% relative

Ablation studies confirm:

  • Merge duration dominates—longer t=T1t = T_19 provides more annealing and thus better performance, with clear saturation beyond a threshold.
  • Merge algorithm: 1–√ η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}0 uniform mean η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}1 EMA.
  • Granularity: Finer checkpointing marginally outperforms coarser, but is distinctly less important than η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}2.
  • Hybrid or stacked schedules (e.g., live decay plus post-hoc merge) confer no advantage, validating the formal equivalence between WSM-type merging and decay-based anneal (Tian et al., 23 Jul 2025).

Further, WSM maintains its advantage after supervised fine-tuning, with η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}3+1.8–1.9% improvements on base and instruction-following tasks.

5. Theoretical Rationale and Scaling Behavior

WSM is grounded in loss-dynamics theory and directly connects with functional scaling law (FSL) and optimal control perspectives:

  • Classical FSL and optimal control analyses establish that, in the “hard” regime (slow signal learning, high variance), the optimal policy is to maximize η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}4 at the stability limit for nearly all training, and apply annealing only at the very end (Bordelon et al., 4 Feb 2026, Li et al., 6 Feb 2026).
  • In the WSM framework, the “annealing” is entirely via model averaging (gradient reweighting), and no explicit late-phase decay is required. This eliminates the η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}5-penalty in generalization curves associated with exponential or power-law decays, achieving power-law optimality in both data- and compute-limited settings (Li et al., 23 Sep 2025, Bordelon et al., 4 Feb 2026).

This theoretical unity explains the empirical parity between decay-based and merge-based approaches: both achieve the optimal minimax rates, and merging recovers all the variance reduction and bias control of explicit decay.

6. Practical Implications and Guidelines

WSM is optimizer-agnostic and requires no complicated schedule design:

  • The user must specify only η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}6 (warmup), η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}7 (stable), merge window η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}8, and snapshotting frequency η(t)=ηpeaktT1\eta(t) = \eta_{\rm peak} \frac{t}{T_1}9.
  • No decay hyperparameters, curve fitting, or power exponents are needed.
  • Once T1t<T1+T2T_1 \le t < T_1+T_20 and T1t<T1+T2T_1 \le t < T_1+T_21 are fixed, merges can be updated online or retrospectively, with minimal compute and storage overhead.
  • Model merging as annealing is robust to model scale, batch size, and optimizer variant, and consistently outperforms or matches all tuned explicit-decay alternatives across tested LLM benchmarks (Tian et al., 23 Jul 2025).

Repeated findings indicate that, when model merging is permitted, the entire purpose of late-stage decay is effectively realized via a tailored ensemble of recent solutions, obviating the need for decaying the step size in the live run.

7. Broader Context and Extensions

Recent literature on loss prediction and optimal schedules via multi-power laws and SDE-based FSL frameworks corroborate that WSM and WSD are functionally equivalent solutions to the late-stage annealing problem in large-scale training (Luo et al., 17 Mar 2025, Bordelon et al., 4 Feb 2026, Li et al., 6 Feb 2026). In the prevalent “hard phase” for LLMs (small signal exponent T1t<T1+T2T_1 \le t < T_1+T_22, large T1t<T1+T2T_1 \le t < T_1+T_23), optimal schedules universally take a warmup-stable-decay/merge form, with decay/merge restricted to a vanishing late-stage tail. This vindicates the practical dominance of WSM- and WSD-type schedules in large-scale pre-training, and foregrounds model averaging as a simple, resource-efficient, and robust protocol for annealing.

All claims and results are derived from (Tian et al., 23 Jul 2025), with supporting insights from (Bordelon et al., 4 Feb 2026, Li et al., 23 Sep 2025, Li et al., 6 Feb 2026), and (Luo et al., 17 Mar 2025).

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Warmup-Stable-Merge Learning Rate Schedule.