Neural Collapse with Normalized Features: A Geometric Analysis over the Riemannian Manifold

Can Yaras, Peng Wang, Zhihui Zhu, Laura Balzano, Qing Qu

TL;DR

This paper provides a theoretical foundation for why "Neural Collapse"—a phenomenon where deep learning features organize into a perfect geometric structure—occurs when using feature normalization. By analyzing the optimization landscape on a Riemannian manifold, the authors prove that the training process is "benign," meaning it naturally avoids bad local minima to reach the optimal geometric state.

What Problem Does This Paper Address?

In the final stages of training deep neural networks for classification, researchers have observed a strange and elegant phenomenon called Neural Collapse (NC). Essentially, three things happen:

  1. Variability Collapse: All features for a specific class (e.g., all "cat" images) converge to a single point (the class mean).
  2. Convergence to Simplex ETF: These class means spread out as far as possible from each other, forming a perfectly symmetrical structure called a Simplex Equiangular Tight Frame (ETF).
  3. Self-Duality: The network's final classifier weights align perfectly with these class means.
Visualization of Neural Collapse on a sphere

While NC has been studied in "unconstrained" settings (where researchers typically just add weight decay), modern deep learning often uses feature normalization—explicitly forcing features onto a unit sphere. This paper addresses a critical gap in deep learning theory: Why does Neural Collapse still happen under these spherical constraints, and why is it so easy for standard algorithms like Stochastic Gradient Descent (SGD) to find these solutions?

Methods

The authors employ the Unconstrained Feature Model (UFM), a common theoretical simplification where the last-layer features are treated as free optimization variables. This allows them to isolate the geometry of the final layer from the complex nonlinearities of the earlier layers.

The core novelty of this paper lies in its Riemannian approach. Instead of treating the problem in standard Euclidean space with constraints, the authors formulate the cross-entropy loss as an optimization problem over the oblique manifold (a product of unit spheres).

Optimization over the Riemannian manifold

By performing a Global Landscape Analysis—calculating the Riemannian gradient and Hessian—they are able to characterize every critical point in the optimization landscape, rather than just the global minimum.

Datasets

The authors validated their theoretical findings using standard image classification benchmarks:

  • CIFAR-10: Used to validate the UFM assumption by training ResNet-18 models with varying widths and even random labels to test the network's approximation power.
  • CIFAR-100: Used to demonstrate that feature normalization leads to faster training and better feature collapse in practical, overparameterized networks (ResNet-18 and ResNet-50).

Key Insights and Ideas

  • The Benign Landscape: The most significant insight is that the optimization landscape on the manifold is "benign." The authors prove that the only local minimizers are the global minimizers (the Neural Collapse solutions). Every other "critical point" (where the gradient is zero) is a strict saddle point. This means there is always a direction of negative curvature that an optimizer like SGD can use to "slide down" and escape bad regions.
  • Normalization as a Catalyst: The paper shows that normalization doesn't just change the final solution; it makes the "path" to that solution easier to navigate. Experimental results show that normalized models reach perfect training accuracy and variability collapse significantly faster than unnormalized ones.
  • Temperature Matters: The temperature parameter ($\tau$) in the loss function affects the landscape's curvature but does not change the final NC solution. This suggests that normalization provides a robust framework for representation learning across different hyperparameter settings.

Key Results

  • Global Optimality (Theorem 1): Proves that under balanced class conditions and sufficient feature dimensions ($d \ge K$), the unique global minimizers of the cross-entropy loss on the sphere are exactly the Neural Collapse solutions.
  • Landscape Analysis (Theorem 2): Proves that the objective function is a "strict saddle" function. This theoretically justifies why first-order methods (like SGD) are so effective at reaching the global optimum without getting stuck.
  • Empirical Speedup: In ResNet-50 experiments on CIFAR-100, feature normalization reached >90% training accuracy in the same number of epochs where the unnormalized version was still struggling at much lower accuracy levels.

Limitations and Future Work

  • Feature Dimension ($d < K$): The current proof requires the feature dimension to be larger than or equal to the number of classes. While the authors conjecture the benign landscape holds when $d \ll K$ (where features distribute uniformly over the sphere), the formal proof is left for future work.
  • Beyond Cross-Entropy: The study focuses on Cross-Entropy loss. The authors believe these insights extend to other popular losses, such as Supervised Contrastive (SC) loss, which is increasingly used in self-supervised learning.
  • The "Layer-Peeled" Assumption: Like most NC research, this uses the UFM. While experiments on ResNets support the theory, a full analysis that includes the complex coupling between all layers remains a "holy grail" in deep learning theory.

Summary updated

BibTeX
@inproceedings{yaras2022neural,
  author = {Can Yaras and Peng Wang and Zhihui Zhu and Laura Balzano and Qing Qu},
  title = {{Neural Collapse with Normalized Features: A Geometric Analysis over the Riemannian Manifold}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2022},
  url = {https://openreview.net/forum?id=ajh5PXeuVk},
}
Figure