Effects of width-dependent model hyperparameters and -regularization on the loss landscape of two-layer ReLU networks
This paper investigates how width-dependent hyperparameters and -regularization shape the loss landscape of two-layer ReLU networks, deriving conditions for zero-solution collapse, providing an analytical solution for one-dimensional inputs, and revealing that AdamW prevents parameter collapse while SGD does not.
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 teach a robot to recognize cats. You give it a brain made of layers of tiny switches, and you let it practice by showing it thousands of pictures. But here's the catch: the robot's brain is a bit messy. Sometimes, when you try to teach it, the whole thing just shuts down and forgets everything, ending up with a brain full of zeros. This is a bit like trying to balance a house of cards on a windy day; if the wind (or the math behind the training) is too strong, the whole structure collapses.
In the world of machine learning, scientists study the "loss landscape." Think of this as a giant, bumpy mountain range where the height of the terrain represents how bad the robot is at its job. The goal is to find the deepest valley, which means the robot is doing its best. But this landscape is tricky. It changes shape depending on how wide the robot's brain is (how many switches it has) and how much "weight decay" is applied. Weight decay is like a gentle hand constantly pushing the robot's brain toward simplicity, trying to stop it from getting too complicated. The big question is: does this gentle push help the robot learn, or does it accidentally push the whole brain into a flat, useless zero?
This paper, titled "Effects of width-dependent model hyperparameters and ℓ2-regularization on the loss landscape of two-layer ReLU networks," dives deep into this exact problem. The authors, Haruka Eshima and Makoto Yamada, looked at a specific type of simple neural network (a two-layer network with ReLU activation) to see what happens when you change the size of the network and the strength of the weight decay. They wanted to know: under what conditions does the robot's brain collapse into nothingness, and can we stop it?
The researchers found that the answer depends heavily on how you scale things up. They discovered a mathematical "tipping point." If you make the network wider (add more switches) but keep the weight decay too strong relative to that width, the robot's brain will inevitably collapse. The only way to reach the bottom of the valley is to have every single switch turned off, meaning the robot learns nothing. It's like trying to fill a swimming pool with a tiny cup while the drain is wide open; no matter how much you pour, the pool stays empty.
However, the paper also reveals a fascinating twist involving how the robot learns. The authors ran computer simulations to see what happens when you use different "optimizers"—the algorithms that guide the robot's learning steps. They found that if you use a standard method called SGD (Stochastic Gradient Descent), the robot's brain does indeed collapse into zero when the weight decay is too strong, just as the math predicted. But, if you use a different method called AdamW, the robot survives! Even when the math says it should collapse, AdamW keeps the brain active and learning. It's as if AdamW has a special trick, like a safety harness, that prevents the robot from falling into the zero-hole, even when the terrain looks dangerous.
The team also zoomed in on a very specific, simplified scenario where the robot only sees one number at a time (a one-dimensional input). In this controlled setting, they were able to write down an exact map of the best possible solutions. They found that adding weight decay acts like a sculptor's chisel. Without it, the best solutions are scattered all over the place, forming a huge, connected, and unbounded cloud of possibilities. But with weight decay, the cloud shrinks and becomes much more organized. The "connectivity"—how easy it is to walk from one good solution to another without falling off a cliff—stays the same regardless of how wide the network is. However, the "dimensionality"—the number of ways the robot can wiggle its brain to find a solution—shrinks significantly as the network gets wider. It's like taking a giant, sprawling playground and turning it into a narrow, well-defined track.
In short, this paper shows that the size of your neural network and the strength of your regularization are a delicate dance. If you don't match them correctly, the network collapses. But if you choose the right learning algorithm (like AdamW), you can keep the dance going even when the conditions seem impossible. The results are based on rigorous mathematical proofs for the collapse and the simplified one-dimensional case, and supported by numerical experiments on real-world data like yacht hydrodynamics and MNIST digits. While the math proves the collapse happens under certain conditions, the survival of the network with AdamW is something the authors observed in their simulations, suggesting that the choice of optimizer is a critical, perhaps hidden, factor in why deep learning works so well in practice.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.