Towards Resolving the Implicit Bias of Gradient Descent for Matrix Factorization: Greedy Low-Rank Learning

Zhiyuan Li, Yuping Luo, Kaifeng Lyu

Introduction

There are usually far more learnable parameters in deep neural nets than the number of training data, but still deep learning works well on real-world tasks. Even with explicit regularization, the model complexity of state-of-the-art neural nets is so large that they can fit randomly labeled data easily [Zhang et al., 2017]. Towards explaining the mystery of generalization, we must understand what kind of implicit regularization does Gradient Descent (GD) impose during training. Ideally, we are hoping for a nice mathematical characterization of how GD constrains the set of functions that can be expressed by a trained neural net.

With sufficiently small initialization, GF converges to the minimum nuclear norm solution of matrix sensing.

Subsequently, Arora et al. [2019a] challenged this view by arguing that a simple mathematical norm may not be a sufficient language for characterizing implicit regularization. One example illustrated in Arora et al. [2019a] is regarding matrix sensing with a single observation. They showed that GD with small initialization enhances the growth of large singular values of the solution and attenuates that of smaller ones. This enhancement/attenuation effect encourages low-rank, and it is further intensified with depth in deep matrix factorization (i.e., GD optimizes f(U1⋯UL)f({\bm{U}}_{1}\cdots{\bm{U}}_{L}) for L≥2L\geq 2). However, these are not captured by the nuclear norm alone. Gidel et al. , Gissin et al. further exploited this idea and showed in the special case of full-observation matrix sensing that GF learns solutions with gradually increasing rank. Razin and Cohen showed in a simple class of matrix completion problems that GF decreases the rank along the trajectory while any norm grows towards infinity. More aggressively, they conjectured that the implicit regularization can be explained by rank minimization rather than norm minimization.

In this paper, we move one further step towards resolving the implicit regularization in the matrix factorization problem. Our theoretical results show that GD performs rank minimization via a greedy process in a broader setting. Specifically, we provide theoretical evidence that GF with infinitesimal initialization is in general mathematically equivalent to another algorithm called Greedy Low-Rank Learning (GLRL). At a high level, GLRL is a greedy algorithm that performs rank-constrained optimization and relaxes the rank constraint by 11 whenever it fails to reach a global minimizer of f( ⋅ )f(\,\cdot\,) with the current rank constraint. As a by-product, we refute 1.1 by demonstrating an counterexample (Example 5.9).

We also extend our results to deep matrix factorization Section 6, where we prove that the trajectory of GF with infinitesimal identity initialization converges to a deep version of GLRL, at least in the early stage of the optimization. We also use this result to confirm the intuition achieved on toy models [Gissin et al., 2020], that benefits of depth in matrix factorization is to encourage rank minimization even for initialization with a relatively larger scale, and thus it is more likely to happen in practice. This shows that describing the implicit regularization using GLRL is more expressive than using the language of norm minimization. We validate all our results with experiments in Appendix C.

Related Works

The view of norm minimization, or the closely related view of margin maximization, has been explored in different settings. Besides the nuclear norm minimization for matrix factorization [Gunasekar et al., 2017] discussed in the introduction, previous works have also studied the norm minimization/margin maximization for linear regression [Wilson et al., 2017, Soudry et al., 2018a, b, Nacson et al., 2019b, c, Ji and Telgarsky, 2019b], deep linear neural nets [Ji and Telgarsky, 2019a, Gunasekar et al., 2018], homogeneous neural nets [Nacson et al., 2019a, Lyu and Li, 2020], ultra-wide neural nets [Jacot et al., 2018, Arora et al., 2019b, Chizat and Bach, 2020].

The initialization scale can greatly influence the implicit regularization. A sufficiently large initialization can make the training dynamics fall into the lazy training regime defined by Chizat et al. and diminish test accuracy. Using small initialization is particularly important to bias gradient descent to low-rank solutions for matrix factorization, as empirically observed by Gunasekar et al. . Arora et al. [2019a], Gidel et al. , Gissin et al. , Razin and Cohen studied how gradient flow with small initialization encourages low-rank in simple settings, as discussed in the introduction. Li et al. proved recovery guarantees for gradient flow solving matrix sensing under Restricted Isometry Property (RIP), but the proof cannot be generalized easily to the case without RIP. Belabbas made attempts to prove that gradient flow is approximately rank-1 in the very early phase of training, but it does not exclude the possibility that the approximation error explodes later and gradient flow is not converging to low-rank solutions. Compared to these works, the current paper studies how GF encourages low-rank in a much broader setting.

Background

In this paper, we particularly focus on the overparameterized case, where r=dr=d, to understand the implicit regularization of GF when there is no rank constraint for the matrix W{\bm{W}}.

Warmup Examples

Before introducing our main results, we illustrate how GD performs greedy learning using two warmup examples.

In general, for a loss function L(U)=12f(UU⊤)\mathcal{L}({\bm{U}})=\frac{1}{2}f({\bm{U}}{\bm{U}}^{\top}), we can always apply Taylor expansion f(W)≈f(0)+<W,∇f(0)>f({\bm{W}})\approx f({\bm{0}})+\left<{\bm{W}},\nabla f({\bm{0}})\right> around the origin to approximate it with a linear function. This motivates us to study the linear case: f(W):=f0−<W,Q>f({\bm{W}}):=f_{0}-\left<{\bm{W}},{\bm{Q}}\right> for some symmetric matrix Q{\bm{Q}}. In this case, the matrix U{\bm{U}} follows the ODE, dUdt=QU\frac{\textup{{d}}{\bm{U}}}{\textup{{d}}t}={\bm{Q}}{\bm{U}}, which can be understood as a continuous version of the classical power iteration method for solving the top eigenvector. Let Q:=∑i=1dμivivi⊤{\bm{Q}}:=\sum_{i=1}^{d}\mu_{i}{\bm{v}}_{i}{\bm{v}}_{i}^{\top} be the eigendecomposition of Q{\bm{Q}}, where μ1≥μ2≥⋯≥μd\mu_{1}\geq\mu_{2}\geq\cdots\geq\mu_{d} and v1,…,vd{\bm{v}}_{1},\dots,{\bm{v}}_{d} are orthogonal to each other. Then we can write the solution as:

When μ1>μ2\mu_{1}>\mu_{2}, the ratio between eμ1te^{\mu_{1}t} and eμite^{\mu_{i}t} for i≠1i\neq 1 increases exponentially fast. As t→+∞t\to+\infty, U(t){\bm{U}}(t) and W(t){\bm{W}}(t) become approximately rank-1 as long as vi⊤U(0)≠0{\bm{v}}_{i}^{\top}{\bm{U}}(0)\neq{\bm{0}}, i.e.,

The analysis for the simple linear case reveals that GD encourages low-rank through a process similar to power iteration. However, f(W)f({\bm{W}}) is non-linear in general, and the linear approximation is close to f(W)f({\bm{W}}) only if W{\bm{W}} is very small. With sufficiently small initialization, we can imagine that GD still resembles the above power iteration in the early phase of the optimization. But what if W(t){\bm{W}}(t) grows to be so large that the linear approximation is far from the actual f(W)f({\bm{W}})?

Let W∗:=∑i=1dμivivi⊤{\bm{W}}^{*}:=\sum_{i=1}^{d}\mu_{i}{\bm{v}}_{i}{\bm{v}}_{i}^{\top} be the eigendecomposition of W∗{\bm{W}}^{*}. Our previous analysis shows that the dynamics is approximately dUdt=W∗U\frac{\textup{{d}}{\bm{U}}}{\textup{{d}}t}={\bm{W}}^{*}{\bm{U}} in the early phase and thus encourages low-rank.

However, it is unclear how and why this sequential learning/incremental learning can occur in general. Through the first warmup example, we may understand why GD learns a rank-1 matrix in the early phase, but does GD always learn solutions with rank 2,3,4,…2,3,4,\dots sequentially? If true, what is the mechanism behind this? The current paper answers the questions by providing both theoretical and empirical evidence that the greedy learning behavior does occur in general with a similar reason as for the first warmup example.

Greedy Low-Rank Learning (GLRL)

In this section, we present a trajectory-based analysis for the implicit bias of GF on matrix factorization. Our main result is that GF with infinitesimal initialization is generically the same as that of a simple greedy algorithm, Greedy Low-Rank Learning (GLRL, Algorithm 1).

We define the (limiting) trajectory of GLRL by taking the learning rate η→0\eta\to 0. The goal is to show that the trajectory of GLRL is close to that of GF with infinitesimal initialization. Recall that ϕ(W0,t)\phi({\bm{W}}_{0},t) stands for the solution W(t){\bm{W}}(t) in (2) when W(0)=W0{\bm{W}}(0)={\bm{W}}_{0}.

The most related one to GLRL (Algorithm 1) is probably Rank-1 Matrix Pursuit (R1MP) proposed by Wang et al. for matrix completion, which was later generalized to general convex loss in [Yao and Kwok, 2016]. R1MP maintains a set of rank-1 matrices as the basis, and in phase rr, R1MP adds the same urur⊤{\bm{u}}_{r}{\bm{u}}_{r}^{\top} as defined in Algorithm 1 into its basis and solve min⁡αf(∑i=1rαiuiui⊤)\min_{{\bm{\alpha}}}f(\sum_{i=1}^{r}\alpha_{i}{\bm{u}}_{i}{\bm{u}}_{i}^{\top}) for rank-rr estimation. The main difference between R1MP and GLRL is that the optimization in each phase of R1MP is performed on the coefficients α{\bm{\alpha}}, while the entire Ur{\bm{U}}_{r} evolves with GD in each phase of GLRL. In Figure 3, we provide empirical evidence that GLRL generalizes better than R1MP when ground truth is low-rank, although GLRL may have a higher computational cost depending on η,ϵ\eta,\epsilon.

Similar to R1MP, Greedy Efficient Component Optimization (GECO, Shalev-Shwartz and Singer 2010) also chooses the rr-th component of its basis as the top eigenvector of −∇f(Wr)-\nabla f({\bm{W}}_{r}), while it solves min⁡βf(∑1≤i,j≤rβijuiuj⊤)\min_{{\bm{\beta}}}f(\sum_{1\leq i,j\leq r}\beta_{ij}{\bm{u}}_{i}{\bm{u}}_{j}^{\top}) for the rank-rr estimation. Khanna et al. provided convergence guarantee for GECO assuming strong convexity. Haeffele and Vidal proposed a local-descent meta algorithm, of which GLRL can be viewed as a specific realization.

1 The Limiting Trajectory: A General Theorem for Dynamical System

To prove the equivalence between GF and GLRL, we first introduce our high-level idea by analyzing the behavior of a more general dynamical system around its critical point, say 0{\bm{0}}. A specific example is (2) if we set θ{\bm{\theta}} to be the vectorization of W{\bm{W}}.

The key observation is that if the initialization is infinitesimal, the trajectory is almost uniquely determined. To be more precise, we need the following definition:

A special case is that the direction of θα−θ0{\bm{\theta}}_{\alpha}-{\bm{\theta}}_{0} converges, i.e., θˉ:=lim⁡α→0θα−θ0∥θα−θ0∥2\bar{{\bm{\theta}}}:=\lim_{\alpha\to 0}\frac{{\bm{\theta}}_{\alpha}-{\bm{\theta}}_{0}}{\|{\bm{\theta}}_{\alpha}-{\bm{\theta}}_{0}\|_{2}} exists. In this case, {θα}\{{\bm{\theta}}_{\alpha}\} has positive alignment with either u{\bm{u}} or −u-{\bm{u}} except for a zero-measure subset of θˉ\bar{{\bm{\theta}}}. This means any convergent sequence generically falls into either of these two categories.

2 Equivalence Between GD and GLRL: Rank-One Case

Now we establish the equivalence between GF and GLRL in the first phase. The main idea is to apply Theorem 5.3 on (2). For this, we need the following lemma on the eigenvalues and eigenvectors.

Let g(W):=−W∇f(W)−∇f(W)W{\bm{g}}({\bm{W}}):=-{\bm{W}}\nabla f({\bm{W}})-\nabla f({\bm{W}}){\bm{W}} and J(W){\bm{J}}({\bm{W}}) be its Jacobian. Then J(0){\bm{J}}({\bm{0}}) is symmetric and thus diagonalizable. Let −∇f(0)=∑i=1dμiu1[i]u1[i]⊤-\nabla f({\bm{0}})=\sum_{i=1}^{d}\mu_{i}{\bm{u}}_{1[i]}{\bm{u}}_{1[i]}^{\top} be the eigendecomposition of the symmetric matrix −∇f(0)-\nabla f({\bm{0}}), where μ1≥μ2≥⋯≥μd\mu_{1}\geq\mu_{2}\geq\cdots\geq\mu_{d}. Then J(0){\bm{J}}({\bm{0}}) has the form:

where J(0)[Δ]{\bm{J}}({\bm{0}})[{\bm{\Delta}}] stands for the resulting matrix produced by left-multiplying J(0){\bm{J}}({\bm{0}}) to the vectorization of Δ{\bm{\Delta}}. For every pair of 1≤i≤j≤d1\leq i\leq j\leq d, μi+μj\mu_{i}+\mu_{j} is an eigenvalue of J(0){\bm{J}}({\bm{0}}) and u1[i]u1[j]⊤+u1[j]u1[i]⊤{\bm{u}}_{1[i]}{\bm{u}}_{1[j]}^{\top}+{\bm{u}}_{1[j]}{\bm{u}}_{1[i]}^{\top} is a corresponding eigenvector. All the other eigenvalues are .

μ1>max⁡{μ2,0}\mu_{1}>\max\{\mu_{2},0\}, where μ1:=λ1(−∇f(0)),μ2:=λ2(−∇f(0))\mu_{1}:=\lambda_{1}(-\nabla f({\bm{0}})),\mu_{2}:=\lambda_{2}(-\nabla f({\bm{0}})).

f(W)f({\bm{W}}) is locally analytic at each point.

5.7 is a natural assumption, since f( ⋅ )f(\,\cdot\,) in most cases of matrix factorization is a quadratic or polynomial function (e.g., matrix sensing, matrix completion). In general, it is unlikely for a gradient-based optimization process to get stuck at saddle points [Lee et al., 2017, Panageas et al., 2019]. Thus, we should expect to see in general that GLRL finds the rank-1 solution if the problem is feasible with rank-1 matrices. This means at least for this subclass of problems, the implicit regularization of GD is rather unrelated to norm minimization. Below is a concrete example:

3 Equivalence between GD and GLRL: General Case

Benefits of Depth: A View from GLRL

In this section, we consider matrix factorization problems with depth L≥3L\geq 3. Our goal is to understand the effect of the depth-LL parametrization W=U1U2⋯UL{\bm{W}}={\bm{U}}_{1}{\bm{U}}_{2}\cdots{\bm{U}}_{L} on the implicit bias — how does depth encourage GF to find low rank solutions? We take the standard assumption in existing analysis for the end-to-end dynamics that the weight matrices have a balanced initialization, i.e. Ui⊤(0)Ui(0)=Ui+1(0)Ui+1⊤(0), ∀1≤i≤L−1{\bm{U}}_{i}^{\top}(0){\bm{U}}_{i}(0)={\bm{U}}_{i+1}(0){\bm{U}}_{i+1}^{\top}(0),\ \forall 1\leq i\leq L-1. Arora et al. showed that if {Ui}i=1L\{{\bm{U}}_{i}\}_{i=1}^{L} is balanced at initialization, then we have the following end-to-end dynamics. Similar to the depth-2 case, we use ϕ(W(0),t)\phi({\bm{W}}(0),t) to denote W(t){\bm{W}}(t), where

The lemma below is the foundation of our analysis for the deep case, which greatly simplifies (11). Due to the space limit, we defer its derivations and applications into Appendix I.

If W(t){\bm{W}}(t) is a symmetric solution of (11), then for M(t):=W(t)2/L{\bm{M}}(t):={\bm{W}}(t)^{2/L}, we have

Let P=L2P=\frac{L}{2}, L≥3L\geq 3. Suppose ∥∇f(0)∥2=λ1(−∇f(0))>max⁡{λ2(−∇f(0)),0}\left\|\nabla f({\bm{0}})\right\|_{2}=\lambda_{1}(-\nabla f({\bm{0}}))>\max\{\lambda_{2}(-\nabla f({\bm{0}})),0\},∥∇f(0)∥2=λ1(−∇f(0))\left\|\nabla f({\bm{0}})\right\|_{2}=\lambda_{1}(-\nabla f({\bm{0}})) is a technical assumption which we believe could be removed with a more refined analysis.

When the ground truth is low-rank, say rank-kk, our experiments (Figure 2) suggest that GF with small initialization deep matrix sensing finds solutions with smaller kk-low-rankness compared to the depth-2 case, thus achieving better generalization. At first glance, this is contradictory to what Theorem 6.2 suggests, i.e., the convergence rate of deep GLRL at a constant time gets slower as the depth increases. However, it turns out the uniform upper bound for the distance between GF and GLRL is not the ideal metric for the eventual kk-low-rankness of learned solution. Below we will illustrate why the rr-low-rankness of GF within each phase rr is a better metric and how they are different.

For depth-2 GLRL, the low-rankness is raised to some power less then 11 per phase (depending on the eigengap). For deep GLRL, we show the low-rankness is only multiplied by some constant for the first phase and speculate it to be true for later phases. This conjecture is supported by our experiments; see Figure 2. Interestingly, our theory and experiments (Figure 5) suggest that while being deep is good for generalization, being much deeper may not be much better: once L≥3L\geq 3, increasing the depth does not improve the order of low-rankness significantly. While this theoretical result is only for identity initialization, Theorem D.1 and Corollary D.2 further show that the dynamics of GF (11) with any initialization pointwise converges as L→∞L\to\infty, under a suitable time rescaling. See Figure 6 for experimental verification.

Conclusion and Future Directions

In this work, we connect gradient descent to Greedy Low-Rank Learning (GLRL) to explain the success of using gradient descent to find low-rank solutions in the matrix factorization problem. This enables us to construct counterexamples to the implicit nuclear norm conjecture in [Gunasekar et al., 2017]. Taking the view of GLRL can also help us understand the benefits of depth.

Our result on the equivalence between gradient flow with infinitesimal initialization and GLRL is based on some regularity conditions that we expect to hold generically. We leave it a future work to justify these condition, possibly through a smoothed analysis on the objective f( ⋅ )f(\,\cdot\,). Another interesting future direction is to find the counterpart of GLRL in training deep neural nets. This could be one way to go beyond the view of norm minimization in the study of the implicit regularization of gradient descent.

The authors thank Sanjeev Arora and Jason D. Lee for helpful discussions. The authors also thank Runzhe Wang for useful suggestions on writing. ZL and YL acknowledge support from NSF, ONR, Simons Foundation, Schmidt Foundation, Mozilla Research, Amazon Research, DARPA and SRC. ZL is also supported by Microsoft PhD Fellowship.

References

Appendix A Preliminary Lemmas

U0{\bm{U}}_{0} is a stationary point of L(U)=12f(UU⊤)\mathcal{L}({\bm{U}})=\frac{1}{2}f({\bm{U}}{\bm{U}}^{\top});

∇f(W0)W0=0\nabla f({\bm{W}}_{0}){\bm{W}}_{0}={\bm{0}};

W0:=U0U0⊤{\bm{W}}_{0}:={\bm{U}}_{0}{\bm{U}}_{0}^{\top} is a critical point of (2).

(2) ⇒\Rightarrow (3) is trivial. We only prove (1) ⇒\Rightarrow (2), (3) ⇒\Rightarrow (1).

If U0{\bm{U}}_{0} is a stationary point, then 0=∇L(U0)=∇f(W0)U0{\bm{0}}=\nabla\mathcal{L}({\bm{U}}_{0})=\nabla f({\bm{W}}_{0}){\bm{U}}_{0}. So

If W0{\bm{W}}_{0} is a critical point, then

which implies ∇L(U0)=0\nabla\mathcal{L}({\bm{U}}_{0})={\bm{0}}. ∎

Note that <∇f(W0),W0>=Tr⁡(∇f(W0)W0)\left<\nabla f({\bm{W}}_{0}),{\bm{W}}_{0}\right>=\operatorname{Tr}(\nabla f({\bm{W}}_{0}){\bm{W}}_{0}). By Lemma A.1, <∇f(W0),W0>=0\left<\nabla f({\bm{W}}_{0}),{\bm{W}}_{0}\right>=0. Combining this with (16), we know that W0{\bm{W}}_{0} is a global minimizer iff

It is easy to check that this condition is equivalent to ∇f(W0)⪰0\nabla f({\bm{W}}_{0})\succeq{\bm{0}}. ∎

Appendix B Proofs for Counter-example

where Ω={(1,3),(1,4),(2,3),(3,1),(3,2),(4,1)}\Omega=\{(1,3),(1,4),(2,3),(3,1),(3,2),(4,1)\}.

Let M0:=∇f(0){\bm{M}}_{0}:=\nabla f({\bm{0}}), then

Let Wϵ(t){\bm{W}}_{\epsilon}(t) be the following matrix:

Since g(x(t),y(t))g(x(t),y(t)) is non-increasing overtime, and lim⁡t→−∞g(x(−t),y(−t))=g(x(−∞),y(−∞))=g(0,0)=R2+0.5\lim\limits_{t\to-\infty}g(x(-t),y(-t))=g(x(-\infty),y(-\infty))=g(0,0)=R^{2}+0.5, we know ∣x(t)y(t)∣≤3R\lvert x(t)y(t)\rvert\leq 3R for all tt. So whenever y2(t)−x2(t)≥9R2y^{2}(t)-x^{2}(t)\geq 9R^{2}, we have x2(t)≤9R2y2(t)≤9R2y2(t)−x2(t)≤1x^{2}(t)\leq\frac{9R^{2}}{y^{2}(t)}\leq\frac{9R^{2}}{y^{2}(t)-x^{2}(t)}\leq 1. In this case, d(y2(t)−x2(t))dt=2x2(t)(x2(t)−1)≤0\frac{\textup{{d}}(y^{2}(t)-x^{2}(t))}{\textup{{d}}t}=2x^{2}(t)(x^{2}(t)-1)\leq 0. Combining this with y(−∞)2−x(−∞)2=0≤9R2y(-\infty)^{2}-x(-\infty)^{2}=0\leq 9R^{2}, we have y2(t)−x2(t)≤9R2y^{2}(t)-x^{2}(t)\leq 9R^{2} for all tt, which also implies that y(t)y(t) is bounded. Noticing that 9R2≥g(x(t),y(t))≥(x2(t)−1)29R^{2}\geq g(x(t),y(t))\geq(x^{2}(t)-1)^{2}, we know x2(t)x^{2}(t) is also bounded. Therefore, W1G(t){\bm{W}}_{1}^{G}(t) is bounded.

Let mijm_{ij} be (i,j)(i,j)th element of M{\bm{M}}. Suppose M⪰0{\bm{M}}\succeq{\bm{0}}, we have

Thus 4R=min⁡W⪰0,f(W)=0∥W∥∗4R=\min_{{\bm{W}}\succeq\bm{0},f({\bm{W}})=0}\left\|{\bm{W}}\right\|_{\ast}, where the equality is only attained at mii=R,i=1,2,3,4m_{ii}=R,i=1,2,3,4. Otherwise, either [m11m14m41m44]\begin{bmatrix}m_{11}&m_{14}\\ m_{41}&m_{44}\end{bmatrix} or [m22m23m32m33]\begin{bmatrix}m_{22}&m_{23}\\ m_{32}&m_{33}\end{bmatrix} will have negative eigenvalues. Contradiction to that M⪰0{\bm{M}}\succeq{\bm{0}}.

Below we will show the rest unknown off-diagonal entries must be 11. Let V=[1−10000100001]{\bm{V}}=\begin{bmatrix}1&-1&0&0\\ 0&0&1&0\\ 0&0&0&1\end{bmatrix}, then

which implies m13=m23m_{13}=m_{23}, m14=m24m_{14}=m_{24}.

Appendix C Experiments

The code is written in Julia [Bezanson et al., 2012] and PyTorch [Paszke et al., 2019].

In Figures 1, 2, 3 and 4, the GLRL’s trajectory is obtained by running Algorithm 1 with ϵ=10−7\epsilon=10^{-7} and η=10−3\eta=10^{-3}. The stopping criterion is that if the loop has been iterated for 10710^{7} times.

C.2 Experimental Equivalence between GLRL and Gradient Descent

Here we provide experimental evidence supporting our theoretical claims about the equivalence between GLRL and GF for both cases, L=2L=2 and L≥3L\geq 3.

C.3 How well does GLRL work?

We compare GLRL with gradient descent (with not-so-small initialization), nuclear norm minimization and R1MP [Wang et al., 2014]. We use CVXPY [Diamond and Boyd, 2016, Agrawal et al., 2018] for finding the nuclear norm solution. The results are shown in Figure 3. GLRL can fully recover the ground truth, while others have difficulty doing so.

C.4 How does initialization affect the convergence rate to the rank-1 GLRL trajectory?

The result is shown at Figure 4. We observe that GLRL trajectories are closer to the reference matrix Wref{\bm{W}}_{\text{ref}} by magnitudes. Thus the take home message here is that GLRL is in general a more computational efficient method to simulate the trajectory of GF (GD) with infinitesimal initialization, as one can start GLRL with a much larger initialization, while still maintaining high precision.

C.5 Benefit of Depth: polynomial vs exponential dependence on initialization

To verify the our theory in Section 6, we run gradient descent with different depth and initialization. The results are shown in Figure 5. We can see that as the initialization becomes smaller, the final solution gets closer to the ground truth. However, a depth-2 model requires exponentially small initialization, while deeper models require polynomial small initialization, though it takes much longer to converge.

Appendix D The marginal value of being deeper

Theorem D.1 shows that the end-to-end dynamics (19) converges point-wise while L→∞L\to\infty if the product of learning rate and depth, ηL\eta L, is fixed as constant. Interestingly, (19) also allows us to simulate the dynamics of W(t){\bm{W}}(t) for all depths LL while the computation time is independent of LL. In Figure 6, we compare the effect of depth while fixing the initialization and ηL\eta L. We can see that deeper models converge faster. The difference between L=1,2L=1,2, and 44 is large, while difference among L≥16L\geq 16 is marginal.

where Ki,i(L)=σi2−2/LK^{(L)}_{i,i}=\sigma_{i}^{2-2/L}, Ki,j(L)=σi2−σj2Lσi2/L−Lσj2/LK^{(L)}_{i,j}=\frac{\sigma_{i}^{2}-\sigma_{j}^{2}}{L\sigma_{i}^{2/L}-L\sigma_{j}^{2/L}} for i≠ji\neq j.

where Hi,j(l)=σi2lLσj2(L−1−l)L{\bm{H}}^{(l)}_{i,j}=\sigma_{i}^{\frac{2l}{L}}\sigma_{j}^{\frac{2(L-1-l)}{L}}. Therefore,

where K(L)=L−1∑l=0L−1H(l){\bm{K}}^{(L)}=L^{-1}\sum_{l=0}^{L-1}{\bm{H}}^{(l)}. Hence,

The entries of K(L){\bm{K}}^{(L)} can be directly calculated by

As L→∞L\to\infty, K(L){\bm{K}}^{(L)} converges to K∗{\bm{K}}^{*}, where Ki,i∗=σi2K^{*}_{i,i}=\sigma_{i}^{2}, Ki,j∗=σi2−σj2ln⁡σi2−ln⁡σj2K^{*}_{i,j}=\frac{\sigma_{i}^{2}-\sigma_{j}^{2}}{\ln\sigma_{i}^{2}-\ln\sigma_{j}^{2}} for i≠ji\neq j.

Appendix E Proofs for Dynamical System

In this section, we prove Theorem 5.3 in Section 5.1. In Section E.1, we show how to reduce Theorem 5.3 to the case where J(0){\bm{J}}({\bm{0}}) is exactly a diagonal matrix, then we prove this diagonal case in Section E.2. Finally, in Section E.3, we discuss how to extend it to the case where J(0){\bm{J}}({\bm{0}}) is non-diagonalizable.

E.2 Proof for the Diagonal Case

Let R>0R>0. Since g(θ){\bm{g}}({\bm{\theta}}) is C2\mathcal{C}^{2}-smooth, there exists β>0\beta>0 such that

for all ∥θ∥2,∥θ+h∥2≤R\|{\bm{\theta}}\|_{2},\|{\bm{\theta}}+{\bm{h}}\|_{2}\leq R. Then the following can be proved by integration:

For θ(t)=ϕ(θ0,t){\bm{\theta}}(t)=\phi({\bm{\theta}}_{0},t) with ∥θ0∥2≤α\|{\bm{\theta}}_{0}\|_{2}\leq\alpha and t≤Tα(r)t\leq T_{\alpha}(r),

Expending F(α)F(\alpha) proves the lemma. ∎

For θ(t)=ϕ(θ0,t){\bm{\theta}}(t)=\phi({\bm{\theta}}_{0},t) with ∥θ0∥2≤α\|{\bm{\theta}}_{0}\|_{2}\leq\alpha and t≤Tα(r)t\leq T_{\alpha}(r), we have

Let θ^(t)=etJ(0)θ0\hat{{\bm{\theta}}}(t)=e^{t{\bm{J}}({\bm{0}})}{\bm{\theta}}_{0}. Then we have

where the last inequality is due to Lemma E.2. By (24) and Lemma E.3, we have

Let θ(t)=ϕ(θ0,t),θ^(t)=ϕ(θ^0,t){\bm{\theta}}(t)=\phi({\bm{\theta}}_{0},t),\hat{{\bm{\theta}}}(t)=\phi(\hat{{\bm{\theta}}}_{0},t). If max⁡{∥θ0∥2,∥θ^0∥2}≤α\max\{\|{\bm{\theta}}_{0}\|_{2},\|\hat{{\bm{\theta}}}_{0}\|_{2}\}\leq\alpha, then for t≤Tα(r)t\leq T_{\alpha}(r),

For every t∈(−∞,+∞)t\in(-\infty,+\infty), z(t){\bm{z}}(t) exists and zα(t){\bm{z}}_{\alpha}(t) converges to z(t){\bm{z}}(t) in the following rate:

where OO hides constants depending on g(θ)g({\bm{\theta}}) and tt.

Now it is only left to prove (7). WLOG we can assume that ∥δα∥2\|{\bm{\delta}}_{\alpha}\|_{2} is decreasing and α2≤∥δα∥2≤α\frac{\alpha}{2}\leq\|{\bm{\delta}}_{\alpha}\|_{2}\leq\alpha (otherwise we can do reparameterization). Then our goal becomes proving

Let qα:=<δαα,e1>q_{\alpha}:=\left<\frac{{\bm{\delta}}_{\alpha}}{\alpha},{\bm{e}}_{1}\right>. By Definition 5.2, there exists q>0q>0 such that qα≥qq_{\alpha}\geq q for all sufficiently small α\alpha. Then we have

Combining this with the convergence rate for zα1(t){\bm{z}}_{\alpha_{1}}(t), we have

E.3 Extension to Non-Diagonalizable Case

Assume that θ=0{\bm{\theta}}={\bm{0}} is a critical point and the following regularity conditions hold:

g(θ){\bm{g}}({\bm{\theta}}) is C2\mathcal{C}^{2}-smooth;

ϕ(θ0,t)\phi({\bm{\theta}}_{0},t) exists for all θ0{\bm{\theta}}_{0} and tt;

The top eigenvalue of J(0){\bm{J}}({\bm{0}}) is unique and is a positive real number, i.e.,

We only need to select a parameter δ>0\delta>0 and prove the theorem in the case of J(0)=Jδ{\bm{J}}({\bm{0}})={\bm{J}}_{\delta} since we can change the basis in a similar way as we have done in Section E.1. By scrutinizing the proof for Theorem E.1, we can find that we only need to reprove Lemma E.2. However, Lemma E.2 may not be correct since J(0){\bm{J}}({\bm{0}}) is not diagonal anymore. Instead, we prove the following:

Let K{\mathcal{K}} be the set of pairs (k1,k2)(k_{1},k_{2}) such that k1≠k2k_{1}\neq k_{2} and the entry of Jδ{\bm{J}}_{\delta} at the k1k_{1}-th row and the k2k_{2}-th column is non-zero. Then we have

where the second equality uses the fact that I{\bm{I}} and N{\bm{N}} are commutable. So we have

where the second equality uses the fact that D{\bm{D}} and N2{\bm{N}}^{2} are commutable. Note that etC=eat[cos⁡(bt)−sin⁡(bt)sin⁡(bt)cos⁡(bt)]e^{t{\bm{C}}}=e^{at}\left[\begin{smallmatrix}\cos(bt)&-\sin(bt)\\ \sin(bt)&\cos(bt)\end{smallmatrix}\right], which implies ∥etD∥2=∥etC∥2=eat\|e^{t{\bm{D}}}\|_{2}=\|e^{t{\bm{C}}}\|_{2}=e^{at}. So we have

Appendix F Eigenvalues of Jacobians and Hessians

In this section we analyze the eigenvalues of the Jacobian J(W){\bm{J}}({\bm{W}}) at critical points of (2).

for W0:=U0U0⊤{\bm{W}}_{0}:={\bm{U}}_{0}{\bm{U}}_{0}^{\top}, and thus W0{\bm{W}}_{0} is a critical point of (2).

For a real-valued or vector-valued function F(θ)F({\bm{\theta}}), we use DF(θ)[δ],D2F(θ)[δ1,δ2]DF({\bm{\theta}})[{\bm{\delta}}],D^{2}F({\bm{\theta}})[{\bm{\delta}}_{1},{\bm{\delta}}_{2}] to denote the first- and second-order directional derivatives of F( ⋅ )F(\,\cdot\,) at θ{\bm{\theta}}.

We also write DF(θ)[Δ1,Δ2]:=<DF(θ)[Δ1],Δ2>DF({\bm{\theta}})[{\bm{\Delta}}_{1},{\bm{\Delta}}_{2}]:=\left<DF({\bm{\theta}})[{\bm{\Delta}}_{1}],{\bm{\Delta}}_{2}\right>.

Define J(W):=Dg(W){\bm{J}}({\bm{W}}):=D{\bm{g}}({\bm{W}}). By simple calculus, we can compute the formula for J(W0){\bm{J}}({\bm{W}}_{0}):

We can also compute the formula for D2L(U0)D^{2}\mathcal{L}({\bm{U}}_{0}):

The eigenvalues of J(0){\bm{J}}({\bm{0}}) is given in Lemma 5.4. Now we provide the proof.

It is easy to see from the second equation that J(0){\bm{J}}({\bm{0}}) is symmetric.

Let −∇f(0)=∑i=1dμiu1[i]u1[i]⊤-\nabla f({\bm{0}})=\sum_{i=1}^{d}\mu_{i}{\bm{u}}_{1[i]}{\bm{u}}_{1[i]}^{\top} be the eigendecomposition of the symmetric matrix −∇f(0)-\nabla f({\bm{0}}). Then we have

For Δ=u1[i]u1[j]⊤+u1[j]u1[i]⊤{\bm{\Delta}}={\bm{u}}_{1[i]}{\bm{u}}_{1[j]}^{\top}+{\bm{u}}_{1[j]}{\bm{u}}_{1[i]}^{\top}, we have

So u1[i]u1[j]⊤+u1[j]u1[i]⊤{\bm{u}}_{1[i]}{\bm{u}}_{1[j]}^{\top}+{\bm{u}}_{1[j]}{\bm{u}}_{1[i]}^{\top} is an eigenvector of J(0){\bm{J}}({\bm{0}}) associated with eigenvalue μi+μj\mu_{i}+\mu_{j}. Note that {u1[i]u1[j]⊤+u1[j]u1[i]⊤:i,j∈[d]}\{{\bm{u}}_{1[i]}{\bm{u}}_{1[j]}^{\top}+{\bm{u}}_{1[j]}{\bm{u}}_{1[i]}^{\top}:i,j\in[d]\} spans all the symmetric matrices, so these are all the eigenvectors in the space of symmetric matrices.

For every antisymmetric matrix Δ{\bm{\Delta}} (i.e., Δ=−Δ⊤{\bm{\Delta}}=-{\bm{\Delta}}^{\top}), we have

So J(0)[Δ]=0{\bm{J}}({\bm{0}})[{\bm{\Delta}}]={\bm{0}} and every antisymmetric matrix is an eigenvector associated with eigenvalue .

Since every matrix can be expressed as the sum of a symmetric matrix and an antisymmetric matrix, we have found all the eigenvalues. ∎

F.2 Eigenvalues at Second-Order Stationary Points

Let Δ=vq⊤{\bm{\Delta}}={\bm{v}}{\bm{q}}^{\top}. Then we have

So D2L(U0)[Δ,Δ]<0D^{2}\mathcal{L}({\bm{U}}_{0})[{\bm{\Delta}},{\bm{\Delta}}]<0, which leads to a contradiction. ∎

By (28), the symmetric matrices −∇f(W0)-\nabla f({\bm{W}}_{0}) and W0{\bm{W}}_{0} commute, so they can be simultaneously diagonalizable. Since (28) also implies that they have different column spans, we can have the following diagonalization:

First we prove the following lemma on the eigenvalues and eigenvectors of the linear operator −D2L(U0)-D^{2}\mathcal{L}({\bm{U}}_{0}):

Replacing Δ{\bm{\Delta}} with U0R{\bm{U}}_{0}{\bm{R}} in (30) gives U0(R+R⊤)U0⊤=0{\bm{U}}_{0}({\bm{R}}+{\bm{R}}^{\top}){\bm{U}}_{0}^{\top}={\bm{0}}, which is equivalent to R=−R⊤{\bm{R}}=-{\bm{R}}^{\top} since U0{\bm{U}}_{0} is full-rank. Since the dimension of r×rr\times r antisymmetric matrices is r(r−1)2\frac{r(r-1)}{2}, the span spanned by the solutions of (30) also has dimension r(r−1)2\frac{r(r-1)}{2}. ∎

The eigenvalues of J(W0){\bm{J}}({\bm{W}}_{0}) can be fully classified into the following 33 types:

μi+μj\mu_{i}+\mu_{j} is an eigenvalue for every 1≤i≤j≤d−r1\leq i\leq j\leq d-r, and U^ij:=vivj⊤+vjvi⊤\hat{{\bm{U}}}_{ij}:={\bm{v}}_{i}{\bm{v}}_{j}^{\top}+{\bm{v}}_{j}{\bm{v}}_{i}^{\top} is an associated left eigenvector.

is an eigenvalue, and any antisymmetric matrix is an associated right eigenvector, which spans a linear space of dimension d(d−1)2\frac{d(d-1)}{2}.

We first prove each item respectively, and then prove that these are all the eigenvalues of J(W0){\bm{J}}({\bm{W}}_{0}).

For U^ij=vivj⊤+vjvi⊤\hat{{\bm{U}}}_{ij}={\bm{v}}_{i}{\bm{v}}_{j}^{\top}+{\bm{v}}_{j}{\bm{v}}_{i}^{\top}, it is easy to check:

which shows that U^ij\hat{{\bm{U}}}_{ij} is a left eigenvector associated with eigenvalue λi+λj\lambda_{i}+\lambda_{j}.

By definition of eigenvector, we have −D2L(U0)[Ep]=ξpEp-D^{2}\mathcal{L}({\bm{U}}_{0})[{\bm{E}}_{p}]=\xi_{p}{\bm{E}}_{p}, so

Right-multiplying both sides by U0⊤{\bm{U}}_{0}^{\top}, we get

Since ∇f(W)\nabla f({\bm{W}}) is symmetric, g(W){\bm{g}}({\bm{W}}) is also symmetric. For any Δ=−Δ⊤{\bm{\Delta}}=-{\bm{\Delta}}^{\top},

So J(W0)[Δ]=0{\bm{J}}({\bm{W}}_{0})[{\bm{\Delta}}]={\bm{0}} and Δ{\bm{\Delta}} is an eigenvector associated with eigenvalue .

Appendix G Proofs for the Depth-2 Case

G.2 Proof for Theorem 5.8

The proof for Theorem 5.8 relies on the following Lemma on the gradient flow around a local minimizer:

If θˉ\bar{{\bm{\theta}}} is a local minimizer of L(θ)\mathcal{L}({\bm{\theta}}) and for all ∥θ−θˉ∥2≤r\|{\bm{\theta}}-\bar{{\bm{\theta}}}\|_{2}\leq r, θ{\bm{\theta}} satisfies Łojasiewicz inequality:

for some μ∈[1/2,1)\mu\in[1/2,1), then the gradient flow θ(t)=ϕ(θ0,t){\bm{\theta}}(t)=\phi({\bm{\theta}}_{0},t) converges to a point θ∞{\bm{\theta}}_{\infty} near θˉ\bar{{\bm{\theta}}} if θ0{\bm{\theta}}_{0} is close enough to θˉ\bar{{\bm{\theta}}}, and the distance can be bounded by ∥θ∞−θˉ∥2=O(∥θ0−θˉ∥22(1−μ))\|{\bm{\theta}}_{\infty}-\bar{{\bm{\theta}}}\|_{2}=O(\|{\bm{\theta}}_{0}-\bar{{\bm{\theta}}}\|_{2}^{2(1-\mu)}).

For every t≥0t\geq 0, if ∥θ(t)−θˉ∥2≤r\|{\bm{\theta}}(t)-\bar{{\bm{\theta}}}\|_{2}\leq r,

Therefore, ∥θ(t)−θ0∥2≤∫0t∥dθdt∥2dt≤1(1−μ)cL(θ0)1−μ=O(∥θ0−θˉ∥22(1−μ))\|{\bm{\theta}}(t)-{\bm{\theta}}_{0}\|_{2}\leq\int_{0}^{t}\left\|\frac{\textup{{d}}{\bm{\theta}}}{\textup{{d}}t}\right\|_{2}\textup{{d}}t\leq\frac{1}{(1-\mu)c}\mathcal{L}({\bm{\theta}}_{0})^{1-\mu}=O(\|{\bm{\theta}}_{0}-\bar{{\bm{\theta}}}\|_{2}^{2(1-\mu)}). If we choose ∥θ(t)−θˉ∥2\|{\bm{\theta}}(t)-\bar{{\bm{\theta}}}\|_{2} small enough, then ∥θ(t)−θˉ∥2≤∥θ(t)−θ0∥2+∥θ0−θˉ∥2=O(∥θ0−θˉ∥22(1−μ))<r\|{\bm{\theta}}(t)-\bar{{\bm{\theta}}}\|_{2}\leq\|{\bm{\theta}}(t)-{\bm{\theta}}_{0}\|_{2}+\|{\bm{\theta}}_{0}-\bar{{\bm{\theta}}}\|_{2}=O(\|{\bm{\theta}}_{0}-\bar{{\bm{\theta}}}\|_{2}^{2(1-\mu)})<r, and thus ∫0+∞∥dθdt∥2dt\int_{0}^{+\infty}\left\|\frac{d{\bm{\theta}}}{dt}\right\|_{2}\textup{{d}}t is convergent and finite. This implies that θ∞:=lim⁡t→+∞θ(t){\bm{\theta}}_{\infty}:=\lim_{t\to+\infty}{\bm{\theta}}(t) exists and ∥θ∞−θˉ∥2=O(∥θ0−θˉ∥22(1−μ))\|{\bm{\theta}}_{\infty}-\bar{{\bm{\theta}}}\|_{2}=O(\|{\bm{\theta}}_{0}-\bar{{\bm{\theta}}}\|_{2}^{2(1-\mu)}). ∎

Combining these together we have ∥ϕ(Wα,T(Wα)+tϵ)−W‾1∥2≤ϵ\left\|\phi({\bm{W}}_{\alpha},T({\bm{W}}_{\alpha})+t_{\epsilon})-\overline{{}{\bm{W}}}_{1}\right\|_{2}\leq\epsilon.

It is easy to construct a factorization ϕ(Wα,T(Wα)+tϵ):=Uα,ϵUα,ϵ⊤\phi({\bm{W}}_{\alpha},T({\bm{W}}_{\alpha})+t_{\epsilon}):={\bm{U}}_{\alpha,\epsilon}{\bm{U}}_{\alpha,\epsilon}^{\top} such that ∥Uα,ϵ−U‾∥2=O(ϵ)\left\|{\bm{U}}_{\alpha,\epsilon}-\overline{{\bm{U}}}\right\|_{2}=O(\epsilon), e.g., we can find an arbitrary factorization and then right-multiply an orthogonal matrix so that the row vector with the largest norm aligns with the direction of uˉ\bar{{\bm{u}}}. Applying Lemma G.1, we know that gradient flow starting with Uα,ϵ{\bm{U}}_{\alpha,\epsilon} converges to a point that is only O(ϵ2(1−μ))O(\epsilon^{2(1-\mu)}) far from uˉ\bar{{\bm{u}}}. So we have

Taking ϵ→0\epsilon\to 0 complete the proof. ∎

G.3 Proof for Theorem 5.11

Moreover, there exists a constant C>0C>0 such that

G.4 Gradient Flow only finds minimizers (Proof for Theorem 5.10)

The proof for Theorem 5.10 is based on the following two theorems from the literature.

Let g{\bm{g}} be a C1{\mathcal{C}}^{1} mapping from X→X{\mathcal{X}}\to{\mathcal{X}} and det⁡(Dg(x))≠0\det(D{\bm{g}}(x))\neq 0 for all x∈X{\bm{x}}\in{\mathcal{X}}. Then the set of initial points that converge to an unstable fixed point has measure zero, μ({x0:lim⁡k→∞gk(x0)∈Ag∗})=0\mu\left(\{{\bm{x}}_{0}:\lim_{k\to\infty}{\bm{g}}^{k}({\bm{x}}_{0})\in{\mathcal{A}}_{\bm{g}}^{*}\}\right)=0, where Ag∗={x:g(x)=x,max⁡i∣λi(Dg(x))∣>1}{\mathcal{A}}^{*}_{\bm{g}}=\{{\bm{x}}:{\bm{g}}({\bm{x}})={\bm{x}},\max_{i}|\lambda_{i}(D{\bm{g}}({\bm{x}}))|>1\}.

Then the set of initial points that converge to a unstable critical point has measure zero, μ({x0:lim⁡t→∞ϕ(x0,t)∈Uf∗})=0\mu\left(\left\{{\bm{x}}_{0}:\lim_{t\to\infty}\phi({\bm{x}}_{0},t)\in{\mathcal{U}}^{*}_{\bm{f}}\right\}\right)=0, where Uf∗={x:f(x)=0,λ1(Df(x))>0}{\mathcal{U}}^{*}_{\bm{f}}=\{{\bm{x}}:{\bm{f}}({\bm{x}})={\bm{0}},\lambda_{1}(D{\bm{f}}({\bm{x}}))>0\} and DfD{\bm{f}} is the Jacobian matrix of f{\bm{f}}.

By Theorem 1 in Section 2.3, Perko , we know ϕ(⋅,⋅)\phi(\cdot,\cdot) is C1\mathcal{C}^{1}-smooth for both x,tx,t. We let g(x)=ϕ(x,1){\bm{g}}(x)=\phi(x,1), then we know g−1(x)=ϕ(x,−1){\bm{g}}^{-1}(x)=\phi(x,-1) and both g,g−1{\bm{g}},{\bm{g}}^{-1} are C1\mathcal{C}^{1}-smooth. Note that Dg−1(x)D{\bm{g}}^{-1}(x) is the inverse matrix of Dg(x)D{\bm{g}}(x). So both of the two matrices are invertible. Thus we can apply Theorem G.4 and we know μ({x0:lim⁡k→∞gk(x0)∈Ag∗})=0\mu\left(\{x_{0}:\lim_{k\to\infty}{\bm{g}}^{k}(x_{0})\in{\mathcal{A}}_{\bm{g}}^{*}\}\right)=0.

Note that if lim⁡t→∞ϕ(x,t)\lim_{t\to\infty}\phi(x,t) exists, then lim⁡k→∞gk(x)=lim⁡t→∞ϕ(x,t)\lim_{k\to\infty}{\bm{g}}^{k}({\bm{x}})=\lim_{t\to\infty}\phi({\bm{x}},t). It remains to show that Uf∗⊆Ag∗{\mathcal{U}}^{*}_{\bm{f}}\subseteq{\mathcal{A}}^{*}_{\bm{g}}. For f(x0)=0{\bm{f}}({\bm{x}}_{0})={\bm{0}}, we have ϕ(x0,t)=x0\phi({\bm{x}}_{0},t)={\bm{x}}_{0} and thus g(x0)=x0{\bm{g}}({\bm{x}}_{0})={\bm{x}}_{0}. Now it suffices to prove that λ1(Dg(x0))>1\lambda_{1}(D{\bm{g}}({\bm{x}}_{0}))>1. For every t∈t\in, by Corollary of Theorem 1 in Section 2.3, Perko , we have ∂∂tDϕ(x,t)=Df(ϕ(x,t))Dϕ(x,t)\frac{\partial}{\partial t}D\phi({\bm{x}},t)=D{\bm{f}}(\phi({\bm{x}},t))D\phi({\bm{x}},t), ∀x,t\forall{\bm{x}},t. Thus,

Solving this ODE gives Dg(x0)=Dϕ(x,1)=eDf(x0)Dϕ(x,0)=eDf(x0)D{\bm{g}}({\bm{x}}_{0})=D\phi({\bm{x}},1)=e^{D{\bm{f}}(x_{0})}D\phi({\bm{x}},0)=e^{D{\bm{f}}(x_{0})}, where the last equality is due to Dϕ(x,0)≡I, ∀xD\phi({\bm{x}},0)\equiv{\bm{I}},\ \forall{\bm{x}}. Combining this with λ1(Df(x0))>0\lambda_{1}(D{\bm{f}}(x_{0}))>0, we have λ1(Dg(x0))>1\lambda_{1}(D{\bm{g}}(x_{0}))>1.

Thus we have Uf∗:={x0:f(x0)=0,λ1(Df(x0))>0}⊆Ag∗{\mathcal{U}}^{*}_{\bm{f}}:=\{{\bm{x}}_{0}:{\bm{f}}({\bm{x}}_{0})={\bm{0}},\lambda_{1}(D{\bm{f}}({\bm{x}}_{0}))>0\}\subseteq{\mathcal{A}}^{*}_{\bm{g}}, which implies that {x0:lim⁡t→∞ϕ(x0,t)∈U∗}⊆{x0:lim⁡k→∞gk(x0)∈Ag∗}\{{\bm{x}}_{0}:\lim_{t\to\infty}\phi({\bm{x}}_{0},t)\in{\mathcal{U}}^{*}\}\subseteq\{{\bm{x}}_{0}:\lim_{k\to\infty}{\bm{g}}^{k}({\bm{x}}_{0})\in{\mathcal{A}}_{\bm{g}}^{*}\} ∎

For (1), by Theorem G.3, we immediately know all the stationary points of L( ⋅ )\mathcal{L}(\,\cdot\,) are either global minimizers or strict saddles. (2) is just a direct consequence of Theorem G.5 by setting f{\bm{f}} in the above proof to −∇L-\nabla\mathcal{L}. ∎

Appendix H Equivalence Between GF and GLRL

In this section we elaborate on the theoretical evidence that GF and GLRL are equivalent generically, including the case where GLRL does not end in the first phase. The word “generically” used when we want to assume one of the following regularity conditions:

We want to assume that GF converges to a local minimizer (i.e., GF does not get stuck on saddle points);

We say that GF aligns well with GLRL in the beginning of phase rr if there exists Tα(r)T^{(r)}_{\alpha} for every α>0\alpha>0 such that ϕ(Wα,Tα(r))\phi({\bm{W}}_{\alpha},T^{(r)}_{\alpha}) converges to W‾r−1\overline{{}{\bm{W}}}_{r-1} with positive alignment with urur⊤{\bm{u}}_{r}{\bm{u}}_{r}^{\top} as α→0\alpha\to 0.

If the initialization satisfies that Wα{\bm{W}}_{\alpha} converges to 0{\bm{0}} with positive alignment with u1u1⊤{\bm{u}}_{1}{\bm{u}}_{1}^{\top} as α→0\alpha\to 0, then GF aligns well with GLRL in the beginning of phase 11, which can be seen by taking Tα(1)=0T_{\alpha}^{(1)}=0. Now assume that GF aligns well with GLRL in the beginning of phase r−1r-1, then the above argument shows that GF should generically align well with GLRL in the beginning of phase rr, if GLRL does not exit in phase r−1r-1. In the other case, we can use a similar argument as in Theorem 5.8 to show that GF converges to a solution near the minimizer W‾r\overline{{}{\bm{W}}}_{r} of f( ⋅ )f(\,\cdot\,) as t→∞t\to\infty, and the distance between the solution and W‾r\overline{{}{\bm{W}}}_{r} converges to as α→0\alpha\to 0. By this induction we prove that GF with infinitesimal initialization is equivalent to GLRL generically.

Appendix I Proofs for Deep Matrix Factorization

Let f(x)=P(1−x)−(1−xP)f(x)=P(1-x)-(1-x^{P}). Since f′(x)=−P+PxP−1<0f^{\prime}(x)=-P+Px^{P-1}<0 for all x∈[0,1)x\in[0,1), f(x)≥f(0)=0f(x)\geq f(0)=0. Then substituting xx by ba\frac{b}{a} completes the proof. ∎

Recall we use DF(N)[M]D{\bm{F}}({\bm{N}})[{\bm{M}}] to denote the directional derivative along M{\bm{M}} of F{\bm{F}} at N{\bm{N}}.

where DF(N)[M]:=lim⁡t→0F(N+tM)−F(N)tD{\bm{F}}({\bm{N}})[{\bm{M}}]:=\lim_{t\to 0}\frac{{\bm{F}}({\bm{N}}+t{\bm{M}})-{\bm{F}}({\bm{N}})}{t} is the directional derivative of F{\bm{F}} along M{\bm{M}}.

Therefore, it suffices to prove the lemma for the case where N{\bm{N}} is diagonal, i.e., N=Σ{\bm{N}}={\bm{\Sigma}}.

Let H(G)=Gq{\bm{H}}({\bm{G}})={\bm{G}}^{q}. With the same argument, we know

Note that H(G(Σ))=F(Σ){\bm{H}}({\bm{G}}({\bm{\Sigma}}))={\bm{F}}({\bm{\Sigma}}). By chain rule, we have

When σi=σj\sigma_{i}=\sigma_{j}, clearly [DF(Σ)[M]]ij=mij⋅qp⋅σiq−pp=PmijσiP−1[D{\bm{F}}({\bm{\Sigma}})[{\bm{M}}]]_{ij}=m_{ij}\cdot\frac{q}{p}\cdot\sigma_{i}^{\frac{q-p}{p}}=Pm_{ij}\sigma_{i}^{P-1}. Otherwise, we assume WLOG that σi>σj\sigma_{i}>\sigma_{j}, we multiply σi−σj\sigma_{i}-\sigma_{j} to both numerator and denominator and we have

where the first inequality is by Lemma I.2. Thus we conclude the proof. ∎

∥N(t)∥2≤ρ\left\|{\bm{N}}(t)\right\|_{2}\leq\rho, since ∥⋅∥2\left\|\cdot\right\|_{2} is convex.

For a locally Lipschitz function f( ⋅ )f(\,\cdot\,), the Clarke subdifferential [Clarke, 1975, 1990, Clarke et al., 2008] of ff at any point x{\bm{x}} is the following convex set

Clarke subdifferential generalize the standard notion of gradients in the sense that, when ff is smooth, ∂∘f(x)∂x={∇f(x)}\frac{\partial^{\circ}f({\bm{x}})}{\partial{\bm{x}}}=\{\nabla f({\bm{x}})\}. Clarke subdifferential satisfies the chain rule:

I.2 Proof of Lemma 6.1

Since W(t)⪰0{\bm{W}}(t)\succeq{\bm{0}} by Lemma I.1, (11) can be rewritten as the following:

Suppose W(t){\bm{W}}(t) is a symmetric solution of (11). By Lemma I.1, we know W(t){\bm{W}}(t) also satisfies (31). Now we let R(t){\bm{R}}(t) be the solution of the following ODE with R(0):=(W(0))1L{\bm{R}}(0):=({\bm{W}}(0))^{\frac{1}{L}}. Note we don’t define R(t){\bm{R}}(t) by (W(t))1L({\bm{W}}(t))^{\frac{1}{L}}.

The calculation below shows that RL(t){\bm{R}}^{L}(t) also satisfies (31).

I.3 Proof for Theorem 6.2

Now we turn to prove Theorem 6.2. Let P=L/2P=L/2. Then (12) can be rewritten as

The following lemma about the growth rate of λk(M)\lambda_{k}({\bm{M}}) is used later in the proof.

Suppose M(t){\bm{M}}(t) satisfies (33), we have for any T′>TT^{\prime}>T, and k∈[d]k\in[d],

Since λk(M(t))\lambda_{k}({\bm{M}}(t)) is locally Lipschitz in tt, by Rademacher’s theorem, we know λk(M(t))\lambda_{k}({\bm{M}}(t)) is differentiable almost everywhere, and the following holds

When dλk(M(t))dt\frac{\textup{{d}}\lambda_{k}({\bm{M}}(t))}{\textup{{d}}t} exists, we have

Let R>0R>0. Since f( ⋅ )f(\,\cdot\,) is C3\mathcal{C}^{3}-smooth, there exists β>0\beta>0 such that

for all W1,W2{\bm{W}}_{1},{\bm{W}}_{2} with ∥W1∥2,∥W2∥2≤R\left\|{\bm{W}}_{1}\right\|_{2},\left\|{\bm{W}}_{2}\right\|_{2}\leq R.

Let κ=β/μ1\kappa=\beta/\mu_{1}. We assume WLOG that R≤1κ(P−1)R\leq\frac{1}{\kappa(P-1)}. Let Fα^(x):=∫x−(P−1)α^−(P−1)dz1+κz−P/(P−1)F_{\hat{\alpha}}(x):=\int_{x^{-(P-1)}}^{\hat{\alpha}^{-(P-1)}}\frac{dz}{1+\kappa z^{-P/(P-1)}}. Then Fα^′(x)=(P−1)x−P1+κxP=P−1(1+κxP)xPF^{\prime}_{\hat{\alpha}}(x)=\frac{(P-1)x^{-P}}{1+\kappa x^{P}}=\frac{P-1}{(1+\kappa x^{P})x^{P}}. We will use this function to bound norm growth. Let gα^,c(t)=1α^−(P−1)−κ(P−1)c−2μ1(P−1)tg_{\hat{\alpha},c}(t)=\frac{1}{\hat{\alpha}^{-(P-1)}-\kappa(P-1)c-2\mu_{1}(P-1)t}. Define Tα^(r)=α^−(P−1)−κ(P−1)r−r−(P−1)2μ1(P−1)T_{\hat{\alpha}}(r)=\frac{\hat{\alpha}^{-(P-1)}-\kappa(P-1)r-r^{-(P-1)}}{2\mu_{1}(P-1)}. It is easy to verify that gα^,r(Tα^(r))=rP−1g_{\hat{\alpha},r}(T_{\hat{\alpha}}(r))=r^{P-1}.

Let M0{\bm{M}}_{0} be a PSD matrix with ∥M0∥2≤1\|{\bm{M}}_{0}\|_{2}\leq 1. For M(t):=ϕm(α^M0,t){\bm{M}}(t):={\phi_{m}}(\hat{\alpha}{\bm{M}}_{0},t) and t≤Tα^(c)t\leq T_{\hat{\alpha}}(c),

Since ∥∇f(MP)∥2≤∥∇f(0)∥2+β∥M∥2P≤μ1+β(λ1(M))P\|\nabla f({\bm{M}}^{P})\|_{2}\leq\|\nabla f({\bm{0}})\|_{2}+\beta\|{\bm{M}}\|_{2}^{P}\leq\mu_{1}+\beta(\lambda_{1}({\bm{M}}))^{P}, by Lemma I.7, we have

If ∥M(t)∥2<α^\|{\bm{M}}(t)\|_{2}<\hat{\alpha}, then ∥M(t)∥2≤gα^,c(t)1P−1\|{\bm{M}}(t)\|_{2}\leq g_{\hat{\alpha},c}(t)^{\frac{1}{P-1}}. If ∥M(t)∥2≥α^\|{\bm{M}}(t)\|_{2}\geq\hat{\alpha}, then by Lemma I.8,

so ∥M(t)∥2≤c\|{\bm{M}}(t)\|_{2}\leq c for all t≤Tα^(c)t\leq T_{\hat{\alpha}}(c). Applying Lemma I.8 again, we have

which implies ∥M(t)∥2≤gα^,c(t)1P−1\|{\bm{M}}(t)\|_{2}\leq g_{\hat{\alpha},c}(t)^{\frac{1}{P-1}} by definition. ∎

We use ϕ^m(M^0,t)\hat{\phi}_{m}(\widehat{{\bm{M}}}_{0},t) to denote the solution of M^(t)\widehat{{\bm{M}}}(t) when M^(0)=M^0\widehat{{\bm{M}}}(0)=\widehat{{\bm{M}}}_{0}. For diagonal matrix M^0\widehat{{\bm{M}}}_{0}, M^(t)\widehat{{\bm{M}}}(t) is also diagonal for any tt, and it is easy to show that

Unlike depth-2 case, the closed form solution, M^(t)\widehat{{\bm{M}}}(t) is only tractable for diagonal initialization, i.e., (36) (note that the identity matrix is diagonal). And this is the main barrier for extending our two-phase analysis to the case of general initialization when L≥3L\geq 3. In Appendix J, we give a more detailed discussion on this barrier.

The following lemma shows that the trajectory of M(t){\bm{M}}(t) is close to M^(t)\widehat{{\bm{M}}}(t).

Let M0{\bm{M}}_{0} be a diagonal PSD matrix with ∥M0∥2≤1\|{\bm{M}}_{0}\|_{2}\leq 1. For M(t):=ϕm(α^M0,t){\bm{M}}(t):={\phi_{m}}(\hat{\alpha}{\bm{M}}_{0},t) and M^(t):=ϕ^m(α^M0,t)\widehat{{\bm{M}}}(t):=\hat{\phi}_{m}(\hat{\alpha}{\bm{M}}_{0},t), we have

We bound the difference D:=M−M^{\bm{D}}:={\bm{M}}-\widehat{{\bm{M}}} between M{\bm{M}} and M^\widehat{{\bm{M}}}.

where the last step is by Lemma I.4. This implies that

Let M(t)=ϕm(α^M0,t),M~(t)=ϕm(α^M~0,t){\bm{M}}(t)={\phi_{m}}(\hat{\alpha}{\bm{M}}_{0},t),\widetilde{{\bm{M}}}(t)={\phi_{m}}(\hat{\alpha}\widetilde{{\bm{M}}}_{0},t). If max⁡{∥M0∥2,∥M~0∥2}≤1\max\{\|{\bm{M}}_{0}\|_{2},\|\widetilde{{\bm{M}}}_{0}\|_{2}\}\leq 1. For t≤Tα^(r)t\leq T_{\hat{\alpha}}(r), we have

Define D(t)=M(t)−M~(t){\bm{D}}(t)={\bm{M}}(t)-\widetilde{{\bm{M}}}(t). Then we have

Let cc be a sufficiently small constant. Let Tˉ:=−κ(P−1)c−c−(P−1)2μ1(P−1)\bar{T}:=\frac{-\kappa(P-1)c-c^{-(P-1)}}{2\mu_{1}(P-1)}. We prove this lemma in the cases of t∈(−∞,Tˉ]t\in(-\infty,\bar{T}] and t>Tˉt>\bar{T} respectively.

For t=Tˉ+τt=\bar{T}+\tau with τ>0\tau>0, ϕm(M,τ){\phi_{m}}({\bm{M}},\tau) is locally Lipschitz with respect to M{\bm{M}}. So

which proves the lemma for t>Tˉt>\bar{T}. ∎

For every t∈(−∞,+∞)t\in(-\infty,+\infty), as α→0\alpha\to 0, we have:

Let Mα^(t):=ϕm(α^I,α^−(P−1)2μ1(P−1)+t){\bm{M}}_{\hat{\alpha}}(t):={\phi_{m}}\left(\hat{\alpha}{\bm{I}},\frac{\hat{\alpha}^{-(P-1)}}{2\mu_{1}(P-1)}+t\right). Again we let cc be a sufficiently small constant and Tˉ:=−κ(P−1)c−c−(P−1)2μ1(P−1)\bar{T}:=\frac{-\kappa(P-1)c-c^{-(P-1)}}{2\mu_{1}(P-1)}. We prove in the cases of t∈(−∞,Tˉ]t\in(-\infty,\bar{T}] and t>Tˉt>\bar{T} respectively.

By Lemma I.11, λ1(Mα^(Tˉ))=∥Mα^(Tˉ)∥2=c+O(cP+1)\lambda_{1}({\bm{M}}_{\hat{\alpha}}(\bar{T}))=\left\|{\bm{M}}_{\hat{\alpha}}(\bar{T})\right\|_{2}=c+O(c^{P+1}). For k≥2k\geq 2,

Thus λk(Mα^(Tˉ))≤O(α^)\lambda_{k}({\bm{M}}_{\hat{\alpha}}(\bar{T}))\leq O(\hat{\alpha}).

For t=Tˉ+τt=\bar{T}+\tau with τ>0\tau>0, ϕm(M,τ){\phi_{m}}({\bm{M}},\tau) is locally Lipschitz with respect to M{\bm{M}}. So

Thus λk1−P(Mα^(Tˉ+τ))=Ω(α^−(P−1))\lambda^{1-P}_{k}({\bm{M}}_{\hat{\alpha}}(\bar{T}+\tau))=\Omega(\hat{\alpha}^{-(P-1)}), that is, λk(Mα^(Tˉ+τ))=O(α^)\lambda_{k}({\bm{M}}_{\hat{\alpha}}(\bar{T}+\tau))=O(\hat{\alpha}), ∀k≥2\forall k\geq 2. ∎

Note that (M‾(t))P=W‾(t)\left(\overline{{\bm{M}}}(t)\right)^{P}=\overline{{}{\bm{W}}}(t) and

Appendix J Escaping direction for deep matrix factorization

However, unlike the depth-2 case, M‾\overline{{\bm{M}}} can be different from v1v1⊤{\bm{v}}_{1}{\bm{v}}_{1}^{\top} even if v1⊤M(0)v1>0{\bm{v}}_{1}^{\top}{\bm{M}}(0){\bm{v}}_{1}>0. We here give an example for diagonal M(0){\bm{M}}(0) and ∇f(0)\nabla f({\bm{0}}) at Section J.2. Nevertheless, we still conjecture that except for a zero measure set of M(0){\bm{M}}(0), M‾=v1v1⊤\overline{{\bm{M}}}={\bm{v}}_{1}{\bm{v}}_{1}^{\top}, based on the following theoretical and experimental evidences:

It is easy to check that M(t)=u(t)u(t)⊤{\bm{M}}(t)={\bm{u}}(t){\bm{u}}(t)^{\top} is the solution of (40), because

Let τ(t)=∫0t∥u(s)∥2L−2ds\tau(t)=\int_{0}^{t}\left\|{\bm{u}}(s)\right\|_{2}^{L-2}\textup{{d}}s. Then

That is, under time rescaling t→τ(t)t\to\tau(t), the trajectory of u(t){\bm{u}}(t) still follows the power iteration, regardless of the depth LL. ∎

J.2 Counter-example for Escaping Direction

With ∇f(0)\nabla f({\bm{0}}) and W(0){\bm{W}}(0) constructed above, v1M(0)v1⊤>0{\bm{v}}_{1}{\bm{M}}(0){\bm{v}}_{1}^{\top}>0 and M‾≠v1v1⊤\overline{{\bm{M}}}\neq{\bm{v}}_{1}{\bm{v}}_{1}^{\top}.

It is easy to check that v1=e1{\bm{v}}_{1}={\bm{e}}_{1}, so v1M(0)v1⊤>0{\bm{v}}_{1}{\bm{M}}(0){\bm{v}}_{1}^{\top}>0. Now we prove that M‾(∞)≠v1v1⊤\overline{{\bm{M}}}(\infty)\neq{\bm{v}}_{1}{\bm{v}}_{1}^{\top}.

As both W(0){\bm{W}}(0) and ∇f(0)\nabla f({\bm{0}}) are diagonal, W(t){\bm{W}}(t) is always diagonal and has dynamics

therefore we have closed form of M(t){\bm{M}}(t):

For i∈i\in, the time for M(t)i,iM(t)_{i,i} going to infinity is (2M(0)i,i∇f(0)i,i)−1(2M(0)_{i,i}\nabla f({\bm{0}})_{i,i})^{-1}. By simple calculation, M(t)2,2M(t)_{2,2} goes to infinity the fastest, thus M‾=e2e2⊤≠v1v1⊤\overline{{\bm{M}}}={\bm{e}}_{2}{\bm{e}}_{2}^{\top}\neq{\bm{v}}_{1}{\bm{v}}_{1}^{\top}. ∎

Simply plug in θ(t)=αθ′(αP−1t){\bm{\theta}}(t)=\alpha{\bm{\theta}}^{\prime}(\alpha^{P-1}t), then we have

Appendix K Proof of Linear Convergence to Minimizer

Towards showing the main convergence result in the section, we make the following assumption.

Suppose J(W0)∣T{\bm{J}}({\bm{W}}_{0})\lvert_{\mathcal{T}} diagonalizable and all eigenvalues are negative real numbers.

As shown in Theorem K.3 below, this assumption implies that if W(0){\bm{W}}(0) is rank-kk and is sufficiently close to W0{\bm{W}}_{0}, then ∥W(t)−W0∥F≤Ce−μ1t\left\|{\bm{W}}(t)-{\bm{W}}_{0}\right\|_{F}\leq Ce^{-\mu_{1}t} for some constant CC. For depth-2 case, the above assumption is equivalent to that L(U0)\mathcal{L}({\bm{U}}_{0}) is “strongly convex” at U0{\bm{U}}_{0}, except those 0 eigenvalues due to symmetry, by property 2 of Theorem F.5). For the case where L≥3L\geq 3, because this dynamics is not gradient flow, in general it does not correspond to a loss function and strongly convexity does not make any sense. Nevertheless, in experiments we do observe linear convergence to W0{\bm{W}}_{0}, so this assumption is reasonable.

WLOG we can assume W0{\bm{W}}_{0} is only non-zero in the first kk dimension, i.e., [W0]ij=0[{\bm{W}}_{0}]_{ij}=0, for all i≥k+1i\geq k+1, j≥k+1j\geq k+1. We further denote W{\bm{W}} and W′{\bm{W}}^{\prime} by

Since W,W′{\bm{W}},{\bm{W}}^{\prime} is rank-kk, we have C=BA−1B⊤,C′=B′A′−1B′⊤{\bm{C}}={\bm{B}}{\bm{A}}^{-1}{\bm{B}}^{\top},{\bm{C}}^{\prime}={\bm{B}}^{\prime}{{\bm{A}}^{\prime}}^{-1}{{\bm{B}}^{\prime}}^{\top}. Thus

we have ∥W(t)−W0∥V≤Ce−μ1t∥W(0)−W0∥V\left\|{\bm{W}}(t)-{\bm{W}}_{0}\right\|_{\mathcal{V}}\leq Ce^{-\mu_{1}t}\left\|{\bm{W}}(0)-{\bm{W}}_{0}\right\|_{\mathcal{V}} for some constant CC depending on W0{\bm{W}}_{0}, where W(t){\bm{W}}(t) satisfies (42).

For convenience, we define W1(t):=Π1d2(W(t)−W0),W2(t):=Π2d2(W(t)−W0)=Π2d2(W(t)){\bm{W}}_{1}(t):=\Pi^{d^{2}}_{1}\left({\bm{W}}(t)-{\bm{W}}_{0}\right),{\bm{W}}_{2}(t):=\Pi^{d^{2}}_{2}\left({\bm{W}}(t)-{\bm{W}}_{0}\right)=\Pi^{d^{2}}_{2}\left({\bm{W}}(t)\right). We also use ⟨⋅,⋅⟩V−1=<V−1(⋅),V−1(⋅)>\left\langle\cdot,\cdot\right\rangle_{{\mathcal{V}}^{-1}}=\left<{\mathcal{V}}^{-1}\left(\cdot\right),{\mathcal{V}}^{-1}\left(\cdot\right)\right> for short.

For the first term ⟨Π1d2(J(W0)[W1(t)]),W1(t)⟩V−1\left\langle\Pi^{d^{2}}_{1}\left({\bm{J}}({\bm{W}}_{0})[{\bm{W}}_{1}(t)]\right),{\bm{W}}_{1}(t)\right\rangle_{{\mathcal{V}}^{-1}}, we know W1(t)∈T{\bm{W}}_{1}(t)\in{\mathcal{T}}, and T{\mathcal{T}} is an invariant space of J(W0){\bm{J}}({\bm{W}}_{0}). Recall J(W0)∣T[⋅]=V(ΣV−1(⋅)){\bm{J}}({\bm{W}}_{0})\lvert_{\mathcal{T}}[\cdot]={\mathcal{V}}\left(\Sigma{\mathcal{V}}^{-1}\left(\cdot\right)\right), we have

For the second term 2β∥J(W0)[W2(t)]∥V∥W1(t)∥V2\beta\left\|{\bm{J}}({\bm{W}}_{0})[{\bm{W}}_{2}(t)]\right\|_{\mathcal{V}}\left\|{\bm{W}}_{1}(t)\right\|_{\mathcal{V}}, we have

For the third term 2∥g(W(t)−W0)−J(W0)[W(t)−W0]∥V∥W1(t)∥V2\left\|{\bm{g}}({\bm{W}}(t)-{\bm{W}}_{0})-{\bm{J}}({\bm{W}}_{0})[{\bm{W}}(t)-{\bm{W}}_{0}]\right\|_{\mathcal{V}}\left\|{\bm{W}}_{1}(t)\right\|_{\mathcal{V}}, we have

Thus we have shown the following. Note so far we have not used the assumption that W{\bm{W}} is rank-kk.

Since μ1<0\mu_{1}<0, ∥W1(t)∥V\left\|{\bm{W}}_{1}(t)\right\|_{\mathcal{V}} decreases for [0,T)[0,T). Thus TT must be ∞\infty, otherwise ∥W1(T)∥V=lim⁡t→T−∥W1(t)∥V<R1\left\|{\bm{W}}_{1}(T)\right\|_{\mathcal{V}}=\lim_{t\to T^{-}}\left\|{\bm{W}}_{1}(t)\right\|_{\mathcal{V}}<R_{1}. Contradiction.

Therefore, for any t∈[0,∞)t\in[0,\infty), we have ∥W1(t)∥V≤∥W1(0)∥Ve−μ12t\left\|{\bm{W}}_{1}(t)\right\|_{\mathcal{V}}\leq\left\|{\bm{W}}_{1}(0)\right\|_{\mathcal{V}}e^{-\frac{\mu_{1}}{2}t}. That is,

K.2 Almost Rank-k𝑘k Initialization

We use M(t){\bm{M}}(t) to denote the top-kk components of W(t){\bm{W}}(t) in SVD, and N(t){\bm{N}}(t) to denote the rest part, i.e., W(t)−M(t){\bm{W}}(t)-{\bm{M}}(t). One can think M(t){\bm{M}}(t) as the main part and N(t){\bm{N}}(t) as the negligible part.

Below we show that for deep overparametrized matrix factorization, where W(t){\bm{W}}(t) satisfies (42), if the trajectory is initialized at some W(0){\bm{W}}(0) in a small neighborhood of the kk-th critical point W0{\bm{W}}_{0} of deep GLRL, and W(0){\bm{W}}(0) is approximately rank-kk, in the sense that N(0){\bm{N}}(0) is very small, then inf⁡t≥0∥W(t)−W0∥V\inf_{t\geq 0}\left\|{\bm{W}}(t)-{\bm{W}}_{0}\right\|_{\mathcal{V}} is roughly at the same magnitude of N(0){\bm{N}}(0).

∥W(t)−W0∥V≤Ce−μ1t/2∥W(0)−W0∥V\left\|{\bm{W}}(t)-{\bm{W}}_{0}\right\|_{\mathcal{V}}\leq Ce^{-\mu_{1}t/2}\left\|{\bm{W}}(0)-{\bm{W}}_{0}\right\|_{\mathcal{V}}, for t≤Tt\leq T.

The “small terms” in the RHS of (43) satisfies that

for some C1C_{1} and C2C_{2} independent of tt.

The spectral norm 12∥∇f(W(t))∥2≤∥∇f(W0)∥2=:ρ\frac{1}{2}\left\|\nabla f({\bm{W}}(t))\right\|_{2}\leq\left\|\nabla f({\bm{W}}_{0})\right\|_{2}=:\rho for all t≥0t\geq 0.

∀x<r\forall x<r, κLx2L−1(L−2)ρ>2μ1ln⁡2rC0x\frac{\kappa_{L}x^{\frac{2}{L}-1}}{(L-2)\rho}>\frac{2}{\mu_{1}}\ln\frac{2r}{C_{0}x}, where κL=1−0.5L−2L\kappa_{L}=1-0.5^{\frac{L-2}{L}}.

Define T′:=κL∥N(0)∥22L−1(L−2)ρT^{\prime}:=\frac{\kappa_{L}\left\|{\bm{N}}(0)\right\|_{2}^{\frac{2}{L}-1}}{(L-2)\rho}, we know for any t<T′t<T^{\prime}, we have ∣∥N(0)∥22L−1−∥N(t)∥22L−1∣≤κL∥N(t)∥22L−1\left\lvert\left\|{\bm{N}}(0)\right\|_{2}^{\frac{2}{L}-1}-\left\|{\bm{N}}(t)\right\|_{2}^{\frac{2}{L}-1}\right\rvert\leq\kappa_{L}\left\|{\bm{N}}(t)\right\|_{2}^{\frac{2}{L}-1}. That is,

Now we claim it must hold that T′≥TC0,rT^{\prime}\geq T_{C_{0},r}. Otherwise, we have

Therefore, κL∥N(0)∥22L−1(L−2)ρ=T′≤2μ1ln⁡2rC0∥N(0)∥2\frac{\kappa_{L}\left\|{\bm{N}}(0)\right\|_{2}^{\frac{2}{L}-1}}{(L-2)\rho}=T^{\prime}\leq\frac{2}{\mu_{1}}\ln\frac{2r}{C_{0}\left\|{\bm{N}}(0)\right\|_{2}}, which contradicts to the definition of C0C_{0} and rr.

K.3 Proof for Theorem 6.4