← Latest papers
🤖 machine learning

The Loss Does Not See the Basis, but Adam Does

This paper demonstrates that Adam's failure to recover low-rank solutions in factored models stems from its lack of gauge equivariance, a property possessed by gradient descent and other shared-scalar optimizers that preserves the implicit bias toward low-rank interpolants.

Original authors: Devender Singh

Published 2026-08-06
📖 4 min read☕ Coffee break read

Original authors: Devender Singh

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 solve a giant, messy puzzle where the pieces are numbers arranged in a grid. In the world of artificial intelligence, this is called "matrix factorization." You have a huge, complicated picture (the data), and you want to break it down into two smaller, simpler stacks of cards that, when multiplied together, recreate the original picture. The goal is to find the simplest possible stacks that still fit the picture perfectly. This is important because simpler solutions usually work better in the real world, avoiding the trap of memorizing noise instead of learning patterns.

To solve this puzzle, computers use a method called "gradient descent," which is like a hiker trying to find the bottom of a valley by always stepping downhill. For a long time, scientists noticed that if you start with very small cards, this hiker naturally finds the simplest solution. However, a newer, faster hiker called "Adam" (a popular tool in AI) often gets lost, finding a complicated, messy solution even when a simple one exists. The big question has been: Why does the fast hiker fail to find the simple path, and can we fix it without making it slow?

This paper, titled "The Loss Does Not See the Basis, But Adam Does," investigates why this happens. The author discovered that the problem isn't just about speed; it's about how the hiker sees the world. The puzzle has a hidden symmetry: you can rotate your stacks of cards in many different ways, and the final picture stays exactly the same. Think of it like spinning a globe; the continents move around, but the map is still the same. The traditional hiker (Gradient Descent) ignores the specific rotation and just looks at the shape of the valley, naturally finding the simplest solution. But the fast hiker (Adam) gets distracted by the specific rotation of the cards. It treats one direction as "special" and another as "different," even though they are mathematically identical. This distraction causes it to pick a complicated, high-rank solution instead of the simple, low-rank one.

The author proved that any optimizer (a tool for solving the puzzle) that respects this rotational symmetry will naturally find the simple solution, while those that break the symmetry will get stuck in complex ones. They tested nine different optimizers and found a clear split: the "symmetry-respecting" ones (like Gradient Descent, Muon, and a modified version of Adam) found solutions with errors as low as 0.000006, while the "symmetry-breaking" ones (like standard Adam and RMSProp) had errors over 0.42—a massive difference.

To prove it wasn't just a fluke, they built a "dial" that smoothly changes Adam from its chaotic, rotation-hating mode into a rotation-friendly mode. As they turned the dial, the solution got simpler and more accurate, showing that the specific way Adam looks at the data is the exact cause of the problem. They even tested this on real-world data, like hyperspectral images of the earth, and found that the rotation-friendly methods reduced errors by about 44% compared to the standard Adam.

Interestingly, the paper also found that being "rotation-friendly" isn't always a magic bullet. If the puzzle itself is messy and has a lot of random noise (a "spectral tail"), the super-fast, rotation-friendly hiker called Muon sometimes gets too eager and fits the noise, while the slower, steady hiker (Gradient Descent) does better. So, the best tool depends on the specific nature of the puzzle.

Finally, the author looked at how this affects modern AI models called Transformers (the brains behind chatbots). They found that if you start two identical AI models with the same math but just rotate their internal cards differently, the standard Adam optimizer makes them behave completely differently after just one step. They end up with completely different internal structures, even though they started as the same function. This means that the choice of optimizer isn't just a tuning detail; it fundamentally decides which version of the solution the AI learns. The paper concludes that to get the best, simplest results, we need optimizers that respect the hidden symmetries of the math, rather than getting distracted by the specific way we arrange the numbers.

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 →