Unifying Low Dimensional Spectra in Deep Learning

Connall Garrod, Jonathan P. Keating

Introduction

When training massive, overparameterized neural networks, their internal matrices—such as the Hessian, which describes the curvature of the loss landscape—exhibit a distinct and curious phenomenon. Most of their eigenvalues hover near zero, forming a dense "bulk," while a tiny fraction emerge as very large "outliers." Researchers have long observed that the number of these outliers often correlates with the number of classes ($K$) in the dataset. However, existing theories explaining this behavior have been fragmented. Some models explained the Hessian, others the gradients, and many relied on unrealistic assumptions that failed to hold in practice.

This paper provides a "unified field theory" for these spectral properties, revealing that Deep Neural Collapse (DNC)—the tendency for neural network features to simplify into class-specific clusters during terminal phases of training—is the hidden engine driving the low-dimensional spectral properties of deep learning matrices. By linking these spectral properties directly to the geometry of the features themselves, the authors provide a comprehensive mathematical explanation for why the Hessian, gradients, and weights of trained networks all share this distinct bulk-outlier structure.

Theoretical Framework: Unconstrained Feature Models

To achieve these insights, the authors employ the Deep Unconstrained Feature Model (UFM). In this theoretical setup, instead of treating features as the complex, entangled output of many sequential layers, they are treated as freely optimized variables. This simplification allows for rigorous mathematical proofs while still capturing the essential behavior of real-world networks.

Using the UFM framework, the authors move beyond mere simulation to derive closed-form, analytic expressions for the eigenvalues and eigenvectors of layer-wise Hessians, gradients, and weights. Crucially, they prove that their results—initially derived for linear networks—extend to networks using ReLU activations, which are the industry standard. Furthermore, their global analysis demonstrates that the entire network's Hessian inherits this low-rank structure from its constituent layers, rather than being an isolated layer-wise artifact.

Key Insights: The Geometry of Neural Collapse

The most significant breakthrough of this work is establishing causality: Neural Collapse causes the spectral outliers. When features collapse toward their class means, it mathematically forces the Hessian and weight matrices to become low-rank.

While most previous work focused heavily on eigenvalues, this paper emphasizes the importance of eigenvectors. The authors demonstrate that Hessian eigenvectors are constructed from the Kronecker products of class feature means. This geometric perspective resolves a long-standing mystery regarding gradient alignment: why do gradients align so well with the top eigenvectors of the Hessian? The mathematics reveal that both are built from the exact same foundational components—the class feature means—constraining them to the same tiny subspace.

Additionally, the authors highlight the nuance introduced by the choice of loss function. They show that using Cross-Entropy instead of Mean Squared Error (MSE) changes how outliers are grouped, creating a "mini-bulk" of outliers that perfectly explains the more complex spectral patterns observed in prior empirical studies.

Empirical Validation and Results

The theoretical derivations yield precise predictions for the ranks of various network matrices:

  • Hessian Rank: The layer-wise Hessian has a rank of exactly $K^2$. During training, these $K^2$ outliers emerge clearly from the bulk.
  • Gradient Subspace: Despite the Hessian possessing $K^2$ outliers, the gradient is confined to a much smaller $K$-dimensional subspace of those outliers.
  • Weight Rank: The weight matrices similarly converge to a rank of $K$.

To validate these proofs, the authors conducted experiments on standard datasets, including MNIST ($K=10$) and CIFAR-10. Using a ResNet-20 architecture as a feature extractor followed by a fully connected head, they demonstrated that their theory holds in modern, deep architectures. The "spike" patterns in the empirical eigenvalue histograms perfectly matched the theoretical counts—for instance, revealing exactly 100 outliers for a 10-class classification problem.

Limitations and Future Directions

The primary limitation of this work stems from the Unconstrained Feature assumption. While UFM is a powerful theoretical tool, it assumes the network is sufficiently expressive to place features anywhere in the latent space. In real-world scenarios with highly restricted architectures or insufficient data, this "perfect" collapse might not occur, leading to noisier spectra.

Looking forward, the authors suggest several promising avenues for future research:

  1. Architectural Effects: Investigating how specific network components, such as skip connections or batch normalization, influence the speed and depth of this spectral unification.
  2. Optimization Diagnostics: Exploring whether the alignment of these spectra can be utilized as a real-time "health check" during training, rather than merely an after-the-fact observation.
  3. Generalization: Deepening the understanding of the direct link between the emergence of this DNC-driven structure and a network's fundamental ability to generalize to unseen data.

Summary updated

BibTeX
@inproceedings{garrod2026unifying,
  author = {Connall Garrod and Jonathan P. Keating},
  title = {{Unifying Low Dimensional Spectra in Deep Learning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=RwiGcN2feP},
}
Figure