Weight Normalization (WN) is widely known as a practical trick for accelerating the training of deep neural networks. However, this paper demonstrates that it is much more than an optimization accelerator: it acts as a powerful implicit regularizer. In overparametrized models, WN—along with a simplified variant called reparametrized projected gradient descent (rPGD)—naturally steers the optimization process toward the minimum-norm solution. This makes the training process significantly more robust to "bad" initializations compared to standard gradient descent.
The Challenge of Overparametrization
In modern machine learning, models are typically "overparametrized," meaning they possess far more parameters than there are data points in the training set. Consequently, these models can perfectly fit the training data in infinitely many ways. To ensure the model generalizes well to unseen data, practitioners generally prefer the "simplest" solution, mathematically represented as the solution with the minimum $\ell_2$ norm.
Standard Gradient Descent (GD) is highly sensitive to where it starts. It only reliably finds this minimum-norm solution if initialized exactly at zero. If initialized far from the origin, GD converges to a solution heavily biased by that starting point, which can harm generalization. While normalization techniques like Batch Normalization and Weight Normalization are ubiquitous for stabilizing training, the theoretical foundation for why they improve generalization has remained elusive. This paper bridges that gap by analyzing the implicit regularization effect of Weight Normalization.
Methods: WN and rPGD
The authors focus their analysis on overparametrized linear least squares regression, studying two primary algorithms:
- Weight Normalization (WN): This method reparametrizes the weight vector $x$ into a scalar "length" or scale parameter $g$ and a direction vector $w$, such that $x = g \cdot \frac{w}{\|w\|_2}$.
- Reparametrized Projected Gradient Descent (rPGD): A simpler variant introduced by the authors where $x = gw$, and the direction vector $w$ is explicitly kept on a unit sphere via a projection step after each gradient update.
The researchers analyze these methods through two distinct mathematical lenses:
- Continuous-Time Analysis: By treating the optimization process as a continuous "flow" governed by differential equations, they uncover a mathematical invariant—a property that remains constant throughout training. This invariant links the scale $g$ to the component of the weights that resides in the null space of the data (the part that doesn't help solve the task).
- Discrete-Time Analysis: They translate these continuous insights into specific convergence rates and step-size conditions for the actual, discrete algorithms used in practice.
Key Insights
- Robustness to Initialization: The most striking finding is that WN and rPGD can naturally "correct" for a large initialization. While vanilla GD remains trapped far from the minimum norm if started poorly, the dynamics of WN naturally shrink the components of the weight vector that do not contribute to the data fit.
- The Power of the Invariant: The continuous-time analysis reveals that the quantity $\|w^\perp_t\|^2 \cdot \exp(g_t^2/2c)$ is invariant. This implies that as the scale $g$ grows to fit the training data, the "bad" part of the weight vector ($w^\perp$, which lies in the null space) must shrink exponentially fast.
- Non-convexity is a Feature, Not a Bug: Reparametrizing a simple convex linear problem with WN transforms it into a non-convex problem. While non-convexity is usually viewed as a hurdle, here it introduces a "self-balancing" property that provides the exact regularization that standard GD lacks.
- Direction First, Scale Later: The theoretical analysis suggests an optimal trajectory for reaching the minimum-norm solution: keep the scale $g$ small initially while the direction $w$ "finds" the correct orientation, and only then allow the scale to grow to fit the data.
Key Results and Empirical Validation
The authors prove that in the limit of infinitesimally small step sizes, WN and rPGD follow the exact same optimization path (the "WN flow"). Despite the non-convex landscape introduced by the reparametrization, they prove that the loss decreases at a geometric (exponential) rate, provided the scale $g$ is managed correctly.
Crucially, the final solution found by these methods is mathematically shown to be much closer to the minimum-norm solution than the result of vanilla GD, particularly when the initial scale $g_0$ is small.
This theoretical closeness is validated empirically. In synthetic overparametrized linear regression tasks (where the number of features exceeds the number of samples), simulations demonstrate that for a wide range of initialization magnitudes, both WN and rPGD consistently converge to solutions with significantly lower norms than Vanilla GD.
Limitations and Future Work
While this paper provides a strong theoretical foundation for Weight Normalization, it has a few limitations:
- Linear Models: The proofs are primarily established for linear least squares. Although the authors suggest these insights may apply to the "Neural Tangent Kernel" regime (where deep networks behave similarly to linear models), formally extending these proofs to deep, non-linear architectures remains an open challenge.
- Specific Normalization: The analysis is strictly focused on Weight Normalization. Other popular techniques like Batch Normalization or Layer Normalization involve different dynamics (such as mean-shifting across batches or features) that are not covered by this framework.
- Step-size Sensitivity: Some of the discrete-time convergence results require a "two-stage" learning rate schedule or very small step sizes for the scale parameter $g$, which may not perfectly align with how practitioners tune these hyperparameters in the wild.
Summary updated