Training instabilities favor flatter solutions in gradient descent
Lawrence Wang1, Stephen J Roberts1
1Department of Engineering, University of Oxford, Parks Road, Oxford, OX1 3PJ, Oxfordshire, UK.
Summary
Training instabilities in deep learning, often avoided, surprisingly improve model generalization. This occurs because instabilities drive parameters toward flatter loss landscapes, enhancing performance and aiding generalization in deep networks.
Area of Science:
- Machine Learning
- Deep Learning Theory
- Optimization Algorithms
Background:
- Classical gradient descent (GD) stability is defined by the loss Hessian's largest eigenvalue (sharpness).
- High learning rates exceeding this threshold typically cause instability and monotonic loss decrease.
- Modern deep networks often achieve peak performance beyond the classical stability regime.
Purpose of the Study:
- To investigate the role of training instabilities in deep learning.
- To demonstrate how instabilities implicitly guide GD towards better generalization.
- To elucidate the geometric mechanisms behind instability-driven improvements.
Main Methods:
- Analysis of gradient descent dynamics beyond the stability threshold.
- Introduction and application of the Rotational Polarity of Eigenvectors (RPE) concept.
- Theoretical extension to stochastic gradient descent and empirical validation with Adam.
Main Results:
- Training instabilities implicitly favor flatter regions of the loss landscape.
- The Rotational Polarity of Eigenvectors (RPE) phenomenon drives Hessian eigenvectors rotation during instabilities.
- Instability-driven flattening improves generalization and is robust to minibatch noise in stochastic GD.
Conclusions:
- Training instabilities play a constructive role in deep learning, enhancing generalization.
- RPE provides a theoretical explanation for how instabilities lead to flatter minima.
- Restoring instabilities in optimizers like Adam further boosts generalization performance.
Related Concept Videos
Derivatives of Inverse Trigonometric Functions
536
A ship tracking an approaching aircraft relies on geometric measurements to find out the aircraft’s position relative to the observer. By measuring the slant distance to the aircraft and the angle of elevation, the horizontal and vertical components of the distance can be obtained using trigonometric relationships. This geometric approach provides a basis for analyzing how the observed angle changes as the aircraft moves closer to the ship.To examine the mathematical behavior of the angle of...
536
Survival Tree
497
Survival trees are a non-parametric method used in survival analysis to model the relationship between a set of covariates and the time until an event of interest occurs, often referred to as the "time-to-event" or "survival time." This method is particularly useful when dealing with censored data, where the event has not occurred for some individuals by the end of the study period, or when the exact time of the event is unknown.
Building a Survival Tree
Constructing a...
Building a Survival Tree
Constructing a...
497
Newton’s Method
168
Newton’s Method is a powerful iterative technique for approximating the roots of real-valued, differentiable functions, particularly when analytical solutions are impractical. This approach is widely used in scientific computing, engineering, and finance, where equations may be too complex for traditional algebraic methods to handle. The method relies on an iterative process that refines an initial estimate using the function’s derivative to approach the true solution progressively.
168
Stability of Equilibrium Configuration: Problem Solving
1.2K
The stability of equilibrium configurations is an important concept in physics, engineering, and other related fields. In simple terms, it refers to the tendency of an object or system to return to its equilibrium position after being disturbed. The stability of an equilibrium configuration can be analyzed by considering the potential energy function of the system and examining its behavior near the equilibrium point.
Problem-solving in the context of the stability of equilibrium configuration...
Problem-solving in the context of the stability of equilibrium configuration...
1.2K
One-Degree-of-Freedom System
940
In mechanical engineering, one-degree-of-freedom systems form the basis of a wide range of electrical and mechanical components. Using these models, engineers can predict the behavior of various parts in a larger system, which gives them insight into how different forces interact with each other.
A one-degree-of-freedom system is defined by an independent variable that determines its state and behavior. One example of a one-degree-of-freedom system is a simple harmonic oscillator, such as a...
A one-degree-of-freedom system is defined by an independent variable that determines its state and behavior. One example of a one-degree-of-freedom system is a simple harmonic oscillator, such as a...
940
Implicit Differentiation: Problem Solving
161
Curves defined implicitly, where variables cannot be separated algebraically, require specialized techniques for analysis. The conchoid of Nicomedes exemplifies such a case. Its equation links x and y in a way that prevents isolation of one variable, making implicit differentiation essential to determine the slope and behavior at any point on the curve.The implicit form of the conchoid can be expressed as:To differentiate this equation, y is treated as a function of x, and the chain rule is...
161

