← Latest papers
🔢 mathematics

Convergence Rate Analysis of the AdamW-Style Shampoo: Unifying One-sided and Two-Sided Preconditioning

This article provides a theoretical convergence analysis of an AdamW-like Shampoo optimizer that combines one-sided and two-sided preconditioning to establish a nuclear-norm-based convergence rate analogous to the optimal rate of SGD.

Original authors: Huan Li, Yiming Dong, Zhouchen Lin

Published 2026-05-04
📖 4 min read🧠 Deep dive

Original authors: Huan Li, Yiming Dong, Zhouchen Lin

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 navigate a vast, foggy mountain range to find the deepest valley (the perfect solution for an AI model). You have a map, but it is somewhat blurry, and every time you take a step, the ground shifts slightly. This is what training a deep neural network feels like.

For years, the most popular method for taking these steps has been a technique called Adam. Think of Adam as a hiker who looks at the slope beneath their feet and adjusts their speed based on how steep it is in each individual direction (North, South, East, West). It is a good hiker, but it treats each direction independently, ignoring how the terrain might be interconnected.

Then Shampoo enters the scene, a newer, more sophisticated hiker. Instead of looking at directions individually, Shampoo views the terrain as a whole, as a two-dimensional surface. It understands that moving North can influence how you should move East. This "two-sided" perspective allows it to take smarter, more efficient steps. Recently, a version of Shampoo called AdamW-style Shampoo actually won a major competition to find the fastest way to train AI models, thereby beating the old standard.

Yet, while everyone knew this new hiker was fast in practice, no one had a solid mathematical proof explaining why it works so well or how quickly it is guaranteed to reach the ground.

What this work achieves
This work is like a rigorous engineering report that finally explains the physics behind this super-hiker. The authors, Huan Li, Yiming Dong, and Zhouchen Lin, have done three main things:

  1. Unifying the Rules: They created a single mathematical framework that covers both the "one-sided" version (looking at rows or columns separately) and the "two-sided" version (looking at the entire grid) of Shampoo. It is like writing a single rulebook that explains how to drive both a limousine and a truck.
  2. Proving the Speed: They calculated exactly how fast this algorithm converges (reaches the solution). They found that after KK steps, the error decreases at a rate of approximately 1/K41/\sqrt[4]{K}.
    • The Analogy: Imagine you are walking toward a target. The "old" path (SGD) gets you there at a certain speed. The authors proved that this new Shampoo method essentially brings you there with the same theoretical speed limit as the best possible method, provided the terrain (the mathematics of the problem) behaves nicely.
  3. Bridging Theory and Reality: There was a gap between the mathematics and the real world. The math suggested the algorithm needed a tiny "safety buffer" (a number called ϵ\epsilon) to function, but in practice, people set this buffer almost to zero. The authors showed that even with this tiny buffer, the algorithm's "preconditioners" (its internal map of the terrain) naturally remain large enough to keep the hiker safe. This explains why the algorithm works so well in real life, even when the theoretical "safety net" appears too thin.

Key Takeaways for a General Audience

  • The "Two-Sided" Advantage: Imagine you are trying to untie a knot. A one-sided approach pulls on one end. A two-sided approach (like Shampoo) pulls on both ends simultaneously and understands how the threads are interwoven. This work proves that pulling on both ends is mathematically sound and just as fast as the best possible strategy.
  • The Secret of the "Nuclear Norm": To measure how fast the hiker is moving, the authors used a special mathematical ruler called the "Nuclear Norm." They showed that while this ruler is slightly different from the standard ruler used in older methods, it yields a result that is practically identical in the real world. It is like measuring a room in "feet" versus "meters"—the numbers look different, but the size of the room is the same.
  • Why It Matters: This is not just abstract mathematics. It confirms that the algorithm used by the winners of the AlgoPerf competition (which trains massive AI models, like those powering chatbots) is not just a lucky coincidence. It is a mathematically robust method guaranteed to find the best solution efficiently, even for the most complex, non-linear problems.

In short, this work takes a "black box" winner of a machine learning competition, opens it up, and says: "Here is exactly how it works, here is the proof that it is fast, and here is the reason why it does not break when we use it in the real world."

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 →