← Latest papers
🤖 machine learning

Dynamics of Gradient Descent with Large Step Size Near a Manifold of Flat Minima

This paper extends the theory of gradient descent with large step sizes from isolated flat minima to manifolds of flat minima in overparametrised least-squares with vector-valued outputs, establishing a generalized normal form and convergence results that reveal the fibre bundle structure of flat minima in deep matrix factorisation.

Original authors: Lachlan Ewen MacDonald, René Vidal

Published 2026-07-10
📖 7 min read🧠 Deep dive

Original authors: Lachlan Ewen MacDonald, René Vidal

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 you are trying to find the lowest point in a vast, foggy landscape. This landscape represents the "loss" of a deep neural network—a measure of how wrong the computer is. The goal is to get to the very bottom.

For a long time, computer scientists thought the best way to do this was to take tiny, careful steps downhill. They believed that if you took a step that was too big, you would overshoot the bottom, bounce back up, and eventually fly off into the sky (diverge). They had a strict rule: your step size had to be smaller than a specific limit determined by how "sharp" the bottom of the valley was. If the bottom was a needle point (sharp), you had to take microscopic steps. If it was a wide, flat bowl, you could take slightly larger steps.

But here's the plot twist: in the real world of training AI, people started taking huge steps. Instead of crashing, the AI got smarter, faster, and surprisingly, it seemed to prefer landing in those wide, flat bowls rather than the sharp needle points. This behavior was a mystery. It was like watching a skier take a massive jump, land perfectly in a soft snowbank, and glide to a stop, defying all the physics textbooks that said they should have crashed.

This paper is the team of detectives who finally figured out why the skier didn't crash, and exactly how they landed.

The Big Discovery: The "Flip" and the "Slide"

The authors, Lachlan MacDonald and René Vidal, took the old, simple theories and upgraded them to handle the messy, high-dimensional reality of modern AI. They discovered that when you take a large step, the AI doesn't just wander randomly. It actually splits its behavior into two distinct modes, like a car that can drive forward and also spin in place.

1. The "Flip" (The Bouncing Ball):
Imagine the AI is bouncing on a trampoline. If the step size is just right, the AI bounces up and down in a very specific rhythm. It doesn't stop bouncing immediately; instead, it settles into a stable, repeating pattern of bouncing back and forth. The paper proves that if the step size is slightly too big (but not too big), the AI will oscillate in a perfect, predictable loop right above the flat bottom. It's not a mistake; it's a feature.

2. The "Slide" (The River):
While the AI is bouncing up and down (the flip), it is also slowly sliding sideways along the flat bottom of the valley. The authors show that the AI is essentially performing a special kind of "Riemannian gradient descent" along this flat surface. Think of it like a river flowing along a flat plain. The river doesn't care about the tiny bumps in the sand; it just flows smoothly toward the flattest, most stable part of the landscape.

The Shape of the "Flat"

One of the most exciting parts of this paper is how they describe the "flat minima" (the wide, safe valleys). Previous theories treated these flat spots as isolated islands. But the authors show that in complex problems like matrix factorization (a key technique in deep learning), these flat spots aren't just single points. They are actually a fibre bundle over a product of spheres.

Let's translate that into plain English: Imagine the flat valley isn't a single room, but a giant, multi-layered structure. The base of this structure is a collection of spheres (like the surface of a ball). On top of every point on these spheres, there is a whole "fiber" or a small room of solutions. The AI doesn't just find one solution; it finds a whole connected, smooth family of solutions that are all equally good. The paper proves that the "sharpness" (how steep the sides are) changes smoothly as you move around this structure, behaving in a very orderly way called "Morse-Bott."

What They Proved vs. What They Simulated

The authors didn't just guess this; they built a rigorous mathematical framework to prove it.

  • The Theory: They proved that for a wide range of step sizes, the AI's behavior splits into three distinct regimes:

    • Subcritical (Safe but slow): If the step is small enough, the AI converges exponentially fast to a "sub-optimally flat" minimum. It's safe, but maybe not the absolute flattest spot.
    • Critical (The Sweet Spot): If the step size hits a specific threshold (exactly 2/λ12/\lambda_1, where λ1\lambda_1 is the sharpness), the AI converges to the flat minimum at a rate of t1/2t^{-1/2}. This is a specific, proven mathematical rate. They showed this happens in simulations of matrix factorization.
    • Supercritical (The Dance): If the step is slightly larger than the threshold, the AI doesn't stop at the bottom. Instead, it converges exponentially to a period-2 orbit. This means it settles into a stable, repeating cycle of two points, oscillating back and forth. The paper proves this cycle exists and is stable.
  • The Simulations: To back up their math, they ran experiments on matrix factorization problems (specifically 3-layer, 2×22 \times 2 matrix factorization). In these simulations, they watched the AI take large steps. The graphs showed exactly what the math predicted: the AI bounced, then settled into the t1/2t^{-1/2} slide, or locked into the period-2 dance.

What They Explicitly Rule Out

It is important to know what this paper says is not happening.

  • It is not random chaos: The paper explicitly rules out the idea that large steps lead to random, unpredictable behavior in these specific regimes. The oscillation is a structured, stable period-2 orbit, not a chaotic mess.
  • It is not just about single points: The paper argues against the idea that flat minima are isolated. They prove that in these systems, the minima form a continuous, smooth manifold (a connected surface), not a scattered collection of dots.
  • It is not a global guarantee: The authors are careful to state that their proofs are local. They prove what happens near the flat minima. They do not claim to have solved the mystery of how the AI finds the flat minima from a random starting point far away (the "progressive sharpening" phase). They only explain what happens once the AI is already in the neighborhood of the flat spot.

The "Edge of Stability"

The paper connects this to a phenomenon called the "Edge of Stability." This is the regime where the AI teeters on the edge of crashing but doesn't fall. The authors show that this isn't a bug; it's a specific dynamical state where the AI implicitly performs a "Riemannian gradient descent" on the sharpness itself. It's as if the AI is using the bounce to feel out the landscape and slide toward the flattest possible spot.

The Bottom Line

This paper takes a complex, high-dimensional problem and gives us a clear map. It shows that when we take big steps in training AI, we aren't just guessing. We are engaging in a sophisticated dance where the AI bounces in a stable rhythm while simultaneously sliding along a smooth, connected surface of perfect solutions.

They proved that for matrix factorization, this surface is a beautiful geometric structure (a fibre bundle over spheres), and they proved that the AI's movement on this surface follows strict, predictable laws. While they haven't solved the entire mystery of deep learning (like how to get from the start to the finish line), they have provided the first rigorous, mathematical explanation for why taking huge steps works so well once you are close to the solution.

In short: The AI isn't crashing; it's dancing. And thanks to this paper, we finally have the sheet music.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →