NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Sharpness of Minima in Deep Matrix Factorization

Anıl Kamber, Rahul Parhi

NeurIPS page · Open on the map

Category: Interpretability & Model Adaptation › Stable State-Space Learning · Type: theory · Keywords: deep matrix factorization, Hessian eigenvalue, loss landscape flatness, spectral norm balance, theoretical analysis

Areas: Optimization & Algorithms › Optimization Dynamics › Edge of Stability

Summary

We derive the first exact expression for the maximum eigenvalue of the Hessian of the squared-error loss at any minimizer in deep matrix factorization, revealing that flatness occurs when the product of spectral norms of intermediate factors is constant.

Explained to a 5-year-old

People make computer models that learn by adjusting many numbers. They want to know if the learning lands in a smooth, flat spot or a steep, pointy spot. The researchers found a simple rule: if you multiply the sizes of the middle parts of the model together, and that product stays the same, the spot will be flat. This helps explain why some models stay stable. They also watched the model move during learning and saw it behave as expected.

Explained to a 5-year-old, longer

Computers can learn to do things by changing many tiny numbers inside them. When they learn, they move around in a kind of landscape that has valleys and hills. A flat valley means the answer stays stable even if the numbers change a little. A sharp point means the answer can change a lot with a small change. The researchers wanted to know exactly when a valley is flat. They looked at a special kind of computer model called deep matrix factorization. They discovered that if you multiply the sizes of the middle layers together, and that product stays the same, the valley will be flat. This rule works for simple two-layer models and also for very deep models. It tells us that flatness is about balancing the sizes of parts, not about how big everything is overall. To be sure, they watched the model move during learning and saw it escape from sharp points. This helps scientists understand why some learning processes are stable. It also gives a new way to check if a model has found a good, stable solution.

For a technical reader

The paper derives a closed-form expression for the largest curvature (maximum eigenvalue of the Hessian) of the loss function at any optimal point in deep matrix factorization. It shows that flatness of the loss landscape is guaranteed when the product of the spectral norms of the left and right factor matrices stays constant across layers. This condition is both necessary and sufficient for flatness in both two-layer and deep overparameterized settings, clarifying that spectral-norm balance, not Frobenius-norm balance, drives flatness. The authors complement the theory with an empirical observation of an escape phenomenon during gradient descent training near a minimizer, confirming the predictions. The result provides a practical diagnostic for assessing model stability and implicit bias in linear-type neural networks.

Problem

Understanding the geometry of the loss landscape near a minimum-captured by the maximum eigenvalue of the Hessian-is crucial for explaining implicit biases of gradient-based methods in non-convex problems like deep matrix factorization. However, exact expressions for this sharpness measure have been unknown, leaving its role unclear.

Method

We derive an exact expression for the maximum eigenvalue of the Hessian of the squared-error loss at any minimizer by analyzing the spectral norms of the left and right intermediate factors across layers. This theoretical result is complemented by an empirical verification of an escape phenomenon near a minimizer.

Results

The analysis shows that flatness occurs exactly when the product of the spectral norms of the intermediate factors remains constant across layers, establishing a spectral-norm balance condition that is both necessary and sufficient for flatness in depth-2 and deep overparameterized cases. Empirically, we observe an escape phenomenon during gradient-based training near a minimizer, consistent with the theoretical predictions.

Contributions

We provide the first exact expression for the maximum eigenvalue of the Hessian at any minimizer in deep matrix factorization, clarifying the role of sharpness in loss-landscape geometry. Additionally, we prove that spectral-norm balance is the key condition for flatness and empirically confirm an escape behavior near minima.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction