Universal Dynamics of Warmup Stable Decay: understanding WSD beyond Transformers
Annalisa Belloni, Lorenzo Noci, Antonio Orvieto
TL;DR
The paper investigates whether Warmup Stable Decay (WSD) benefits extend beyond transformer-based language models by comparing its training dynamics in a 160M-parameter LM and a small CIFAR-10 CNN. It analyzes loss landscapes via river valley interpolations, sharpness evolution under AdamW, and the trajectory directions during stable and cooldown phases. Key findings include convex valley-like loss profiles during the stable phase, a sharp descent during cooldown, and two dominant training directions corresponding to the two phases, alongside evidence of near-quasi-convexity along the optimizer's path. These results suggest that WSD-driven dynamics reflect general high-dimensional optimization geometry rather than architecture-specific phenomena, with implications for continual training and cross-architecture training insights.
Abstract
The Warmup Stable Decay (WSD) learning rate scheduler has recently become popular, largely due to its good performance and flexibility when training large language models. It remains an open question whether the remarkable performance of WSD - using a decaying learning rate for only a fraction of training compared to cosine decay - is a phenomenon specific to transformer-based language models that can potentially offer new theoretical insights into their training dynamics. Inspired by the usage of learning rate schedulers as a new lens into understanding landscape geometry (e.g., river valley, connected minima, progressive sharpening), in this work we compare the WSD path of the Adam optimizer on a Pythia-like language model to that of a small CNN trained to classify CIFAR10 images. We observe most training signals, optimizer path features, and sharpness dynamics to be qualitatively similar in such architectures. This consistency points to shared geometric characteristics of the loss landscapes of old and new nonconvex problems, and hints to future research questions around the geometry of high dimensional optimization problems.
