From Learning Rates to Rotational Schedules: Finite-Horizon Theory on the Sphere
Authors: Jacopo Graldi, Antonio Orvieto, Anastasia Koloskova
Organizations: Department of Mathematical Modeling and Machine Learning, University of Zurich · ELLIS Institute Tübingen, MPI for Intelligent Systems, Tübingen AI Center
How should step sizes be scheduled across a finite training horizon? Cosine and warmup-stable-decay (WSD) schedules are widely adopted in large-scale pretraining, yet their effect on optimization also depends on parameter norms. Normalization can make parameter groups scale invariant, so that the loss depends only on their direction, while their norms still affect how fast the parameters rotate. In this work, we formulate schedule design directly in the space of rotational motion. Working within a geodesically convex spherical setting, we derive a last-iterate convergence guarantee for arbitrary rotational schedules that separates their overall scale from their distribution over time. We derive the unique schedule that minimizes this bound and prove that it approaches linear decay as the horizon grows. Empirically, our rotational interpretation and idealized spherical analysis provide useful predictions for LLM pretraining in practice, including schedule comparisons missed by existing analyses. Our analysis predicts schedule ordering across model scales for both vanilla (Adam, Muon) and Hyperball-style (AdamH, MuonH) optimizers. Our Hyperball experiments support the predicted strong performance of linear LR decay and confirm our prediction that WSD underperforms in this setting. Accounting for parameter norm dynamics, we predict instead the strong performance of WSD for Adam and Muon shown in practice. Guided by our theoretical insights, we also derive a new LR schedule for Adam and Muon, which improves over the established cosine and WSD schedules. All in all, these results support the use of rotational dynamics to understand, predict, and ultimately guide scheduling in LLM pretraining.
Figures & tables
Figure 1: Schedule predictions and 720M Muon pretraining curves. Left: the bound of Schaipp et al. (2025) evaluated on learning rates; it predicts the wrong WSD–cosine ordering. Center: our bound on predicted rotational profiles; accounting for norm growth recovers the observed schedule ordering. Right: validation loss, with mean and one sample standard deviation across three random seeds.
Figure 2: A gradient descent step on the sphere. The learning rate and radius determine stGD=ηt/∥xt∥2 .
Figure 3: 124M schedule comparisons relative to cosine, with Hyperball on the left and without it on the right. Dark bars show final validation loss differences (averaged over three random seeds), with one sample standard deviation (right axis). Hatched bars show the bound on learning rates of Schaipp et al. (2025) ; blue bars show our bound on predicted rotations (left axis). Each profile receives its optimal amplitude over updates 2,001–20,000.
Figure 4: Constructed schedules for Adam (top) and Muon (bottom), compared with linear, cosine, and WSD. Left: learning rates divided by each schedule’s overall peak; purple curves represent distinct matrix groups. Center: measured unit-sum rotational profiles, with the theoretical target shown by the circles. Right: validation loss over the final 10%. Measured curves and bands show means and standard deviation across three evaluation seeds.
Appendix figures & tables22 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 5: Sphere geometry used in the proof. (a) The tangent plane is drawn as x^+Tx^S . The logarithm map assigns to y a tangent vector whose length is the shortest arc distance; the exponential map returns this vector, or any fraction of it, to the corresponding point on that arc. (b) In the plane spanned by x^ and y , the radial projection is cosθx^ , the perpendicular residual has length sinθ , and the Log vector and arc have length θ .
Figure 6: Two operations on the same tangent vector, shown at s∥g~∥=1.1 to make their difference visible. (a) Normalizing the proposal x^−sg~ projects back to the sphere, turning by arctan(1.1)≈0.833 radians. (b) Applying Exp follows the great circle for 1.1 radians. Both endpoints lie in the same plane.
Figure 7: Normalized last-iterate bounds at T=20,000 . Each schedule uses its final-horizon optimal amplitude; the dotted envelope reoptimizes normalized schedule and amplitude at every iteration.
Figure 8: Exact optimum (black) and WSD (teal) trajectories at horizons T∈{5,000,10,000,15,000,20,000} , shown against iteration. WSD uses no warmup and a final 20% linear cooldown. Dotted, dashed, dash-dotted, and solid lines indicate T=5,000,10,000,15,000,20,000 , respectively. (a) Rescaled rotational coefficients. (b) Prefix bounds from ( C.29 ), with the gray dotted optimal-bound envelope from ( C.30 ). Each exact optimum meets the envelope at its final horizon.
Figure 9: Last-iterate bounds at the longer horizon T=50,000 . The dotted gray curve is the optimal-bound envelope, and the vertical dotted line marks the start of WSD’s final 20% linear cooldown at t=40,000 .
Figure 10: Final bound versus the rescaled initial coefficient G1+θcaps1/D at T=20,000 . Stars mark the minima from ( C.31 ). The minima occur at different rescaled initial coefficients, while relative sensitivity around each minimum is (r+r−1)/2 .
Schedule
AdamH
MuonH
Adam
Muon
Linear
0.01414
0.01000
0.00100
0.01000
Cosine
0.01414
0.01000
0.00141
0.01000
WSD
0.00707
0.00500
0.00100
0.01000
Constant
0.00354
0.00177
0.00141
0.00707
Matrix-wise
–
–
0.00368
0.01200
Shared LR (ablation)
–
–
0.00130
0.01200
Appendix
Table 1: Peak matrix learning rates used in the three-seed comparisons. The matrix-wise entry is the maximum across matrices and updates. Selection of the constructed schedules’ rates is described in Sec. E.8 .
Figure 11: Measured turning angles for (a) AdamH and (b) MuonH: mean ± one sample standard deviation across three evaluation seeds. Open circles show the tangent-update prediction arctanηt from ( 4.2 ).
Figure 12: 124M Hyperball pretraining with (a) AdamH and (b) MuonH. Curves and bands show validation-loss means and one sample standard deviation across three evaluation seeds at independently tuned peak rates. Linear and cosine end at similar losses, both lower than those of WSD and the constant schedule.
Figure 13: Learning-rate sensitivity for the four standard schedules. Top: the Hyperball bound over the 18,000 post-warmup updates. Below: final validation loss for Adam and Muon, with Hyperball in the middle row and without it in the bottom row. Horizontal axes are relative to linear’s analytical optimum (top) or selected peak learning rate (below); dotted lines mark this reference at one. Stars mark analytical bound minima and selected learning rates.
Figure 14: Validation trajectories for (a) Adam and (b) Muon without Hyperball or weight decay: mean ± one sample standard deviation across three evaluation seeds at the selected rates. After cooldown, WSD ends at a lower loss than cosine in both panels, reversing their ordering under Hyperball.
Figure 15: Angles from initialization for AdamH (left) and MuonH (right). Each curve shows the largest angle across the 60 matrices at update zero and after every update through 20,000. The horizontal dotted line marks π/2 ; the vertical dotted line marks the end of the 2,000-update warmup.
Figure 16: Local sensitivity to relative matrix rescaling: ∣⟨∇Xℓt(Xt),Xt⟩F∣ . AdamH and MuonH are above Adam and Muon. Curves show the median, 90th percentile, and maximum across 60 matrices, sampled every 50 updates in one seed-zero linear-schedule run per optimizer. Shading marks the 2,000-update warmup.
Figure 17: Radial fraction of the raw loss gradient, defined in ( E.4 ). Curves show the median, 90th percentile, and maximum across 60 matrices, sampled before clipping every 50 updates in one seed linear-schedule run per optimizer. Shading marks warmup.
Figure 18: Predicted and measured profiles for Adam (top) and Muon (bottom). Open circles show model predictions; curves and bands show the measured mean and one sample standard deviation across three evaluation seeds. Left: predicted norm growth and measured norm ratios relative to initialization, each scaled to one at its endpoint. Right: unit-sum rotational profiles over updates 2,001–20,000.
Figure 19: Predicted bounds (left) and validation loss (right) for Adam (top) and Muon (bottom). Bounds use the predicted rotational profiles, begin after warmup, and retain each profile’s full-horizon optimal coefficient sum. Loss curves and bands show the measured mean and one sample standard deviation across three evaluation seeds. Both columns use the fraction of all 20,000 updates.
Figure 20: Learning-rate sensitivity at 720M. Top: the Hyperball bound over the 14,000 post-warmup updates. Bottom: final validation loss for MuonH and Muon. Horizontal axes are relative to linear’s analytical optimum (top) or selected peak rate (bottom). Stars mark the minima.
Figure 21: Predicted bounds (left) and validation loss (right) at 720M, with MuonH above and Muon below. Each predicted rotational profile over updates 2,001–16,000 retains its full-horizon optimal coefficient sum for every prefix. Loss curves and bands show the mean and one sample standard deviation across three evaluation seeds. Zooms show the final 10% of training.
Figure 22: Predicted and measured Muon profiles at 720M. Left: norm growth normalized by its endpoint. Right: unit-sum rotational profiles over updates 2,001–16,000. Open circles show predictions; curves and bands show the measured mean and one sample standard deviation across three evaluation seeds.
Figure 23: Constructed learning-rate schedules at the selected overall peaks for Adam (left) and Muon (right). Labels identify the matrix types using each curve across all twelve blocks; coincident schedules are drawn once. All rates in each panel are divided by its overall peak, preserving their relative heights.
Figure 24: Learning-rate sensitivity of the matrix-wise schedules for Adam (left) and Muon (right). Points show final validation loss for completed runs on the tuning seed; stars mark the best tested overall peaks.
Figure 25: Matrix-wise scheduling and its shared-LR ablation for Adam (top block) and Muon (bottom block), compared with independently tuned linear, cosine, and WSD. Within each 2×2 block, top left: precomputed learning rates divided by each schedule’s overall peak, using one common peak for all purple matrix-class curves; coincident curves are drawn once. Top right: measured unit-sum rotational profiles derived from the median turning angle across the 60 matrices; open circles show the theoretical target. Bottom left: measured validation loss. Bottom right: the final 10% of the same loss curves. Measured rotation and loss curves show means across three evaluation seeds; bands show one sample standard deviation. Final-loss comparisons use the separate final validation measurements.
Standard learning rate schedules such as cosine annealing are tied to a fixed training horizon, limiting their ability to accommodate post hoc horizon extension. Warmup-stable-decay (WSD) partially addresses this issue by maintaining a long constant-rate phase before a short linear cooldown, allowing training to resume from a pre-decay checkpoint. However, its peak learning rate is still tuned based on the original training horizon and can become suboptimal when training is extended. Motivated by stochastic convex optimization, we propose WSqD (Warmup with Square-root base and linear Decay), a learning rate schedule that replaces WSD's constant stable phase with a shifted inverse-square-root base while retaining the final linear cooldown. In the stochastic convex setting, WSqD provably attains the minimax-optimal O(1/T) last-iterate convergence rate. Importantly, its base learning rate schedule is horizon-independent, and the training horizon is needed only to determine when to begin the final cooldown. Empirically, on language-model pretraining using the SlimPajama corpus, WSqD matches or outperforms carefully tuned WSD and other baselines across multiple training horizons while reusing a single peak learning rate.
Jianhao Ma, Yuxin Chen
Department of Statistics and Data Science, University of Pennsylvania
We investigate the role of learning rate scheduling in the large-scale pre-training of large language models, focusing on its influence on downstream performance after supervised fine-tuning (SFT). Decay-based learning rate schedulers are widely used to minimize pre-training loss. However, despite their widespread use, how these schedulers affect performance after SFT remains underexplored. In this paper, we examine Warmup-Stable-Only (WSO), which maintains a constant learning rate after warmup without any decay. Through experiments with 1B and 8B parameter models, we show that WSO consistently outperforms decay-based schedulers in terms of performance after SFT, even though decay-based schedulers may exhibit better performance after pre-training. The result also holds across different regimes with mid-training and over-training. Loss landscape analysis further reveals that decay-based schedulers lead models into sharper minima, whereas WSO preserves flatter minima that support adaptability. These findings indicate that applying LR decay to improve pre-training metrics may compromise downstream adaptability. Our work also provides practical guidance for training and model release strategies, highlighting that pre-training models with WSO enhances their adaptability for downstream tasks.
Schedule-Free Learning has shown promise as a practical anytime training method for machine learning, showing success across dozens of standard benchmark problems. However, strong performance for LLM training has only been demonstrated at small scales. We identify a number of fixes necessary to scale up Schedule-Free Learning to larger batch sizes and model sizes, and present a learning-rate-free and schedule-free method (ScheduleFree+) for training large language models which greatly outperforms Warmup-Stable-Decay (WSD) schedules. We also demonstrate that Schedule-Free Learning is most effective for long duration training, and at 1000 tokens per parameter, it outperforms SOTA schedules by 31%. Schedule-Free Learning provides a theoretical foundation for the use of model averaging and checkpoint merging during pretraining.