Introduction
In the final stages of training deep neural networks (DNNs) for classification, an intriguing phenomenon occurs: even after the training error reaches zero, the network's weights and features continue to evolve and simplify. This behavior is known as Neural Collapse (NC). During NC, within-class features converge to their mean, class means form a highly structured geometric shape (such as a Simplex Equiangular Tight Frame, or ETF), and the last layer's weights align perfectly with these class means.
While NC is well-documented empirically under Cross-Entropy loss, our theoretical understanding of it under Mean Squared Error (MSE) loss has remained incomplete. Furthermore, standard mathematical models used to study NC, like the Unconstrained Features Model (UFM), are typically "shallow." They treat features as free variables but fail to explain why NC happens progressively across the depth of a real network. This paper bridges these gaps by extending the UFM to include multiple layers and nonlinearities.
Extending the Unconstrained Features Model
The authors utilize and extend the UFM, which treats the features of training data as free optimization variables to reflect the high expressivity of modern overparameterized DNNs. To better capture the realities of deep learning, they introduce several key methodological extensions:
- MSE-UFM Analysis: The authors characterize the global minimizers of the UFM using regularized MSE loss, specifically analyzing how the presence or absence of a bias term alters the resulting geometry.
- Linear Extended UFM: An additional weight layer is added to the UFM to test if depth alone can explain multi-layer collapse behavior.
- Nonlinear Extended UFM: The most significant extension introduces a ReLU nonlinearity between two weight layers. This allows the model to distinguish between the behavior of features at different depths.
- Asymptotic Analysis: The paper provides theoretical proofs showing that as the number of samples grows, optimal weights naturally align with the collapsed structure, even if the features themselves are perturbed by noise.
Key Insights: Geometry and Nonlinearity
The extended models reveal several critical insights into how and why Neural Collapse occurs:
- MSE Leads to "Rigid" Geometry: Unlike Cross-Entropy, which typically results in a Simplex ETF, MSE loss without a bias term leads to an Orthogonal Frame (OF). This is a more structured form of collapse where class means are perfectly orthogonal rather than just equiangular.
- The Bias Shift: Adding an unregularized bias term to the MSE objective shifts the global minimizers from an Orthogonal Frame back to a Simplex ETF. This aligns MSE results with the geometric structures previously observed in Cross-Entropy training.
- Nonlinearity is Non-Negotiable: A purely linear multi-layer UFM collapses all layers simultaneously. However, real networks exhibit a progressive decrease in variability deeper into the network. The authors prove that adding a ReLU activation is essential for the model to capture this progressive, depth-wise collapse.
- Weight Robustness: The authors demonstrate that even if features are not perfectly collapsed due to complex data distributions, the optimal weights of the network will still naturally "aim" for the collapsed, aligned state as the training data increases.
Empirical Validation
The authors provide closed-form mathematical characterizations of global minimizers for these extended models. To validate these proofs, they conducted numerical experiments on synthetic data.
As shown in the figure above, gradient descent successfully drives the objective function and all key Neural Collapse metrics to zero. This includes NC1 (within-class variability), NC2 (structural similarity to the Orthogonal Frame), and NC3 (weight-feature alignment).
Furthermore, to ensure their nonlinear model reflects reality, the authors trained a ResNet18 on standard benchmarks like MNIST and CIFAR10. The nonlinear extended UFM successfully mimicked the "progressive collapse" seen in the ResNet18, capturing how deeper features collapse faster and more completely than shallower ones—a nuance missed by previous linear models.
Conclusion and Future Directions
By extending the Unconstrained Features Model to include MSE loss, multiple layers, and ReLU activations, this research provides a much-needed theoretical foundation for progressive Neural Collapse in deep networks.
While the UFM is a powerful tool, it relies on the assumption that features can be freely adapted to any training data. Future work will need to bridge this gap by incorporating specific data distributions into the theory. Additionally, while this paper focuses on the properties of global minimizers, formally analyzing the trajectory and speed of collapse during training remains an exciting open challenge.
Summary updated