Optimizer choice matters for the emergence of Neural Collapse

Jim Zhao, Tin Sum Cheng, Wojciech Masarczyk, Aurélien Lucchi · DOI

Abstract

Neural Collapse (NC) refers to the emergence of highly symmetric geometric structures in the representations of deep neural networks during the terminal phase of training. Despite its prevalence, the theoretical understanding of NC remains limited. Existing analyses largely ignore the role of the optimizer, thereby suggesting that NC is universal across optimization methods. In this work, we challenge this assumption and demonstrate that the choice of optimizer plays a critical role in the emergence of NC. The phenomenon is typically quantified through NC metrics, which, however, are difficult to track and analyze theoretically. To overcome this limitation, we introduce a novel diagnostic metric, $NC_0$, whose convergence to zero is a necessary condition for NC. Using $NC_0$, we provide theoretical evidence that NC cannot emerge under decoupled weight decay in adaptive optimizers, as implemented in AdamW. Concretely, we prove that SGD, SignGD with coupled weight decay (a special case of Adam), and SignGD with decoupled weight decay (a special case of AdamW) exhibit qualitatively different $NC_0$ dynamics. Also, we show the accelerating effect of momentum on NC (beyond convergence of train loss) when trained with SGD, being the first result concerning momentum in the context of NC. Finally, we conduct extensive empirical experiments consisting of 3,900 training runs across various datasets, architectures, optimizers, and hyperparameters, confirming our theoretical results. This work provides the first theoretical explanation for optimizer-dependent emergence of NC and highlights the overlooked role of weight-decay coupling in shaping the implicit biases of optimizers.

Introduction

Neural Collapse (NC) describes a fascinating phenomenon observed during the "terminal phase of training"—the period after training error reaches zero. In this phase, class-specific features collapse into their means, and the last-layer weights align perfectly with these means to form a "Simplex Equiangular Tight Frame" (a perfectly symmetric star shape). While NC is often linked to improved generalization and transfer learning, most theoretical explanations treat it as a universal property of the loss landscape, assuming any optimizer will eventually find these symmetric solutions.

This paper challenges the "universality" assumption. We investigate whether the specific mechanics of an optimizer—particularly how it handles weight decay and momentum—dictate whether a model undergoes Neural Collapse. Our findings reveal that the choice of optimizer is a "make or break" factor: while standard Adam and SGD promote collapse, the widely used AdamW (with decoupled weight decay) prevents it from fully occurring.

A New Diagnostic: The $NC_0$ Metric

Existing NC metrics are notoriously difficult to analyze mathematically. To bridge the gap between theory and practice, we introduce $NC_0$ (Zero Row Sum of Last-Layer Weight). We prove that $NC_0$ converging to zero is a necessary condition for full Neural Collapse. If $NC_0$ diverges or remains positive, NC cannot occur.

Using the Unconstrained Feature Model (UFM)—a simplified framework that treats the last layer as a standalone optimization problem—we provide theoretical proofs for $NC_0$ convergence rates under different optimizers. To model adaptive optimizers like Adam theoretically, we utilize Sign Gradient Descent (SignGD) as a proxy.

The AdamW Paradox: Coupled vs. Decoupled Weight Decay

The core of our investigation lies in the distinction between coupled weight decay (where the penalty is added directly to the gradient, as in standard Adam/SGD) and decoupled weight decay (where weights are decayed independently of the gradient step, as in AdamW).

Despite being the industry standard, AdamW fails to produce Neural Collapse. Because AdamW uses decoupled weight decay, the $NC_0$ metric converges to a positive constant rather than zero. In contrast, standard Adam (coupled) achieves NC. We identify the coupling of weight decay as the primary mechanism that "pushes" the model toward symmetric, collapsed solutions. When weight decay is decoupled, this implicit bias is lost.

Figure 2: Comparison of $NC_0$ and $NC_3$ metrics for Adam and AdamW across different weight decay values. AdamW fails to reach zero for either metric, indicating a lack of full Neural Collapse.

Empirical Evidence and Momentum

Our study is backed by an extensive empirical suite of over 3,900 training runs across datasets like MNIST, CIFAR-10, and architectures including ResNet9, VGG9, and Vision Transformers.

Across thousands of runs, Adam and SGD consistently reached much lower NC metric values (stronger collapse) than their "W" counterparts (AdamW, SGDW, SignumW). Furthermore, we provide the first theoretical and empirical evidence that momentum acts as an accelerator for NC. It does more than just speed up loss convergence; it actively drives the geometric alignment required for NC even after the training loss has bottomed out.

Figure 4: Correlation between $NC_3$ and $NC_0$ across various optimizers and learning rates. The "W" variants (decoupled weight decay) consistently show higher metric values, resisting collapse.

Conclusion

Our work provides the first theoretical explanation for optimizer-dependent NC. We demonstrate that AdamW can achieve "partial" collapse (low intra-class variability) but fails at the "self-duality" and "symmetry" aspects of NC. Interestingly, AdamW still generalizes well, suggesting that full Neural Collapse may not be strictly required for high performance. This highlights the overlooked role of weight-decay coupling in shaping the implicit biases of modern optimizers.

Future work should extend these findings beyond the last layer and explore newer optimization methods like Lion or Shampoo to further map the landscape of optimizer-induced Neural Collapse.

Summary updated

BibTeX
@inproceedings{zhao2026optimizer,
  author = {Jim Zhao and Tin Sum Cheng and Wojciech Masarczyk and Aurélien 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