Optimizer Choice Matters For The Emergence of Neural Collapse

Jim Zhao, Tin Sum Cheng, Wojciech Masarczyk, Aurelien Lucchi

TL;DR

This paper challenges the long-held belief that "Neural Collapse" (NC)—the emergence of highly symmetric geometric structures in a network's last layer—is a universal outcome of deep learning. By introducing a new, mathematically tractable metric called $NC_0$, the authors prove that the choice of optimizer is decisive: specifically, the decoupled weight decay used in AdamW prevents Neural Collapse, while the coupled weight decay in Adam and SGD promotes it.

What Problem Does This Paper Address?

When deep neural networks enter the "Terminal Phase of Training" (TPT)—the period after they have already achieved near-zero training error—their internal representations often "collapse" into a highly symmetric state known as Neural Collapse (NC). In this state, class features cluster around their means, and those means form a perfectly symmetric shape called a Simplex Equiangular Tight Frame (ETF).

Until now, researchers largely assumed NC was an inherent property of the loss landscape, meaning any optimizer would eventually find these symmetric solutions. However, standard NC metrics are notoriously difficult to analyze theoretically. This paper asks a fundamental question: Does the specific algorithm we use to train the network actually dictate whether Neural Collapse happens at all?

Methods

The authors tackle this by introducing a novel diagnostic metric, $NC_0$ (Zero Row Sum of Last-Layer Weight). They prove that $NC_0$ converging to zero is a necessary condition for full Neural Collapse. Unlike previous metrics, $NC_0$ is simple enough to track through the lens of optimization dynamics.

The research combines rigorous theory with a massive empirical study:

  • Theoretical Proofs: Using the "Unconstrained Feature Model" (UFM) and Sign Gradient Descent (SignGD) as a proxy for Adam-style optimizers, they derive convergence rates for $NC_0$.
  • Empirical Scale: They conducted over 3,900 training runs, varying architectures (ResNet9, VGG9, ViT), datasets (MNIST, CIFAR-10, ImageNet-1K), learning rates, momentum, and weight decay (WD) strategies.
  • The "Interpolation" Experiment: To isolate the effect of weight decay, they created a hybrid optimizer that blends coupled (Adam-style) and decoupled (AdamW-style) weight decay to see exactly when NC begins to fail.

Key Insights and Ideas

Coupled vs. Decoupled Weight Decay

This is the paper's core discovery. In standard Adam, weight decay is "coupled" with the gradient update. In AdamW, it is "decoupled" and applied directly to the weights. The authors show that this subtle algorithmic change completely alters the optimizer's implicit bias, preventing the symmetry required for NC.

AdamW Fails to Collapse

Despite being the industry standard for many tasks, AdamW consistently fails to reach an NC solution. While Adam's NC metrics drop as weight decay increases, AdamW's metrics remain high, indicating a failure to collapse.

NC3 metrics for Adam vs AdamW. AdamW shows consistently higher metrics, indicating a failure to collapse.

$NC_0$ as a Reliable Diagnostic Canary

Because $NC_0$ is a necessary condition for NC, if it diverges or plateaus at a high value, you can definitively say NC has not occurred, even if other metrics look deceptively low. The metric correlates strongly with standard NC metrics (like $NC_3$) across various optimizers and learning rates.

NC0 correlates strongly with NC3 across different optimizers and learning rates, making it a reliable diagnostic tool.

Momentum is a Catalyst

The paper provides the first theoretical and empirical evidence that momentum in SGD doesn't just speed up training; it actually accelerates the geometric collapse of the model's representations, driving NC metrics lower even after the training loss has plateaued.

Key Results Summary

  • SGD & Adam: Both exhibit strong Neural Collapse. Under SGD, $NC_0$ converges to zero at an exponential rate proportional to the weight decay and momentum.
  • AdamW & SignGDW: Theoretically and empirically, $NC_0$ for these optimizers converges to a positive constant rather than zero, proving that they do not lead to full Neural Collapse.
  • Momentum Impact: In SGD, increasing momentum significantly reduces NC metrics for a fixed weight decay value.

Limitations and Future Work

  • Simplified Models: Much of the theoretical work relies on the Unconstrained Feature Model (UFM) and SignGD. While these are standard proxies, they don't capture the full complexity of multi-layer non-linear dynamics.
  • The Generalization Mystery: Interestingly, the authors note that while AdamW doesn't produce NC, it often generalizes just as well as (or better than) Adam. This suggests that the relationship between Neural Collapse and a model's ability to perform well on unseen data is more complex than previously thought.
  • Intermediate Layers: This study focused exclusively on the last layer. Investigating whether "partial collapse" happens in deeper layers under different optimizers remains an open question.

Summary updated

BibTeX
@inproceedings{zhao2026optimizer,
  author = {Jim Zhao and Tin Sum Cheng and Wojciech Masarczyk and Aurelien Lucchi},
  title = {{Optimizer Choice Matters For The Emergence of Neural Collapse}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=9EPYWJrib1},
}
Figure