While unregularized linear neural networks are famous for having "nice" loss landscapes where every critical point is a global minimum, adding even a tiny amount of weight decay (regularization) fundamentally changes the game. By applying optimal control theory, researchers have demonstrated that regularization introduces local minima and saddle points, revealing an optimization landscape that is much more complex than previously thought.
Introduction
In the quest to understand why deep learning works so well, researchers often study linear neural networks. These are simplified models where the activation functions are identities, making the entire network a chain of matrix multiplications. A celebrated result in this field is that for these networks, the mean-squared error loss landscape is exceptionally well-behaved: there are no "bad" local minima. Every point where the gradient is zero is either a global minimum or a saddle point.
However, in practice, machine learning models almost always use regularization (like weight decay) to prevent overfitting. This paper investigates a critical gap in our understanding: does this "nice" landscape property hold up when we add regularization? The authors explore how the introduction of a weight penalty ($\lambda$) affects the existence and optimality of critical points.
The Optimal Control Approach
To tackle this problem, the authors bridge the gap between deep learning and Optimal Control Theory through several key methodological steps:
- Continuous-Time Modeling: Instead of looking at discrete layers, the network is modeled as a continuous-time system where "time" represents the depth of the network. The weights become a time-varying matrix $A_t$.
- Hamilton’s Formulation: The training process is framed as an optimal control problem. By defining a "Control Hamiltonian," the authors use Pontryagin’s Maximum Principle to derive the necessary conditions for a set of weights to be optimal.
- The Characteristic Equation: They successfully reduce the complex problem of finding optimal weight paths (which are infinite-dimensional) into solving a single, finite-dimensional nonlinear matrix equation called the characteristic equation. This provides a closed-form characterization of all possible critical points for any $\lambda > 0$.
- Bifurcation Theory: Finally, they use tools from bifurcation theory to track how the solutions to this equation change as the regularization parameter $\lambda$ moves away from zero.
Key Findings
The Advantage of Non-Constant Weights
The paper reveals a deep connection to linear algebra regarding the nature of the target transformation. If the transformation the network is trying to learn is "normal" (meaning it commutes with its transpose), the optimal weights are constant across all layers. However, if the target is non-normal, the optimal weights must change as you go deeper into the network.
For certain tasks, a network with weights that change from layer to layer actually achieves a lower regularized cost than a network restricted to constant weights.
Bifurcation and Saddle Point Emergence
The most striking insight from the paper is that even an infinitesimal amount of regularization ($\lambda \to 0^+$) can create local minima that are not global. This suggests that the "implicit regularization" of gradient descent might be leading optimization to points that are qualitatively different from unregularized solutions.
Using numerical continuation on synthetic linear transformations (like rotation matrices), the authors show how critical points "branch out" or disappear as regularization strength changes. Solutions that were once minima can turn into saddle points, and entirely new branches of critical points can emerge.
As seen in the bifurcation diagrams, while there are infinitely many ways to reach a global minimum with zero regularization, only a select few of those solutions "survive" when weight decay is added, branching into distinct minima and saddle points.
Limitations and Future Directions
While these findings provide profound intuition, the results are strictly constrained to linear networks. The authors acknowledge that nonlinear networks (incorporating ReLUs, Sigmoids, etc.) will exhibit even more complex interactions.
Furthermore, the paper primarily focuses on first-order conditions (where the gradient is zero). While the authors conjecture which points are minima versus saddles based on numerical evidence, a rigorous second-order (Hessian-based) stability analysis remains an open challenge.
Looking forward, the authors suggest that their characteristic equation could be used to study generalization error—specifically, how the optimization algorithm's choice of a specific critical point branch affects the network's performance on unseen data.
Summary updated