NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Gradient Descent for Deep Matrix Factorization: Dynamics and Implicit Bias towards Low Rank

Hung-Hsu Chou, Carsten Gieshoff, Johannes Maly, Holger Rauhut · DOI

TL;DR

This paper analyzes the dynamics of gradient descent in deep matrix factorization, revealing an implicit bias towards low-rank solutions. The authors provide theoretical guarantees for how gradient descent, even without explicit regularization, favors matrices with fewer effective components, offering insights into why deep learning models generalize well.

What Problem Does This Paper Address?

Deep learning models, particularly deep neural networks, often have significantly more parameters than training data points. This "over-parameterization" typically leads to multiple solutions that perfectly fit the training data. However, these models often generalize surprisingly well to unseen data, a phenomenon attributed to an "implicit bias" of the optimization algorithm, typically gradient descent. While this bias is widely observed, its precise nature, especially in deep architectures, remains poorly understood. This paper focuses on a simplified setting of deep matrix factorization to rigorously analyze this implicit bias, specifically investigating how gradient descent favors low-rank solutions.

Methods

The authors analyze the discrete dynamics of gradient descent for a matrix factorization problem. They derive rigorous mathematical bounds on the convergence of the eigenvalues of the resulting matrix. A key technique is the decoupling of the dynamics of individual matrix factors, allowing for a more tractable analysis. They also analyze the continuous-time gradient flow as a stepping stone to understanding the discrete dynamics. The paper introduces theoretical tools to quantify the "effective rank" of the iterates and to characterize the time intervals during which this rank remains approximately constant, corresponding to low-rank approximations of the ground truth. They consider two initialization strategies: identical initialization (where all factors are initialized similarly) and perturbed identical initialization (where one factor is slightly different), showing how the latter can recover the full spectrum of the ground truth, including negative eigenvalues.

Datasets

Not discussed in the paper. The paper focuses on theoretical analysis and uses synthetic ground-truth matrices for its proofs and numerical illustrations.

Key Insights and Ideas

  • Implicit Low-Rank Bias: Gradient descent, even without explicit regularization, inherently favors low-rank solutions in deep matrix factorization. This means the optimization process steers the model towards representations that are simpler in terms of their effective rank.
  • Eigenvalue Recovery Dynamics: The paper precisely characterizes how eigenvalues of the ground-truth matrix are recovered by the gradient descent iterates. Positive eigenvalues are recovered more readily, while negative eigenvalues require a specific perturbation in initialization to be recovered.
  • "Waterfall" Behavior of Effective Rank: The effective rank of the iterates exhibits a "waterfall" behavior: it initially drops and then monotonically increases, plateauing at levels corresponding to low-rank approximations of the true matrix. This provides a concrete mechanism for how implicit regularization leads to low-rank solutions.
  • Initialization Matters: The choice of initialization significantly impacts the dynamics. Identical initialization leads to a spectral cutoff (only positive eigenvalues recovered), while a slight perturbation allows for the recovery of the full spectrum.

Key Results

  • Theoretical Guarantees: The paper provides rigorous mathematical theorems that bound the number of iterations required for gradient descent to approximate the ground-truth matrix with a certain accuracy.
  • Recovery of Positive Eigenvalues: For identical initialization, the paper proves that gradient descent can only recover non-negative eigenvalues of the ground-truth matrix.
  • Recovery of Arbitrary Eigenvalues: With a slightly perturbed initialization, gradient descent can recover the entire spectrum of the ground-truth matrix, including negative eigenvalues.
  • Effective Rank Characterization: Theorems are presented that precisely describe the length and location of plateaus in the effective rank of the iterates, linking them to low-rank approximations of the ground truth.

Limitations and Future Work

  • Symmetric Ground Truths: The theoretical analysis is primarily focused on symmetric ground-truth matrices. Extending this to non-symmetric and rectangular matrices is suggested as future work.
  • Identical/Perturbed Identical Initialization: While the paper analyzes these specific initialization strategies, real-world deep learning often uses random initialization. The paper includes preliminary numerical results suggesting that random initialization can lead to more complex behaviors, and a rigorous analysis of this is left for future work.
  • Generalization to Non-linear Networks: The current work focuses on linear matrix factorization. Extending the insights on implicit bias to non-linear deep neural networks is a significant open challenge.
  • Noise and Real Data: While numerical simulations on MNIST data are presented to illustrate the concepts, the theoretical guarantees are derived for noiseless settings. Extending the theory to handle noise and more complex real-world data is a direction for future research.

Summary updated

BibTeX
@misc{chou2020gradient,
  author = {Hung-Hsu Chou and Carsten Gieshoff and Johannes Maly and Holger Rauhut},
  title = {{Gradient Descent for Deep Matrix Factorization: Dynamics and Implicit Bias towards Low Rank}},
  year = {2020},
  eprint = {2011.13772},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2011.13772},
}
Figure