Introduction
In the regime of overparameterized deep learning, models often possess far more parameters than training examples. Despite the existence of infinitely many global minima that fit the training data perfectly, optimization algorithms like Gradient Descent (GD) tend to converge to solutions that generalize remarkably well. This phenomenon, known as implicit bias, is a cornerstone of modern machine learning theory.
While momentum-based methods (e.g., Heavy-Ball, Nesterov’s Accelerated Gradient) are standard tools for accelerating convergence, their impact on implicit bias has been historically debated. Previous studies on simple linear regression suggested that momentum does not alter the final solution. This paper challenges that view by examining Diagonal Linear Networks (DLNs), which serve as a tractable proxy for the non-convex dynamics of deep neural networks. The authors demonstrate that momentum fundamentally shifts the optimization path, leading to different—and often superior—implicit regularization.
Theoretical Framework
The study analyzes the continuous-time limits of two prominent algorithms:
- Heavy-Ball (HB) Flow
- Nesterov’s Accelerated Gradient (NAG) Flow
By employing $O(\eta)$-continuous approximations (where $\eta$ is the learning rate), the authors model these algorithms as second-order Ordinary Differential Equations (ODEs). This approach allows for a precise characterization of the optimization path in a 2-layer DLN, defined by the mapping $f(x; u, v) = (u \odot u - v \odot v)^T x$. The resulting analysis identifies the specific optimization problem solved by the limit points of these flows, contrasting them with standard Gradient Flow (GF).
Key Insights: Initialization and Gradient Dependence
The core finding is that momentum induces an initialization mitigation effect. In DLNs, the implicit bias is sensitive to the initialization scale; smaller initial weights typically lead to a stronger $\ell_1$ (sparse) regularization. Momentum effectively "shrinks" the perceived initialization, allowing the model to achieve the benefits of sparse recovery even when starting from larger, more numerically stable initial weights.
Furthermore, the implicit bias under momentum depends explicitly on the initial gradient $\nabla L(\theta(0))$. This distinguishes it from standard GD, where the bias is largely independent of the initial gradient's direction. This dependence implies that momentum is most beneficial when the initial gradient is "benign" or aligned with the target solution, but it can potentially hinder generalization if the initial gradient is highly biased.
Experimental Results
The authors validated their theoretical findings using synthetic overparameterized sparse regression tasks ($n=40, d=100$).
As shown in Figure 4, momentum-based methods (HB and NAG) consistently achieve lower recovery errors compared to standard GD across various settings. Specifically:
- Initialization Scale ($\varphi$): Momentum methods maintain better sparse recovery performance as the initialization scale increases, confirming the mitigation effect.
- Initial Gradient Influence ($\Vert\xi\Vert_1$): The error increases for all methods as the influence of the initial gradient grows, with GD often being the most sensitive to this bias.
- Saddle Point Escape: Momentum facilitates escaping saddle points (e.g., near the origin) while preserving the sparse bias typically associated with infinitesimal initializations.
Conclusion and Future Directions
This work provides a rigorous foundation for understanding how momentum shapes the implicit bias of neural networks. By showing that momentum acts as a dynamic regularizer that mitigates initialization effects, the authors bridge the gap between optimization theory and practical performance.
However, several challenges remain. Extending these results to deeper, non-diagonal architectures is a critical next step. Additionally, while the continuous-time ODE approximation is highly accurate, discrete-time effects such as "Grokking" or the "Edge of Stability" may introduce further nuances not captured by this model. Future research should explore these discrete artifacts and their role in the generalization of large-scale models.
Summary updated