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

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

Introduction

Deep learning has become the standard machine learning technology in recent years, celebrating breakthroughs in many areas ranging from face recognition over medical imaging to autonomous driving. Despite all its successes it is still mysterious why deep learning works so well. Often deep neural networks have significantly more parameters than the number of examples used in training. As studied systematically via numerical experiments, for instance in , (stochastic) gradient descent usually results in zero training error so that the resulting neural networks interpolate the training samples exactly. Nevertheless and somewhat surprisingly, the trained deep networks generalize very well, although classical statistics would suggest that one is in a regime of overfitting. It was remarked already in that the employed optimization algorithms induce an implicit bias towards certain solutions. Apparently, those solutions often behave very nicely in realistic situations. Providing an understanding of the nature of such implicit bias seems to be a key task for the development and understanding of deep learning in general. While a general theory for the implicit bias in deep learning seems presently out of reach, first theoretical works concentrate on linear networks and suggest that (stochastic) gradient descent converges to a linear network, i.e., a linear function described by a matrix, which is of low rank. Nevertheless, even for the linear case, the settings considered in these works are rather restrictive and many open questions remain.

The optimization problem (2) is normally solved via variants of (stochastic) gradient descent (using back propagation). As already described above, this often leads to decent solutions, even in the overparametrized setting and a recent research hypothesis claims an implicit bias of gradient descent towards low-complexity solutions – although no regularization term is added to (2). It was observed in that early stopping may produce beneficial solutions while omitting unfavorable local and global minima. Since (2) is hard to analyze in general due to the non-linear structure of (1), recent theoretical works concentrate on the simplified case of linear neural networks , where σ(x)=x\sigma(x)=x and bk=0b_{k}=0, i.e., (1) becomes

Choosing L\mathcal{L} to be the quadratic loss, equation (2) then takes the more accessible shape

Hence, we are interested in analyzing the discrete dynamics defined by

for j∈[N]:={1,…,N}j\in[N]:=\left\{1,\dots,N\right\}, where

η>0\eta>0 is the step-size, W0W_{0} is some initialization matrix, and α>0\alpha>0 is assumed to be small. Note that the gradient of L\mathcal{L} with respect to a single factor WjW_{j} is given by

We derive a sharp upper bound on the step size η\eta ensuring convergence, for all choices of α\alpha and NN.

We only assume symmetry of the ground-truth, which is considerably weaker than the often used assumption of positive semidefiniteness (PSD).

We prove that negative eigenvalues can only be recovered under a suitable perturbation of the initialization. This has not yet been discussed in the standard setting of identity initialization since the prior works only consider positive semi-definite ground-truths, cf. Table 2.

Our main results consist of three central observations (note that we always use explicit constants in the statements).

I. Recovery of positive eigenvalues: Initializing with W0=IW_{0}=I, as done in in a matrix sensing framework, the dynamics in (6)-(7) can solely recover non-negative eigenvalues of W^\widehat{W}. In addition, the following theorem provides a quantitative analysis that shows how fast eigenvalues of W^\widehat{W} are approximated depending on their magnitude and other model parameters like NN, η\eta, and α\alpha.

for all k≥TNId⁡(λi,ε,α,η)k\geq T^{\operatorname{Id}}_{N}(\lambda_{i},\varepsilon,\alpha,\eta), where TNId⁡T^{\operatorname{Id}}_{N} is defined in (24) below.

The proof of Theorem 1.1 is given in Section 2.1.

The exact form of TNIdT_{N}^{\text{Id}} involves some additional notation, which will be introduced later, see (24). Let us nevertheless give some simplified approximate expressions in the relevant case that N≥3N\geq 3, 0<εN≪λi≤λ10<\varepsilon^{N}\ll\lambda_{i}\leq\lambda_{1} and 0<αN≪λi0<\alpha^{N}\ll\lambda_{i}, so that the initial matrix W(0)=αNId⁡W(0)=\alpha^{N}{\operatorname{Id}} has small enough spectral norm compared to the ii-th eigenvalue of the ground truth, which in turn is larger than the desired accuracy εN\varepsilon^{N}. In this case M=∥W^∥1N=λ11NM=\|\widehat{W}\|^{\frac{1}{N}}=\lambda_{1}^{\frac{1}{N}} and we assume that

for some κ≤13\kappa\leq\frac{1}{3} so that (10) is satisfied. The quantity TNId⁡T^{\operatorname{Id}}_{N} then takes the form (the interested reader is referred to the more detailed derivation and discussion in Appendix A)

where we ignore the additional term sN(λi,α)s_{N}(\lambda_{i},\alpha) appearing in (24) since it is neglectable for small κ\kappa and large NN (and probably resembles a proof artefact). As (12) shows, TNIdT^{\text{Id}}_{N} consists of two main terms. One depends on the ratio between λi\lambda_{i} and λ1\lambda_{1} and one on the desired accuracy ε\varepsilon. TNIdT^{\text{Id}}_{N} increases for smaller λi\lambda_{i} and ε\varepsilon.

II. Recovery of arbitrary eigenvalues: Perturbing the initialization slightly, i.e., setting

allows the dynamics in (6) to recover the whole spectrum of W^\widehat{W}, cf. Figure 1(b). This suggests that the spectral cut-off observed in Theorem 1.1 is a pathological case and thus hardly observed in practice. As before, the following theorem also quantifies the approximation rates of eigenvalues of W^\widehat{W} in terms of their magnitude, their sign, NN, η\eta, α\alpha, and β\beta.

then W(k)W({k}) converges to W^\widehat{W}. Moreover, the error E(k)=(V⊤W(k)V−Λ)E({k})=(V^{\top}W({k})V-\Lambda) is a diagonal matrix, whose entries satisfy

for all ε∈(0,∣λi∣1N)\varepsilon\in(0,|\lambda_{i}|^{\frac{1}{N}}), and

where TNId⁡T^{{\operatorname{Id}}}_{N} is defined in (24).

The proof of Theorem 1.3 is given in Section 2.2.

such that c2N−2≤c2N≤(N+1)2c^{2N-2}\leq c^{2N}\leq(N+1)^{2}. Consequently, we obtain for α<1\alpha<1 that

Let us finally mention that the condition 0<βc−1<α0<\frac{\beta}{c-1}<\alpha is used to simplify parts of the argument. Numerical simulations suggest that it is an artifact of the proof ; 0<β<α0<\beta<\alpha is empirically sufficient.

III. Implicit bias towards low-rank: Theorems 1.1 and 1.3 suggest an implicit rank regularization of the gradient descent iterates W(k)W({k}) if we stop at some appropriate finite kk, since dominant eigenvalues will be approximated faster than the rest of the spectrum. The discussion in Section 3 — in particular, Theorems 3.1 (gradient flow, N=2N=2) and 3.5 (gradient descent, N≥2N\geq 2) — makes this precise by showing that the effective rank (a generalized notion of rank) of the iterates W(k)W({k}) first drops to one and then monotonously increases, plateauing on the effective rank levels of various low-rank approximations of W^\widehat{W}, cf. Figure 3. Theorems 3.1 and 3.5 explicitly characterize the time intervals during which the effective rank of W(k)W({k}) remains approximately constant.

In addition to those highlights, we provide numerical evidence supporting the theory and simulations in more general settings suggesting that our observations are not restricted to matrix factorization with symmetric ground truths. The organization of the paper is as follows: Section 2 contains the core analysis including a quantitative description of the dynamics in (6)-(7), both for the identical and the perturbed initialization. Building upon those results, Section 3 then deduces an implicit low-rank bias of gradient descent and compares theoretical predictions to actual numerical outcomes. Finally, we present in Section 4 additional numerical simulations in more general settings and discuss future work in Section 5.

2 Related Work

Linear multilayer neural networks and related optimization problems have been investigated in several works . In particular, it has been shown in (extending ) that the gradient flow minimizing L(W1,…,WN)=12∥Y−WN⋯W1X∥F2L(W_{1},\ldots,W_{N})=\frac{1}{2}\|Y-W_{N}\cdots W_{1}X\|_{F}^{2}, i.e., learning deep linear networks, converges to a global minimizer for almost all initializations.

In the authors consider the problem of recovering a symmetric, positive matrix XX of low rank from incomplete linear measurements y=A(X)y=\mathcal{A}(X). They are able to show that gradient descent on the factorized problem L(W1)=12∥y−A(W1W1T)∥22L(W_{1})=\frac{1}{2}\|y-\mathcal{A}(W_{1}W^{T}_{1})\|_{2}^{2} converges to the ground truth if a restricted isometry assumption holds for A\mathcal{A}. While this seems to suggest a bias of gradient descent towards low-rank solutions, the conclusion is questionable because restricting the linear system y=A(W)y=\mathcal{A}(W) to positive semidefinite matrices WW often means that XX is the unique solution if y=A(X)y=\mathcal{A}(X) for a low rank matrix XX .

Early stopping of gradient descent in deep learning has been investigated in a number of contributions, see e.g. . It may be interpreted as bias-variance trade-off . In the context of neural tangent kernels, shows that when the width of network becomes infinite, the convergence rate of gradient flow is faster for eigenspaces with larger eigenvalues. Hence, early stopping may seem appealing for applications where only few major features are required. In fact, early stopping is intertwined with the idea of implicit bias, as we will discuss later in our paper.

3 Notation

We abbreviate [n]:={1,...n}[n]:=\left\{1,...n\right\}. We denote matrices by uppercase letters and scalars by lowercase letters. Norms that frequently appear are the operator norm (spectral norm) ∥A∥=sup⁡∥x∥2=1∥Ax∥2\|A\|=\sup_{\|x\|_{2}=1}\|Ax\|_{2}, the Frobenius norm ∥A∥F=(∑j,k∣Aj,k∣2)1/2=tr(ATA)\|A\|_{F}=(\sum_{j,k}|A_{j,k}|^{2})^{1/2}=\sqrt{\text{tr}(A^{T}A)}, and the nuclear norm ∥⋅∥∗=∑jσ(A)j\|\cdot\|_{*}=\sum_{j}\sigma(A)_{j}, where σ(A)j\sigma(A)_{j} are the singular values of AA. Throughout the paper, α\alpha represents the initialization, η\eta the step size, and NN the depth of the matrix factorization. For a real number aa, we denote a+=max⁡{0,a}a_{+}=\max\{0,a\}.

The Dynamics of Gradient Descent

The goal of this section is to derive precise bounds on the full trajectory of the gradient descent iterations W(k)W({k}) defined in (6) for the quadratic loss function (8) where W^\widehat{W} is assumed to be a symmetric ground truth matrix. We first choose a small positive multiple of the identity as initialization of all factor matrices. However, we will see that we cannot recover negative eigenvalues of W^\widehat{W} with such initialization. To mend this, we will consider then a slightly modified initialization, which guarantees recovery of the ground truth W^\widehat{W} in the limit as k→∞{k}\to\infty, and characterize also the dynamics in this case.

We start by observing that the dynamics of the different eigenvalues decouple when initializing with the same multiple of the identity matrix. A similar result and proof has already appeared for the underlying gradient flow in [9, Section E.1].

Let (Wj(k))j=1N(W_{j}({k}))_{j=1}^{N} be the solution to the gradient descent (6) with identical initialization (7) and let W^=VΛVT\widehat{W}=V\Lambda V^{T} be an eigenvalue decomposition of the symmetric ground truth matrix (where VV is orthogonal). Then the matrices Dj(k):=V⊤Wj(k)VD_{j}({k}):=V^{\top}W_{j}({k})V are real, diagonal and identical, i.e., Dj(k)=D(k)D_{j}({k})=D({k}) for all jj for some D(k)D({k}), and follow the dynamics

By orthogonality of VV this shows that Dj(k+1)=D(k+1)D_{j}(k+1)=D(k+1) so that the induction step is completed. ∎

Due to the previous decoupling lemma it suffices to analyze the dynamics of each diagonal entry of D(k)D({k}) separately. Denoting by λ\lambda an eigenvalue of the ground truth matrix W^\widehat{W} the corresponding diagonal element d(k)d({k}) of D(k)D({k}) evolves according to the equation

The following lemma describes the convergence of dd in (18). It extends [9, Lemma 1] to negative choices of λ\lambda and to the case λ≤α\lambda\leq\alpha. Note that the proof is fundamentally different from the one presented in .

If N=1N=1 and η∈(0,1)\eta\in(0,1), then dd converges to λ\lambda linearly, i.e.,

then lim⁡k→∞d(k)=λ+1N=max⁡{λ,0}1N\lim_{{k}\to\infty}d({k})=\lambda_{+}^{\frac{1}{N}}=\max\{\lambda,0\}^{\frac{1}{N}}. Moreover, the error ∣d(k)N−λ+∣|d({k})^{N}-\lambda_{+}| is monotonically decreasing and, for all k≥0{k}\geq 0, one has that d(k)∈[α,λ1N]d({k})\in[\alpha,\lambda^{\frac{1}{N}}] if λ≥αN\lambda\geq\alpha^{N}, and d(k)∈[λ+1N,α]d({k})\in[\lambda_{+}^{\frac{1}{N}},\alpha] if λ<αN\lambda<\alpha^{N}.

Note that the proof of Lemma 2.2 shows that the sequence d(k)d({k}) is monotonically increasing for λ>α\lambda>\alpha and monotonically decreasing for λ<α\lambda<\alpha. We will repeatedly make use of this observation in the following.

For N=1N=1 the computation is straight-forward and follows by induction. For N≥2N\geq 2 we need to make a case distinction with four cases that depend on the sign and the magnitude of λ\lambda. This is due to the fact that the sign of λ\lambda determines the limit of dd, while the magnitude of λ\lambda determines whether dd is increasing or decreasing in time.

Let N≥2N\geq 2. Before diving into the case distinction, let us define, for ∣λ∣1N>α|\lambda|^{\frac{1}{N}}>\alpha, the function

and observe that d(k+1)=g(d(k))d({k}+1)=g(d({k})). For x∈[0,∣λ∣1N]x\in[0,|\lambda|^{\frac{1}{N}}], z=x/∣λ∣1/N∈z=x/|\lambda|^{1/N}\in and σ=sign⁡(λ)\sigma=\operatorname{sign}(\lambda) its derivative satisfies

where we used that z∈z\in. By the assumption on η\eta it follows that g′(x)≥0g^{\prime}(x)\geq 0 for all x∈[0,∣λ∣1N]x\in[0,|\lambda|^{\frac{1}{N}}] and, hence, gg is monotonically increasing on that interval. We can now distinguish the four cases defined by λ≥0\lambda\geq 0/λ<0\lambda<0 and ∣λ∣1N>α|\lambda|^{\frac{1}{N}}>\alpha/∣λ∣1N≤α|\lambda|^{\frac{1}{N}}\leq\alpha.

For λ≥0\lambda\geq 0 and ∣λ∣1N≤α|\lambda|^{\frac{1}{N}}\leq\alpha, we show by induction that d(k)d({k}) remains in the interval [λ1N,α][\lambda^{\frac{1}{N}},\alpha] and is monotonically decreasing in k{k}, which implies that the error ∣d(k)N−λ∣|d({k})^{N}-\lambda| is monotonically decreasing. For k=0{k}=0, the claim is trivially fulfilled. If d(k)∈[λ1N,α]d({k})\in[\lambda^{\frac{1}{N}},\alpha], then d(k)N−λ≥0d({k})^{N}-\lambda\geq 0 so that d(k+1)≤d(k)≤αd({k}+1)\leq d({k})\leq\alpha. Moreover, if λ>0\lambda>0

since d(k)≥λ1Nd({k})\geq\lambda^{\frac{1}{N}} and by assumption on η\eta. If λ=0\lambda=0, then

since d(k)≥0d({k})\geq 0 and by assumption on η\eta. Hence d(k+1)∈[λ1N,α]d({k}+1)\in[\lambda^{\frac{1}{N}},\alpha]. Here we have a bounded decreasing sequence, and hence it must converges to the only fixed point in the domain, which is λ1N\lambda^{\frac{1}{N}}.

Finally, consider λ<0\lambda<0 with ∣λ∣1N≤α|\lambda|^{\frac{1}{N}}\leq\alpha. If d(k)∈[0,α]d({k})\in[0,\alpha], then d(k+1)≤d(k)≤αd({k}+1)\leq d({k})\leq\alpha. Moreover,

by the assumption on η\eta. Hence d(k+1)∈[0,α]d({k}+1)\in[0,\alpha]. This means that the error ∣d(k)N−0∣|d({k})^{N}-0| is monotonically decreasing. Here we have a bounded decreasing sequence, and hence it must converges to the only fixed point in the domain, which is . ∎

Lemma 2.2 shows that in the presence of matrix factorization, i.e., N≥2N\geq 2, gradient descent with identical initialization loses its ability to recover negative eigenvalues and the condition on the constant α\alpha in the initialization becomes more restrictive. (The condition on η\eta becomes either more or less restrictive depending on ∣λ∣|\lambda|.) Note that Lemma 2.2 only provides a sufficient condition on the stepsize η\eta for convergence. However, this condition is basically necessary up to the constant, see Lemma B.1 in Appendix B.

Having settled convergence, we will now analyze the number of iterations that are needed in order to reach an ε\varepsilon-neighborhood of λ\lambda. By Lemma 2.1, this forms the basis for analyzing the implicit bias of gradient descent (6) on the matrix factorized problem with N≥2N\geq 2. In order to state our theorem, we need to introduce a few quantities corresponding to certain numbers of iterations that are important in our subsequent analysis. For λ>0\lambda>0 and μ>0\mu>0 we define

The quantity TNId⁡(λ,ε,α,η)T^{{\operatorname{Id}}}_{N}(\lambda,\varepsilon,\alpha,\eta) estimates the required number of gradient descent iterations to reach a certain accuracy ε∈(0,∣λ+1N−α∣)\varepsilon\in(0,|\lambda_{+}^{\frac{1}{N}}-\alpha|) when starting with identical initialization with parameter α>0\alpha>0 and using step size η\eta. In particular, it illustrates that fine approximation of positive eigenvalues dominating α\alpha (fourth case) happens in two stages: to obtain a rough approximation a fixed number of iterations is necessary (TN+T_{N}^{+} does not depend on ε\varepsilon) while to obtain approximation of accuracy ε≪1\varepsilon\ll 1 one needs an additional number of iterations depending on ε\varepsilon, cf. Figure 4. Note that Remark 1.2 already commented on the behaviour of TNId⁡T^{\operatorname{Id}}_{N} in the most relevant fourth case, see also Lemma E.1.

With these definitions at hand we are ready to state the first core result. Note that the third case cNλ<αN≤λc_{N}\lambda<\alpha^{N}\leq\lambda together with the general assumption ε∈(0,∣λ+1N−α∣)\varepsilon\in(0,|\lambda_{+}^{\frac{1}{N}}-\alpha|) implies that ε<(1−cN1N)λ1N\varepsilon<(1-c_{N}^{\frac{1}{N}})\lambda^{\frac{1}{N}}.

Further, let ε∈(0,∣α−λ+1N∣)\varepsilon\in(0,|\alpha-\lambda_{+}^{\frac{1}{N}}|) be the desired error and T=min⁡{k:∣d(k)−λ+1N∣≤ε}T=\min\{{k}:|d({k})-\lambda_{+}^{\frac{1}{N}}|\leq\varepsilon\} be the minimal number of iterations to achieve such error bound. Then

Moreover, in the case λ>αN\lambda>\alpha^{N} we have the lower bound

The proof of Theorem 2.4 uses the following two lemmas. The first analyzes the continuous analog of (18), namely the gradient flow following the differential equation obtained by letting the step size η\eta tend to zero, i.e.,

The gradient flow defined by (28) has the following solution. If λ=0\lambda=0 then

If λ>0\lambda>0 then the solution is given implicitly by

For N=1,2N=1,2 and λ≠0\lambda\neq 0 we can also give the solution of (28) in explicit form,

The solution for N=2N=2 has been derived already in . Let us also mention that, for N≥3N\geq 3, the solution can be expressed in an alternative way avoiding the use of complex logarithms. For details, see Appendix C.

If λ=0\lambda=0, or λ≠0\lambda\neq 0 and N=1N=1, it is easy to verify the stated solutions.

Let now λ>0\lambda>0 and N≥2N\geq 2. The differential equation (28) is separable, hence its solution y(t)y(t) satisfies

the complex roots of λ\lambda. A partial fraction decomposition gives

Hence, for N≥3N\geq 3 the solution y(t)y(t) satisfies

If N=2N=2 then the roots r2,1=−λ1/2r_{2,1}=-\lambda^{1/2}, r2,2=λ1/2r_{2,2}=\lambda^{1/2} are real and the solution y(t)y(t) satisfies

By the definition of UN+U^{+}_{N} this completes the proof. ∎

The second lemma required for the proof of Theorem 2.4 links the continuous dynamics in (28) to the discrete dynamics in (18). Although a result of this form might exist already, we include the full proof for the reader’s convenience.

We first show by induction that d(k)≤d∗(k)d({k})\leq d^{*}({k}) for 0≤k≤T/η0\leq{k}\leq T/\eta. The claim clearly holds for k=0{k}=0. Now assume that it holds for some k{k} such that η(k+1)≤T\eta({k}+1)\leq T. We aim at proving the claim for k+1{k}+1. Since f(x)f′(x)≥0f(x)f^{\prime}(x)\geq 0 for x∈Ix\in I and y(t)∈Iy({t})\in I for t∈[0,T]{t}\in[0,T] we have

Hence, yy is convex on [0,T][0,T] and therefore, y(η(k+1))≥y(ηk)+ηy′(ηk)=y(ηk)+ηf(y(ηk))y(\eta(k+1))\geq y(\eta k)+\eta y^{\prime}(\eta k)=y(\eta k)+\eta f(y(\eta k)) and y(ηk)≥y(η(k+1))−ηf(y(η(k+1)))y(\eta k)\geq y(\eta(k+1))-\eta f(y(\eta(k+1))) so that by definition of d∗d^{*}

The definition of dd and the mean-value theorem together with (32) and ∣f′(x)∣≤K2|f^{\prime}(x)|\leq K_{2} for all x∈Ix\in I imply that, for some ξ\xi between d(k)d({k}) and d∗(k)d^{*}({k}),

In the second inequality we have used the induction hypothesis that d∗(k)−d(k)≥0d^{*}({k})-d({k})\geq 0. This proves the first part of the lemma.

via induction. Note that ff is monotonously increasing on II because f(x)>0f(x)>0 and f′(x)f(x)≥0f^{\prime}(x)f(x)\geq 0 by assumption. Since d(s)≥d(0)+sηf(α)≥d(0)+ηK1d(s)\geq d(0)+s\eta f(\alpha)\geq d(0)+\eta K_{1} (by the monotonicity of ff as well as the definition of dd and ss), we have

Let us now assume the claim (33) holds for k{k} with d(k+s)∈Id({k}+s)\in I and d∗(k)∈Id^{*}({k})\in I. If d∗(k+1),d(k+s+1)∈Id^{*}({k}+1),d({k}+s+1)\in I, the right hand inequality in (32) implies that

which implies d∗(k)+ηK1∈Id^{*}({k})+\eta K_{1}\in I. Hence, by the monotonicity of ff on II we obtain

This completes the induction step and, hence, proves the inequality d∗(k)≤d(k+s)d^{*}({k})\leq d({k}+s) whenever d(k+s)∈Id({k}+s)\in I.

We first consider the case that λ<0\lambda<0. By our assumption (25) on the stepsize η\eta the conditions in Lemma 2.2 are satisfied so that d(k)d({k}) is monotonically decreasing and d(k)∈[0,α]d({k})\in[0,\alpha], for all k≥0{k}\geq 0. Let g−(x)=x+ηλxN−1g_{-}(x)=x+\eta\lambda x^{N-1} and define d−(k)d_{-}({k}) as

Note that for x≥0x\geq 0 and λ<0\lambda<0 it holds g(x):=x−ηxN−1(xN−λ)≤g−(x)g(x):=x-\eta x^{N-1}(x^{N}-\lambda)\leq g_{-}(x). Recalling that d(k+1)=g(d(k))d({k}+1)=g(d({k})), we inductively conclude that d(k)≤d−(k)d({k})\leq d_{-}({k}), for all k≥0{k}\geq 0. Let y−y_{-} be the continuous analog of d−d_{-}, i.e., the solution of the differential equation

Define the discrete variable d−∗(k):=y−(ηk)d_{-}^{*}({k}):=y_{-}(\eta{k}). We intend to apply Lemma 2.7 for I=[0,α]I=[0,\alpha], f(x)=λxN−1f(x)=\lambda x^{N-1}. Note that f(x)f′(x)=λ2(N−1)x2N−1≥0f(x)f^{\prime}(x)=\lambda^{2}(N-1)x^{2N-1}\geq 0, ∣f(x)∣≤∣λ∣αN−1=:K1|f(x)|\leq|\lambda|\alpha^{N-1}=:K_{1} and ∣f′(x)∣≤∣λ∣(N−1)αN−2=:K2|f^{\prime}(x)|\leq|\lambda|(N-1)\alpha^{N-2}=:K_{2} for x∈Ix\in I. The assumption (25) on the stepsize implies that η<1/K2\eta<1/K_{2} so that Lemma 2.7 yields d−(k)≤d−∗(k)d_{-}({k})\leq d_{-}^{*}({k}), for all k≥1{k}\geq 1. Hence, d−(k)≤d−∗(k)=y−(ηk)≤εd_{-}({k})\leq d_{-}^{*}({k})=y_{-}(\eta{k})\leq\varepsilon for k≥1η∣λ∣TN−(ε,α){k}\geq\frac{1}{\eta|\lambda|}T_{N}^{-}(\varepsilon,\alpha) by the definition of TN−(ε,α)T_{N}^{-}(\varepsilon,\alpha) and a short calculation using (34). We conclude that T≤1η∣λ∣TN−(ε,α)T\leq\frac{1}{\eta|\lambda|}T_{N}^{-}(\varepsilon,\alpha).

We now consider the case 0≤λ<αN0\leq\lambda<\alpha^{N}. By Lemma 2.2, d(k)d({k}) is monotonically decreasing and d(k)∈[λ1N,α]d({k})\in[\lambda^{\frac{1}{N}},\alpha], for all k≥0{k}\geq 0. For x∈[λ1N,α]x\in[\lambda^{\frac{1}{N}},\alpha], the function f(x)=−xN−1(xN−λ)f(x)=-x^{N-1}(x^{N}-\lambda) satisfies f(x)f′(x)=(N−1)x2N−3(xN−λ)2+Nx3N−3(xN−λ)≥0f(x)f^{\prime}(x)=(N-1)x^{2N-3}(x^{N}-\lambda)^{2}+Nx^{3N-3}(x^{N}-\lambda)\geq 0 and ∣f′(x)∣=(N−1)xN−2(xN−λ)+Nx2N−2≤(2N−1)α2N−2=:K2|f^{\prime}(x)|=(N-1)x^{N-2}(x^{N}-\lambda)+Nx^{2N-2}\leq(2N-1)\alpha^{2N-2}=:K_{2}. By assumption (25), the stepsize satisfies η<1/K2\eta<1/K_{2}. Hence, we can apply Lemma 2.7 which gives d(k)≤d∗(k)=y(ηk)d({k})\leq d^{*}({k})=y(\eta{k}), for all k≥0{k}\geq 0, where yy is defined by (28). By Lemma 2.5 and the observation that yy is monotonically decreasing for λ≥0\lambda\geq 0 and λ<αN\lambda<\alpha^{N}, we obtain that y(t)≤λ1N+εy({t})\leq\lambda^{\frac{1}{N}}+\varepsilon for all t≥TN+(λ,λ1N+ε,α){t}\geq T_{N}^{+}(\lambda,\lambda^{\frac{1}{N}}+\varepsilon,\alpha) since TN+(λ,λ1N+ε,α)=UN+(λ,λ1N+ε)−UN+(λ,α)T_{N}^{+}(\lambda,\lambda^{\frac{1}{N}}+\varepsilon,\alpha)=U_{N}^{+}(\lambda,\lambda^{\frac{1}{N}}+\varepsilon)-U_{N}^{+}(\lambda,\alpha) and yy satisfies (28). Consequently, d∗(k)≤λ1N+εd^{*}({k})\leq\lambda^{\frac{1}{N}}+\varepsilon for all k≤1ηTN+(λ,λ1N+ε,α){k}\leq\frac{1}{\eta}T_{N}^{+}(\lambda,\lambda^{\frac{1}{N}}+\varepsilon,\alpha), which proves the claim for the case 0≤λ<αN0\leq\lambda<\alpha^{N}.

Finally, consider λ>αN\lambda>\alpha^{N}. The proof distinguishes two phases of the dynamics. In the first phase we use the associated continuous flow yy in (28) for the time where it is convex. For the following second phase, we directly work with the discrete dynamics. In order to make this distinction we use again the function f(x)=−xN−1(xN−λ)f(x)=-x^{N-1}(x^{N}-\lambda) so that y′(t)=f(y(t))y^{\prime}({t})=f(y(t)) and d(k+1)=d(k)+ηf(k)d({k}+1)=d({k})+\eta f({k}). Note that the function

satisfies h(x)≥0h(x)\geq 0 for x∈[0,ζ]x\in[0,\zeta] and h(x)≤0h(x)\leq 0 for x∈[ζ,λ1N]x\in[\zeta,\lambda^{\frac{1}{N}}], where

This implies that yy is convex as long as y(t)∈[0,ζ]y({t})\in[0,\zeta] and concave when y(t)∈[ζ,λ1N]y({t})\in[\zeta,\lambda^{\frac{1}{N}}]. If ε>λ1N−ζ\varepsilon>\lambda^{\frac{1}{N}}-\zeta then α<ζ\alpha<\zeta by the assumption ε∈(0,∣α−λ+1/N∣)\varepsilon\in(0,|\alpha-\lambda_{+}^{1/N}|) and the desired accuracy ε\varepsilon is reached while the dynamics is still in the convex phase, i.e., y(t)∈[α,ζ]⊂[0,ζ]y({t})\in[\alpha,\zeta]\subset[0,\zeta]. In this case, we define

Now assume ε≤λ1N−ζ\varepsilon\leq\lambda^{\frac{1}{N}}-\zeta. If α<ζ\alpha<\zeta then the dynamics starts in the convex phase, while it starts in the concave phase if α≥ζ\alpha\geq\zeta. Accordingly, we define

We start with bounding T1T_{1}. If α≥ζ\alpha\geq\zeta, then T1=0T_{1}=0 and we are done. In the case α<ζ\alpha<\zeta, we intend to apply Lemma 2.7 for I=[α,ζ]I=[\alpha,\zeta], and f(x)=−xN−1(xN−λ)f(x)=-x^{N-1}(x^{N}-\lambda). Then f(x)f′(x)≥0f(x)f^{\prime}(x)\geq 0 for x∈Ix\in I as already noted above and ∣f′(x)∣=∣(N−1)xN−2(λ−xN)−Nx2N−1∣≤λ2−2NN=:K2|f^{\prime}(x)|=|(N-1)x^{N-2}(\lambda-x^{N})-Nx^{2N-1}|\leq\lambda^{2-\frac{2}{N}}N=:K_{2}, for all x∈[0,λ1N]⊃Ix\in[0,\lambda^{\frac{1}{N}}]\supset I, where the inequality follows similarly as in (21). By the assumption (25) on the stepsize we have η<1/K2\eta<1/K_{2}. Hence, by Lemma 2.7 we have d(k)≤d∗(k)≤d(k+s)d({k})\leq d^{*}({k})\leq d({k}+s), where

Since yy is monotonically increasing for λ>αN\lambda>\alpha^{N}, Lemma 2.5 implies that T1T_{1} is lower bounded by TN+(λ,min⁡{ζ,λ1N−ε},α)T_{N}^{+}(\lambda,\min\{\zeta,\lambda^{\frac{1}{N}}-\varepsilon\},\alpha) and upper bounded by TN+(λ,min⁡{ζ,λ1N−ε},α)+sN(λ,α)T_{N}^{+}(\lambda,\min\{\zeta,\lambda^{\frac{1}{N}}-\varepsilon\},\alpha)+s_{N}(\lambda,\alpha).

Now we consider the second phase where d(k)∈[ζ,λ1N]d({k})\in[\zeta,\lambda^{\frac{1}{N}}] and define Δ(k)=λ1N−d(k)\Delta({k})=\lambda^{\frac{1}{N}}-d({k}) to be the difference to the limit λ1N\lambda^{\frac{1}{N}}. If ε≥λ1N(1−cN1/N)=λ1N−ζ\varepsilon\geq\lambda^{\frac{1}{N}}(1-c_{N}^{1/N})=\lambda^{\frac{1}{N}}-\zeta then T2=0T_{2}=0. Therefore, we assume ε≥λ1N(1−cN1/N)\varepsilon\geq\lambda^{\frac{1}{N}}(1-c_{N}^{1/N}) from now on. By Lemma 2.2, d(k)d({k}) is increasing and remains inside the interval [ζ,λ1N][\zeta,\lambda^{\frac{1}{N}}] for all k≥T1{k}\geq T_{1}. A direct computation gives

The last equality follows from a straightforward calculation. Note that

In particular, gg is increasing on [ζ,λ1N][\zeta,\lambda^{\frac{1}{N}}]. Note that, since cN<1c_{N}<1,

Note that 1−ηN(cNλ)2−2N≥1−ηNλ2−2N>01-\eta N(c_{N}\lambda)^{2-\frac{2}{N}}\geq 1-\eta N\lambda^{2-\frac{2}{N}}>0 by the assumption on η\eta. Hence, Δ(k+T1)≤ε\Delta({k}+T_{1})\leq\varepsilon if

so that T2T_{2} is bounded from above by the right hand side. In the case that α>ζ\alpha>\zeta, we have T1=0T_{1}=0 and the inequality (37) can be improved to

For the lower bound, assume first that α<ζ\alpha<\zeta. Then T1≥1T_{1}\geq 1. and since α<ζ\alpha<\zeta it follows that d(T1−1)<ζd(T_{1}-1)<\zeta so that by the assumption (25) on the stepsize η\eta,

Observe that by (35) and (36), for all k≥0{k}\geq 0,

Hence, Δ(k+T1)≥ε\Delta({k}+T_{1})\geq\varepsilon for all

This implies that T2T_{2} is lower bounded by the right hand side above if if α<ζ\alpha<\zeta.

If α>ζ\alpha>\zeta then T1=0T_{1}=0 and Δ(k)≥(1−ηr2)kΔ(0)=(1−ηr2)k(λ1N−α).\Delta({k})\geq(1-\eta r_{2})^{k}\Delta(0)=(1-\eta r_{2})^{k}(\lambda^{\frac{1}{N}}-\alpha). Hence, Δ(k)≥ε\Delta({k})\geq\varepsilon for all

Hence, T2T_{2} is bounded from below by the right hand side of the above inequality.

Noting that T=T1+T2T=T_{1}+T_{2}, collecting all the cases and comparing with the definition of TNId⁡(λ,ε,α,η)T^{\operatorname{Id}}_{N}(\lambda,\varepsilon,\alpha,\eta) and sN(λ,α)s_{N}(\lambda,\alpha) completes the proof. ∎

The statement is an immediate consequence of Lemma 2.1 and Theorem 2.4 in Section 2.1, also noting that ∥W^∥=max⁡i∈[n]∣λi∣\|\widehat{W}\|=\max_{i\in[n]}|\lambda_{i}|. In particular, Theorem 2.4 yields that, for ε∈(0,∣λi∣1N)\varepsilon\in(0,|\lambda_{i}|^{\frac{1}{N}}),

The case λi>0\lambda_{i}>0 in (11) follows from the mean-value theorem applied to the function h(ε)=(λi1N−ε)Nh(\varepsilon)=(\lambda_{i}^{\frac{1}{N}}-\varepsilon)^{N}. To be precise, there exists ξ∈(0,ε)\xi\in(0,\varepsilon) such that

2 Perturbed Identical Initialization

For N≥2N\geq 2, we have seen in the previous section that we cannot recover negative eigenvalues λ\lambda of the ground truth matrix with gradient descent when identically initializing all matrices as W1(0)=⋯=WN(0)=αIW_{1}(0)=\cdots=W_{N}(0)=\alpha I. As already mentioned before, this problem can be overcome by slightly perturbing the constant α\alpha at one of the NN matrices. Instead of (7) we thus consider the mildly perturbed initialization

for some 0<β<α0<\beta<\alpha (where one could think of β\beta much smaller than α\alpha). We will call (13) perturbed identical initialization. The choice of j=1j=1 for perturbing the constant α\alpha to (α−β)(\alpha-\beta) is generic. In light of the fact that slightly perturbing a single factor Wj(0)W_{j}(0) suffices to recover the full spectrum, the spectral cut-off phenomenon in Theorem 1.1 appears to be a pathological case.

We can now turn to the proof of Theorem 1.3. Before stating the formal argument, let us provide a rough intuition on why a slight perturbation like in (38) makes such a difference: all squared singular values of all factors WjW_{j} converge to the NN-th root of the squares of the respective ground-truth eigenvalues, i.e., their limits coincide in absolute value. At the same time the gradient descent dynamics induce a repelling effect between the eigenvalues of differently initialized factors if the corresponding ground-truth eigenvalue is negative. The only way all factors can converge in this situation is that the perturbed factor converges to the negative NN-th root of the ground-truth eigenvalue while the eigenvalues of all remaining factors stay positive. We begin by stating a modified version of the decoupling in Lemma 2.1.

The proof of Lemma 2.8 follows the lines of Lemma 2.1 and is thus omitted. Similar to (but not quite the same as) the case of identical initialization, the system can be reduced to the scalar dynamics

To further analyze the perturbed setting, we concentrate on three quantities: the difference Δ1(k)\Delta_{1}({k}), the difference of squares Δ2(k)\Delta_{2}({k}), and the rate factor κ(k)\kappa({k}), defined as

Let η>0\eta>0, d1(k),d2(k)d_{1}({k}),d_{2}({k}) be defined by (40) with the perturbed identical initialization (41), and let Δ1,Δ2\Delta_{1},\Delta_{2}, and κ\kappa be the quantities defined in (42). Then

and similarly Δ2(k+1)=[1−η2κ2(k)]Δ2(k).\Delta_{2}({k}+1)=[1-\eta^{2}\kappa^{2}({k})]\Delta_{2}({k}). This completes the proof. ∎

Due to the coupling of d1d_{1} and d2d_{2}, we are not able to derive limits as previously done in Lemma 2.2. However, we can show in Lemma 2.12 below that the product d1(k)d2(k)N−1d_{1}({k})d_{2}({k})^{N-1} converges to λ\lambda regardless of its sign. In order to keep the presentation concise, parts of the proof (treating positive λ\lambda) are deferred to Appendix D in form of Lemma D.2 and D.3.

For λ<0\lambda<0, which cannot be recovered with identical initialization, the key is the “phase transition” time k0{k}_{0}, defined by

where we use the convention that inf⁡∅=∞\inf\emptyset=\infty.

Let N≥2N\geq 2 and λ<0\lambda<0. Let d1,d2d_{1},d_{2} be defined by (40) with the perturbed identical initialization (41) and define M=max⁡(α,∣λ∣1N)M=\max(\alpha,|\lambda|^{\frac{1}{N}}). If

then k0{k}_{0} defined in (46) is finite.

Let the difference Δ1\Delta_{1} and the factor κ\kappa be defined as in (42). We define the two auxiliary sequences

whose behavior is well-understood by Section 2.1, and we make the auxiliary claim that

Assume that k<k0{k}<{k}_{0} for the moment. By the definition of k0{k}_{0}, we have 0≤d1(k)0\leq d_{1}({k}). Furthermore, Lemma 2.2 implies that a(k)≤α−βa({k})\leq\alpha-\beta and 0<b(k)0<b({k}). Note that due to λ<0\lambda<0 and d1(k)≥0d_{1}({k})\geq 0, κ(k)≥0\kappa({k})\geq 0 as long as d2(k)>0d_{2}({k})>0. Since d2(0)=α>0d_{2}(0)=\alpha>0, Δ1(0)=β>0\Delta_{1}(0)=\beta>0 and d2(k)=d1(k)+Δ1(k)d_{2}({k})=d_{1}({k})+\Delta_{1}({k}) it follows by induction from (45) in Lemma 2.9 that Δ1(k)>0\Delta_{1}({k})>0, d2(k)>d1(k)≥0d_{2}({k})>d_{1}({k})\geq 0 and κ(k)>0\kappa({k})>0 for all k<k0{k}<{k}_{0}. Therefore, d1(k)d_{1}({k}) and d2(k)d_{2}({k}) are monotonically decreasing in k{k} for k<k0{k}<{k}_{0} by (40). Hence, d1(k)≤d1(0)=α−βd_{1}({k})\leq d_{1}(0)=\alpha-\beta and d2(k)≤d2(0)=αd_{2}({k})\leq d_{2}(0)=\alpha, for k<k0{k}<{k}_{0}. In order to fully prove (50), we will show next that d1(k)≤a(k)d_{1}({k})\leq a({k}) and b(k)≤d2(k)b({k})\leq d_{2}({k}) by induction.

By construction d1(0)=α−β=a(0)d_{1}(0)=\alpha-\beta=a(0) and d2(0)=α=b(0)d_{2}(0)=\alpha=b(0). Assume that d1(k)≤a(k)d_{1}({k})\leq a({k}) and b(k)≤d2(k)b({k})\leq d_{2}({k}) for some k<k0−1{k}<{k}_{0}-1. Define g(x)=x−ηxN−1(xN−λ)g(x)=x-\eta x^{N-1}(x^{N}-\lambda) as in the proof of Lemma 2.2. By a direct computation as in (21), g′(x)≥0g^{\prime}(x)\geq 0 for x∈(0,M)x\in(0,M) because η\eta satisfies (47). Thus gg is monotonically increasing on (0,M)(0,M) and since d1(k),d2(k),a(k),b(k)∈(0,M)d_{1}({k}),d_{2}({k}),a({k}),b({k})\in(0,M)

This completes the induction step and shows (50).

by assumption on η\eta. By Lemma 2.9, Δ1(k)=d2(k)−d1(k)\Delta_{1}({k})=d_{2}({k})-d_{1}({k}) is monotonically increasing while Δ2(k)=d2(k)2−d1(k)2\Delta_{2}({k})=d_{2}({k})^{2}-d_{1}({k})^{2} is monotonically decreasing. Consequently, we have

Since d1(k),d2(k)≥0d_{1}({k}),d_{2}({k})\geq 0 and λ<0\lambda<0 this gives

then lim⁡k→∞d1(k)d2(k)N−1=λ\lim_{{k}\to\infty}d_{1}({k})d_{2}({k})^{N-1}=\lambda.

Setting α0:=d2(k0)\alpha_{0}:=d_{2}({k}_{0}) and γ0:=d0(k0)=−d1(k0)>0\gamma_{0}:=d_{0}({k}_{0})=-d_{1}({k}_{0})>0, and interpreting α0,γ0\alpha_{0},\gamma_{0} as new initial conditions, the above system has the same form as (40) with λ\lambda replaced by ∣λ∣>0|\lambda|>0. According to Lemmas D.2 and D.3,

if 0<γ0<α0≤M0<\gamma_{0}<\alpha_{0}\leq M. It remains to verify the latter condition. Since d1(k0−1)d_{1}({k}_{0}-1) and d2(k0−1)d_{2}({k}_{0}-1) are positive, we have d2(k0)≤d2(k0−1)d_{2}({k}_{0})\leq d_{2}({k}_{0}-1) according to the dynamics in (53). Together with the fact that d2d_{2} is monotonically decreasing before this time, we deduce that α0≤α≤M\alpha_{0}\leq\alpha\leq M. Let the difference sequence Δ1\Delta_{1} and the factor κ\kappa be defined as in (42). Since 0<ηκ(k)<10<\eta\kappa({k})<1, for k<k0{k}<{k}_{0}, cf. Equation (51), Lemma 2.9 states that Δ1(k)>0\Delta_{1}({k})>0 is monotonically increasing, for k<k0{k}<{k}_{0}. In particular, d2(k0−1)−d1(k0−1)=Δ1(k0−1)>0d_{2}({k}_{0}-1)-d_{1}({k}_{0}-1)=\Delta_{1}({k}_{0}-1)>0 and we obtain

Hence the condition 0<γ0<α0≤M0<\gamma_{0}<\alpha_{0}\leq M is satisfied. ∎

From a less technical point of view, Lemma 2.12 and its proof show that if λ>0\lambda>0, the dynamics is similar to the case of identical initialization. If λ<0\lambda<0, the dynamics is only similar up to the point where one of the components changes sign. Then, they start to behave as if λ=∣λ∣\lambda=|\lambda| and follow a mirrored trajectory of the identical initialization setting. We have all tools at hand to finally prove Theorem 1.3.

The convergence of W(k)W({k}) to W^\widehat{W} directly follows from Lemma 2.8 and 2.12. For the rate of convergence, we will use Theorem 2.4 and Lemmas 2.9, 2.11, 2.12, D.2, D.3.

With λ=λi\lambda=\lambda_{i}, let d1,d2d_{1},d_{2} be defined as in (40) and a,b,p,pa,pba,b,p,p_{a},p_{b} as in (48), (49) and (69). Note that by Lemma 2.8, Eii(k)=p(k)−λiE_{ii}({k})=p({k})-\lambda_{i}. We distinguish the following cases.

Assume that λi≤−(α−β)αN−1\lambda_{i}\leq-(\alpha-\beta)\alpha^{N-1}. Let Δ1(k)\Delta_{1}({k}), Δ2(k)\Delta_{2}({k}) and κ(k)\kappa({k}) be defined as in (42) with λ=λi\lambda=\lambda_{i}. Let k0{k}_{0} be the phase transition time defined in (46) at which d1d_{1} becomes negative. We start with some useful observations.

For k<k0{k}<{k}_{0}, the sequences d1,d2d_{1},d_{2} are positive and decreasing by induction, i.e.,

Since d1(0)<d2(0)<∣λi∣1Nd_{1}(0)<d_{2}(0)<|\lambda_{i}|^{\frac{1}{N}}, we have d1(k),d2(k)<∣λi∣1Nd_{1}({k}),d_{2}({k})<|\lambda_{i}|^{\frac{1}{N}}. Therefore

Note that M=max⁡{α,∥W^∥1N}≥∣λi∣1NM=\max\{\alpha,\|\widehat{W}\|^{\frac{1}{N}}\}\geq|\lambda_{i}|^{\frac{1}{N}} together with Condition (14) on the stepsize implies that

for k<k0{k}<{k}_{0}. By Lemma 2.9, Δ1\Delta_{1} is positive and increasing, while Δ2\Delta_{2} is positive and decreasing in k{k}. Thus d2(k)−d1(k)>d2(0)−d1(0)=βd_{2}({k})-d_{1}({k})>d_{2}(0)-d_{1}(0)=\beta and d2(k)2−d1(k)2>0d_{2}({k})^{2}-d_{1}({k})^{2}>0 for k<k0{k}<{k}_{0}.

At the phase transition point k0{k}_{0}, since d1(k0)<0≤d1(k0−1)d_{1}({k}_{0})<0\leq d_{1}({k}_{0}-1) and d2(k0−1)>d1(k0−1)+β>βd_{2}({k}_{0}-1)>d_{1}({k}_{0}-1)+\beta>\beta, relation (56) yields

Now consider k≥k0{k}\geq{k}_{0} and recall from case (c) and the proof of Lemma 2.12, that the dynamics effectively becomes the one with λi\lambda_{i} replaced by ∣λi∣|\lambda_{i}| by considering (d0,d2):=(−d1,d2)(d_{0},d_{2}):=(-d_{1},d_{2}) and with initializations ∣d1(k0)∣|d_{1}({k}_{0})| and d2(k0)d_{2}({k}_{0}).

To show our claim, it remains to characterize a time T0T_{0} for which d1(T0)<−βd_{1}(T_{0})<-\beta and apply Theorem 2.4 as for the case (a) with d0(T0)>βd_{0}(T_{0})>\beta as initial condition. This will give

Together with the lower bound in (58) this gives

Since d1(0)=α−βd_{1}(0)=\alpha-\beta it follows by induction that

Implicit Bias of Gradient Descent

The explicit characterization of gradient flow and gradient descent dynamics derived in Section 2 may be used to shed some light on the phenomenon of implicit bias resp. implicit regularization of gradient descent. In fact, different convergence rates for different eigenvalues (depending on their respective signs and magnitudes) result in matrix iterates of low effective rank and accurately explain the implicit regularization observed when applying gradient descent to matrix factorization of symmetric matrices. We expect that a similar reasoning to be valid in more general contexts beyond matrix estimation.

and C>1C>1 may be chosen arbitrarily. Note, however, that CC influences Theorem 3.1 since it controls the trade-off between the size of I3I_{3} and tightness of the bound.

for all t∈I1∩I2∩I3{t}\in I_{1}\cap I_{2}\cap I_{3}.

where gλ,αg_{\lambda,\alpha} is defined in (60), we obtain, for t∈I1{t}\in I_{1}, that

2 Gradient Descent

After the simpler analysis of gradient flow, we now deduce a corresponding statement for gradient descent from the results in Section 2. In contrast to Theorem 3.1, it holds for a general number of layers N≥2N\geq 2. As before, we remark that the statement can be extended in a straight-forward but tedious way to handle general symmetric ground truths and additive noise.

In order to obtain a simplified estimate, we can choose ε′\varepsilon^{\prime} and α\alpha depending on ε\varepsilon and some of the eigenvalues of W^\widehat{W} such that all three terms in (64) are bounded by εr(W^L)\varepsilon r(\widehat{W}_{L}). Additionally, replacing L′−LL^{\prime}-L by its upper bound n−Ln-L and n−L′n-L^{\prime} by its upper bound n−Ln-L (so that L′L^{\prime} and L′′L^{\prime\prime} are not needed for the estimate), this gives the choices

Of course, we may additionally set ε=δ/3\varepsilon=\delta/3 for some desired accuracy δ∈(0,1)\delta\in(0,1) to obtain

Note in particular that (65) gives an indication on how to choose α\alpha (smaller values of α\alpha may also be fine). In particular, we require small enough initialization in comparison with the spectral norm ∥W^∥=λ1\|\widehat{W}\|=\lambda_{1}.

Let us also remark that the lower bound (time needed to approximate the leading LL eigenvalues) in (63) may become larger than the upper bound (time in which the remaining eigenvalues of W(k)W({k}) stay small) for certain parameter choices, i.e., the time interval of values k{k} for which the theorem can make a statement becomes empty. This is to be expected if there is no gap between λL\lambda_{L} and λL+1\lambda_{L+1} since then r(W(k))r(W({k})) never comes arbitrarily close to r(W^L)r(\widehat{W}_{L}) and the time interval is indeed empty, for small ε\varepsilon. Figure 3, however, shows that the theorem does provide non-empty time-intervals in relevant situations.

The estimate (63) in Theorem 3.5 for the time interval where the effective rank of W(k)W({k}) is close to the one of W^L\widehat{W}_{L} is slightly weaker than the ones in Theorem 3.1 and depends in terms of quality on the step-size η\eta. Since gradient flow is at the core of the gradient descent analysis, the bounds on gradient descent are more accurate if gradient descent stays close to its continuous flow, which is rather the case for small choices of η\eta than for large ones. To make this more precise, for η\eta small, the gap between necessary and sufficient iteration bounds in Theorem 2.4 shrinks and the prediction accuracy improves. Figure 7(b) shows that Theorem 3.5 yields an accurate description of the effective rank behavior as long as the step-size is chosen sufficiently small and the eigenvalue gap between λL\lambda_{L} and λL+1\lambda_{L+1} is sufficiently large to guarantee that the feasible region in (63) is non-empty.

To prove Theorem 3.5, we need the following lemma which is a direct consequence of the considerations in Theorem 2.4. Recall ζλ=(cNλ)1N=λN−12N−1N\zeta_{\lambda}=(c_{N}\lambda)^{\frac{1}{N}}=\sqrt[N]{\lambda\frac{N-1}{2N-1}} appearing in the proof of Theorem 2.4 (inflection point of eigenvalue dynamics) and define dλd_{\lambda} as the discrete dynamic following (18), i.e.,

The proof mainly relies on Theorem 2.4 characterizing the evolution of eigenvalues of W(k)=WN(k)⋯W1(k)W({k})=W_{N}({k})\cdots W_{1}({k}) by dλd_{\lambda} in (66). As in the proof of Theorem 3.1, we decompose the difference as

Let us now consider A2A_{2}. For TNId(λ1,λ1/2,α,η)≤k≤1ηTN+(λL+1,(ε′λL+1)1N,α)T_{N}^{\text{Id}}(\lambda_{1},\lambda_{1}/2,\alpha,\eta)\leq{k}\leq\frac{1}{\eta}T_{N}^{+}(\lambda_{L+1},(\varepsilon^{\prime}\lambda_{L+1})^{\frac{1}{N}},\alpha) Lemma 3.8 yields

3 Our work in light of [9]

Theorems 3.1 and 3.5 only make a non-trivial claim if α\alpha, ε\varepsilon, and η\eta are chosen in a way such that I1∩I2∩I3≠∅I_{1}\cap I_{2}\cap I_{3}\neq\emptyset (resp. the set of valid choices for k{k} in (63) is non-empty). In [9, Theorems 2 & 3] the authors characterize, for any pair of eigenvalues λi,λj\lambda_{i},\lambda_{j} of a positive semi-definite W^\widehat{W} with i,j∈[n]i,j\in[n], the maximal choice of α\alpha such that λi\lambda_{i} and λj\lambda_{j} are well-approximated at distinguishable times. Applying these results to λL\lambda_{L} and λL+1\lambda_{L+1}, we thus can get a priori a necessary condition on α\alpha for the existence of the LL-th effective rank plateau. Note, however, that the result on gradient descent [9, Theorem 3] only holds for the case N=2N=2. Although there is a partial overlap of theory between and our work, the main difference of [9, Theorems 2 & 3] and our Theorems 3.1 & 3.5 is that the former answer the question whether a plateau exists, whereas the latter characterize the time at which the plateaus occur if they exist.

Numerical Simulations

We have already demonstrated numerical results for our exact setting in Fig. 1 (effects of perturbation), Fig. 2 (effects of number of layers), Fig. 4 (accuracy of the prediction of a single eigenvalue), Fig. 6 (accuracy of low rank approximation), and Fig. 7 (difference between gradient flow and gradient descent).

In this section, we would like to numerically explore whether our findings also hold in more general situations. We demonstrate the impact of implicit bias and the ”waterfall” behavior of gradient descent on de-noising of real data. It should be noted that this experiment does not fully lie in the scope of the theory presented in the paper since the setting is not symmetric and the initialization is random. It shall illustrate generalizability of our findings. We consider an example from the MNIST-dataset . MNIST consists of images of handwritten digits from one to nine. All images have a resolution of 28×2828\times 28 and each of the 282=78428^{2}=784 pixels takes values in {0,…,255}\{0,\dots,255\}. For our simulation, we take 100 pictures of ones from the MNIST-dataset and create a matrix

in which each row is a vectorized MNIST-one. We run gradient descent with factorization depth N=1,2,3,4N=1,2,3,4 on a noisy version W^=WLR+Ξ\widehat{W}=W_{\text{LR}}+\Xi of the ground truth. We consider uniform noise, i.e., the matrix Ξ\Xi satisfies

Moreover, the factorizations are initialized by zero mean Gaussian random matrices

Figures 8-12 illustrate setting and outcome of the experiment. Selected rows of WLRW_{\text{LR}} and W^=WLR+Ξ\widehat{W}=W_{\text{LR}}+\Xi (reshaped to 28×2828\times 28-pixel images) are depicted in Figure 9(d). Figure 8 shows that the singular values of the end-to-end iterates W(k)W({k}) show several properties derived in the theory of this paper. We observe that deeper factorization indeed provokes sharper transition. Here deeper factorization converges faster because the leading eigenvalues are very large.

The figures (a)-(c) illustrate different properties of the gradient descent iterates during optimization. Note that the properties for the case N=1N=1 use a different axis than the cases N=2,3,4N=2,3,4. Sub-figure (b) includes two different de-noising approaches as benchmarks: the best rank-one and rank-two approximation of W^\widehat{W} (under all best rank approximations of W^\widehat{W}, the rank-two approximation proved to be closest to W^\widehat{W} in Frobenius metric). Sub-figure (d) illustrates a MNIST-One and a noisy version.

Discussion

In this paper we approached in a simplified setting the self-regularizing effect of gradient descent in multi-layer matrix factorization problems. For symmetric ground-truths, we analyzed the dynamics of gradient descent and its underlying continuous flow, and explicitly characterized the effective rank of gradient descent/flow iterates in dependence of model parameters like the spectrum of the ground truth matrix and number of layers of the factorization. In particular, we proved that early stopping of gradient descent produces effectively low-rank solutions. Numerical simulations both on toy and real data validated our theory. Viewing matrix factorization as training of a linear neural network, we believe that our results yield valuable insights in the implicit low-rank regularization of gradient descent observed in recent deep learning research. Extending the theory to more general settings should help to enlighten the implicit bias phenomenon of gradient descent.

We envision several directions for potential future work. First, we expect similar results for non-symmetric and rectangular ground-truths by using the singular value instead of the eigenvalue decomposition. Extending the theory accordingly, however, requires additional work on a technical level.

Finally, it would be desirable to generalize our explicit effective rank analysis to low rank matrix sensing when we do not have full information of the ground truth. In this underdetermined setting additional ambiguities appear and regularization becomes even more meaningful. Nevertheless, the analysis is more challenging due to additional coupling between the variables.

Acknowledgements

HHC and HR acknowledge funding by the DAAD through the project Understanding stochastic gradient descent in deep learning (project no. 57417829). JM and HR acknowledges funding by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) through the project CoCoMIMO funded within the priority program SPP 1798 Compressed Sensing in Information Processing (COSIP). HR acknowledges funding by the Federal Ministry of Education and Research (BMBF) and the Ministry of Culture and Science of the German State of North Rhine-Westphalia (MKW) under the Excellence Strategy of the Federal Government and the Länder. We wish to sincerely thank our colleagues Le Thang Huynh, Hans Christian Jung, and Ulrich Terstiege for the numerous joint discussions on the topic.

References

Appendix A Supplement to Remark 1.2

In this section, we provide a detailed derivation of (12) in Remark 1.2. Recall that we restrict ourselves to the case N≥3N\geq 3, 0<εN≪λi≤λ10<\varepsilon^{N}\ll\lambda_{i}\leq\lambda_{1}, and 0<αN≪λi0<\alpha^{N}\ll\lambda_{i}, so that the initial matrix W(0)=αNId⁡W(0)=\alpha^{N}{\operatorname{Id}} has small enough spectral norm compared to the ii-th eigenvalue of the ground truth, which in turn is larger than the desired accuracy εN\varepsilon^{N}. As mentioned in Remark 1.2, we have to assume that

for some κ≤13\kappa\leq\frac{1}{3} so that (10) is satisfied. The quantity TNId⁡T^{\operatorname{Id}}_{N} then takes the form (see the fourth case in (24))

The proof of Theorem 2.4 reveals that A(λi,α,η)A(\lambda_{i},\alpha,\eta) is related to the time the corresponding ii-th eigenvalue of the continuous dynamics needs to reach its “inflection point”, B(λi,ε,η)B(\lambda_{i},\varepsilon,\eta) refers to the number of iterations required to reach an ε\varepsilon-accuracy approximation of the ii-th eigenvalue starting from the “inflection” point and sN(λi,αi)s_{N}(\lambda_{i},\alpha_{i}) is a term arising from comparing the discrete with the continuous dynamics in the phase before it reaches the “inflection point”. This last term may be an artefact of the proof; a lower bound for the convergence time does not require sN(λi,α)s_{N}(\lambda_{i},\alpha), but it does (essentially) require the other two terms.

The additional time to reach ε\varepsilon accuracy once the “inflection point” is reached is very small. Indeed, an accuracy ∣Eii(k)∣≤ε′λi|E_{ii}({k})|\leq\varepsilon^{\prime}\lambda_{i} (meaning relative accuracy ε′∈(0,1)\varepsilon^{\prime}\in(0,1)) is reached for

by (11) and for this choice of ε\varepsilon the quantity BB is given by

(where aNa_{N} and cNc_{N} are defined in the next section). Ignoring the term sN(λi,α)s_{N}(\lambda_{i},\alpha) for the moment (which may be a proof artefact) shows that the convergence time is basically determined by A(λi,α,η)A(\lambda_{i},\alpha,\eta), i.e., the time to reach the “inflection point”.

An analysis of the exact expression for A(λi,α,η)A(\lambda_{i},\alpha,\eta), see (23) and Lemma E.1, shows that, for αN≪λi\alpha^{N}\ll\lambda_{i},

This means that the larger an eigenvalue λi\lambda_{i} is in relation to λ1\lambda_{1} and αN\alpha^{N}, the smaller A(λi,α,η)A(\lambda_{i},\alpha,\eta) is and the faster it is approximated by gradient descent, see also Figure 1(a) for an illustration. Moreover, the exponent 2−2N2-\frac{2}{N} at λ1/αN\lambda_{1}/\alpha^{N} in the approximate expression for A(λi,α,η)A(\lambda_{i},\alpha,\eta) leads to the fact that the differences of consecutive “relative inverse eigenvalues” αNλi\frac{\alpha^{N}}{\lambda_{i}}, i∈[n]i\in[n], are “stretched out” more with increasing NN. Since the dynamics of the eigenvalues stays close to zero for a long time before reaching the inflection point (for small αN\alpha^{N}), this has the effect that different eigenvalues can be distinguished by their convergence time more easily for larger NN, see again Figure 1(a). In turn this leads to a dynamics for the matrix W(k)W({k}) with low rank approximations in the initial phase and plateaulike increasing effective rank, see also Figure 3.

Let us finally discuss the third term sN(λi,α)s_{N}(\lambda_{i},\alpha) in (68) given by

In order to judge on the influence of sN(λi,α)s_{N}(\lambda_{i},\alpha) on the above discussion, let us compare it to A(λi,α,η)A(\lambda_{i},\alpha,\eta) by forming the fraction

This means that while there is a non-negligible contribution of sN(λi,α)s_{N}(\lambda_{i},\alpha) to TNId⁡T^{\operatorname{Id}}_{N} for eigenvalues λi\lambda_{i} close to λ1\lambda_{1} (and in particular, for λi=λ1\lambda_{i}=\lambda_{1}), the contribution does become negligible for relatively small λi\lambda_{i}. Moreover, larger NN again helps. Also note, that a small constant κ\kappa can also reduce the influence of sN(λ,αi)s_{N}(\lambda,\alpha_{i}). In particular, in the situation where we would like to distinguish significantly different eigenvalues (i.e., different from λ1\lambda_{1}) from their dynamics, it is valid to ignore sNs_{N} and the above discussion taking into account only AA and BB applies.

Appendix B Optimality of Lemma 2.2

The following lemma shows, that the condition on η\eta in Lemma 2.2 is necessary up to a constant, since the fixed point λ1N\lambda^{\frac{1}{N}} becomes unstable otherwise. We say that a fixed point aa of the iteration xn+1=g(xn)x_{n+1}=g(x_{n}) is unstable if g(a)=ag(a)=a and ∣g′(a)∣>1|g^{\prime}(a)|>1. In particular, this means that iterations move away from the fix point aa once they are in a small enough neighborhood of aa, but do not reach aa exactly.

Let g(x)=x−ηxN−1(xN−λ)g(x)=x-\eta x^{N-1}(x^{N}-\lambda) so that d(k+1)=g(d(k))d({k}+1)=g(d({k})). For N=1N=1 we have g′(x)=1−ηg^{\prime}(x)=1-\eta so that η>2\eta>2, ∣g′(x)∣=∣1−η∣>1|g^{\prime}(x)|=|1-\eta|>1 for all xx. It follows that the iterates dd defined by d(k+1)=g(d(k))d({k}+1)=g(d({k})) form a diverging sequence unless d(0)=λd(0)=\lambda. For N≥2N\geq 2, λ>0\lambda>0, and η>2(Nλ2−2N)−1\eta>2(N\lambda^{2-\frac{2}{N}})^{-1}, we obtain

Hence, λ1N\lambda^{\frac{1}{N}} is an unstable equilibrium of the dynamics d(k+1)=g(d(k))d({k}+1)=g(d({k})). For N≥2N\geq 2, λ<0\lambda<0, the analysis is slightly more complicated because g(0)=0g(0)=0 but g′(0)=1g^{\prime}(0)=1. However, if

which implies that ∣d(k+1)∣>(1+c)∣d(k)∣|d({k}+1)|>(1+c)|d({k})| with c=21−2N(1+21N)−2>0c=2^{1-\frac{2}{N}}(1+2^{\frac{1}{N}})-2>0; in particular d(k+1)>(2∣λ∣)1Nd({k}+1)>(2|\lambda|)^{\frac{1}{N}}. Hence, d(k)d({k}) diverges as k→∞{k}\to\infty. ∎

Appendix C On Solutions of the Continuous Dynamics

As claimed in Remark 2.6, the solution y(t)y(t) of (28) can, for N≥3N\geq 3, be expressed in an alternative way that avoids complex logarithms. Introduce the function

The formula can be deduced from (22) by splitting the complex logarithm into real and imaginary parts.

Appendix D Supplement to Section 2.2

We provide here Lemma D.2 and D.3, which show the claim of Lemma 2.12 for non-negative λ≥αN\lambda\geq\alpha^{N} and non-negative λ<αN\lambda<\alpha^{N}, respectively. In the following we repeatedly use the two auxiliary sequences

already defined in Section 2.2 to control the trajectory of d1(k)d2(k)N−1d_{1}({k})d_{2}({k})^{N-1}. We, furthermore, abbreviate

We observe that the product dynamics pp satisfies the following relation.

Moreover, fp′(x)=0f_{p}^{\prime}(x)=0 for x=p1Nx=p^{\frac{1}{N}}. If cp,1,cp,2≥0c_{p,1},c_{p,2}\geq 0, then on (0,∞)(0,\infty), fpf_{p} is convex and fp′f_{p}^{\prime} has a unique zero. If cp,1,cp,2≤0c_{p,1},c_{p,2}\leq 0 and p>0p>0, then fpf_{p} is concave on [p1N,∞)[p^{\frac{1}{N}},\infty).

For simplicity we write p=p(k),d1=d1(k),d2=d2(k)p=p({k}),d_{1}=d_{1}({k}),d_{2}=d_{2}({k}) below. By the definition of the dynamics in (40), we have

It follows from (71) that fp′(x)=0f_{p}^{\prime}(x)=0 if x=(cp,2cp,1)12N=p1Nx=\left(\frac{c_{p,2}}{c_{p,1}}\right)^{\frac{1}{2N}}=p^{\frac{1}{N}}. If x>0x>0 and cp,1,cp,2≥0c_{p,1},c_{p,2}\geq 0, this zero of fp′f_{p}^{\prime} is unique. Moreover, in this case the last line in \eqreffpSecondDerivative\eqref{fp_SecondDerivative} is clearly positive for N≥2N\geq 2, which implies that fp′′(x)>0f_{p}^{\prime\prime}(x)>0 so that fpf_{p} is convex on (0,∞)(0,\infty). For the last claim, note that under the assumptions on η\eta, pp, cp,1c_{p,1}, cp,2c_{p,2}, and xx, implying that λ≤p\lambda\leq p,

It follows that the the expression after the first equality sign in (72) is negative, that is, fp′′<0f_{p}^{\prime\prime}<0 and fpf_{p} is concave on [p1N,∞)[p^{\frac{1}{N}},\infty). ∎

Let N≥2N\geq 2 and λ>0\lambda>0. Let d1,d2d_{1},d_{2} be defined by (40) with the perturbed identical initialization (41) for N≥2N\geq 2. Assume that (α−β)αN−1≤λ(\alpha-\beta)\alpha^{N-1}\leq\lambda. Let M=max⁡{α,λ1N}M=\max\{\alpha,\lambda^{\frac{1}{N}}\} and c∈(1,2)c\in(1,2) be the maximal real solution to the polynomial equation 1=(c−1)cN−11=(c-1)c^{N-1}. If

We first note that c∈(1,2)c\in(1,2) because h(x):=(x−1)xN−1h(x):=(x-1)x^{N-1} is continuous and satisfies h(1)=0h(1)=0, and h(x)≥2N−1h(x)\geq 2^{N-1} for x≥2x\geq 2.

Recall the sequences aa, pp, and pap_{a} defined in (48) and (69). We will prove the claim by inductively showing that

Note that pa(k)=a(k)N>0p_{a}({k})=a({k})^{N}>0 for all k{k} by Lemma 2.2. Hence, pa(k)≤p(k)p_{a}({k})\leq p({k}) will imply that p(k)>0p({k})>0, while p(k)≤λ≤MNp({k})\leq\lambda\leq M^{N} together with Condition (73) will lead to

where cp,1=−ηp−1(p−λ)c_{p,1}=-\eta p^{-1}(p-\lambda) and cp,2=−ηp(p−λ)c_{p,2}=-\eta p(p-\lambda) are positive for p∈(0,λ)p\in(0,\lambda) so that fpf_{p} is convex on the (0,∞)(0,\infty) with unique global minimizer p1Np^{\frac{1}{N}}. Let Δ1(k)=d2(k)−d1(k)\Delta_{1}({k})=d_{2}({k})-d_{1}({k}) and κ(k)=d2N−2(k)(p(k)−λ)\kappa({k})=d_{2}^{N-2}({k})(p({k})-\lambda) be as in (42) and note that ηκ(k)<0\eta\kappa({k})<0 is negative, while Δ1(k)>0\Delta_{1}({k})>0 by the induction hypothesis (74). Using the induction hypothesis another time, i.e., the last inequality in (74), together with (73) it holds

Lemma 2.9 implies that d2(k+1)−d1(k+1)=Δ1(k+1)≥0d_{2}({k}+1)-d_{1}({k}+1)=\Delta_{1}({k}+1)\geq 0, so that d1(k+1)<d2(k+1)d_{1}({k}+1)<d_{2}({k}+1). Since d1(k)d2N−1(k)=p(k)d_{1}({k})d_{2}^{N-1}({k})=p({k}), the induction hypothesis 0<d1(k)<d2(k)≤cM0<d_{1}({k})<d_{2}({k})\leq cM gives p1N(k)≤d2(k)≤cMp^{\frac{1}{N}}({k})\leq d_{2}({k})\leq cM. Because fp(k)f_{p({k})} is increasing on [p(k)1N,∞)[p({k})^{\frac{1}{N}},\infty),

We now have all necessary tools to prove that pa(k+1)≤p(k+1)≤λp_{a}({k}+1)\leq p({k}+1)\leq\lambda. First, we show that pa(k+1)≤p(k+1)p_{a}({k}+1)\leq p({k}+1). By (76),

Using the induction hypothesis 0<pa(k)≤p(k)≤λ0<p_{a}({k})\leq p({k})\leq\lambda and η≤(Nλ2−2N)−1\eta\leq\left(N\lambda^{2-\frac{2}{N}}\right)^{-1} by (73) we obtain

and we arrive at the induction step pa(k+1)≤p(k+1)p_{a}({k}+1)\leq p({k}+1).

As a next step, we show that p(k+1)≤λp({k}+1)\leq\lambda. We distinguish two cases: either 2p(k)<λ2p({k})<\lambda or 2p(k)≥λ2p({k})\geq\lambda. Suppose first 2p(k)<λ2p({k})<\lambda. Using (76) another time together with λ≤(cM)N\lambda\leq(cM)^{N}, we obtain

if η≤21N−12(cM)2N−2\eta\leq\frac{2^{\frac{1}{N}}-1}{2(cM)^{2N-2}}. Since 8log⁡(2)>28\log(2)>2 and x≥log⁡(1+x)x\geq\log(1+x) for x∈(0,1)x\in(0,1), it holds

so that (21N−1)/2>1/(8N)(2^{\frac{1}{N}}-1)/2>1/(8N) and (73) implies the required condition on η\eta. Now suppose λ<2p(k)≤2λ\lambda<2p({k})\leq 2\lambda. Using λ<(cM)N\lambda<(cM)^{N} another time gives

Since x≥log⁡(1+x)≥x−12x2x\geq\log(1+x)\geq x-\frac{1}{2}x^{2} by Taylor expansion, we obtain, using again the induction hypothesis that d2(k)≤cMd_{2}({k})\leq cM,

since η≤18N(cM)2N−2\eta\leq\frac{1}{8N(cM)^{2N-2}}. Thus p(k+1)≤λp({k}+1)\leq\lambda.

It remains to show that d2(k+1)≤cMd_{2}({k}+1)\leq cM. Using the induction hypothesis d2(k′)≤cMd_{2}({k}^{\prime})\leq cM and 0<p(k′)≤λ0<p({k}^{\prime})\leq\lambda for all k′=0,…,k{k}^{\prime}=0,\ldots,{k}, it follows that

for all k′=0,…,k{k}^{\prime}=0,\ldots,{k}. Therefore, Lemma 2.9 together with Δ1(0)=β>0\Delta_{1}(0)=\beta>0 implies that Δ1(k′)=d2(k′)−d1(k′)>0\Delta_{1}({k}^{\prime})=d_{2}({k}^{\prime})-d_{1}({k}^{\prime})>0 and Δ1(k′+1)>Δ1(k′)\Delta_{1}({k}^{\prime}+1)>\Delta_{1}({k}^{\prime}) for all k′=0,…,k{k}^{\prime}=0,\ldots,{k}. This gives

which contradicts p(k+1)≤λp({k}+1)\leq\lambda as shown above. Hence d2(k+1)≤cMd_{2}({k}+1)\leq cM.

Let N≥2N\geq 2 and λ≥0\lambda\geq 0. Let d1,d2d_{1},d_{2} be defined by (40) with the perturbed identical initialization (41). Assume that (α−β)αN−1>λ(\alpha-\beta)\alpha^{N-1}>\lambda. If

Since d1∗,d2∗≤αd_{1}^{*},d_{2}^{*}\leq\alpha and ηα2N−2<1\eta\alpha^{2N-2}<1 by (78), the only solution to the fixed-point equation is p∗=0=λp^{*}=0=\lambda, which proves the claim for λ=0\lambda=0.

For λ>0\lambda>0, the proof strategy is essentially the same as in Lemma D.2. Recall the sequences b,p,pbb,p,p_{b} defined in (49) and (69). If p(k)=λp({k})=\lambda, then p(k+1)=p(k)p({k}+1)=p({k}) and the claim trivially holds. Hence it suffices to consider p(k)≠λp({k})\neq\lambda.

using also (78) in the last step. Hence, by (44)

Lemma 2.9 implies that Δ1(k+1)>Δ1(k)\Delta_{1}({k}+1)>\Delta_{1}({k}) so that inductively d2(k+1)−d1(k+1)=Δ1(k+1)>Δ1(0)=β>0d_{2}({k}+1)-d_{1}({k}+1)=\Delta_{1}({k}+1)>\Delta_{1}(0)=\beta>0, i.e., d1(k+1)<d2(k+1)d_{1}({k}+1)<d_{2}({k}+1). Further note that due to the induction hypothesis, which implies d2(k)N≥p(k)≥λd_{2}({k})^{N}\geq p({k})\geq\lambda, and our assumption (78) on η\eta, we have

Since also d2(k+1)>0d_{2}({k}+1)>0, p(k+1)=d1(k+1)d2(k+1)N−1p({k}+1)=d_{1}({k}+1)d_{2}({k}+1)^{N-1} implies that d1(k+1)>0d_{1}({k}+1)>0. Using cp,1<0c_{p,1}<0 another time in combination with cp,2=−ηp(k)(p(k)−λ)<0c_{p,2}=-\eta p({k})(p({k})-\lambda)<0, Lemma D.1 implies that fpf_{p} is concave on [p1N,∞)[p^{\frac{1}{N}},\infty), and fp′(p1N)=0f_{p}^{\prime}(p^{\frac{1}{N}})=0. Hence, fpf_{p} is monotonically decreasing on [p1N,∞)[p^{\frac{1}{N}},\infty). Together with the induction hypothesis 0<d1(k)<d2(k)≤α0<d_{1}({k})<d_{2}({k})\leq\alpha this gives

We will use this to prove that λ≤p(k+1)≤pb(k+1)\lambda\leq p({k}+1)\leq p_{b}({k}+1). Equation (79) implies that

We further note that by Lemma 2.2 in combination with (78) (noting that αN>λ\alpha^{N}>\lambda by assumption on λ\lambda) the sequence pb(k)=b(k)Np_{b}({k})=b({k})^{N} satisfies pb(k)≤αNp_{b}({k})\leq\alpha^{N}. By a similar calculation as in the proof of Lemma D.2, we obtain, using the induction hypothesis p(k)≤pb(k)p({k})\leq p_{b}({k}),

since η≤12Nα2N−2\eta\leq\frac{1}{2N\alpha^{2N-2}} by (78). Hence pb(k+1)≥p(k+1)p_{b}({k}+1)\geq p({k}+1).

Next we show that p(k+1)≥λp({k}+1)\geq\lambda. Similarly to the proof of Lemma D.2, we distinguish two cases: either p(k)>2λp({k})>2\lambda or p(k)≤2λp({k})\leq 2\lambda. Suppose first that p(k)>2λp({k})>2\lambda. Another application of (79) together with p(k)≤αNp({k})\leq\alpha^{N} yields

since η≤1−2−1N2α2N−2\eta\leq\frac{1-2^{-\frac{1}{N}}}{2\alpha^{2N-2}}, where the latter is implied by (78) with the fact that 1−2−1N>29N1-2^{-\frac{1}{N}}>\frac{2}{9N} for N≥2N\geq 2, which follows from an elementary analysis. Now suppose λ≤p(k)≤2λ\lambda\leq p({k})\leq 2\lambda. Using λ<αN\lambda<\alpha^{N} we obtain

The inequalities log⁡(1−x)≥−x1−x\log(1-x)\geq\frac{-x}{1-x} and log⁡(1+x)≥x−12x2\log(1+x)\geq x-\frac{1}{2}x^{2}, valid for x∈(0,1)x\in(0,1), then lead to

since η≤19Nα2N−2\eta\leq\frac{1}{9N\alpha^{2N-2}} and N≥2N\geq 2. Thus p(k+1)≤λp({k}+1)\leq\lambda.

Appendix E Simplified expression for convergence time

Since especially the exact term for TN+T_{N}^{+} defined in (23) and appearing in the bounds for the convergence times is hard to interpret, we give a simplified approximate expression in the following lemma.

Let N≥3N\geq 3 and k∈[n]k\in[n] such that λ1≥λk>0\lambda_{1}\geq\lambda_{k}>0. Assume that αN<λk\alpha^{N}<\lambda_{k}, and

for some κ<13\kappa<\frac{1}{3} (so that (10) is satisfied). Then

where GG is a function satisfying ∣G(t)∣≤Nt33(1−t)3|G(t)|\leq\frac{Nt^{3}}{3(1-t)^{3}} for t∈[0,1)t\in[0,1) and

Recalling the definition of TN+T_{N}^{+} in (23) we obtain

With ξ=α/λk1N\xi=\alpha/\lambda_{k}^{\frac{1}{N}} this gives

For NN being odd a similar computation gives

Plugging the above computations into (80) and using the definition of QNQ_{N} gives