Sharpness of Minima in Deep Matrix Factorization
Organizations: Department of Electrical and Computer Engineering, University of California, San Diego, La Jolla, CA.
Abstract
Understanding the loss-landscape geometry near a minimum is key to explaining the implicit bias of gradient-based methods in non-convex optimization problems such as deep neural network training and deep matrix factorization. A central quantity for characterizing this geometry is the maximum eigenvalue of the Hessian of the loss. Currently, its precise role has been obfuscated because no exact expressions for this sharpness measure were known in general settings. In this paper, we present the first exact expression for the maximum eigenvalue of the Hessian of the squared-error loss at any minimizer in deep matrix factorization problems, resolving an open question posed by Mulayoff and Michaeli [2020]. This expression reveals a fundamental property of the loss landscape in deep matrix factorization: It is sufficient, but not necessary, for flatness that, across all layers, the product of the spectral norms of the left and right intermediate factors equals a constant determined by the depth and the spectral norm of the target matrix. Most notably, in both depth-2 matrix factorization and deep overparameterized scalar factorization, we show that this condition is both necessary and sufficient for flatness, which implies that flat minima are spectral-norm balanced and not necessarily balanced in depth-2 matrix factorization. To complement our theory, we provide empirical verification, relying on our exact expression, of an escape phenomenon during gradient-based training near a minimizer of a deep matrix factorization problem.
Figures & tables
| Related Work | Depth | Input Dim. | Output Dim. | Layers | |
|---|---|---|---|---|---|
| Mulayoff and Michaeli (2020, Theorem 1) | |||||
| Zhu et al. (2023, Appendix B.1) | |||||
| Singh and Hofmann (2024, Theorem 1) | |||||
| Ghosh et al. (2025, Lemma 1) | |||||
| Theorem 3.1 (This Paper) |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.