← Latest papers
💻 computer science

Why SGD is not Brownian Motion: A New Perspective on Stochastic Dynamics

This paper challenges the standard Brownian motion approximation of Stochastic Gradient Descent by deriving a discrete Fokker-Planck equation from the discrete update rule, revealing that SGD dynamics near critical points decompose into confined and diffusive regimes where nearly-flat directions exhibit unbounded variance growth proportional to the learning rate.

Original authors: Igor Ignashin, Anna Radovskaya, Andrew Semenov, Egor Lopatin, Stanislav Potapov, Aleksandr Kovalenko, Andrey Veprikov, Aleksandr Shestakov, Andrey Leonidov, Aleksandr Beznosikov

Published 2026-05-22
📖 5 min read🧠 Deep dive

Original authors: Igor Ignashin, Anna Radovskaya, Andrew Semenov, Egor Lopatin, Stanislav Potapov, Aleksandr Kovalenko, Andrey Veprikov, Aleksandr Shestakov, Andrey Leonidov, Aleksandr Beznosikov

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

The Big Idea: A Hiker in a Shifting Landscape

Imagine you are a hiker trying to find the lowest point in a vast, foggy valley (this represents the AI model trying to minimize its "loss" or errors). You take steps down the hill based on the slope you can see right in front of you. This process is called Stochastic Gradient Descent (SGD).

For a long time, scientists thought this hiker was like a drunk person walking in a fixed park.

  • The Old View (Brownian Motion): They believed the hiker was walking on a static, unchanging map (the average loss landscape). The only reason they stumbled or wandered off course was because of "random noise" (like a sudden gust of wind or a drunk stumble) that pushed them around. In this view, the path is a mix of a steady walk downhill plus random, external jiggles.

This paper says: That's wrong.

The authors argue that the hiker isn't walking in a fixed park with random wind. Instead, the ground itself is changing every time they take a step.

  • The New View (Fluctuating Landscape): Every time the hiker looks at the ground to decide where to step, they are looking at a slightly different version of the map. Why? Because the hiker is only looking at a tiny, random sample of the terrain (a "minibatch") rather than the whole map.
  • Because the map changes with every step, the hiker's movement is actually deterministic (following the rules of the current map) but the map itself is fluctuating.

The Mistake in the Math: The "Step Size" Problem

Scientists have been using a mathematical tool called the Langevin equation to predict how this hiker behaves. This tool works great if the hiker takes infinitesimally small steps (like a continuous flow).

However, in real life, AI models take finite steps (discrete jumps).

  • The Analogy: Imagine trying to describe a staircase.
    • The Old Math (Langevin) treats the staircase like a smooth ramp. It assumes the "noise" (the randomness) scales in a specific way that only works if the steps are microscopic.
    • The New Math (Discrete Fokker-Planck) acknowledges you are actually stepping on distinct stairs. The authors show that when you take real, finite-sized steps, the "smooth ramp" math misses a crucial piece of the puzzle. It ignores a specific term that becomes important when the steps aren't tiny.

Because of this missing piece, the old math makes qualitatively wrong predictions about where the hiker will end up, especially when the learning rate (step size) is not tiny.

The Two Types of Paths: Confined vs. Drifting

The paper analyzes what happens when the hiker is near a "critical point" (a spot where the ground is flat or has a specific shape). They found that the hiker's behavior splits into two distinct modes depending on the shape of the ground:

  1. The "Rigid" Directions (Steep Hills):

    • Analogy: Imagine the hiker is in a narrow, steep canyon.
    • Behavior: If they try to wander sideways, the steep walls push them back. They bounce around, but they stay in a small, confined area. Their wandering has a limit; they don't drift away forever.
    • Paper's Finding: In directions where the loss landscape is "sharp" (high curvature), the model's parameters stay confined with a stable variance.
  2. The "Diffusive" Directions (Flat Valleys):

    • Analogy: Imagine the hiker is in a wide, flat, foggy plain.
    • Behavior: There are no walls to stop them. Every time they take a step, the ground shifts slightly, and they drift further away. They don't settle down; they keep spreading out over time.
    • Paper's Finding: In directions where the landscape is "flat" (low curvature), the model's parameters do not settle into a stable pattern. Instead, they diffuse (spread out) endlessly, like ink dropping in water.

Why This Matters

The authors tested this on real AI models (like those used for recognizing images or writing text). They found that:

  • The "steep" directions behaved exactly as the new math predicted (confined).
  • The "flat" directions behaved exactly as the new math predicted (drifting/diffusing).
  • The old "Brownian Motion" math failed to predict the behavior of the flat directions correctly, especially when the step size was larger.

Summary

  • Old Idea: SGD is a particle bouncing around in a fixed bowl due to random noise.
  • New Idea: SGD is a particle walking on a bowl that reshapes itself every time the particle moves.
  • Result: Because the bowl reshapes, the particle doesn't just jitter in place. In flat areas, it drifts away forever. In steep areas, it stays put. The old math missed this because it assumed the steps were too small to matter, but in real AI training, the steps are big enough to make a difference.

The paper concludes that to truly understand how AI learns, we must stop treating it like a particle in a fixed field and start treating it as a traveler on a shifting landscape.

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 →