Characterizing Optimizer-Dependent Training Dynamics Through Hessian Eigenvector Displacement and Localization
This paper analyzes the evolution of Hessian eigenvectors during neural network training to reveal distinct, optimizer-dependent dynamics, showing that SGD stabilizes leading curvature directions while Adam induces significant eigenvector reorganization and parameter localization.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine training a neural network (a type of AI) is like navigating a massive, foggy mountain range. Your goal is to find the lowest valley (the best solution), but the terrain is full of sharp peaks, deep pits, and confusing paths.
To help navigate, scientists use a mathematical tool called the Hessian. Think of the Hessian as a "terrain map" that tells you how steep the ground is at any specific spot.
- Eigenvalues tell you how steep the hill is.
- Eigenvectors tell you which direction that steepness points.
This paper asks a simple question: As the AI learns and moves across this mountain, does the "steepness map" stay the same, or does it constantly change shape?
The authors studied this using two different navigation tools (optimizers): SGD (a steady, step-by-step walker) and Adam (a fast, momentum-driven runner). Here is what they found, explained simply:
1. The "Steady Walker" vs. The "Restless Runner"
The researchers tracked how the "steepness directions" (eigenvectors) moved over time.
- SGD (The Steady Walker): Imagine you are walking through a forest. At first, you might stumble and change direction a lot. But as you get further along, you find a clear path, and your direction stabilizes. The paper found that SGD behaves this way. The "steepness directions" eventually settle down and stop moving much. The AI finds a stable path and sticks to it.
- Adam (The Restless Runner): Now imagine a runner who is constantly adjusting their stride, weaving left and right, and re-evaluating the terrain at every single step. The paper found that Adam never really settles. Even late in training, the "steepness directions" keep shifting and reorganizing. The map is constantly being redrawn.
2. The "Aging" Effect
The paper noticed something interesting about how these directions change over time, comparing it to glassy systems (like how glass hardens or how a crowd moves).
- In the beginning, the directions change quickly regardless of how long you've been training.
- Later on, the system "ages." If you wait a long time, the directions change very slowly.
- SGD eventually "freezes" into a stable state (it stops changing much).
- Adam keeps "melting" and rearranging itself, never fully freezing, suggesting it is constantly exploring new parts of the terrain.
3. The "Spotlight" Effect (Localization)
The researchers also looked at where the steepness is coming from. Is the steepness spread out evenly across the whole AI brain, or is it concentrated in just a few specific neurons? They used a metric called the Inverse Participation Ratio (think of it as a "spotlight" measure).
- SGD (The Wide Beam): SGD acts like a wide floodlight. The steepness is spread out evenly across many different parts of the network. No single part is doing all the heavy lifting; it's a team effort.
- Adam (The Laser Pointer): Adam acts like a laser pointer. The steepness becomes highly concentrated on a very small subset of the network's parameters. A tiny group of "weights" (the AI's internal knobs) is responsible for almost all the curvature, while the rest of the network is relatively flat.
The Big Picture
The main takeaway is that the choice of optimizer changes the geometry of the learning journey.
- SGD leads the AI to find a stable, broad path where the terrain settles down, and many parts of the network share the load.
- Adam keeps the AI in a state of constant flux, where the terrain keeps reshaping itself, and a tiny, specific group of parameters dominates the most critical directions.
The paper concludes that by watching how these "steepness directions" move and where they concentrate, we can understand the fundamental differences in how these optimizers explore the learning landscape. It's not just about getting to the bottom of the valley; it's about how you get there and what the path looks like along the way.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.