[Paper Review] On the Optimization Landscape of Neural Collapse under MSE Loss: Global Optimality with Unconstrained Features
This paper provides the first global optimization landscape analysis of deep neural networks trained with mean squared error (MSE) loss under an unconstrained feature model. It proves that all global minimizers exhibit Neural Collapse (NC), with no spurious local minima—only strict saddles—while rescaling the MSE loss improves the landscape and generalization, verified empirically on ResNet18.
When training deep neural networks for classification tasks, an intriguing empirical phenomenon has been widely observed in the last-layer classifiers and features, where (i) the class means and the last-layer classifiers all collapse to the vertices of a Simplex Equiangular Tight Frame (ETF) up to scaling, and (ii) cross-example within-class variability of last-layer activations collapses to zero. This phenomenon is called Neural Collapse (NC), which seems to take place regardless of the choice of loss functions. In this work, we justify NC under the mean squared error (MSE) loss, where recent empirical evidence shows that it performs comparably or even better than the de-facto cross-entropy loss. Under a simplified unconstrained feature model, we provide the first global landscape analysis for vanilla nonconvex MSE loss and show that the (only!) global minimizers are neural collapse solutions, while all other critical points are strict saddles whose Hessian exhibit negative curvature directions. Furthermore, we justify the usage of rescaled MSE loss by probing the optimization landscape around the NC solutions, showing that the landscape can be improved by tuning the rescaling hyperparameters. Finally, our theoretical findings are experimentally verified on practical network architectures.
Motivation & Objective
- To theoretically justify Neural Collapse (NC) under mean squared error (MSE) loss, a loss function that empirically performs as well or better than cross-entropy (CE) in practice.
- To analyze the global optimization landscape of vanilla nonconvex MSE loss under an unconstrained feature model, where features are free optimization variables.
- To show that NC solutions are the only global minimizers and that all other critical points are strict saddles with negative curvature, enabling efficient optimization.
- To investigate the role of rescaling hyperparameters in improving the optimization landscape and generalization performance of MSE loss.
- To empirically validate theoretical findings on practical architectures like ResNet18 using datasets such as miniImageNet.
Proposed method
- Formalize the unconstrained feature model where last-layer features and classifiers are free variables, decoupling from network weights.
- Analyze the MSE loss landscape using critical point classification: prove that global minimizers correspond exactly to NC solutions.
- Characterize non-global critical points as strict saddles by showing their Hessian matrices have negative curvature directions.
- Introduce a rescaled MSE loss with two hyperparameters (α and M) to improve the landscape around NC solutions.
- Use landscape visualization and empirical training on ResNet18 to study the effect of rescaling on NC degree and test accuracy.
- Conduct experiments on miniImageNet with varying α and M to correlate rescaling with improved NC and generalization.
Experimental results
Research questions
- RQ1Does the MSE loss under an unconstrained feature model lead to Neural Collapse as the unique global solution?
- RQ2What is the global optimization landscape of the nonconvex MSE loss—specifically, are there spurious local minima or only strict saddles?
- RQ3How does rescaling the MSE loss affect the optimization landscape and generalization performance?
- RQ4Can the theoretical benefits of rescaling be empirically observed in practical training of deep networks?
- RQ5How does MSE-based NC compare to CE-based NC in terms of training dynamics and robustness?
Key findings
- All global minimizers of the MSE loss under the unconstrained feature model are Neural Collapse solutions, with class means forming a Simplex Equiangular Tight Frame (ETF) and within-class variability collapsing to zero.
- All non-global critical points are strict saddles, as their Hessian matrices have at least one negative eigenvalue, enabling efficient escape via first-order methods.
- Rescaling the MSE loss with hyperparameters α and M improves the optimization landscape, reducing the number of points near the decision boundary and enhancing generalization.
- Empirical results on ResNet18 show that increasing either α or M correlates with stronger Neural Collapse and higher training and test accuracy.
- The degree of NC and model performance are positively correlated with rescaling parameters, indicating that rescaling is essential for optimal performance with MSE loss.
- The findings extend the prevalence of Neural Collapse to MSE-trained networks, showing it occurs regardless of training algorithm (as long as it escapes strict saddles) and architecture (given sufficient expressivity).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.