NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Does Weight Decay Enhance Training Stability?

Marius Sæther, Amir Kolić, Pierfrancesco Beneventano, Tomaso Poggio

NeurIPS page · OpenReview · Open on the map

Category: Interpretability & Model Adaptation › Edge of Stability Dynamics · Type: theory · Keywords: weight decay, training stability, edge of stability, loss sharpness, phase transition, neural networks

Summary

We investigate whether weight decay truly stabilizes training dynamics and uncover architecture-dependent phase transitions, providing a mathematical framework that explains these effects.

Explained to a 5-year-old

Weight decay is a tiny push that pulls the numbers in a computer brain toward zero. It works like a gentle hand that stops the brain from getting too excited. When the brain learns new things, this gentle hand keeps the wiggles small. In some brain designs, like picture-recognizing ones, it smooths out the shaking. In other brain designs, like simple ones, it changes how the brain settles down.

Explained to a 5-year-old, longer

Weight decay is a small force that nudges the numbers in a computer's brain toward zero. It works like a gentle hand that stops the brain from getting too excited. When the brain learns new things, this gentle hand keeps the wiggles small. In some brain designs, like picture-recognizing ones, it smooths out the shaking. In other brain designs, like simple ones, it changes how the brain finds a stable spot. This change is called a phase transition, meaning the brain jumps to a new kind of behavior. The brain becomes steadier, which helps it remember better. The researchers built a math model to understand why this happens. They discovered that the direction of the brain's parameters and the direction of the sharpness point in the same way. This alignment is the key reason the brain stays stable. The findings apply to many computer learning tasks, not just one. Overall, weight decay helps computers learn more reliably.

For a technical reader

The paper investigates whether the commonly used weight decay hyperparameter actually stabilizes training dynamics in deep neural networks. By analyzing parameter updates and loss sharpness at the Edge of Stability, the authors reveal that weight decay slows progressive sharpening and can induce architecture-dependent phase transitions. In convolutional networks it dampens oscillations, while in multilayer perceptrons it drives sharpness to a lower threshold than the theoretical bound. A mathematical framework is introduced that links the alignment between the parameter vector and the sharpness gradient to these effects, providing a mechanistic explanation. The results suggest that weight decay contributes to more reliable convergence in function space, which can inform optimizer design and training protocols.

Problem

It is unclear whether weight decay truly stabilizes training dynamics and how it achieves this stabilization. The paper seeks to answer this question by analyzing its effects on parameter-space dynamics and loss sharpness at the Edge of Stability.

Method

We analyze how weight decay influences parameter-space dynamics and loss sharpness, focusing on the Edge of Stability. Using a mathematical framework, we model progressive sharpening and identify the alignment between the parameter vector and sharpness gradient as the driver of observed phase transitions in CNNs and MLPs.

Results

The approach shows that weight decay slows progressive sharpening, dampens oscillations in CNNs, and induces a phase transition in MLPs where sharpness stabilizes below the theoretical bound, leading to improved stability in function-space.

Contributions

We provide a mathematical framework that explains weight decay's stabilizing effects, uncover architecture-dependent phase transitions, and identify the alignment of the parameter vector and sharpness gradient as the mechanistic driver.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction