Learning rate schedules seem mysterious?
Turns out that their behaviour can be described with a bound from *convex, nonsmooth* optimization.
Short thread on our latest paper 🚇
https://t.co/DGHoG1FS3f
The sudden loss drop when annealing the learning rate at the end of a WSD (warmup-stable-decay) schedule can be explained without relying on non-convexity or even smoothness, a new paper shows that it can be precisely predicted by theory in the convex, non-smooth setting!
1/2
How well do you understand training dynamics for deep nets?
Here’s a CS312 (Deep Learning Alchemy) prediction question: midway through training an LM, we temporarily lower the learning rate and then restore it. How does validation loss change relative to the original run? ↓
We train a 35M-parameter LM with a WSD learning-rate schedule (peak LR 0.003, tuned roughly to be optimal for this setting). Consider two different learning rate schedules
A short LR drop: between 40-50% of training, dropping to 0.1x the original LR.
A longer, shallower LR drop: between 35-55%, dropping to 0.55x the original LR.
These LR drops are matched so that the total sum of the removed LRs is the same in both.
How does the shape of the dip affect validation loss during the dip and after the LR returns?
The image shows four qualitative predictions.
A: The deeper LR drop leads to a larger loss drop and a large penalty after
B: A deeper LR drop leads to a large temporary loss drop, but both match soon after.
C: Both LR drops keep the loss curve monotone, but a larger LR drop leads to slower progress
D: The deeper LR drop leads to a larger temporary loss drop, and this gain persists long term
Try the full quiz: https://t.co/E4Utj54GiU
@BachFrancis overall, many results also hold in the least-squares case:
- linear-decay is best among WSD
- LR cooldown is always beneficial (by a polynomial factor here)
- the base LR can be reliably transfered across cooldown lengths
new paper (and last one from my postdoc):
https://t.co/9pVC8nxgtv
we analyze WSD schedules for least-squares problems.
this is excellent work from Noé, who lead this paper during his internship at Inria, together with @BachFrancis .
@BachFrancis this is a follow-up to our paper from 2025 using convex nonsmooth theory.
the least-squares setting allows to get exact (!) risks, and to model other factors such as noise/batch sizes. (caveat: the maths become much harder)