Deep learning models are famously massive, often boasting millions or billions of parameters. Conventional wisdom suggests that training these models involves navigating a terrifyingly complex, high-dimensional, non-convex landscape. However, recent research suggests that the reality is much simpler: the "action" of training actually collapses into a tiny, nearly convex subspace.
The Overparameterization Paradox
We know that stochastic gradient descent (SGD) works incredibly well for deep learning, but we don't fully understand why. Because these models are "overparameterized"—having far more parameters than training samples—the loss landscape should theoretically be full of "flat" directions where the loss doesn't change.
Previous research had shown that the Hessian matrix, which describes the local curvature of the loss landscape, splits into two parts: a "bulk" of many near-zero eigenvalues (flat directions) and a "top" of a few large positive eigenvalues (curved directions). The central question is: How does the gradient interact with these directions? Does the gradient wander through the flat "bulk," or is it confined to the steep "top"?
Empirical Evidence of Subspace Concentration
By analyzing standard benchmarks like MNIST and CIFAR-10 across various architectures (Fully-Connected, ConvNets, and ResNet-18), researchers found that the gradient is remarkably "lazy." Very early in training, the gradient "falls" into the top subspace of the Hessian and stays there, ignoring the vast majority of available parameter directions.
As shown in the figures above, the fraction of the gradient ($f_{top}$) that lies within the subspace spanned by the top eigenvectors quickly rises to near 1.0. This means that almost all the learning progress happens in a tiny fraction of the total parameter space.
The Magic Number $k$
The dimension of this active subspace is not arbitrary; it is tied to the number of classes ($k$) in the classification task. For a 10-class problem like MNIST or CIFAR-10, the "action" happens in a subspace of dimension approximately 10, even if the model has millions of parameters. Adding more dimensions beyond $k$ does not significantly improve the stability or concentration of the subspace, proving that $k$ is the natural dimensionality of the optimization problem.
Subspace Stability and Effective Convexity
While individual eigenvectors might rotate, the subspace they span remains approximately preserved over hundreds or thousands of training steps. This "subspace freezing" suggests that the model isn't constantly finding entirely new directions to learn; it's refining the ones it found early on.
Furthermore, because the top eigenvalues are all positive, the gradient is essentially living in a local convex bowl. This explains why simple first-order methods like SGD don't get stuck in the non-convex "mess" of the wider landscape—they simply never visit those regions.
Future Directions: Tiny Subspace Newton Methods
The most exciting implication of this work is the potential for "Tiny Subspace Newton Methods." Since the Hessian is only relevant in a tiny, stable subspace, we could potentially use second-order optimization—which is usually computationally prohibitive—by only inverting the Hessian within that tiny $k$-dimensional space. This could lead to significantly faster and more efficient training algorithms for the next generation of deep learning models.
Summary updated