Implicit Regularization in Deep Learning May Not Be Explainable by Norms

Noam Razin, Nadav Cohen

Introduction

A standard test-bed for studying implicit regularization in deep learning is matrix completion (cf. ): given a randomly chosen subset of entries from an unknown matrix W∗W^{*}, the task is to recover the unseen entries. This may be viewed as a prediction problem, where each entry in W∗W^{*} stands for a data point: observed entries constitute the training set, and the average reconstruction error over the unobserved entries is the test error, quantifying generalization. Fitting the observed entries is obviously an underdetermined problem with multiple solutions. However, an extensive body of work (see for a survey) has shown that if W∗W^{*} is low-rank, certain technical assumptions (e.g. “incoherence”) are satisfied and sufficiently many entries are observed, then various algorithms can achieve approximate or even exact recovery. Of these, a well-known method based upon convex optimization finds the minimal nuclear norm The nuclear norm (also known as trace norm) of a matrix is the sum of its singular values, regarded as a convex relaxation of rank. matrix among those fitting observations (see ).

One may try to solve matrix completion using shallow neural networks. A natural approach, matrix factorization, boils down to parameterizing the solution as a product of two matrices — W=W2W1W=W_{2}W_{1} — and optimizing the resulting (non-convex) objective for fitting observations. Formally, this can be viewed as training a depth 22 linear neural network. It is possible to explicitly constrain the rank of the produced solution by limiting the shared dimension of W1W_{1} and W2W_{2}. However, Gunasekar et al. have shown in that in practice, even when the rank is unconstrained, running gradient descent with small learning rate (step size) and initialization close to the origin (zero) tends to produce low-rank solutions, and thus allows accurate recovery if W∗W^{*} is low-rank. Accordingly, they conjectured that the implicit regularization in matrix factorization boils down to minimization of nuclear norm:

With small enough learning rate and initialization close enough to the origin, gradient descent on a full-dimensional matrix factorization converges to a minimal nuclear norm solution.

Given a (shallow or deep) matrix factorization, for any norm (or quasi-norm) ∥⋅∥\left\|\cdot\right\|, there exists a set of observed entries with which small learning rate and initialization close to the origin can not ensure convergence of gradient descent to a minimal (in terms of ∥⋅∥\left\|\cdot\right\|) solution.

Conjectures 1 and 2 contrast each other, and more broadly, represent opposing perspectives on the question of whether norms may be able to explain implicit regularization in deep learning. In this paper, we resolve the tension between the two conjectures by affirming the latter. In particular, we prove that there exist natural matrix completion problems where fitting observations via gradient descent on a depth L≥2L\geq 2 matrix factorization leads — with probability 0.50.5 or more over (arbitrarily small) random initialization — all norms (and quasi-norms) to grow towards infinity, while the rank essentially decreases towards its minimum. This result is in fact stronger than the one suggested by Conjecture 2, in the sense that: (i) not only is each norm (or quasi-norm) disqualified by some setting, but there are actually settings that jointly disqualify all norms (and quasi-norms); and (ii) not only are norms (and quasi-norms) not necessarily minimized, but they can grow towards infinity. We corroborate the analysis with empirical demonstrations.

The remainder of the paper is organized as follows. Section 2 reviews related work. Section 3 presents the deep matrix factorization model. Section 4 delivers our analysis, showing that its implicit regularization can drive all norms to infinity. Experiments, with both the analyzed setting and tensor factorization, are given in Section 5. Finally, Section 6 summarizes.

Related work

Theoretical analysis of implicit regularization in deep learning is a highly active area of research. Our work extends the bulk of literature concerning mathematical characterization of the implicit regularization induced by gradient-based optimization. As opposed to works studying the relation between implicit regularization and generalization (cf. ), or ones analyzing other sources of implicit regularization such as dropout (e.g. ). Existing characterizations focus on different aspects of learning, for example: dynamics of optimization (); curvature (“flatness”) of obtained minima (); frequency spectrum of learned input-output mappings (); invariant quantities throughout training (); and statistical properties imported from data (). A ubiquitous approach, arguably more prevalent than the aforementioned, is to demonstrate that learned input-output mappings minimize some notion of norm, or analogously, maximize some notion of margin. Works along this line have treated various models, Limiting such treatments to particular models is necessary, as in general one can not expect a gradient-based optimizer to yield minimal norm solutions over all possible objectives. Indeed, and have shown that there exist (carefully crafted) objectives over which variants of gradient descent do not produce minimal norm solutions. This accords with the conventional wisdom by which implicit regularization does not stem from an optimizer alone, but from its combination with a model (class of objectives). including: linear (single-layer) predictors (); normalized linear models (); certain polynomially parameterized linear models (); homogeneous (and sum of homogeneous) models (); ultra-wide neural networks (); linear neural networks with a single output (); and matrix factorization — the subject of our inquiry.

Matrix factorization is perhaps the most extensively studied model in the context of implicit regularization induced by non-convex gradient-based optimization. It corresponds to linear neural networks with multiple inputs and outputs, typically trained to recover low-rank linear mappings. The literature on matrix factorization for low-rank matrix recovery is far too broad to cover here — we refer to for a recent survey, while mentioning that the technique is often attributed to . Notable works proving successful recovery of a low-rank matrix via matrix factorization trained by gradient descent with no explicit regularization are . Of these, can be viewed as affirming Conjecture 1 (from ) for a certain special case. For a case related to (yet different from) that of , it was shown in that the set of matrices fitting observations is in fact a singleton, meaning Conjecture 1 holds trivially. has affirmed Conjecture 1 under different assumptions, but nonetheless argued empirically that it does not hold true in general, resonating with Conjecture 2 (from ). To the best of our knowledge, no theoretical support for the latter was provided prior to its proof in this paper. We note that the proof relies on technical results derived in and (restated in Subappendix D.2.1 for completeness).

Extending the research on matrix factorization, the use of tensor factorization for recovering low-rank tensors is a frequent topic of investigation (cf. ). Nevertheless, the experiments reported in this paper provide the first evidence we are aware of for such use to be successful under gradient-based optimization with no explicit regularization (in particular without imposing low-rank on the tensor factorization).

Deep matrix factorization

referred to as the product matrix of the factorization. Our interest lies on the implicit regularization of gradient descent, i.e. on the type of product matrices (Equation (3)) it will find when applied to the overparameterized objective (Equation (2)). Accordingly, and in line with prior work (cf. ), we focus on the case in which the search space is unconstrained, meaning min⁡{dl}l=0L=min⁡{d0,dL}\min\{d_{l}\}_{l=0}^{L}=\min\{d_{0},d_{L}\} (rank is not limited by the parameterization).

As a theoretical surrogate for gradient descent with small learning rate and near-zero initialization, similarly to and (as well as other works analyzing linear neural networks, e.g. ), we study gradient flow (gradient descent with infinitesimally small learning rate): A technical subtlety of optimization in continuous time is that in principle, it is possible to asymptote (diverge to infinity) after finite time. In such a case, the asymptote is regarded as the end of optimization, and time tending to infinity (t→∞t\to\infty) is to be interpreted as tending towards that point.

and assume balancedness at initialization, i.e.:

In particular, when considering random initialization, we assume that {Wl(0)}l=1L\{W_{l}(0)\}_{l=1}^{L} are drawn from a joint probability distribution by which Equation (5) holds almost surely. This is an idealization of standard random near-zero initializations, e.g. Xavier () and He (), by which Equation (5) holds approximately with high probability (note that the equation holds exactly in the standard “residual” setting of identity initialization — cf. ). The condition of balanced initialization (Equation (5)) played an important role in the analysis of , facilitating derivation of a differential equation governing the product matrix of a linear neural network (see Lemma 4 in Subappendix D.2.1). It was shown in empirically (and will be demonstrated again in Section 5) that there is an excellent match between the theoretical predictions of gradient flow with balanced initialization, and its practical realization via gradient descent with small learning rate and near-zero initialization. Other works (e.g. ) have supported this match theoretically, and we provide additional support in Appendix A by extending our theory to the case of unbalanced initialization (Equation (5) holding approximately).

Implicit regularization can drive all norms to infinity

In this section we prove that for matrix factorization of depth L≥2L\geq 2, there exist observations {bi,j}(i,j)∈Ω\{b_{i,j}\}_{(i,j)\in\Omega} with which optimizing the overparameterized objective (Equation (2)) via gradient flow (Equations (4) and (5)) leads — with probability 0.50.5 or more over random (“symmetric”) initialization — all norms and quasi-norms of the product matrix (Equation (3)) to grow towards infinity, while its rank essentially decreases towards minimum. By this we not only affirm Conjecture 2, but in fact go beyond it in the following sense: (i) the conjecture allows chosen observations to depend on the norm or quasi-norm under consideration, while we show that the same set of observations can apply jointly to all norms and quasi-norms; and (ii) the conjecture requires norms and quasi-norms to be larger than minimal, while we establish growth towards infinity.

For simplicity of presentation, the current section delivers our construction and analysis in the setting d=d′=2d=d^{\prime}=2 (i.e. 22-by-22 matrix completion) — extension to different dimensions is straightforward (see Appendix B). We begin (Subsection 4.1) by introducing our chosen observations {bi,j}(i,j)∈Ω\{b_{i,j}\}_{(i,j)\in\Omega} and discussing their properties. Subsequently (Subsection 4.2), we show that with these observations, decreasing loss often increases all norms and quasi-norms while lowering rank. Minimization of loss is treated thereafter (Subsection 4.3). Finally (Subsection 4.4), robustness of our construction to perturbations is established.

Consider the problem of completing a 22-by-22 matrix based on the following observations:

The solution set for this problem (i.e. the set of matrices obtaining zero loss) is:

The (weakened) triangle inequality allows us to lower bound ∥⋅∥\left\|\cdot\right\| by ∣(W)1,1∣\left\lvert(W)_{1,1}\right\rvert (up to multiplicative and additive constants). Thus, the set of (W)1,1(W)_{1,1} values corresponding to ϵ\epsilon-minimizers must be bounded. If ∥⋅∥\left\|\cdot\right\| is a Schatten-pp (quasi-)norm, a straightforward analysis shows it is monotonically increasing with respect to ∣(W)1,1∣\left\lvert(W)_{1,1}\right\rvert, implying it is minimized if and only if (W)1,1=0(W)_{1,1}=0. ∎

In addition to norms and quasi-norms, we are also interested in the evolution of rank throughout optimization of a deep matrix factorization. More specifically, we are interested in the prospect of rank being implicitly minimized, as demonstrated empirically in . The discrete nature of rank renders its direct analysis unfavorable from a dynamical perspective (the rank of a matrix implies little about its proximity to low-rank), thus we consider the following surrogate measures: (i) effective rank (Definition 1 below; from ) — a continuous extension of rank used for numerical analyses; and (ii) distance from infimal rank (Definition 2 below) — (Frobenius) distance from the minimal rank that a given set of matrices may approach. According to Proposition 2 below, these measures independently imply that, although all solutions to our matrix completion problem — i.e. all W∈SW\in{\mathcal{S}} (see Equation (7)) — have rank 22, it is possible to essentially minimize the rank to 11 by taking ∣(W)1,1∣→∞\left\lvert(W)_{1,1}\right\rvert\to\infty. Recalling Proposition 1, we conclude that in our setting, there is a direct contradiction between minimizing norms or quasi-norms and minimizing rank — the former requires confinement to some bounded interval, whereas the latter demands divergence towards infinity. This is the critical feature of our construction, allowing us to deem whether the implicit regularization in deep matrix factorization favors norms (or quasi-norms) over rank or vice versa.

The effective rank (Definition 1) takes the values (1,2](1,2] along S{\mathcal{S}} (Equation (7)). For W∈SW\in{\mathcal{S}}, it is maximized when (W)1,1=0(W)_{1,1}=0, and monotonically decreases to 11 as ∣(W)1,1∣\left\lvert(W)_{1,1}\right\rvert grows. Correspondingly, the infimal rank (Definition 2) of S{\mathcal{S}} is 11, and the distance of W∈SW\in{\mathcal{S}} from this infimal rank is maximized when (W)1,1=0(W)_{1,1}=0, monotonically decreasing to as ∣(W)1,1∣\left\lvert(W)_{1,1}\right\rvert grows.

Analyzing the singular values of W∈SW\in{\mathcal{S}} — σ1(W)≥σ2(W)≥0\sigma_{1}(W)\geq\sigma_{2}(W)\geq 0 — reveals that: (i) σ1(W)\sigma_{1}(W) attains a minimal value of 11 when (W)1,1=0(W)_{1,1}=0, monotonically increasing to ∞\infty as ∣(W)1,1∣\left\lvert(W)_{1,1}\right\rvert grows; and (ii) σ2(W)\sigma_{2}(W) attains a maximal value of 11 when (W)1,1=0(W)_{1,1}=0, monotonically decreasing to as ∣(W)1,1∣\left\lvert(W)_{1,1}\right\rvert grows. The results for effective rank, infimal rank and distance from infimal rank readily follow from this characterization. ∎

2 Decreasing loss increases norms

Consider the process of solving our matrix completion problem (Subsection 4.1) with gradient flow over a depth L≥2L\geq 2 matrix factorization (Section 3). Theorem 1 below states that if the product matrix (Equation (3)) has positive determinant at initialization, lowering the loss leads norms and quasi-norms to increase, while the rank essentially decreases.

An immediate consequence of Theorem 1 is that, if the product matrix (Equation (3)) has positive determinant at initialization, convergence to zero loss leads all norms and quasi-norms to grow to infinity, while the rank is essentially minimized. This is formalized in Corollary 1 below.

where WL:1(t)W_{L:1}(t) is the product matrix of the deep factorization (Equation (3)) at time tt of optimization. On the other hand:

Theorem 1 and Corollary 1 imply that in our setting (Subsection 4.1), where minimizing norms (or quasi-norms) and minimizing rank contradict each other, the implicit regularization of deep matrix factorization is willing to completely give up on the former in favor of the latter, at least on the condition that the product matrix (Equation (3)) has positive determinant at initialization. How probable is this condition? By Proposition 3 below, it holds with probability 0.50.5 if the product matrix is initialized by any one of a wide array of common distributions, including matrix Gaussian distribution with zero mean and independent entries, and a product of such. We note that rescaling (multiplying by α>0\alpha>0) initialization does not change the sign of product matrix’s determinant, therefore as postulated by Conjecture 2, initialization close to the origin (along with small learning rate Recall that gradient flow corresponds to gradient descent with infinitesimally small learning rate. ) can not ensure convergence to solution with minimal norm or quasi-norm.

Multiplying a row of WW by −1-1 keeps its distribution intact while flipping the sign of its determinant. This implies Pr⁡(det⁡(W)>0)=Pr⁡(det⁡(W)<0)\Pr(\det(W)>0)=\Pr(\det(W)<0). The first result then follows from the fact that a matrix drawn from a continuous distribution is almost surely non-singular. The second result is an outcome of the same fact, as well as the multiplicativity of determinant and the law of total probability. ∎

3 Convergence to zero loss

It is customary in the theory of deep learning (cf. ) to distinguish between implicit regularization — which concerns the type of solutions found in training — and the complementary question of whether training loss is globally optimized. We supplement our implicit regularization analysis (Subsection 4.2) by addressing this complementary question in two ways: (i) in Section 5 we empirically demonstrate that on the matrix completion problem we analyze (Subsection 4.1), gradient descent over deep matrix factorizations (Section 3) indeed drives training loss towards global optimum, i.e. towards zero; and (ii) in Proposition 4 below we theoretically establish convergence to zero loss for the special case of depth 22 and scaled identity initialization (treatment of additional depths and initialization schemes is left for future work). We note that when combined with Corollary 1, Proposition 4 affirms that in the latter special case, all norms and quasi-norms indeed grow to infinity while rank is essentially minimized. Notice that under (positively) scaled identity initialization the determinant of the product matrix (Equation (3)) is positive, as required by Corollary 1.

We first establish that the product matrix is positive definite for all tt. This simplifies a dynamical characterization from (restated as Lemma 4 in Subappendix D.2), yielding lucid differential equations governing the entries of the product matrix. Careful analysis of these equations then completes the proof. ∎

4 Robustness to perturbations

Our analysis (Subsection 4.2) has shown that when applying a deep matrix factorization (Section 3) to the matrix completion problem defined in Subsection 4.1, if the product matrix (Equation (3)) has positive determinant at initialization — a condition that holds with probability 0.50.5 under the wide variety of random distributions specified by Proposition 3 — then the implicit regularization drives all norms and quasi-norms towards infinity, while rank is essentially driven towards its minimum. A natural question is how common this phenomenon is, and in particular, to what extent does it persist if the observed entries we defined (Equation (6)) are perturbed. Theorem 2 below generalizes Theorem 1 (from Subsection 4.2) to the case of arbitrary non-zero values for the off-diagonal observations b1,2,b2,1b_{1,2},b_{2,1}, and an arbitrary value for the diagonal observation b2,2b_{2,2}. In this generalization, the assumption (from Theorem 1) of the product matrix’s determinant at initialization being positive is modified to an assumption of it having the same sign as b1,2⋅b2,1b_{1,2}\cdot b_{2,1} (the probability of which is also 0.50.5 under the random distributions covered by Proposition 3). Conditioned on the modified assumption, the smaller ∣b2,2∣\left\lvert b_{2,2}\right\rvert is compared to ∣b1,2⋅b2,1∣\left\lvert b_{1,2}\cdot b_{2,1}\right\rvert, the higher the implicit regularization is guaranteed to drive norms and quasi-norms, and the lower it is guaranteed to essentially drive the rank. Two immediate implications of Theorem 2 are: (i) if the diagonal observation is unperturbed (b2,2=0b_{2,2}=0), the off-diagonal ones (b1,2,b2,1b_{1,2},b_{2,1}) can take on any non-zero values, and the phenomenon of implicit regularization driving norms and quasi-norms towards infinity (while essentially driving rank towards its minimum) will persist; and (ii) this phenomenon gracefully recedes as the diagonal observation is perturbed away from zero. We note that Theorem 2 applies even if the unobserved entry is repositioned, thus our construction is robust not only to perturbations in observed values, but also to an arbitrary change in the observed locations. See Subappendix C.1 for empirical demonstrations.

Consider the setting of Theorem 1 subject to the following changes: (i) the observations from Equation (6) are generalized to:

leading to the following solution set in place of that from Equation (7):

The proof follows a line similar to that of Theorem 1, with slightly more involved derivations. ∎

Experiments

This section presents our empirical evaluations. We begin in Subsection 5.1 with deep matrix factorization (Section 3) applied to the settings we analyzed (Section 4). Then, we turn to Subsection 5.2 and experiment with an extension to tensor (multi-dimensional array) factorization. For brevity, many details behind our implementation, as well as some experiments, are deferred to Appendix C.

In , Gunasekar et al. experimented with matrix factorization, arriving at Conjecture 1. In the following work , Arora et al. empirically evaluated additional settings, ultimately arguing against Conjecture 1, and raising Conjecture 2. Our analysis (Section 4) affirmed Conjecture 2, by providing a setting in which gradient descent (with infinitesimally small learning rate and initialization arbitrarily close to the origin) over (shallow or deep) matrix factorization provably drives all norms (and quasi-norms) towards infinity. Specifically, we established that running gradient descent on the overparameterized matrix completion objective in Equation (2), where the observed entries are those defined in Equation (6), leads the unobserved entry to diverge to infinity as loss converges to zero. Figure 1 demonstrates this phenomenon empirically. Figures 4 and 5 in Subappendix C.1 extend the experiment by considering, respectively: different matrix dimensions (see Appendix B); and perturbations and repositionings applied to observations (cf. Subsection 4.4). The figures confirm that the inability of norms (and quasi-norms) to explain implicit regularization in matrix factorization translates from theory to practice.

2 From matrix to tensor factorization

At the heart of our analysis (Section 4) lies a matrix completion problem whose solution set (Equation (7)) entails a direct contradiction between minimizing norms (or quasi-norms) and minimizing rank. We have shown that on this problem, gradient descent over (shallow or deep) matrix factorization is willing to completely give up on the former in favor of the latter. This suggests that, rather than viewing implicit regularization in matrix factorization through the lens of norms (or quasi-norms), a potentially more useful interpretation is minimization of rank. Indeed, while global minimization of rank is in the worst case computationally hard (cf. ), it has been shown in (theoretically as well as empirically) that the dynamics of gradient descent over matrix factorization promote sparsity of singular values, and thus they may be interpreted as searching for low rank locally. As a step towards assessing the generality of this interpretation, we empirically explore an extension of matrix factorization to tensor factorization. The reader is referred to and for an introduction to tensor factorizations.

Figure 2 displays results of tensor completion experiments, in which tensor factorization (optimization of loss in Equation (16) via gradient descent over parameterization in Equation (17)) is applied to observations (i.e. {bi1,i2,…,iN}(i1,i2,…,iN)∈Ω\{b_{i_{1},i_{2},\ldots,i_{N}}\}_{(i_{1},i_{2},\ldots,i_{N})\in\Omega}) drawn from a low-rank ground truth tensor. As can be seen in terms of both reconstruction error (distance from ground truth tensor) and (tensor) rank of the produced solutions, tensor factorizations indeed exhibit an implicit regularization towards low rank. The phenomenon thus goes beyond the special case of matrix (order 22 tensor) factorization. Theoretically supporting this finding is regarded as a promising direction for future research.

As discussed in Section 1, matrix completion can be seen as a prediction problem, Observed entries in the matrix to recover stand for training examples, and unobserved entries for test set. and matrix factorization as its solution with a linear neural network. In a similar vein, tensor completion may be viewed as a prediction problem, and tensor factorization as its solution with a convolutional arithmetic circuit — see Figure 3. Convolutional arithmetic circuits form a class of non-linear neural networks that has been studied extensively in theory (cf. ), and has also demonstrated promising results in practice (see ). Analogously to how the input-output mapping of a linear neural network is naturally represented by a matrix, that of a convolutional arithmetic circuit admits a natural representation as a tensor. Our experiments (Figure 2 and Figure 6 in Subappendix C.1) show that (at least in some settings) when learned via gradient descent, this tensor tends to have low rank. We thus obtain a second exemplar of a neural network architecture whose implicit regularization strives to lower a notion of rank for its input-output mapping. This leads us to believe that the phenomenon may be general, and formalizing notions of rank for input-output mappings of contemporary models may be key to explaining generalization in deep learning.

Summary

The extent to which norms (and quasi-norms) can explain the implicit regularization induced by gradient-based optimization is a central question in the theory of deep learning. A standard test-bed for its study is matrix factorization — matrix completion via linear neural networks trained by gradient descent — which in practice tends to produce low-rank solutions. It is an open problem whether the implicit regularization in matrix factorization can be characterized as minimization of a norm (or quasi-norm) — Conjecture 1 from supports this supposition, whereas Conjecture 2 from opposes it. We presented a simple (and robust to perturbations) matrix completion setting for which, with probability 0.50.5 or more over random initialization of gradient descent, the implicit regularization in matrix factorization provably drives all norms (and quasi-norms) to grow towards infinity, while rank is essentially minimized. This affirms Conjecture 2, and although it does not formally refute Conjecture 1 (the latter’s technical assumptions are not necessarily satisfied by our setting), we believe that in essence our result implies that norm (or quasi-norm) minimization cannot explain implicit regularization in matrix factorization, let alone in deep learning altogether.

The crux behind the matrix completion setting we defined is that its solution set entails a direct contradiction between minimizing norms (or quasi-norms) and minimizing rank. The fact that the former is given up on in favor of the latter suggests that, rather than viewing implicit regularization in matrix factorization through the lens of norms (or quasi-norms), a potentially more useful interpretation is minimization of rank. As a step towards assessing the generality of this interpretation, we experimented with an extension of matrix factorization to tensor factorization, and found that it too exhibits an implicit regularization towards low rank, where rank is defined in the context of tensors. Similarly to how matrix factorization corresponds to a linear neural network whose input-output mapping is represented by a matrix, tensor factorization corresponds to a convolutional arithmetic circuit (certain type of non-linear neural network) whose input-output mapping is represented by a tensor. We thus obtain a second exemplar of a neural network architecture whose implicit regularization strives to lower a notion of rank for its input-output mapping. Theoretical investigation of the implicit regularization in tensor factorization is regarded as a promising direction for future research. More broadly, we believe that neural networks minimizing notions of rank for their input-output mappings may be a general phenomenon, and hypothesize that formalizing such notions in the context of contemporary models may be key to explaining generalization in deep learning.

Broader Impact

The application of deep learning in practice is based primarily on trial and error, conventional wisdom and intuition, often leading to suboptimal performance, as well as compromise in important aspects such as safety, privacy and fairness. Developing rigorous theoretical foundations behind deep learning may facilitate a more principled use of the technology, alleviating aforementioned shortcomings. The current paper takes a step along this vein, by addressing the central question of implicit regularization induced by gradient-based optimization. While theoretical advances — particularly those concerned with explaining widely observed empirical phenomena — oftentimes do not pose apparent societal threats, a potential risk they introduce is misinterpretation by scientific readership. We have therefore made utmost efforts to present our results as transparently as possible.

Acknowledgments and Disclosure of Funding

This work was supported by Len Blavatnik and the Blavatnik Family foundation, as well as the Yandex Initiative in Machine Learning. The authors thank Nathan Srebro and Jason D. Lee for their illuminating comments which helped improve the manuscript.

References

References

Appendix A Extension to unbalanced initialization

The following definition quantifies unbalancedness.

We will present two approaches for showing that approximate versions of our main theoretical results (Theorems 1 and 2) hold if unbalancedness magnitude at initialization is small: (i) using continuity of optimizer trajectory with respect to its initialization (Subappendix A.1); and (ii) employing conservation of unbalancedness magnitude throughout optimization (Subappendix A.2). Both approaches rely on the fact that small unbalancedness magnitude implies proximity to perfect balancedness, as stated formally in the following lemma.

Based on singular value decompositions of W1,W2,…,WLW_{1},W_{2},\ldots,W_{L}, the proof provides an explicit construction for W1′,W2′,…,WL′W^{\prime}_{1},W^{\prime}_{2},\ldots,W^{\prime}_{L}. Starting with W1′:=W1W^{\prime}_{1}:=W_{1}, for l=2,3,…,Ll=2,3,\ldots,L the matrices Wl′W^{\prime}_{l} are defined such that: (i) Wl′⊤Wl′=Wl−1′Wl−1′⊤W_{l}^{\prime\top}W^{\prime}_{l}=W^{\prime}_{l-1}W_{l-1}^{\prime\top}; and (ii) ∥Wl−Wl′∥Fro≤∥Wl−1−Wl−1′∥Fro+ϵ\left\|W_{l}-W^{\prime}_{l}\right\|_{Fro}\leq\left\|W_{l-1}-W^{\prime}_{l-1}\right\|_{Fro}+\sqrt{\epsilon}. The former ensures that W1′,W2′,…,WL′W^{\prime}_{1},W^{\prime}_{2},\ldots,W^{\prime}_{L} are balanced, whereas the latter implies ∥Wl−Wl′∥Fro≤(l−1)⋅ϵ\left\|W_{l}-W^{\prime}_{l}\right\|_{Fro}\leq(l-1)\cdot\sqrt{\epsilon} for all l=1,2,…,Ll=1,2,\ldots,L. ∎

Trajectories of gradient flow over a smooth objective are Lipschitz continuous with respect to their initialization, in the sense that for any T>0T>0, the location at time TT of optimization is a Lipschitz continuous function of the initial point. This fact is established by Lemma 2 below.

Then, for any tˉ∈[0,T]\bar{t}\in[0,T] it holds that:

Specializing Lemma 2 to deep matrix factorization (Section 3) yields the following result.

Consider the overparameterized objective corresponding to a depth LL matrix factorization applied to an arbitrary matrix completion task (see Equations (2) and (3)). Let θ(t):=(W1(t),W2(t),…,WL(t))\theta(t):=(W_{1}(t),W_{2}(t),\ldots,W_{L}(t)) and θ′(t):=(W1′(t),W2′(t),…,WL′(t))\theta^{\prime}(t):=(W^{\prime}_{1}(t),W^{\prime}_{2}(t),\ldots,W^{\prime}_{L}(t)) be two (arbitrary) curves born from gradient flow over this objective (cf. Equation (4)). Given T>0T>0, denote R:=sup⁡t∈[0,T]max⁡{∥θ(t)∥Fro,∥θ′(t)∥Fro}R:=\sup_{t\in[0,T]}\max\{\left\|\theta(t)\right\|_{Fro},\left\|\theta^{\prime}(t)\right\|_{Fro}\}. The Frobenius norm of a matrix tuple is defined as the Euclidean norm of their concatenation as a vector, so for example ∥θ(t)∥Fro=(∑l=1L∥Wl(t)∥Fro2)0.5\left\|\theta(t)\right\|_{Fro}=(\sum_{l=1}^{L}\left\|W_{l}(t)\right\|_{Fro}^{2})^{0.5}. Then, for any tˉ∈[0,T]\bar{t}\in[0,T] it holds that:

where B:=(∑(i,j)∈Ωbi,j2)0.5B:=(\sum\nolimits_{(i,j)\in\Omega}b_{i,j}^{2})^{0.5}, with {bi,j}(i,j)∈Ω\{b_{i,j}\}_{(i,j)\in\Omega} standing for the observed matrix entries.

The proof follows from Lemma 2, and the fact that for any R′>0R^{\prime}>0 the overparameterized objective is LR′L−2(2R′L+B)LR^{\prime L-2}\left(2R^{\prime L}+B\right)-smooth over DR′:={(W1,W2,…,WL):∥(W1,W2,…,WL)∥Fro<R′}{\mathcal{D}}_{R^{\prime}}:=\{(W_{1},W_{2},\ldots,W_{L}):\left\|(W_{1},W_{2},\ldots,W_{L})\right\|_{Fro}<R^{\prime}\}. ∎

Combining Proposition 5 with Lemma 1 makes it possible to derive extensions of Theorems 1 and 2 in which the assumption of initialization being perfectly balanced (Equation (5)) is relaxed to a requirement for small unbalancedness magnitude (Definition 3). The underlying idea is as follows. An initialization with small unbalancedness magnitude is close to one which is balanced (Lemma 1), and for the latter Theorems 1 and 2 may be applied. The distance between gradient flow trajectories emanating from the two initializations is controlled (Proposition 5), therefore results of Theorems 1 and 2 (bounds on norms, quasi-norms, effective rank and distance from infimal rank) carry over — with additional error terms — to the trajectory originating from the unbalanced initialization. A drawback of this approach is that the bounds on distance between trajectories, and accordingly the error terms incurred, grow exponentially with time (see Equation (20)). In the next subappendix we present a different approach that takes into account specific properties of gradient flow over deep matrix factorization, allowing one to overcome this exponential growth (for depth L≥3L\geq 3).

A.2 Second approach: conservation of unbalancedness magnitude

Lemma 3 below shows that unbalancedness magnitude (Definition 3) is a conserved quantity of gradient flow over deep matrix factorization (Section 3).

Consider the overparameterized objective corresponding to a depth LL matrix factorization applied to an arbitrary matrix completion task (see Equations (2) and (3)). Let (W1(t),W2(t),…,WL(t))(W_{1}(t),W_{2}(t),\ldots,W_{L}(t)) be a curve born from gradient flow over this objective (cf. Equation (4)), and for any t≥0t\geq 0, denote by ϵ(t)\epsilon(t) the associated unbalancedness magnitude (Equation (18)). Then, ϵ(t)\epsilon(t) is constant through time, i.e. ϵ(t)=ϵ(0)\epsilon(t)=\epsilon(0) for all t≥0t\geq 0.

For l=1,2,…,L−1l=1,2,\ldots,L-1, using the dynamics of Wl(t)W_{l}(t) and Wl+1(t)W_{l+1}(t) under gradient flow, we show that:

This implies Wl+1(t)⊤Wl+1(t)−Wl(t)Wl(t)⊤=Wl+1(0)⊤Wl+1(0)−Wl(0)Wl(0)⊤W_{l+1}(t)^{\top}W_{l+1}(t)-W_{l}(t)W_{l}(t)^{\top}=W_{l+1}(0)^{\top}W_{l+1}(0)-W_{l}(0)W_{l}(0)^{\top} for all t≥0t\geq 0. The proof concludes by taking nuclear norm of both sides of the latter equality, followed by maximization over l∈{1,2,…,L−1}l\in\{1,2,\ldots,L-1\}. ∎

Combining Lemma 3 with Lemma 1 implies that if unbalancedness magnitude is small at initialization, it remains that way throughout, and thus for every point along the optimization trajectory there exists some nearby point which is balanced (i.e. has unbalancedness magnitude zero). We may imagine a gradient flow trajectory emanating from such balanced point, and import certain characteristics from this imaginary trajectory to the original one. The idea of using imaginary balancedly-initialized trajectories for analyzing the unbalanced case also appears in the approach laid out in Subappendix A.1. However, whereas there only one such trajectory was employed, here there are infinitely many — one for each point in time. This allows us to maintain small distance from an imaginary trajectory (as opposed to a distance that grows exponentially with time — see Proposition 5), facilitating import of characteristics during which incurred error terms are small.

In the context of Theorems 1 and 2, the critical characteristic of trajectories originating from balanced initializations is that they do not allow the product matrix’s (Equation (3)) determinant to change sign, or more specifically, its smallest singular value to cross zero. Using the aforementioned technique (proximity to imaginary balancedly-initialized trajectories), we may import an approximate version of this characteristic into trajectories whose initializations have small unbalancedness magnitude. This amounts to a bound on the rate at which the smallest singular value of the product matrix can approach zero, yielding a guaranteed time throughout which the results of Theorems 1 and 2 hold.

Theorem 3 below formalizes the logic outlined above, extending Theorem 1 to the case of unbalanced initialization (we omit here the formal extension of Theorem 2, as it is essentially the same).

(Quasi-)norms, effective rank and distance from infimal rank are jointly bounded as follows:

By the proof of Theorem 1 (given in Subappendix D.5), its results (Equations (8), (9) and (10)) hold for any t≥0t\geq 0 with det⁡(WL:1(t))>0\det(W_{L:1}(t))>0. Bearing in mind that by assumption det⁡(WL:1(0))>0\det(W_{L:1}(0))>0, we let T ∈ (0,∞)T{\,\in\,}(0,\infty) be the initial time at which det⁡(WL:1(T))=0\det(W_{L:1}(T))=0 (if no such TT exists, the proof concludes). Fixing an arbitrary time tˉ∈[0,T]\bar{t}\in[0,T], Lemmas 3 and 1 imply that there exists a point (W1′,W2′,…,WL′)(W^{\prime}_{1},W^{\prime}_{2},\ldots,W^{\prime}_{L}) which meets the balancedness condition (i.e. has unbalancedness magnitude zero), and is within (Frobenius) distance O(L2⋅ϵ){\mathcal{O}}(L^{2}\cdot\sqrt{\epsilon}) from (W1(tˉ),W2(tˉ),…,WL(tˉ))(W_{1}(\bar{t}),W_{2}(\bar{t}),\ldots,W_{L}(\bar{t})). Imagining a gradient flow path that emanates from (W1′,W2′,…,WL′)(W^{\prime}_{1},W^{\prime}_{2},\ldots,W^{\prime}_{L}), one may employ Lemma 5 from Subappendix D.2.1, to characterize the movement of the singular values of WL:1′:=WL′WL−1′⋯W1′W^{\prime}_{L:1}:=W^{\prime}_{L}W^{\prime}_{L-1}\cdots W^{\prime}_{1}. Continuity arguments then imply that the singular values of WL:1(tˉ)W_{L:1}(\bar{t}) move similarly (at time tˉ\bar{t}), allowing us to obtain an upper bound on the rate at which the minimal singular value of WL:1(tˉ)W_{L:1}(\bar{t}) can decay. Integrating this upper bound yields a lower bound on TT, specified in Equation (21) as one of the possible outcomes. The continuity arguments employed require ∥(W1(t),W2(t),…,WL(t))∥Fro\left\|(W_{1}(t),W_{2}(t),\ldots,W_{L}(t))\right\|_{Fro}, t∈[0,T]t\in[0,T], to be bounded by a certain constant. If this is not the case then necessarily at some time t≤Tt\leq T the unobserved entry of WL:1(t)W_{L:1}(t) is large, leading to the bounds on (quasi-)norms, effective rank and distance from infimal rank in the alternative outcome (Equations (22), (23) and (24) respectively). ∎

Theorem 3 states that if initialization has unbalancedness magnitude ϵ>0\epsilon>0 (Definition 3), then the results of Theorem 1 — bounds on (quasi-)norms, effective rank and distance from infimal rank (Equations (8), (9) and (10) respectively) — are guaranteed to hold for a certain period of time (Equation (21)), or until certain terminal bounds (Equations (22), (23) and (24)) are jointly satisfied. Taking ϵ→0+\epsilon\to 0^{+}, the aforementioned period of time tends to infinity, and the terminal bounds tend to the limits (as loss goes to zero) of the bounds in Theorem 1, meaning we effectively converge to the latter. The rate of this convergence highly depends on the depth of the matrix factorization — roughly speaking, it is proportional to a fractional power of ln⁡(1/ϵ)\ln(1/\epsilon) for depth 22, and to a fractional power of 1/ϵ1/\epsilon for depth 33 or more. Disregarding constants (terms that do not depend on ϵ\epsilon), We did not attempt to optimize those; doing so is regarded as a potential direction for future work. this implies that in order to get comparable guarantees, the unbalancedness magnitude of initialization needs to be exponentially smaller with depth 22 than with depth 33 or more. We thus have a theoretical reasoning that resonates with the empirical phenomenon reported in Figure 1, by which in practical settings (gradient descent with small learning rate and near-zero initialization), the prediction of Theorem 1 — unobserved entry increasing (and therefore norms and quasi-norms increasing, with effective rank and distance from infimal rank decreasing) as loss decreases — sustains for much longer with depth 33 or more than it does with depth 22. Note that this phenomenon takes place even when initializations are perfectly balanced (i.e. have unbalancedness magnitude zero), the reason being the discrepancy between gradient descent with small learning rate and gradient flow. Specifically, while the latter would have conserved the balancedness throughout (Lemma 3), the former will (generically) lead to positive unbalancedness magnitude immediately after its commencement.

Appendix B Extension to different matrix dimensions

In this appendix we outline an extension of the construction and analysis given in Subsections 4.1 and 4.2 respectively, to completion of matrices with dimensions beyond 22-by-22. The extension presented here is not unique, but rather one simple option out of many. It is demonstrated empirically in Subappendix C.1 (Figure 4).

Observing Sd{\mathcal{S}}_{d}, while comparing to the solution set S{\mathcal{S}} in our original construction (Equation (7)), we see that the former has a 22-by-22 block diagonal structure, with the top-left block holding the latter, and the bottom-right block set to identity. This implies that d−2d-2 of the singular values along Sd{\mathcal{S}}_{d} are fixed to one, and the remaining two are identical to the singular values along S{\mathcal{S}}. Results analogous to Propositions 1 and 2 can therefore easily be proven. Since the determinant along Sd{\mathcal{S}}_{d} is bounded below and away from zero (it is equal to −1-1), approaching Sd{\mathcal{S}}_{d} while having positive determinant necessarily means that absolute value of unobserved entry (i.e. of the entry in location (1,1)(1,1)) grows towards infinity. Combining this with the fact that the product matrix (Equation (3)) of a depth L≥2L\geq 2 matrix factorization maintains the sign of its determinant (see Lemma 6 in Subappendix D.2.1), results analogous to Theorem 1 and Corollary 1 may readily be established. That is, one may show that, with probability 0.50.5 or more over random near-zero initialization, gradient descent with small learning rate drives all norms (and quasi-norms) towards infinity, while essentially driving rank towards its minimum.

Appendix C Further experiments and implementation details

Figures 4 and 5 supplement Figure 1 from Subsection 5.1, by demonstrating empirically that the phenomenon of implicit regularization in matrix factorization driving all norms (and quasi-norms) towards infinity is, respectively: (i) applicable to arbitrary matrix dimensions, as outlined in Appendix B; and (ii) robust to perturbations, as proven in Subsection 4.4. Figure 6 supplements Figure 2 from Subsection 5.2, further demonstrating that gradient descent over tensor factorization exhibits an implicit regularization towards low (tensor) rank.

C.2 Implementation details

Below we provide a full description of implementation details omitted from our experimental reports (Section 5 and Subappendix C.1). Source code for reproducing our results and figures, based on the PyTorch framework (), can be found at https://github.com/noamrazin/imp_reg_dl_not_norms.

In all experiments with deep matrix factorization, hidden dimensions were set to the minimal value ensuring unconstrained search space, i.e. to the minimum between the number of rows and the number of columns in the matrix to complete. Gradient descent was run with fixed learning rate until loss (Equation (1)) reached a value lower than 10−410^{-4} or 5⋅1065\cdot 10^{6} iterations elapsed. Both balanced (Equation (5)) and unbalanced (layer-wise independent) random initializations were calibrated according to a desired standard deviation α>0\alpha>0 for the entries of the initial product matrix (Equation (3)). Namely: (i) under unbalanced initialization, entries of all weight matrices were sampled independently from a Gaussian distribution with zero mean and standard deviation (α2/dˉL−1)1/2L(\alpha^{2}/\bar{d}^{L-1})^{1/2L}, where LL stands for the depth of the factorization, and dˉ\bar{d} for the size of its hidden dimensions; and (ii) under balanced initialization, we used Procedure 1 from , based on a Gaussian distribution with independent entries, zero mean and standard deviation α\alpha. In accordance with the description in Appendix B, if the matrix to complete was rectangular, we ensured that excess rows or columns of the initial product matrix held zeros, by clearing (setting to zero) corresponding rows or columns of the initial leftmost or rightmost (respectively) matrix in the factorization. That is, if the matrix to complete had size dd-by-d′d^{\prime} with d≠d′d\neq d^{\prime}, we cleared rows d′+1d^{\prime}+1 to dd of WL(0)W_{L}(0) if d>d′d>d^{\prime}, and columns d+1d+1 to d′d^{\prime} of W1(0)W_{1}(0) if d′>dd^{\prime}>d. Random initializations were repeated until the determinant of the initial product matrix (or of its top-left min⁡{d,d′}\min\{d,d^{\prime}\}-by-min⁡{d,d′}\min\{d,d^{\prime}\} submatrix if its size was dd-by-d′d^{\prime} with d≠d′d\neq d^{\prime}) was of the necessary sign, Positive for the experiments reported by Figures 1 and 4, and negative for those reported by Figure 5. taking two attempts on average. In the experiment reported by Figure 1, runs with matrix factorization depths 22 and 33 were carried out with learning rates {6⋅10−2,3⋅10−2,9⋅10−3,6⋅10−3,3⋅10−3,9⋅10−4}\{6\cdot 10^{-2},3\cdot 10^{-2},9\cdot 10^{-3},6\cdot 10^{-3},3\cdot 10^{-3},9\cdot 10^{-4}\} and corresponding standard deviations for initialization {10−2,10−3,10−4,10−5,10−6,10−7}\{10^{-2},10^{-3},10^{-4},10^{-5},10^{-6},10^{-7}\}. Factorizations of depth 44 were slightly more sensitive to changes in learning rate, thus we refined attempted values to {6⋅10−3,4.5⋅10−3,3⋅10−3,1.5⋅10−3,10−3}\{6\cdot 10^{-3},4.5\cdot 10^{-3},3\cdot 10^{-3},1.5\cdot 10^{-3},10^{-3}\}, with corresponding standard deviations for initialization {10−1,10−2,10−3,10−4,10−5}\{10^{-1},10^{-2},10^{-3},10^{-4},10^{-5}\}.

C.2.2 Tensor factorization (Figures 2 and 6)

with {wr∗(n)}r=1R∗n=1N\{{\mathbf{w}}^{*(n)}_{r}\}_{r=1}^{R^{*}}{}_{n=1}^{N} drawn independently from the standard normal distribution. After every such generation, we estimated the rank of the obtained tensor (its construction only ensures a rank of at most R∗R^{*}), and repeated the process if it was smaller than R∗R^{*}. For convenience, we subsequently normalized the ground truth tensor to be of unit Frobenius norm.

Appendix D Deferred proofs

D.2 Useful lemmas

For completeness, we include the following result from , which characterizes the evolution of the product matrix under gradient flow on a deep matrix factorization:

Suppose we run gradient flow over the factorization:

Then, the product matrix WL:1(t)=WL(t)⋯W1(t)W_{L:1}(t)=W_{L}(t)\cdots W_{1}(t) obeys the following dynamics:

Additionally, recall from the following characterization for the singular values of WL:1(t)W_{L:1}(t):

i.e. σr(t)\sigma_{r}(t) are the singular values of WL:1(t)W_{L:1}(t), and ur(t),vr(t){\mathbf{u}}_{r}(t),{\mathbf{v}}_{r}(t) are corresponding left and right (respectively) singular vectors. Furthermore, the singular values σr(t)\sigma_{r}(t) evolve by:

We rely on this result to establish that for square product matrices the sign of det⁡(WL:1(t))\det(W_{L:1}(t)) does not change throughout time.

We prove an analogous claim for the singular values of WL:1(t)W_{L:1}(t), from which the lemma readily follows. That is, for r∈[d]r\in[d], the singular value σr(t)\sigma_{r}(t) is identically zero if σr(0)=0\sigma_{r}(0)=0, and is positive if σr(0)>0\sigma_{r}(0)>0.

As before, if σr(0)=0\sigma_{r}(0)=0, then σr(t)=0\sigma_{r}(t)=0 for all t≥0t\geq 0. If σr(0)>0\sigma_{r}(0)>0, divergence in finite time of σr(t)\sigma_{r}(t) is possible, however, its positivity is preserved until that occurs nonetheless.

Turning our attention to the determinant of WL:1(t)W_{L:1}(t), suppose det⁡(WL:1(0))=0\det(W_{L:1}(0))=0. Then, WL:1(0)W_{L:1}(0) has a singular value which is , and for all tt that singular value and the determinant remain . If det⁡(WL:1(0))≠0\det(W_{L:1}(0))\neq 0, the product matrix remains full rank for all tt. The proof then immediately follows from the continuity of det⁡(WL:1(t))\det(W_{L:1}(t)). ∎

We will also make use of the following lemmas:

That is, UL⋅∏1l=LΣl⋅V1⊤U_{L}\cdot\prod_{1}^{l=L}\Sigma_{l}\cdot V_{1}^{\top} is a singular value decomposition of WL:1W_{L:1}, and σi(WL:1)=(∏l=1LΣl)i,i\sigma_{i}(W_{L:1})=(\prod_{l=1}^{L}\Sigma_{l})_{i,i} for all i∈[min⁡{dL,d0}]i\in[\min\{d_{L},d_{0}\}].

Fix l∈[L]l\in[L] and i∈[min⁡{dL,d0}]i\in[\min\{d_{L},d_{0}\}]. If i>min⁡{dl′}l′=0Li>\min\{d_{l^{\prime}}\}_{l^{\prime}=0}^{L}, for any l′∈[L]l^{\prime}\in[L] with min⁡{dl′,dl′−1}≥i\min\{d_{l^{\prime}},d_{l^{\prime}-1}\}\geq i, by our construction it holds that (Σl′)i,i=0(\Sigma_{l^{\prime}})_{i,i}=0. Hence, recalling that by convention σi(Wl)=0\sigma_{i}(W_{l})=0 if i>min⁡{dl,dl−1}i>\min\{d_{l},d_{l-1}\}, we may conclude that σi(WL:1)=σi(Wl)L=0\sigma_{i}(W_{L:1})=\sigma_{i}(W_{l})^{L}=0. Otherwise, if i≤min⁡{dl′}l′=0Li\leq\min\{d_{l^{\prime}}\}_{l^{\prime}=0}^{L}, the fact that σi(Wl′)=(Σl′)i,i=(Σl′−1)i,i=σi(Wl′−1)\sigma_{i}(W_{l^{\prime}})=(\Sigma_{l^{\prime}})_{i,i}=(\Sigma_{l^{\prime}-1})_{i,i}=\sigma_{i}(W_{l^{\prime}-1}) for all l′=2,3,…,Ll^{\prime}=2,3,\ldots,L implies that σi(WL:1)=σi(Wl)L\sigma_{i}(W_{L:1})=\sigma_{i}(W_{l})^{L}. ∎

D.2.2 Technical

Included below are a few technical lemmas used in our analyses.

We present a tighter inequality, h(p)≤2p(1−p)h(p)\leq 2\sqrt{p(1-p)}, from which the proof immediately follows since 2p(1−p)≤2p2\sqrt{p(1-p)}\leq 2\sqrt{p} for p∈p\in.

Define the function f(p):=h(p)2p(1−p)f(p):=\frac{h(p)^{2}}{p(1-p)} over the open interval (0,1)(0,1). Differentiating it with respect to pp we have:

Introducing g(p):=−p⋅ln⁡(p)g(p):=-p\cdot\ln(p), we show that g(p)2>g(1−p)2g(p)^{2}>g(1-p)^{2} for all p∈(0,12)p\in(0,\frac{1}{2}). It is easily verified that g(p)−g(1−p)g(p)-g(1-p) is concave on the interval (0,12)(0,\frac{1}{2}) (second derivative is negative). Since for p=0p=0 and p=1/2p=1/2 we have exactly g(p)−g(1−p)=0g(p)-g(1-p)=0, it holds that g(p)−g(1−p)≥0g(p)-g(1-p)\geq 0 and g(p)2≥g(1−p)2g(p)^{2}\geq g(1-p)^{2} for all p∈(0,12)p\in(0,\frac{1}{2}). Noticing ddpf(p)=(g(p)2−g(1−p)2)/p2(1−p)2\frac{d}{dp}f(p)=\left(g(p)^{2}-g(1-p)^{2}\right)/p^{2}(1-p)^{2}, it follows that f(⋅)f(\cdot) is monotonically non-decreasing on (0,12)(0,\frac{1}{2}). Due to the fact that f(p)=f(1−p)f(p)=f(1-p), it is non-increasing on (12,1)(\frac{1}{2},1), and attains its maximal value over (0,1)(0,1) at p=12p=\frac{1}{2}. Putting it all together, for p∈(0,1)p\in(0,1) we have:

and for p=0,1p=0,1 there is exact equality, completing the proof. ∎

Replacing AA with its singular value decomposition and choosing y=VU⊤o1{\mathbf{y}}=VU^{\top}{\mathbf{o}}_{1}:

Recalling that for any unit vector the quadratic form of a symmetric matrix is bounded by the maximal and minimal eigenvalues completes the proof:

The proof concludes by applying the inductive assumption for L−1L-1. ∎

(ΣB)i,i=(ΣA)i,i(\Sigma_{B})_{i,i}=(\Sigma_{A})_{i,i} for any i∈[min⁡{d,k,d′}]i\in[\min\{d,k,d^{\prime}\}], with the remaining diagonal entries of ΣA\Sigma_{A} and ΣB\Sigma_{B} being ; and

B=UBΣBUA⊤B=U_{B}\Sigma_{B}U_{A}^{\top}, i.e. UBΣBUA⊤U_{B}\Sigma_{B}U_{A}^{\top} is a singular value decomposition of BB.

Therefore, we may conclude B=B∑i=1ruA(i)(uA(i))⊤=UBΣBUA⊤B=B\sum_{i=1}^{r}{\mathbf{u}}_{A}^{(i)}\left({\mathbf{u}}_{A}^{(i)}\right)^{\top}=U_{B}\Sigma_{B}U_{A}^{\top}. ∎

Let t>0t>0 be such that g(t)<g(0)g(t)<g(0), and fix some a∈(g(t),g(0)]a\in(g(t),g(0)]. Define ta:=max⁡{t′:t′ ≤ t and g(t′)=a}t_{a}:=\max\{t^{\prime}:t^{\prime}~{}\leq~{}t\text{ and }g(t^{\prime})=a\}. Continuity of g(⋅)g(\cdot), along with the intermediate value theorem, imply that tat_{a} is well defined (maximum of a closed non-empty set bounded from above). Assume by contradiction that g˙(ta)>0\dot{g}(t_{a})>0. Then, g(⋅)g(\cdot) is monotonically increasing on some neighborhood of tat_{a}. Thus, by the intermediate value theorem, there exists t′∈(ta,t)t^{\prime}\in(t_{a},t) such that g(t′)=ag(t^{\prime})=a, in contradiction to the definition of tat_{a}. An identical argument establishes the analogous result for the case g(t)>g(0)g(t)>g(0). ∎

By way of contradiction let us assume that g(t)g(t) does not converge to . Let ϵ>0\epsilon>0 be such that for all M>0M>0 there exists t>Mt>M with g(t)>ϵg(t)>\epsilon.

We claim that for all M,ϵ′>0M,\epsilon^{\prime}>0 there exists t>Mt>M such that g(t)<ϵ′g(t)<\epsilon^{\prime}. Otherwise, we have a contradiction to the bound on the integral of g(⋅)g(\cdot). Combined with our assumption, this means that for all M>0M>0 we can find an interval [t1,t2][t_{1},t_{2}], with t1>Mt_{1}>M, where g(t)g(t) transitions from ϵ2\frac{\epsilon}{2} to ϵ\epsilon. We now examine one such interval. Formally, for t0t_{0} with g(t0)<ϵ2g(t_{0})<\frac{\epsilon}{2}, we define:

Due to the fact that g(⋅)g(\cdot) is continuous, t2t_{2} and t1t_{1} are well defined as they are the minimum and maximum, respectively, of closed non-empty sets bounded from below and above, respectively. Furthermore, notice that t0<t1<t2t_{0}<t_{1}<t_{2}. From the mean value theorem and the bound on the derivative of g(⋅)g(\cdot) we have t2−t1≥ϵ/2bt_{2}-t_{1}\geq\epsilon/2b. Since g(t)≥ϵ/2g(t)\geq\epsilon/2 over the interval [t1,t2][t_{1},t_{2}], this gives us ∫t′=t1t2g(t′)dt′≥ϵ2/4b\int\nolimits_{t^{\prime}=t_{1}}^{t_{2}}g(t^{\prime})dt^{\prime}\geq\epsilon^{2}/4b. Recall there are infinitely many such occurrences, implying that ∫t′=0∞g(t′)dt′=∞\int\nolimits_{t^{\prime}=0}^{\infty}g(t^{\prime})dt^{\prime}=\infty, in contradiction to the bound on the integral. ∎

Since g(⋅)g(\cdot) is continuous over [t0,∞)[t_{0},\infty), and positive over [t0,T)[t_{0},T), it is non-negative at TT. In the case where γ=1\gamma=1, we have that g˙(t)≥−a−b⋅g(t)\dot{g}(t)\geq-a-b\cdot g(t). Dividing both sides by a+b⋅g(t)a+b\cdot g(t) (positive since a,b>0a,b>0 and g(t)≥0g(t)\geq 0), and integrating over t∈[t0,T]t\in[t_{0},T], we have that:

The lower bound on g(T)g(T) readily follows by rearranging the inequality above.

Dividing by (a1/γ+b1/γ⋅g(t))γ(a^{1/\gamma}+b^{1/\gamma}\cdot g(t))^{\gamma} (positive since a,b>0a,b>0 and g(t)≥0g(t)\geq 0), and integrating over t∈[t0,T]t\in[t_{0},T]:

Rearranging the inequality above establishes the desired result. ∎

Then, f(θ(t))f(\theta(t)) is monotonically non-increasing with respect to tt.

The proof immediately follows from the fact that for any t∈[0,∞)t\in[0,\infty):

D.3 Proof of Proposition 1

For a quasi-norm ∥⋅∥\left\|\cdot\right\|, the weakened triangle inequality (see Footnote 2) implies that there exists a constant c∥⋅∥≥1c_{\left\|\cdot\right\|}\geq 1 for which

Starting with p=∞p=\infty, the corresponding norm is the spectral norm ∥Wx∥S∞:=σ1(Wx)\left\|W_{x}\right\|_{S_{\infty}}:=\sigma_{1}(W_{x}). When x=0x=0, we have that σ1(W0)=1\sigma_{1}(W_{0})=1. If x>0x>0, then σ1(Wx)=(x+x2+4) / 2>1\sigma_{1}(W_{x})=(x+\sqrt{x^{2}+4})~{}/~{}2>1. Similarly, if x<0x<0, then σ1(Wx)=(−x+x2+4) / 2>1\sigma_{1}(W_{x})=(-x+\sqrt{x^{2}+4})~{}/~{}2>1. Therefore, ∥Wx∥S∞\left\|W_{x}\right\|_{S_{\infty}} attains its minimal value of 11 if and only if x=0x=0.

Moving to the case of p∈(0,∞)p\in(0,\infty), the corresponding quasi-norm is ∥Wx∥Sp:=(σ1(Wx)p+σ2(Wx)p)1p\left\|W_{x}\right\|_{S_{p}}:=(\sigma_{1}(W_{x})^{p}+\sigma_{2}(W_{x})^{p})^{\frac{1}{p}}. We now examine ∥Wx∥Spp\left\|W_{x}\right\|_{S_{p}}^{p} for x>0x>0:

Differentiating with respect to xx, we arrive at:

where in the first transition we used the fact that both (x+x2+4)p−1\left(x+\sqrt{x^{2}+4}\right)^{p-1} and (−x+x2+4)p−1\left(-x+\sqrt{x^{2}+4}\right)^{p-1} are positive (as well as xx). It then directly follows that ∥Wx∥Spp\left\|W_{x}\right\|_{S_{p}}^{p} and thus ∥Wx∥Sp\left\|W_{x}\right\|_{S_{p}} are monotonically increasing with respect to xx on (0,∞)(0,\infty).

Similar arguments show that when x<0x<0 the Schatten-pp quasi-norm of WxW_{x} is monotonically decreasing with respect to xx, implying that ∥Wx∥Sp\left\|W_{x}\right\|_{S_{p}} is minimized if and only if x=0x=0. The claim relies on the fact that the Schatten-pp quasi-norm of WxW_{x} is continuous with respect to xx for all p∈(0,∞)p\in(0,\infty). We note, however, that quasi-norms in general may be discontinuous. ∎

D.4 Proof of Proposition 2

As in the proof of Proposition 1 (Subappendix D.3), we denote by Wx∈SW_{x}\in{\mathcal{S}} the solution matrix with (Wx)1,1=x(W_{x})_{1,1}=x. We begin by analyzing the behavior of σ1(Wx)\sigma_{1}(W_{x}) and σ2(Wx)\sigma_{2}(W_{x}) with respect to xx. When x=0x=0 the singular values are simply σ1(W0)=σ2(W0)=1\sigma_{1}(W_{0})=\sigma_{2}(W_{0})=1. When xx is positive, the singular values may be written as:

Taking the derivative with respect to xx, we arrive at:

Since x>0x>0, we have that d/dx σ1(Wx)>0d/dx~{}\sigma_{1}(W_{x})>0 and d/dx σ2(Wx)<0d/dx~{}\sigma_{2}(W_{x})<0. In other words, σ1(Wx)\sigma_{1}(W_{x}) is monotonically increasing, while σ2(Wx)\sigma_{2}(W_{x}) is monotonically decreasing, when x>0x>0. It can easily be verified that σ1(Wx)\sigma_{1}(W_{x}) and σ2(Wx)\sigma_{2}(W_{x}) are even functions of xx, i.e. σ1(Wx)=σ1(W−x)\sigma_{1}(W_{x})=\sigma_{1}(W_{-x}) and σ2(Wx)=σ2(W−x)\sigma_{2}(W_{x})=\sigma_{2}(W_{-x}). It then follows that σ1(Wx)\sigma_{1}(W_{x}) is monotonically decreasing (conversely σ2(Wx)\sigma_{2}(W_{x}) is monotonically increasing) when x<0x<0. Noticing that lim⁡x→∞σ1(Wx)=∞\lim_{x\rightarrow\infty}\sigma_{1}(W_{x})=\infty and lim⁡x→∞σ2(Wx)=0\lim_{x\rightarrow\infty}\sigma_{2}(W_{x})=0 (accordingly lim⁡x→−∞σ1(Wx)=∞\lim_{x\rightarrow-\infty}\sigma_{1}(W_{x})=\infty and lim⁡x→−∞σ2(Wx)=0\lim_{x\rightarrow-\infty}\sigma_{2}(W_{x})=0 ), we have a characterization of the behavior of σ1(Wx)\sigma_{1}(W_{x}) and σ2(Wx)\sigma_{2}(W_{x}).

We are now in a position to obtain the desired results for effective and infimal ranks. The effective rank (Definition 1) of WxW_{x} can be written as

The binary entropy function is bounded by ln⁡(2)\ln(2), hence, the effective rank over S{\mathcal{S}} is bounded by 22. This upper bound is attained at x=0x=0. According to the singular values analysis, when ∣x∣→∞\left\lvert x\right\rvert\rightarrow\infty we have that ρ1(Wx)\rho_{1}(W_{x}) monotonically increases towards 11, starting from the value ρ1(W0)=12\rho_{1}(W_{0})=\frac{1}{2}. Noticing that this implies the entropy function and effective rank monotonically decrease towards and 11, respectively, completes the effective rank analysis.

Next, we analyze the infimal rank of S{\mathcal{S}} and the distance of WxW_{x} from that infimal rank. The distance of WxW_{x} from M1{\mathcal{M}}_{1} is D(Wx,M1)=σ2(Wx)D(W_{x},{\mathcal{M}}_{1})=\sigma_{2}(W_{x}). Since lim⁡x→∞σ2(Wx)=0\lim_{x\rightarrow\infty}\sigma_{2}(W_{x})=0, we have D(S,M1)=0D({\mathcal{S}},{\mathcal{M}}_{1})=0. Clearly D(S,M0)>0D({\mathcal{S}},{\mathcal{M}}_{0})>0, leading to the conclusion that the infimal rank of S{\mathcal{S}} is 11. Finally, the analysis of σ2(Wx)\sigma_{2}(W_{x}) directly implies that the distance of WxW_{x} from the infimal rank of S{\mathcal{S}} is maximized when x=0x=0, monotonically tending to as ∣x∣→∞\left\lvert x\right\rvert\rightarrow\infty. ∎

D.5 Proof of Theorem 1

In the following, as stated in Subappendix D.1, for results that hold for all t≥0t\geq 0 or when clear from the context, we omit the time index tt. Furthermore, we denote the entries of the product matrix WL:1W_{L:1} by {wi,j}i,j∈\{w_{i,j}\}_{i,j\in}.

We begin by deriving loss-dependent bounds for ∣w1,1∣,σ1(WL:1)\left\lvert w_{1,1}\right\rvert,\sigma_{1}(W_{L:1}) and σ2(WL:1)\sigma_{2}(W_{L:1}). Writing the loss explicitly:

we can upper bound each of the non-negative terms separately. Multiplying by 22 and taking the square root of both sides yields:

The following lemma characterizes the relation between ∣w1,1∣|w_{1,1}| and the loss.

From Lemma 6, the determinant of WL:1W_{L:1} does not change signs and remains positive, i.e.:

An immediate consequence of the lemma above is that decreasing the loss towards zero drives ∣w1,1∣|w_{1,1}| towards infinity.

With this bound in hand, Lemma 19 below establishes bounds on the singular values of WL:1W_{L:1}. In turn, they will allow us to obtain the necessary results for effective rank (Definition 1) and distance from infimal rank of S{\mathcal{S}} (Definition 2).

The singular values of WL:1W_{L:1} fulfill:

Define WS:=(w1,1110)W_{\mathcal{S}}:=\begin{pmatrix}w_{1,1}&1\\ 1&0\end{pmatrix}, the orthogonal projection of WL:1W_{L:1} onto the solution set S{\mathcal{S}}. By Corollary 8.6.2 in we have that:

One can easily verify that WSW_{\mathcal{S}} is a symmetric indefinite matrix with eigenvalues

Suppose that w1,1≥0w_{1,1}\geq 0. We thus have:

By similar arguments, Equations (32) and (33) hold for w1,1<0w_{1,1}<0 as well. ∎

We turn to lower bound the quasi-norm of the product matrix. It holds that:

Plugging the inequality above and the lower bound on ∣w1,1∣|w_{1,1}| (Lemma 18) into Equation (35), we have:

Since ∥WL:1∥\left\|W_{L:1}\right\| is trivially lower bounded by zero, defining the constants

allows us, on the one hand, to arrive at a bound of the form:

D.5.2 Proof of Equation (9) (upper bound for effective rank)

D.5.3 Proof of Equation (10) (upper bound for distance from infimal rank)

According to Proposition 2, the infimal rank of S{\mathcal{S}} is 11. The quantity we seek to upper bound is therefore D(WL:1(t),M1)=σ2(WL:1(t))D(W_{L:1}(t),{\mathcal{M}}_{1})=\sigma_{2}(W_{L:1}(t)). By Equation (32) in Lemma 19, for all t≥0t\geq 0 we have

D.6 Proof of Proposition 3

Define W−1W_{-1} to be the matrix obtained from WW by multiplying its first row by −1-1. On the one hand, symmetry around the origin implies that W−1W_{-1} and WW follow the same distribution. On the other hand, det⁡(W−1)=−det⁡(W)\det(W_{-1})=-\det(W). Due to the fact that the set of matrices with zero determinant has probability under continuous distributions (see, e.g., Remark 2.5 in ), we may conclude Pr⁡(det⁡(W)>0)=Pr⁡(det⁡(W)<0)=0.5\Pr(\det(W)>0)=\Pr(\det(W)<0)=0.5.

For W1,W2,…,WLW_{1},W_{2},\ldots,W_{L} random matrices drawn independently, let l∈[L]l\in[L] be the index such that Pr⁡(det⁡(Wl)>0)=0.5\Pr(\det(W_{l})>0)=0.5. Since Pr(det⁡(Wl′)=0)=0Pr(\det(W_{l^{\prime}})=0)=0 for any l′∈[L]l^{\prime}\in[L], the proof readily follows from determinant multiplicativity and the law of total probability:

An identical computation yields Pr⁡(det⁡(WLWL−1⋯W1)<0)=0.5\Pr\left(\det(W_{L}W_{L-1}\cdots W_{1})<0\right)=0.5. ∎

D.7 Proof of Proposition 4

The proof makes use of the following lemma, proven in Subappendix D.7.1.

According to Lemma 20, the product matrix WL:1W_{L:1} is symmetric and positive definite. Thus, we may write the loss and its gradient with respect to WL:1W_{L:1} as:

where {wi,j}i,j∈\{w_{i,j}\}_{i,j\in} are the entries of WL:1W_{L:1}. Since the factors W1W_{1} and W2W_{2} are balanced at initialization (Equation (5)), the differential equation governing the product matrix (Lemma 4) for depth L=2L=2 gives:

where the transition is by positive definiteness of WL:1W_{L:1}. Writing the differential equation of each entry separately, we have:

Let us characterize the behavior of these entries throughout time.

w1,1>0w_{1,1}>0 and is monotonically non-decreasing.

Since WL:1W_{L:1} is positive definite, it follows that w1,1w_{1,1} and w2,2w_{2,2} are positive. Examining the behavior of w1,2w_{1,2} (Equation (39)): on the one hand, when w1,2=0w_{1,2}=0 then w˙1,2=w2,2+w1,1>0\dot{w}_{1,2}=w_{2,2}+w_{1,1}>0, and on the other hand, when w1,2=1w_{1,2}=1 then w˙1,2=−w2,2<0\dot{w}_{1,2}=-w_{2,2}<0. Because w1,2w_{1,2} is initialized at , it stays in the interval $.Otherwise,byLemma14,wehaveacontradictiontothepositivityof. Otherwise, by Lemma 14, we have a contradiction to the positivity of\dot{w}_{1,2}whenwhenw_{1,2}=0oritsnegativitywhenor its negativity whenw_{1,2}=1.Similarly,if. Similarly, ifw_{2,2}>\frac{1}{2}wehavewe have\dot{w}_{2,2}<2w_{1,2}(1-w_{1,2})-\frac{1}{2}\leq 0.Sinceatinitialization. Since at initializationw_{2,2}(0)=\alpha\leq 1,byLemma14,itwillnotgoabove, by Lemma 14, it will not go above1.Lastly,since. Lastly, sincew_{1,2}isintheintervalis in the interval,itholdsthat, it holds that\dot{w}_{1,1}\geq 0,i.e., i.e.w_{1,1}$ is monotonically non-decreasing. ∎

We turn our focus to the derivative of the loss with respect to tt:

Plugging in Equation (38) and recalling the fact that ⟨A,B⟩=Tr⁡(A⊤B)\langle A,B\rangle=\operatorname{Tr}(A^{\top}B) for matrices A,BA,B of the same size:

where in the penultimate transition we bounded the square root of a sum by the sum of square roots. Returning to Equation (40) we have:

for b=12αb=\frac{1}{2}\alpha. We are now in a position to prove that w1,2→1w_{1,2}\rightarrow 1 as tt tends to infinity. Integrating both sides with respect to time:

Going back to the differential equation of w˙1,2\dot{w}_{1,2} (Equation (39)), by applying the bounds on w1,2w_{1,2} and w2,2w_{2,2} (Lemma 21) we have that w˙1,2≥−1\dot{w}_{1,2}\geq-1. Defining g(t):=(1−w1,2(t))4g(t):=(1-w_{1,2}(t))^{4}, it then holds that g˙(t)≤4\dot{g}(t)\leq 4. Since g(⋅)g(\cdot) is non-negative and has an upper bounded integral and derivative, from Lemma 15, we can conclude that limt→∞g(t)=0lim_{t\rightarrow\infty}g(t)=0 and limt→∞w1,2(t)=1lim_{t\rightarrow\infty}w_{1,2}(t)=1.

Such t^\hat{t} exists since all terms above converge to . Returning to the differential equation of w˙2,2\dot{w}_{2,2} (Equation (39)):

Recalling that w2,2(t)>0w_{2,2}(t)>0 (Lemma 21), it follows that there exists tϵ≥t^t_{\epsilon}\geq\hat{t} with w˙2,2(tϵ)>−ϵ\dot{w}_{2,2}(t_{\epsilon})>-\epsilon (otherwise w2,2(t)w_{2,2}(t) goes to −∞-\infty as t→∞t\rightarrow\infty, in contradiction to the positivity of w2,2(t)w_{2,2}(t)). For the above tϵt_{\epsilon}, by rearranging the terms in Equation (42) we achieve w2,2(tϵ)<ϵw_{2,2}(t_{\epsilon})<\sqrt{\epsilon}. Finally, combined with Equation (41), the result readily follows:

The proof proceeds as follows. We initially consider initializations where W1(0),…,WL(0)W_{1}(0),\ldots,W_{L}(0) form a symmetric factorization of WL:1(0)W_{L:1}(0) (Definition 4), and show that this ensures the product matrix stays symmetric. Then, we establish that for every balanced initial factors (Equation (5)) with a positive definite product matrix there exist alternative balanced factors such that: (i) the initial product matrix is the same; and (ii) the factors form a symmetric factorization of the product matrix. Since the product matrices for the original and the constructed initializations obey the exact same dynamics (Lemma 4), the proof concludes.

A straightforward result is that matrices with a symmetric factorization are symmetric themselves.

where ∑l=1Lil=k−1\sum_{l=1}^{L}i_{l}=k-1 and (k−1i1,…,iL)=(k−1)!/(i1!⋯iL!)\binom{k-1}{i_{1},\ldots,i_{L}}=(k-1)!/\left(i_{1}!\cdots i_{L}!\right) for i1,…,iL∈{0,1,…,k−1}i_{1},\ldots,i_{L}\in\{0,1,\ldots,k-1\}. Taking the transpose of both sides we have:

Turning our attention to G(t)G(t), we may write it explicitly as:

where {wi,j(t)}i,j∈\{w_{i,j}(t)\}_{i,j\in} are the entries of WL:1(t)W_{L:1}(t). For m<km<k, note that when WL:1(m)(t)W_{L:1}^{(m)}(t) is symmetric so is G(m)(t)G^{(m)}(t). With this in hand, the inductive assumption (Equation (43)) implies that G(m)(0)G^{(m)}(0) is symmetric (for all m<km<k). Combined with Equation (44) (for m<km<k, from the inductive assumption), we may write Equation (45) for t=0t=0 as:

Reordering the sum according to hr:=iL−r+1h_{r}:=i_{L-r+1} and noticing that (k−1h1,…,hL)=(k−1i1,…,iL)\binom{k-1}{h_{1},\ldots,h_{L}}=\binom{k-1}{i_{1},\ldots,i_{L}}, we conclude:

It remains to show that WL:1(k)(0)W_{L:1}^{(k)}(0) is symmetric. Similarly to before, we take the kk’th derivative of WL:1(t):=WL(t)⋯W1(t)W_{L:1}(t):=W_{L}(t)\cdots W_{1}(t) using the product rule:

where ∑l=1Lil=k\sum_{l=1}^{L}i_{l}=k and (ki1,…,iL)=k!/(i1!⋯iL!)\binom{k}{i_{1},\ldots,i_{L}}=k!/(i_{1}!\cdots i_{L}!) for i1,…,iL∈{0,1,…,k}i_{1},\ldots,i_{L}\in\{0,1,\ldots,k\}. For convenience, we denote Bi1,…,iL(t):=(ki1,…,iL)∏1l=LWl(il)(t)B_{i_{1},\ldots,i_{L}}(t):=\binom{k}{i_{1},\ldots,i_{L}}\prod_{1}^{l=L}W_{l}^{(i_{l})}(t). Pairing up elements in the sum with indices (i1,…,iL)(i_{1},\ldots,i_{L}) that are a reverse order of each other, i.e. (i1,…,iL)(i_{1},\ldots,i_{L}) is paired with (iL,…,i1)(i_{L},\ldots,i_{1}):

With Equation (46) in place, we can conclude the proof by showing WL:1(k)(0)W_{L:1}^{(k)}(0) is a sum of symmetric matrices. By the inductive assumption for Equation (44), which was established in the first part of the proof for kk as well, we have:

for each (i1,…,iL)(i_{1},\ldots,i_{L}). Therefore, the matrix Bi1,…,iL(0)+BiL,…,i1(0)B_{i_{1},\ldots,i_{L}}(0)+B_{i_{L},\ldots,i_{1}}(0) is symmetric. Plugging Equation (47) into Equation (46) with t=0t=0, we arrive at a representation of WL:1(k)(0)W_{L:1}^{(k)}(0) as a sum of symmetric matrices. Thus, WL:1(k)(0)W_{L:1}^{(k)}(0) is symmetric, completing the proof. ∎

Under the setting of Lemma 20, assume that the matrices W1(0),…,WL(0)W_{1}(0),\ldots,W_{L}(0) form a symmetric factorization of WL:1(0)W_{L:1}(0) (Definition 4). Then, WL:1(t)W_{L:1}(t) is symmetric for all t≥0t\geq 0 .

By Lemmas 23 and 10, we may conclude that for all t≥0t\geq 0:

In words, W1(t),…,WL(t)W_{1}(t),\ldots,W_{L}(t) form a symmetric factorization of WL:1(t)W_{L:1}(t), and therefore WL:1(t)W_{L:1}(t) is symmetric (Lemma 22). ∎

Going back to the setting of Lemma 20 — initialization is balanced (Equation (5)), but does not necessarily comprise a symmetric factorization — we show that here too the product matrix remains symmetric throughout optimization. To do so, we first construct a factorization of WL:1(0)W_{L:1}(0) that is both balanced and symmetric, for which Lemma 24 ensures the product matrix stays symmetric throughout optimization. We then prove that the trajectories of the product matrix for the original and the modified initializations coincide.

Recall that WL:1(0)=α⋅IW_{L:1}(0)=\alpha\cdot I and define Wˉl(0):=α1L⋅I\bar{W}_{l}(0):=\alpha^{\frac{1}{L}}\cdot I for l∈[L]l\in[L]. It is easily verified that:

WL:1(0)=WˉL(0)⋯Wˉ1(0)W_{L:1}(0)=\bar{W}_{L}(0)\cdots\bar{W}_{1}(0).

Wˉl(0)=WˉL−l+1(0)⊤\bar{W}_{l}(0)=\bar{W}_{L-l+1}(0)^{\top} for l∈[L]l\in[L].

Wˉl+1(0)⊤Wˉl+1(0)=Wˉl(0)Wˉl(0)⊤\bar{W}_{l+1}(0)^{\top}\bar{W}_{l+1}(0)=\bar{W}_{l}(0)\bar{W}_{l}(0)^{\top} for l∈[L−1]l\in[L-1].

Meaning, Wˉ1(0),…,WˉL(0)\bar{W}_{1}(0),\ldots,\bar{W}_{L}(0) are balanced, and form a symmetric factorization of WL:1(0)W_{L:1}(0). Suppose the factors Wˉ1(t),…,WˉL(t)\bar{W}_{1}(t),\ldots,\bar{W}_{L}(t) follow the gradient flow dynamics, with initial values Wˉ1(0),…,WˉL(0)\bar{W}_{1}(0),\ldots,\bar{W}_{L}(0), and let WˉL:1(t):=WˉL(t)⋯Wˉ1(t)\bar{W}_{L:1}(t):=\bar{W}_{L}(t)\cdots\bar{W}_{1}(t) be the induced product matrix. From Lemma 24, it follows that WˉL:1(t)\bar{W}_{L:1}(t) is symmetric for all t≥0t\geq 0.

As characterized in (restated as Lemma 4), if the initial factors are balanced, the product matrix trajectory depends only on its initial value WL:1(0)W_{L:1}(0). Since both the original and modified initializations are balanced and have the same product matrix, they lead to the exact same trajectory. Thus, WL:1(t)=WˉL:1(t)W_{L:1}(t)=\bar{W}_{L:1}(t) for all t≥0t\geq 0, and specifically, WL:1(t)W_{L:1}(t) is symmetric.

The last step is to see that WL:1(t)W_{L:1}(t) is not only symmetric, but positive definite as well. Since its initial value WL:1(0)W_{L:1}(0) is positive definite, it suffices to show that its eigenvalues do not change sign. By Lemma 6, the determinant of WL:1(t)W_{L:1}(t) is positive for all tt. Specifically, the product matrix does not have zero eigenvalues. Recalling that WL:1(t)W_{L:1}(t) is an analytic function of tt (Lemma 7), Theorem 6.1 in implies that its eigenvalues are continuous in tt. Therefore, they can not change sign, as that would require them to pass through zero, concluding the proof. ∎

D.8 Proof of Theorem 2

The proof follows a similar line to that of Theorem 1 (Subappendix D.5), where the differences mostly stem from the fact that the solution set S~\widetilde{{\mathcal{S}}} (Equation (12)) is not confined to symmetric matrices, as opposed to the original S{\mathcal{S}} (Equation (7)), slightly complicating the computation of singular values. For the sake of the proof, as mentioned in Subappendix D.1, we omit the time index tt when stating results for all t≥0t\geq 0 or when clear from context. We also let {wi,j}i,j∈\{w_{i,j}\}_{i,j\in} denote the entries of the product matrix WL:1W_{L:1}.

We begin by deriving loss-dependent bounds for ∣w1,1∣,σ1(WL:1)\left\lvert w_{1,1}\right\rvert,\sigma_{1}(W_{L:1}) and σ2(WL:1)\sigma_{2}(W_{L:1}). The entries of WL:1W_{L:1} can be trivially bounded by the loss as follows:

Lemma 25 below, analogous to Lemma 18 from the proof of Theorem 1, characterizes the relation between ∣w1,1∣\left\lvert w_{1,1}\right\rvert and the loss.

We are now able to see that, indeed, the smaller ∣ϵ∣\left\lvert\epsilon\right\rvert is compared to ∣z⋅z′∣\left\lvert z\cdot z^{\prime}\right\rvert, the higher ∣w1,1∣\left\lvert w_{1,1}\right\rvert will be driven when the loss is minimized. With Lemma 25 in place, we are now able to bound the singular values of WL:1W_{L:1}.

The singular values of WL:1W_{L:1} fulfill:

Define WS~:=(w1,1z′zϵ)W_{\widetilde{{\mathcal{S}}}}:=\begin{pmatrix}w_{1,1}&z^{\prime}\\ z&\epsilon\end{pmatrix}, the orthogonal projection of WL:1W_{L:1} onto the solution set S~\widetilde{{\mathcal{S}}}. From Corollary 8.6.2 in we know that:

This means that any bound on the singular values of WS~W_{\widetilde{{\mathcal{S}}}} can be transferred to those of WL:1W_{L:1} (up to an additive loss-dependent term). It is straightforwardly verified that the squared singular values of WS~W_{\widetilde{{\mathcal{S}}}} are

Note that the term inside the square roots is non-negative for all w1,1,z,z′,ϵw_{1,1},z,z^{\prime},\epsilon. Since all elements in the expression for σ12(WS~)\sigma_{1}^{2}(W_{\widetilde{{\mathcal{S}}}}) are non-negative, we have σ1(WS~)≥(1/2)⋅∣w1,1∣\sigma_{1}(W_{\widetilde{{\mathcal{S}}}})\geq(1/\sqrt{2})\cdot\left\lvert w_{1,1}\right\rvert. Combining this with Equation (51) completes the lower bound for σ1(WL:1)\sigma_{1}(W_{L:1}).

where in the second transition we applied the inequality w1,12+z2+z′2≥(∣w1,1∣+∣z∣+∣z′∣)/3\sqrt{w_{1,1}^{2}+z^{2}+z^{\prime 2}}\geq(\left\lvert w_{1,1}\right\rvert+\left\lvert z\right\rvert+|z^{\prime}|)/\sqrt{3}, and in the third made use of the bound on ∣w1,1∣\left\lvert w_{1,1}\right\rvert (Lemma 25). Applying Corollary 8.6.2 from twice, once for the matrices WL:1W_{L:1} and WS~W_{\widetilde{{\mathcal{S}}}}, and another for WS~W_{\widetilde{{\mathcal{S}}}} and WS~0W_{\widetilde{{\mathcal{S}}}_{0}}, we have:

Turning our attention to ∥WL:1∥\left\|W_{L:1}\right\|, following the same steps as in the proof of Theorem 1 (Subappendix D.5.1) will lead to a generalized bound. By the triangle inequality:

Returning to Equation (54), applying the inequality above and the bound on ∣w1,1∣\left\lvert w_{1,1}\right\rvert (Lemma 25) we have:

Since ∥WL:1∥\left\|W_{L:1}\right\| is trivially lower bounded by zero, defining the constants

allows us, on the one hand, to arrive at a bound of the form:

D.8.2 Proof of Equation (14) (upper bound for effective rank)

The bounds on σ1(WL:1)\sigma_{1}(W_{L:1}) and σ2(WL:1)\sigma_{2}(W_{L:1}) in Lemma 26 give:

Combining the last two inequalities we have:

From Lemma 9 it holds that h(ρ2(WL:1))≤2ρ2(WL:1)h\left(\rho_{2}(W_{L:1})\right)\leq 2\sqrt{\rho_{2}(W_{L:1})}. Plugging this into the inequality above leads to:

D.8.3 Proof of Equation (15) (upper bound for distance from infimal rank)

The distance of the product matrix from the infimal rank of S~\widetilde{{\mathcal{S}}} is therefore D(WL:1(t),M1)=σ2(WL:1(t))D(W_{L:1}(t),{\mathcal{M}}_{1})=\sigma_{2}(W_{L:1}(t)). From Lemma 26 we have

D.8.4 Robustness to change in observed locations

Lastly, we prove that the established bounds (Equations (13), (14) and (15)) are robust to a change in observed locations. Let (i,j)∈×(i,j)\in\times be the unobserved entry’s location. Following proof steps analogous to those in Lemmas 25 and 26 — while recalling our assumption of det⁡(WL:1(0))\det(W_{L:1}(0)) having same sign as z⋅z′z\cdot z^{\prime} if i=ji=j and opposite sign otherwise — yields identical bounds on the unobserved entry and singular values of WL:1W_{L:1}. Since the derivations of Equations (13), (14) and (15) in Subappendices D.8.1, D.8.2 and D.8.3, respectively, rely solely on the aforementioned bounds, the proof concludes. ∎

D.9 Proof of Lemma 1

i.e. W1′,W2′,…,WL′W^{\prime}_{1},W^{\prime}_{2},\ldots,W^{\prime}_{L} are balanced.

Second, by induction over l∈[L]l\in[L], we prove that ∥Wl−Wl′∥F≤(l−1)⋅ϵ\left\|W_{l}-W^{\prime}_{l}\right\|_{F}\leq(l-1)\cdot\sqrt{\epsilon}. For l=1l=1 this is trivial, as W1′=W1W^{\prime}_{1}=W_{1} by definition. Assume that the bound holds for all j<lj<l. Expressing WlW_{l} and Wl′W^{\prime}_{l} in terms of {Ur,Vr,Σr}r=1l\{U_{r},V_{r},\Sigma_{r}\}_{r=1}^{l} yields:

The Frobenius norm is invariant to multiplication by orthogonal matrices. Thus, we may multiply by VlUl⊤V_{l}U_{l}^{\top} from the left:

Since the unbalancedness magnitude of W1,W2,…,WLW_{1},W_{2},\ldots,W_{L} is ϵ\epsilon, from the Powers-Størmer inequality (Lemma 4.1 in ) we know that:

Additionally, multiplying by Ul−1Vl−1⊤U_{l-1}V_{l-1}^{\top} from the right:

where the last inequality is by the inductive assumption. Going back to Equation (55), we conclude:

D.10 Proof of Lemma 2

By the Cauchy-Schwartz inequality and smoothness of f(⋅)f(\cdot), we have:

Let tˉ∈[0,T]\bar{t}\in[0,T], and suppose that there exists t0∈[0,tˉ]t_{0}\in[0,\bar{t}] for which g(t0)=0g(t_{0})=0. Consider the initial value problem induced by gradient flow over f(⋅)f(\cdot) starting from the point θ(t0)=θ′(t0)\theta(t_{0})=\theta^{\prime}(t_{0}). Since its solution on the interval [t0,tˉ][t_{0},\bar{t}] is unique (by the definition of θ(⋅),θ′(⋅)\theta(\cdot),\theta^{\prime}(\cdot) there exist a solution lying within D{\mathcal{D}}, and it not being unique would contradict, e.g., Theorem 2.2 in ), it holds that θ(t)=θ′(t)\theta(t)=\theta^{\prime}(t) for any t∈[t0,tˉ]t\in[t_{0},\bar{t}]. That is, Equation (19) trivially holds. Now assume that ∀t∈[0,tˉ]:g(t)>0\forall t\in[0,\bar{t}]:g(t)>0. Then:

Taking the square root of both sides in the latter inequality concludes the proof. ∎

D.11 Proof of Proposition 5

We note that the following proof does not depend on the dimensions of the deep matrix factorization (d0,d1,…,dLd_{0},d_{1},\ldots,d_{L}; see Section 3). That is, Proposition 5 holds for arbitrary dimensions, and is not limited to the square case where d0=d1=…=dLd_{0}=d_{1}=\ldots=d_{L}.

Let R′>0R^{\prime}>0, and define DR′:={(W1,W2,…,WL):∥(W1,W2,…,WL)∥F<R′}{\mathcal{D}}_{R^{\prime}}:=\{(W_{1},W_{2},\ldots,W_{L}):\left\|(W_{1},W_{2},\ldots,W_{L})\right\|_{F}<R^{\prime}\}. For any (W1,W2,…,WL)(W_{1},W_{2},\ldots,W_{L}) and (W1′,W2′,…,WL′)(W^{\prime}_{1},W^{\prime}_{2},\ldots,W^{\prime}_{L}) in DR′{\mathcal{D}}_{R^{\prime}}:

Plugging the inequality above into Equation (56), we conclude:

where the second inequality is by ∑l=1L∥Wl−Wl′∥F≤(L⋅∑l=1L∥Wl−Wl′∥F2)0.5\sum_{l=1}^{L}\left\|W_{l}-W^{\prime}_{l}\right\|_{F}\leq(L\cdot\sum_{l=1}^{L}\left\|W_{l}-W^{\prime}_{l}\right\|_{F}^{2})^{0.5}. That is, the objective ϕ(⋅)\phi(\cdot) is LR′L−2(2R′L+B)LR^{\prime L-2}\left(2R^{\prime L}+B\right)-smooth over DR′{\mathcal{D}}_{R^{\prime}}. For any tˉ∈[0,T]\bar{t}\in[0,T], from Lemma 2 we have that:

Notice that RR is finite (it is the supremum of a continuous function over a closed domain). Since the inequality above holds for all R′>RR^{\prime}>R, taking the limit R′→R+R^{\prime}\rightarrow R^{+} yields Equation (20). ∎

D.12 Proof of Lemma 3

Adding the transpose of the latter equality to itself, we have:

Hence, Wl+1(t)⊤Wl+1(t)−Wl(t)Wl(t)⊤=Wl+1(0)⊤Wl+1(0)−Wl(0)Wl(0)⊤W_{l+1}(t)^{\top}W_{l+1}(t)-W_{l}(t)W_{l}(t)^{\top}=W_{l+1}(0)^{\top}W_{l+1}(0)-W_{l}(0)W_{l}(0)^{\top} for all t≥0t\geq 0. Taking the nuclear norm of both sides and maximizing over l∈[L−1]l\in[L-1] yields the desired result. ∎

D.13 Proof of Theorem 3

The proof of Theorem 1 (Subappendix D.5) relies solely on the fact that det⁡(WL:1(t))\det(W_{L:1}(t)) remains positive through time. In particular, it establishes that the bounds on (quasi-)norms, effective rank and distance from infimal rank (Equations (8), (9) and (10) respectively) are guaranteed to hold for any t≥0t\geq 0 for which det⁡(WL:1(t))>0\det(W_{L:1}(t))>0. Therefore, if det⁡(WL:1(t))>0\det(W_{L:1}(t))>0 for all t≥0t\geq 0, the proof concludes. Otherwise, let T∈[0,∞)T\in[0,\infty) be the initial time for which det⁡(WL:1(T))=0\det(W_{L:1}(T))=0. Formally, define:

Since det⁡(WL:1(t))\det(W_{L:1}(t)) is continuous in tt, the set on the right hand side is non-empty, closed, and bounded from below. Thus, TT is well defined (i.e. −∞<T<∞-\infty<T<\infty), det⁡(WL:1(T))=0\det(W_{L:1}(T))=0, and det⁡(WL:1(t))>0\det(W_{L:1}(t))>0 for any t∈[0,T)t\in[0,T) (recall that by assumption the determinant is positive at initialization). That is, the results of Theorem 1 hold over [0,T)[0,T). Let:

The proof proceeds in two parts. First, assuming that max⁡l∈[L]∥Wl(t)∥F≤R\max_{l\in[L]}\left\|W_{l}(t)\right\|_{F}\leq R for any t∈[0,T]t\in[0,T], Subappendix D.13.1 establishes Equation (21) by deriving a lower bound on TT. Otherwise, if there exists t∈[0,T]t\in[0,T] with max⁡l∈[L]∥Wl(t)∥F>R\max_{l\in[L]}\left\|W_{l}(t)\right\|_{F}>R, Subappendix D.13.2 shows that Equations (22), (23) and (24) jointly hold for some tˉ∈[0,t]\bar{t}\in[0,t], completing the proof.

Fix an arbitrary t^∈[t0,T]\hat{t}\in[t_{0},T]. For conciseness, we hereinafter omit the time index in functions of tt at t^\hat{t}, e.g. WL:1W_{L:1} will be shorthand for WL:1(t^)W_{L:1}(\hat{t}). We now seek to derive a lower bound on ddtσ22(WL:1)\tfrac{d}{dt}\sigma_{2}^{2}(W_{L:1}). Integrating said bound will yield the desired result. By Lemmas 3 and 1, there exist balanced matrices W1′,W2′,…,WL′W^{\prime}_{1},W^{\prime}_{2},\ldots,W^{\prime}_{L} satisfying:

Applying Lemma 12, and noticing that max⁡l∈[L]∥Wl′∥F≤R+(L−1)⋅ϵ≤R+1\max_{l\in[L]}\left\|W^{\prime}_{l}\right\|_{F}\leq R+(L-1)\cdot\sqrt{\epsilon}\leq R+1, we bound the distance between the induced product matrices:

We turn our attention to ∣ddtσ2(WL:1)2−ddtσ2(WL:1′)2∣\left\lvert\tfrac{d}{dt}\sigma_{2}(W_{L:1})^{2}-\tfrac{d}{dt}\sigma_{2}(W^{\prime}_{L:1})^{2}\right\rvert. Recalling that WL:1W_{L:1} is a 22-by-22 matrix, its minimal squared singular value can be written as:

Differentiating with respect to time, while noticing that (∥WL:1∥F4−4det⁡(WL:1)2)0.5=σ1(WL:1)2−σ2(WL:1)2(\left\|W_{L:1}\right\|_{F}^{4}-4\det(W_{L:1})^{2})^{0.5}=\sigma_{1}(W_{L:1})^{2}-\sigma_{2}(W_{L:1})^{2}, we obtain:

with AWL:1:=((WL:1)2,2−(WL:1)2,1−(WL:1)1,2(WL:1)1,1)A_{W_{L:1}}:=\left(\begin{smallmatrix}(W_{L:1})_{2,2}&-(W_{L:1})_{2,1}\\ -(W_{L:1})_{1,2}&(W_{L:1})_{1,1}\end{smallmatrix}\right). The same derivation holds for ddtσ2(WL:1′)\tfrac{d}{dt}\sigma_{2}(W^{\prime}_{L:1}), with WL:1′W^{\prime}_{L:1} in place of WL:1W_{L:1}. Applying the triangle inequality, ∣ddtσ2(WL:1)2−ddtσ2(WL:1′)2∣\left\lvert\tfrac{d}{dt}\sigma_{2}(W_{L:1})^{2}-\tfrac{d}{dt}\sigma_{2}(W^{\prime}_{L:1})^{2}\right\rvert is upper bounded by the sum of the expressions in Equations (62), (63) and (64) below:

Lemmas 28, 29 and 30 (with the aid of Lemma (27)) derive upper bounds for the expressions in Equations (62), (63) and (64), respectively. Then, putting it all together, we arrive at:

Going back to Equation (61), this implies that:

We are now in a position to achieve the sought-after lower bound on TT. If L=2L=2, according to Lemma 16:

Similarly, for depth L≥3L\geq 3, Lemma 16 gives the following lower bound:

Noticing that bL,R−1≤2−(5L+5)b_{L,R}^{-1}\leq 2^{-(5L+5)}, and replacing aL,R,bL,Ra_{L,R},b_{L,R} with their explicit expressions, we arrive at:

In the context of the proof for Equation (21) (Subappendix D.13.1), the following inequalities hold:

Starting with Equation (65), the derivative of WL:1W_{L:1} with respect to time is:

Next, Equation (67) is straightforwardly derived using a perturbation bound on the singular values (Corollary 8.6.2 in ):

where the last transition is by Equation (60). The same derivation shows that a similar inequality holds for σ2(⋅)\sigma_{2}(\cdot), establishing Equation (67):

In the context of the proof for Equation (21) (Subappendix D.13.1):

Starting with the former inequality, adding and subtracting ⟨WL:1′,ddtWL:1⟩\left\langle{W^{\prime}_{L:1}},{\frac{d}{dt}W_{L:1}}\right\rangle, followed by the triangle and Cauchy-Schwartz inequalities, we have that ∣⟨WL:1,ddtWL:1⟩−⟨WL:1′,ddtWL:1′⟩∣\left\lvert\left\langle{W_{L:1}},{\frac{d}{dt}W_{L:1}}\right\rangle-\left\langle{W^{\prime}_{L:1}},{\frac{d}{dt}W^{\prime}_{L:1}}\right\rangle\right\rvert is bounded by:

From Equation (60) we know that ∥WL:1−WL:1′∥F≤(1/2)L2(R+1)L−1⋅ϵ\left\|W_{L:1}-W^{\prime}_{L:1}\right\|_{F}\leq(1/2)L^{2}(R+1)^{L-1}\cdot\sqrt{\epsilon}. Additionally, by sub-multiplicativity of the Frobenius norm, ∥WL:1′∥F≤(R+1)L\left\|W^{\prime}_{L:1}\right\|_{F}\leq(R+1)^{L}. Applying Equations (65) and (66) from Lemma 27, we conclude:

For ∣⟨AWL:1,ddtWL:1⟩−⟨AWL:1′,ddtWL:1′⟩∣\left\lvert\left\langle{A_{W_{L:1}}},{\frac{d}{dt}W_{L:1}}\right\rangle-\left\langle{A_{W^{\prime}_{L:1}}},{\frac{d}{dt}W^{\prime}_{L:1}}\right\rangle\right\rvert, similar proof steps establish the same upper bound since ∥AWL:1−AWL:1′∥F=∥WL:1−WL:1′∥F\left\|A_{W_{L:1}}-A_{W^{\prime}_{L:1}}\right\|_{F}=\left\|W_{L:1}-W^{\prime}_{L:1}\right\|_{F} and ∥AWL:1′∥F=∥WL:1′∥F\left\|A_{W^{\prime}_{L:1}}\right\|_{F}=\left\|W^{\prime}_{L:1}\right\|_{F}. ∎

In the context of the proof for Equation (21) (Subappendix D.13.1):

By Equation (68), it suffices to show that:

where αWL:1:=∥WL:1∥F2⟨WL:1,ddtWL:1⟩\alpha_{W_{L:1}}:=\left\|W_{L:1}\right\|_{F}^{2}\left\langle{W_{L:1}},{\frac{d}{dt}W_{L:1}}\right\rangle, and αWL:1′\alpha_{W^{\prime}_{L:1}} is defined similarly for WL:1′W^{\prime}_{L:1}. Focusing on the expression in absolute value, adding and subtracting (σ1(WL:1)2−σ2(WL:1)2)αWL:1(\sigma_{1}(W_{L:1})^{2}-\sigma_{2}(W_{L:1})^{2})\alpha_{W_{L:1}}, and applying the triangle inequality, leads to:

We consider each of these terms separately. From Equation (67) in Lemma 27 we know that ∣σ1(WL:1′)2−σ2(WL:1′)2−(σ1(WL:1)2−σ2(WL:1)2∣≤2L2(R+1)2L−1⋅ϵ\left\lvert\sigma_{1}(W^{\prime}_{L:1})^{2}-\sigma_{2}(W^{\prime}_{L:1})^{2}-(\sigma_{1}(W_{L:1})^{2}-\sigma_{2}(W_{L:1})^{2}\right\rvert\leq 2L^{2}(R+1)^{2L-1}\cdot\sqrt{\epsilon}. Equation (65) and the Cauchy-Schwartz inequality give:

Additionally, ∣σ1(WL:1)2−σ2(WL:1)2∣≤σ1(WL:1)2+σ2(WL:1)2=∥WL:1∥F2≤(R+1)2L\left\lvert\sigma_{1}(W_{L:1})^{2}-\sigma_{2}(W_{L:1})^{2}\right\rvert\leq\sigma_{1}(W_{L:1})^{2}+\sigma_{2}(W_{L:1})^{2}=\left\|W_{L:1}\right\|_{F}^{2}\leq(R+1)^{2L}. By adding and subtracting ∥WL:1′∥F2⟨WL:1,ddtWL:1⟩\left\|W^{\prime}_{L:1}\right\|_{F}^{2}\left\langle{W_{L:1}},{\frac{d}{dt}W_{L:1}}\right\rangle, we may upper bound ∣αWL:1−αWL:1′∣\left\lvert\alpha_{W_{L:1}}-\alpha_{W^{\prime}_{L:1}}\right\rvert by:

where the third transition is due to Equations (60), (65), and Lemma 28. Putting it all together, the expression in Equation (69) is upper bounded by:

In the context of the proof for Equation (21) (Subappendix D.13.1):

The proof follows a line similar to that of Lemma 29. Applying the bound from Equation (68) in Lemma 27, we arrive at the following upper bound for the left hand side above:

where βWL:1:=det⁡(WL:1)⟨AWL:1,ddtWL:1⟩\beta_{W_{L:1}}:=\det(W_{L:1})\left\langle{A_{W_{L:1}}},{\frac{d}{dt}W_{L:1}}\right\rangle, and βWL:1′\beta_{W^{\prime}_{L:1}} is defined similarly for WL:1′W^{\prime}_{L:1}. Focusing on the expression in absolute value, we add and subtract (σ1(WL:1)2−σ2(WL:1)2)βWL:1(\sigma_{1}(W_{L:1})^{2}-\sigma_{2}(W_{L:1})^{2})\beta_{W_{L:1}} and apply the triangle inequality:

We treat each of the four terms separately. From Equation (67) in Lemma 27 we know that:

Since ∣det⁡(WL:1)∣=σ1(WL:1)⋅σ2(WL:1)≤∥WL:1∥F2\left\lvert\det(W_{L:1})\right\rvert=\sigma_{1}(W_{L:1})\cdot\sigma_{2}(W_{L:1})\leq\left\|W_{L:1}\right\|_{F}^{2}, the Cauchy-Schwartz inequality and Equation (65) from Lemma 27 give:

Furthermore, ∣σ1(WL:1)2−σ2(WL:1)2∣≤∥WL:1∥F2≤(R+1)2L\left\lvert\sigma_{1}(W_{L:1})^{2}-\sigma_{2}(W_{L:1})^{2}\right\rvert\leq\left\|W_{L:1}\right\|_{F}^{2}\leq(R+1)^{2L}. The remaining term is ∣βWL:1−βWL:1′∣\left\lvert\beta_{W_{L:1}}-\beta_{W^{\prime}_{L:1}}\right\rvert. Adding and subtracting det⁡(WL:1′)⟨AWL:1,ddtWL:1⟩\det(W^{\prime}_{L:1})\left\langle{A_{W_{L:1}}},{\frac{d}{dt}W_{L:1}}\right\rangle, it can be upper bounded by:

From Lemma 28 we have that ∣⟨AWL:1,ddtWL:1⟩−⟨AWL:1′,ddtWL:1′⟩∣≤6L3(R+1)4L−3⋅ϵ\left\lvert\left\langle{A_{W_{L:1}}},{\frac{d}{dt}W_{L:1}}\right\rangle-\left\langle{A_{W^{\prime}_{L:1}}},{\frac{d}{dt}W^{\prime}_{L:1}}\right\rangle\right\rvert\leq 6L^{3}(R+1)^{4L-3}\cdot\sqrt{\epsilon}. Furthermore, Theorem 2.12 in implies that:

Thus, with the use of Equations (60) and (65), we have:

Put together, the expression in Equation (70) is upper bounded by:

D.13.2 Proof of Equations (22), (23) and (24) (if weight matrices are not bounded by R𝑅R)

Assume that there exists t∈[0,T]t\in[0,T] with max⁡l∈[L]∥Wl(t)∥F>R\max_{l\in[L]}\left\|W_{l}(t)\right\|_{F}>R. We examine the initial time at which the Frobenius norm of one of the weight matrices reaches RR. Formally, define:

Since R≥max⁡l∈[L]∥Wl(0)∥FR\geq\max_{l\in[L]}\left\|W_{l}(0)\right\|_{F} — implied by the assumption on ϵ\epsilon — and W1(t),W2(t),…,WL(t)W_{1}(t),W_{2}(t),\ldots,W_{L}(t) are continuous functions of tt, the set on the right hand side is non-empty and compact. Hence, tˉ\bar{t} is well defined (i.e. −∞<tˉ<∞-\infty<\bar{t}<\infty), with max⁡l∈[L]∥Wl(tˉ)∥F=R\max_{l\in[L]}\left\|W_{l}(\bar{t})\right\|_{F}=R.

Next, we derive a lower bound on ∣(WL:1(tˉ))1,1∣\left\lvert(W_{L:1}(\bar{t}))_{1,1}\right\rvert — the absolute value of the unobserved entry. According to Lemmas 3 and 1, there exist balanced matrices W1′,W2′,…,WL′W^{\prime}_{1},W^{\prime}_{2},\ldots,W^{\prime}_{L} satisfying:

Applying Lemma 12, and noticing that max⁡l∈[L]∥Wl′∥F≤R+(L−1)⋅ϵ≤R+1\max_{l\in[L]}\left\|W^{\prime}_{l}\right\|_{F}\leq R+(L-1)\cdot\sqrt{\epsilon}\leq R+1, we bound the distance between the induced product matrices:

Since W1′,W2′,…,WL′W^{\prime}_{1},W^{\prime}_{2},\ldots,W^{\prime}_{L} are balanced, they have the same singular values. In particular, this means that ∥Wl′∥F=∥Wl′′∥F\left\|W^{\prime}_{l}\right\|_{F}=\left\|W^{\prime}_{l^{\prime}}\right\|_{F} for any l,l′∈[L]l,l^{\prime}\in[L]. Additionally, by Lemma 8 we know that σ1(WL:1′)=σ1(W1′)L\sigma_{1}(W^{\prime}_{L:1})=\sigma_{1}(W^{\prime}_{1})^{L}. Thus:

where the last transition is by Equation (71) and the fact that max⁡l∈[L]∥Wl(tˉ)∥F=R\max_{l\in[L]}\left\|W_{l}(\bar{t})\right\|_{F}=R. The inequality above, combined with Equation (72), leads to:

From the definition of RR it holds that ϵ≤min⁡{((1−1/2)⋅RL−1)2,(R/2)2LL4(R+1)2L−2}\epsilon\leq\min\left\{\left(\frac{(1-1/\sqrt{2})\cdot R}{L-1}\right)^{2},\frac{(R/2)^{2L}}{L^{4}(R+1)^{2L-2}}\right\}, and therefore:

Combined with Equation (73), we have that:

We are now in a position to establish Equations (22), (23) and (24). Starting with Equation (22), for any quasi-norm ∥⋅∥\left\|\cdot\right\| it holds that:

where c∥⋅∥≥1c_{\left\|\cdot\right\|}\geq 1 is a constant for which ∥⋅∥\left\|\cdot\right\| satisfies the weakened triangle inequality (see Footnote 2). Subsequent applications of the weakened triangle inequality, together with homogeneity of ∥⋅∥\left\|\cdot\right\| and the bounds on the observed entries (Equation (74)), give:

Plugging the inequality above into Equation (76), and lower bounding ∣(WL:1(tˉ))1,1∣\left\lvert(W_{L:1}(\bar{t}))_{1,1}\right\rvert according to Equation (75), we have:

The assumption on the size of ϵ\epsilon implies that R≥32R\geq 32. Hence:

Applying Equation (78) to Equation (77), we obtain:

For clarity, we simplify the exponents in the lower bound above. In the case of L=2L=2, we use the fact that 231/3≤2112^{31/3}\leq 2^{11}. For L≥3L\geq 3, noticing that 2L/(2L−1)≤6/52L/(2L-1)\leq 6/5 and (5L2+4L−1)/(2L−1)≤4L(5L^{2}+4L-1)/(2L-1)\leq 4L completes the proof of Equation (22).

We now lower bound ρ1(WL:1(tˉ)):=σ1(WL:1(tˉ))/(σ1(WL:1(tˉ))+σ2(WL:1(tˉ)))\rho_{1}(W_{L:1}(\bar{t})):=\sigma_{1}(W_{L:1}(\bar{t}))/(\sigma_{1}(W_{L:1}(\bar{t}))+\sigma_{2}(W_{L:1}(\bar{t}))) as follows:

Applying the lower bound on RR from Equation (78), we arrive at:

In the case of L=2L=2, we simplify the upper bound using the fact that 223/3/ln⁡(2)≤292^{23/3}/\ln(2)\leq 2^{9}. For L≥3L\geq 3, noticing that L/(2L−1)≤1L/(2L-1)\leq 1 and (5L2+14L−6)/(4L−2)≤2L+4(5L^{2}+14L-6)/(4L-2)\leq 2L+4 establishes Equation (23).

Finally, we turn our attention to the upper bound for distance from infimal rank (Equation (24)). By Proposition 2, the infimal rank of S{\mathcal{S}} is 11. Therefore, Lemma 31 yields:

Applying the lower bound on RR from Equation (78), we arrive at:

In the case of L=2L=2, we simplify the upper bound using the fact that 234/3≤2122^{34/3}\leq 2^{12}. For L≥3L\geq 3, noticing that 2L/(2L−1)≤6/52L/(2L-1)\leq 6/5 and (5L2+6L−2)/(2L−1)≤3L+4(5L^{2}+6L-2)/(2L-1)\leq 3L+4 concludes the proof of Equation (24). ∎

In the context of the proof for Equations (22), (23) and (24) (Subappendix D.13.2), the singular values of WL:1(tˉ)W_{L:1}(\bar{t}) fulfill:

Define WS:=((WL:1(tˉ))1,1110)W_{\mathcal{S}}:=\begin{pmatrix}(W_{L:1}(\bar{t}))_{1,1}&1\\ 1&0\end{pmatrix}, the orthogonal projection of WL:1(tˉ)W_{L:1}(\bar{t}) onto the solution set S{\mathcal{S}} (Equation (7)). Suppose that (WL:1(tˉ))1,1≥0(W_{L:1}(\bar{t}))_{1,1}\geq 0. The largest singular value of WSW_{\mathcal{S}} can be written as:

Thus, lower bounding (WL:1(tˉ))1,1(W_{L:1}(\bar{t}))_{1,1} with Equation (75), and noticing that (WL:1(tˉ))1,12+4≥16(W_{L:1}(\bar{t}))_{1,1}^{2}+4\geq 16, leads to σ1(WS)≥RL/2L+2\sigma_{1}(W_{\mathcal{S}})\geq R^{L}/2^{L+2}. Analogously, for the smallest singular value of WSW_{\mathcal{S}} we have:

By similar arguments, Equation (80) holds when (WL:1(tˉ))1,1<0(W_{L:1}(\bar{t}))_{1,1}<0 as well. ∎