Effects of Depth, Width, and Initialization: A Convergence Analysis of Layer-wise Training for Deep Linear Neural Networks

Yeonjong Shin

Introduction

Deep learning has drawn a lot of attention from both academia and industry due to its tremendous empirical success in various applications . One of the key components in the success of deep learning is the intriguing ability of gradient-based optimization methods. Despite of the non-convex and non-smooth nature of the loss function, it somehow finds a local (or global) minimum, which performs well in practice. Mathematical analysis of this phenomenon has been undertaken. There are several theoretical works, which show that under the assumption of over-parameterization, more precisely, very wide networks, the (stochastic) gradient descent algorithm finds a global minimum . These theoretical progresses have its own importance, however, it does not directly help practitioners to have better training results. This is mainly because there are still many parameters to be determined a priori; learning rate, the depth of network, the width of intermediate layers, optimization algorithms with its own internal parameters, to name just a few. The learning rates from existing theoretical works are not applicable in practice. For example, when a fully-connected ReLU network of depth 10 is trained over 1,000 training data, theoretically guaranteed learning rate is either η≈110002⋅210≈10−9\eta\approx\frac{1}{1000^{2}\cdot 2^{10}}\approx 10^{-9} or η≈110004⋅102≈10−14\eta\approx\frac{1}{1000^{4}\cdot 10^{2}}\approx 10^{-14} . Thus, practitioners typically choose these aforementioned parameters by either a grid search or trial and error.

Despite its expressive power, training deep neural networks is not an easy task. It has been widely known that the deeper the network is, the harder it is to be trained . Empirical success of deep learning heavily relies on numerous engineering tricks used in the training process. These includes but not limited to dropout , dropconnect , batch-normalization , weight-normalization , pre-training , and data augmentation . Although these techniques are shown to be effective in many machine learning applications, it lacks rigorous justifications and hinders a thorough mathematical understanding of the training process of deep learning. The layer-wise training is an alternative to the standard end-to-end back-propagation, especially for training deep neural networks. The underlying principle is to train only a few layers (or a single layer) at a time, rather than train the whole layers simultaneously. This approach is not new and has been proposed in several different contexts. One stream of layer-wise training is adaptive training. At each stage, only a few layers (or a single) are trained. Once training is done, new layers are added. By fixing all the previously trained layers for the rest of the training, only newly added layers are trained. This procedure is repeated. The works of this direction include . Another stream of layer-wise training is the block coordinate descent (BCD) method . The BCD is a Gauss-Seidel type of gradient-free methods, which trains each layer at a time by freezing all other layers, in a sequential order. Thus, all layers are updated once in every sweep of training. This paper concerns with the layer-wise training in this line of approach. In , layer-wise training is employed as a pretraining strategy.

Deep linear network (DLN) is a neural network that uses linear activation functions. Although DLN is not a popular choice in practice, it is an active research subject as it is a class of decent simplified models for understanding the deep neural network with non-linear activation functions . DLN has a trivial representation power (product of weight matrices), however, its training process is not trivial at all. It has been studied the loss surface of DLNs and it is shown that although the loss surface is not convex, there are no spurious local minima. The works of studied a convergence analysis of gradient descent for DLNs, under various settings. showed that under some assumptions, the gradient descent finds a global optimum. The learning rate from the analysis, however, is not applicable in practice as it requires prior knowledge of the global minimizer. The theoretically guaranteed learning rate of should meet η≤c(4L−2)/L6144L3∥W∗∥F(6L−4)/L\eta\leq\frac{c^{(4L-2)/L}}{6144L^{3}\|\bm{W}^{*}\|_{F}^{(6L-4)/L}}, where W∗\bm{W}^{*} is the global minimizer, cc is a constant related to the initial error, and LL is the depth. showed that under the assumptions of Gaussian random initialization, and severely wide networks, the gradient descent finds a global optimum. The learning rate from the analysis of does not require any prior knowledge of W∗\bm{W}^{*} and can be applied in practice. However, we found that it leads divergence of GD in all of our tests. The theoretically guaranteed width of is too large to be used. For example, if the condition number of the input data matrix (full rank) is 100100, the width should be at least (1002)3=1012(100^{2})^{3}=10^{12}.

In this paper, we study a layer-wise training for DLNs using a block coordinate gradient descent (BCGD) . Similar to BCD, the BCGD trains each layer at a time in a sequential order by freezing all other layers at their last updated values. However, a key difference is the use of gradient descent in every update. We aim to identify the effects of depth, width, and initialization in the training process through the lens of DLNs. We first establish a general convergence analysis and found the optimal learning rate, which leads to the fastest decrease in the loss for the next iterate. More importantly, the optimal learning rate can directly be applied in practice. Neither trial and error nor a grid search for tuning parameters are required. To illustrate the performance of BCGD with the optimal learning rate, we consider a learning task of fitting 600 data (see Section 4.1 for details) and plot the training loss trajectories by BCGD and GD in Figure 1. Despite the fact that BCGD updates only a single matrix per iteration, while GD updates all the weight matrices per iteration, we clearly see that BCGD converges drastically faster than GD. The learning rates for GD are found by trial-and-error.

Next, we show that when the orthogonal-like initialization is employed, as long as the width of intermediate layers is greater than or equal to both the input and output dimensions, the width plays no role in any gradient-based training. Also, we rigorously prove that when (i) the orthogonal-like initialization is used, (ii) the initial loss is sufficiently small, whenever the depth is sufficiently large, the convergence to the global optimum (within machine accuracy) is guaranteed by updating each weight matrix only once. Furthermore, we found that a well-chosen depth could result in a significant acceleration in convergence when it is compared to those of a single layer, even when the computational cost is considered. This clearly demonstrates the benefit of using deep networks (over-parameterization via depth). Similar behavior was empirically reported in as implicit acceleration.

Lastly, we establish a convergence analysis of the block coordinate stochastic gradient descent (BCSGD). Our analysis indicates that the BCSGD cannot reach the global optimum, however, the converged loss will be staying close to the global optimum. This can be understood as an implicit regularization, which avoids over-fitting.

The rest of paper is organized as follows. In Section 2, we present the mathematical setup and introduce the block coordinate (stochastic) gradient descent. We then present a general convergence analysis and the optimal learning rate in Section 3. In Section 4, several numerical examples using both synthetic and real data sets are presented to demonstrate the effectiveness of the layer-wise training by BCGD and justify our theoretical findings.

Setup and Preliminary

Given a set of training data T={(xi,yi)}i=1m\mathcal{T}=\{(\textbf{x}^{i},\textbf{y}^{i})\}_{i=1}^{m}, the goal is to learn the parameters {Wj}j=1L\{\bm{W}_{j}\}_{j=1}^{L} which minimize the loss function L(θ)\mathcal{L}(\bm{\theta}) defined by

respectively. Here ∥⋅∥2\|\cdot\|_{2} is the Euclidean norm, ∥⋅∥F\|\cdot\|_{F} is the Frobenius norm, σmax⁡(⋅)\sigma_{\max}(\cdot) is the largest singular value, and σr(⋅)\sigma_{r}(\cdot) is the rr-th largest singular value. Also, we denote the min⁡{m,n}\min\{m,n\}-th largest singular value by σmin⁡(⋅)\sigma_{\min}(\cdot). When r=min⁡{m,n}r=\min\{m,n\}, we simply write the condition number as κ(⋅)\kappa(\cdot).

2 Block Coordinate Gradient Descent

If kj(k)=k\text{k}_{j}^{(k)}=k for all jj, we write Wi:j(k):=Wi(k)Wi−1(k)⋯Wj(k)\bm{W}_{i:j}^{(k)}:=\bm{W}_{i}^{(k)}\bm{W}_{i-1}^{(k)}\cdots\bm{W}_{j}^{(k)} for 1≤j<i≤L1\leq j<i\leq L. For notational completeness, we set Wi:j=I\bm{W}_{i:j}=\bm{I} whenever i<ji<j. Also, we simply write WL:1k\bm{W}_{L:1}^{\textbf{k}} as Wk\bm{W}^{\textbf{k}}.

3 Initialization

Let A\bm{A} be a matrix of size m×nm\times n and B\bm{B} be of size k×sk\times s where m≥k,n≥sm\geq k,n\geq s. We say A\bm{A} is equivalent to B\bm{B} upto zero-valued padding if

Here In\bm{I}_{n} is the identity matrix of size nn. We consider the following weight initialization schemes.

Orthogonal Initialization : Wj(0)≊Qmin⁡{nj,nj−1}j\bm{W}_{j}^{(0)}\approxeq\bm{Q}^{j}_{\min\{n_{j},n_{j-1}\}} for all 1≤j≤L1\leq j\leq L, where Qn\bm{Q}_{n} is an orthogonal matrix of size nn.

Orth-Identity Initialization: Wj(0)≊1Qmin⁡{nj,nj−1,max⁡{n0,nL}}j\bm{W}_{j}^{(0)}\approxeq_{1}\bm{Q}^{j}_{\min\{n_{j},n_{j-1},\max\{n_{0},n_{L}\}\}} for 1≤j≤L1\leq j\leq L. This is a special case of orthogonal initialization that is proposed in the present work.

Identity Initialization : Wj(0)≊Imin⁡{nj,nj−1}\bm{W}_{j}^{(0)}\approxeq\bm{I}_{\min\{n_{j},n_{j-1}\}} for 1≤j≤L1\leq j\leq L.

Random Initialization: (Wj(0))ik∼N(0,σj2)(\bm{W}_{j}^{(0)})_{ik}\sim N(0,\sigma_{j}^{2}) for all 1≤j≤L1\leq j\leq L. Often σj2\sigma_{j}^{2} is chosen to 1/nj−11/n_{j-1} so that the expected value of the square norm of each row is 1.

The orth-indentity initialization can be viewed as a hybrid initialization between the orthogonal and the identity initialization schemes. This paper primarily concerns with the orth-indentity initialization.

Convergence Analysis

In this section, we present a convergence analysis of BCGD and establish the optimal learning rate. The optimality is defined to be the learning rate which results in the fastest decrease in the loss at the current parameters. The standard L2L_{2}-loss will be mainly discussed. However, we also present a convergence result for general differentiable convex loss functions whose gradient are Lipshitz continuous in a bounded domain, such as LpL_{p}-loss where pp is even. We measure the approximation error in terms of the distance to the global optimum. For example, when the L2L_{2}-loss is employed, the error is L(Wkk)−L(W∗)=∥WkkX−W∗X∥F2\mathcal{L}(\bm{W}^{\textbf{k}_{k}})-\mathcal{L}(\bm{W}^{*})=\|\bm{W}^{\textbf{k}_{k}}\bm{X}-\bm{W}^{*}\bm{X}\|_{F}^{2}.

We first identify the effects of width in DLNs in gradient-based training under either the orth-identity or the balanced initialization (Section 2.3).

Theorem 3.1 implies that the width does not play any role in gradient-based training if the condition of (5) is met and the weight matrices are initialized in a certain manner.

However, the same conclusion does not follow if the random initialization is employed. This indicates that the role of width highly depends on how the weight matrices are initialized. With a proper initialization, over-parameterization by the width can be avoided.

We first focus on the standard L2L_{2} loss function and present a general convergence analysis of BCGD. We do not make any assumptions other than range(YX†)⊂range(WL(0))\text{range}(\bm{Y}\bm{X}^{\dagger})\subset\text{range}(\bm{W}_{L}^{(0)}). We follow the convention of 0×∞=1∞=0×10=00\times\infty=\frac{1}{\infty}=0\times\frac{1}{0}=0.

where W∗=YX†\bm{W}^{*}=\bm{Y}\bm{X}^{\dagger}, rx=rank(X)r_{x}=\text{rank}(\bm{X}), r=dim⁡(K)r=\dim(K), and

Furthermore, the optimal learning rate is

and with the optimal learning rate of (8), we obtain

The optimality of (8) should be understood in the sense that it gives the smallest loss for the next iterate.

In order for an iteration of BCGD to strictly decrease the approximation error, it is important to guarantee the condition of

In what follows, we show that if the initial approximation error is sufficiently close to the global optimum under the orth-identity initialization (Section 2.3), the convergence to the global optimum is guaranteed at a linear rate by the layer-wise training (BCGD).

and RL=2(5L−3)+(5L−3)2−4LR_{L}=\frac{2}{(5L-3)+\sqrt{(5L-3)^{2}-4L}}. Then, with the learning rates of (6), the kk-th sweep of BCGD satisfies

where γ=1−η5κ2(X)\gamma=1-\frac{\eta}{5\kappa^{2}(\bm{X})} and 0<η≤10<\eta\leq 1.

By Lemma 3.7, the proof readily follows from Theorem 3.3.

Under the same conditions of Theorem 3.5, we have

We remark that the rate of convergence for a single sweep is γ2L\gamma^{2L}. When the speed of convergence is measured against the number of sweeps, this implies that the deeper the network is, the faster convergence is obtained. Thus, if the depth of a linear network is sufficiently large, the global optimum can be reached (within machine accuracy) by the layer-wise training (BCGD) after updating each weight matrix only once. Also, we note that the work of also has a similar initialization condition.

Theorem 3.5 relies on the assumption that the initial approximation is sufficiently close to the global optimum W∗X\bm{W}^{*}\bm{X} in terms of X\bm{X}, σmin⁡(W∗X)\sigma_{\min}(\bm{W}^{*}\bm{X}) and the depth LL. As a special case of dout=1d_{\text{out}}=1, a similar result can be obtained without this restriction.

where cc is defined in (10) and 0<η≤10<\eta\leq 1. Then, the kk-th sweep of descending BCGD with the learning rate of (6) satisfies

where γ=1−η5κ2(X)\gamma=1-\frac{\eta}{5\kappa^{2}(\bm{X})}.

2 Convergence of BCGD for general convex loss function

We present a general convergence analysis of the layer-wise training (BCGD) for convex differentiable loss functions. For general loss functions, let W∗\bm{W}^{*} be the solution to min⁡WL(W)\min_{\bm{W}}\mathcal{L}(\bm{W}). For a matrix AA, the matrix Lp,qL_{p,q} norm is defined by

and the max norm is ∥A∥max⁡=max⁡i,j∣aij∣\|A\|_{\max}=\max_{i,j}|a_{ij}|.

Note that when p=2p=2, the above is identical to the optimal learning rate of (8).

3 Convergence of BCSGD

In this subsection, a convergence analysis of BCSGD (16) is presented with the standard L2L_{2}-loss.

Given a discrete random variable i∼πi\sim\bm{\pi} on [m][m], we denote the expectation with respect to ii conditioned on all other previous random variables by Ei\mathbf{E}_{i}.

Then, the approximation by BCSGD (16) with the learning rates of

This indicates that unlike the BCGD, if a randomly chosen datum is used to update a weight matrix, an extra term, which is proportional to L(W∗)\mathcal{L}(\bm{W}^{*}), is introduced in both upper and lower bounds of the expected error. Therefore, the BCSGD would not achieve the global optimum, unless L(W∗)=0\mathcal{L}(\bm{W}^{*})=0. However, the expected loss by BCSGD will be within the distance proportional to L(W∗)\mathcal{L}(\bm{W}^{*}) from L(W∗)\mathcal{L}(\bm{W}^{*}). In practice, L(W∗)\mathcal{L}(\bm{W}^{*}) will almost never be zero. This indicates that the stochasticity introduced by the random selection of mini-batch (of size 1) results in an implicit regularization effect, which avoids over-fitting. We defer further characterization of BCSGD to future work.

Remark: The proposed stochastic gradient-descent in Theorem 3.13 can be viewed as a generalized version of the sampling used in .

Numerical Examples

In what follows, we employ the layer-wise training by BCGD for deep linear neural networks. The learning rate is chosen to be (near) optimal according to (14). We emphasize that the (near) optimal learning rate of (14) does not require any prior knowledge, and can completely be determined by the loss function, the current weight matrices and the input data matrix. This allows us to avoid a cumbersome grid-search over learning rate. When the L2L_{2}-loss is employed, the optimal learning rate of (8) is identical to the one of (14).

1.2 Big Condition number

We now consider the input data matrix X\bm{X} whose condition number is rather big. To do this, we first generate X\bm{X} as in the above and conduct the singular value decomposition. We then assign randomly generated numbers from 10−5+U(0,1)10^{-5}+\mathcal{U}(0,1) to the singular values. In our experiment, the condition number of X\bm{X} was 236. The output data matrix Y\bm{Y} is generated in the same way as before. In Figure 3, the approximation errors are plotted with respect to the number of (left) sweeps and (right) iterations of the descending BCGD at different depths L=1,3,5,7,9,11L=1,3,5,7,9,11. When the speed of convergence is measured against the number of sweeps, we see that the deeper the network is, the faster the convergence is obtained. When the amount of computation is considered, unlike the case where X\bm{X} has a good condition number, we now see that the errors by deep linear networks decay drastically faster than those by a shallow network of depth 1. This demonstrates that over-parameterization by the depth can indeed accelerate convergence, even when the computational cost is considered. We note that from Theorem 3.1, the width plays no role in gradient-based training, as the width of intermediate layers is max⁡{din,dout}\max\{d_{\text{in}},d_{\text{out}}\}. Furthermore, the optimal learning rate is employed and adding more layers does not increase any representational power. Therefore, this acceleration is solely contributed by the depth and this clearly demonstrates the benefit of using deep networks. We also observe that the error decrease per iteration does not grow proportionally to the depth. In this case, either depth 5 or 7 performs the best among others.

1.3 Comparison with GD

Next, we compare the performance between BCGD and the standard gradient descent (GD) on the two same tasks of Section 4.1.1 and 4.1.2. By trial-and-error, we choose constant learning rates for GD that leads the fastest convergence. We tried the learning rate of η=nL3L∥X∥2\eta=\frac{n_{L}}{3L\|X\|^{2}} from , however, we observed that it makes GD diverge within few iterations. Despite the fact that GD updates all the weight matrices in a single iteration, while BCGD updates only a singe matrix, we compare the performance with respect to the number of iterations to emphasize the performance of BCGD. Figure 4 shows the approximation errors by GD and BCGD. The results for the task with a small (big) condition number are presented on the left (right). In both cases, we observe that GD converges linearly when learning rate is chosen properly. However, choosing an appropriate learning rate requires a time consuming fine tuning. It is also clear that GD is highly sensitive with respect to learning rate. For example, on the left of Figure 4, we see that GD with the learning rate of 10−510^{-5} produces a linear convergence, however, GD with the learning rate of 2×10−52\times 10^{-5} leads a highly oscillatory behavior in the error. When it is compared to the results by BCGD and also considering the fact that BCGD updates only a single matrix per iteration, it is clear that BCGD converges significantly faster than GD, especially when the model matrix has a big condition number. Furthermore, BCGD does not require one to put any efforts on finding a proper learning rate. This clearly demonstrate superior performances of BCGD over GD in these cases.

1.4 Effect of Width

1.5 Ascending versus Descending

2 Real Data Experiments

We employ the dataset from UCI Machine Learning Repository’s “Gas Sensor Array Drift at Different Concentrations” . Specifically, we used the dataset’s “Ethanol” problem — a scalar regression task with 2565 examples, each comprising 128 features (one of the largest numeric regression tasks in the repository). The input and output data sets are normalized to have zero mean and unit variance. After the normalization, the condition number of the input data matrix is 70,980. We note that this is the same data set used in . The width of intermediate layers is set to max⁡{din,dout}\max\{d_{\text{in}},d_{\text{out}}\} and the identity initialization (Section 2.3) is employed. On the left of Figure 7, we show the errors by the descending BCGD with respect to the number of iterations at five different depths L=1,2,3,4,5L=1,2,3,4,5. We use the optimal learning rate (8), which does not require any prior knowledge. We clearly see that the over-parameterization by depth significantly accelerates convergence. We remark that in the work of , although a different optimization method is used, the same problem is considered and the learning rate is chosen by a grid search. Similar implicit acceleration was demonstrated only for L4L_{4}-loss, not L2L_{2}-loss. In our experiment, by exploiting the layer-wise training and the optimal learning rate, we demonstrate implicit acceleration for L2L_{2}-loss. On the right of Figure 7, we show the results by L4L_{4}-loss, i.e,

The near optimal learning rate of (15) is employed. We observe that updating a single layer multiple-times results in the fastest error convergence than updating multiple layers once. In this case, there is no advantages of using deep networks. For reference, we also plot the best error shown at after 1,000,000 iterations as the dashed line. Unlike the conclusion of , we found that the depth leads to acceleration for the L2L_{2}-loss, but not for the L4L_{4}-loss.

We now train DLNs on the MNIST handwritten digit classification dataset. For an input image, its corresponding output vector contains a 1 in the index for the correct class and zeros elsewhere. The input and output dimensions are din=784d_{\text{in}}=784 and dout=10d_{\text{out}}=10, respectively. In order to strictly compare the effect of depth, we employ the identity initialization to completely remove the randomness from the initialization. Also, we set the width to 784=max⁡{din,dout}784=\max\{d_{\text{in}},d_{\text{out}}\} according to Theorem 3.1. The networks are trained over the entire MNIST training dataset of 60,000 samples. The input data matrix X\bm{X} is not full rank. Figure 8 shows the distances to the global optimum by L2L_{2}-loss with respect to the number of iterations of the descending BCGD at ten different depths L=1,⋯ ,10L=1,\cdots,10. Thus, the speed of convergence is measured against the amount of computation. We observe the accelerated convergence by the network whose depth is even but not odd. We also see that the results by DLNs of odd-depth are very similar so that the lines are overlapping each other. In this case, the depth 2 network performs the best among others. We suspect that there is a connection between the parity of depth and the acceleration in convergence. We defer such further investigation to future work.

Lastly, we compare the performance of BCGD to GD on the same real data sets. Again, the learning rates for GD are chosen by trial-and-error. Figure 9 shows the error trajectories for the same learning tasks. On the left and right, the results for the UCI and the MNIST datasets are presented, respectively. In all cases, we see that BCGD converges faster than GD while GD with a well-chosen learning rate converges linearly. We emphasize that GD updates all the weights matrices per iteration, while BCGD updates only a single matrix per iteration.

Conclusion

In this paper, we studied a layer-wise training for deep linear networks using the block coordinate gradient descent (BCGD). We established a convergence analysis and found the optimal learning rate which results in the fastest decrease in the loss for the next iterate. More importantly, the optimal learning rate can directly be applied in practice as no prior knowledge is required. Also, we identified the effects of depth, width, and initialization in the training process. Firstly, we showed that when the orthogonal-like initialization is employed and the width of the intermediate layers is great than or equal to both the input and output dimensions, the width plays no roles in gradient-based training. Secondly, under some assumptions, we proved that the deeper the network is, the faster the convergence is guaranteed (when the speed is measured against the number of sweeps). In an extreme case, the global optimum (within machine accuracy) is achieved after updating each weight matrix only once. Thirdly, we empirically demonstrated that adding more layers could drastically accelerate convergence, when it is compared to those of a single layer, even when the computational cost is considered. Lastly, we establish a convergence analysis of the block coordinate stochastic gradient descent (BCSGD). Our analysis indicates that the BCSGD cannot reach the global optimum, however, the converged loss will be staying close to the global optimum. This can be understood as an implicit regularization, which avoids over-fitting. Numerical examples were provided to justify our theoretical findings and demonstrate the performance of the layer-wise training by BCGD.

Acknowledgments

The author would like to thank Dr. Pual Dupuis for his helpful discussion in the early stages of this work, Dr. Mark Ainsworth for his helpful comments and suggestions on both analysis and examples, and Dr. Nadav Cohen for sharing code for numerical experiments.

Appendix A Least square solution

Without the rank constraint, the solution of (3) is

where In\bm{I}_{n} is the identity matrix of size n×nn\times n and X†\bm{X}^{\dagger} is the Moore-Pensore pseudo-inverse of X\bm{X}. Assuming X\bm{X} is a full row rank matrix, we have W∗=YX†\bm{W}^{*}=\bm{Y}\bm{X}^{\dagger}, which allows an explicit formula WLSQ∗=YXT(XXT)−1\bm{W}^{*}_{LSQ}=\bm{Y}\bm{X}^{T}(\bm{X}\bm{X}^{T})^{-1}. If X\bm{X} is not a full row rank matrix, (3) allows infinitely many solutions. In this case, the least norm solution is often sought and it is W∗=YX†\bm{W}^{*}=\bm{Y}\bm{X}^{\dagger}. Also, for any W\bm{W}, the following holds:

Thus, the minimizing L2L_{2}-loss is equivalent to minimizing ∥WX−W∗X∥F2\|\bm{W}\bm{X}-\bm{W}^{*}\bm{X}\|_{F}^{2}. Furthermore, for whitened data, the least norm solution is simply W∗=YXT\bm{W}^{*}=\bm{Y}\bm{X}^{T}.

With the rank constraint, we consider two cases. If rank(YX†)≤n∗\text{rank}(\bm{Y}\bm{X}^{\dagger})\leq n^{*}, the rank constrain plays no role in the minimization. Thus, the global minimizer is (19). Let us consider the case of rank(YX†)>n∗\text{rank}(\bm{Y}\bm{X}^{\dagger})>n^{*}. Let rx=rank(X)r_{x}=\text{rank}(\bm{X}), and X=UxΣxVxT\bm{X}=U_{x}\Sigma_{x}V_{x}^{T} be a compact singular value decomposition (SVD) of X\bm{X} where only rxr_{x} left-singular vectors and rxr_{x} right-singular vectors corresponding to the non-zero singular values are calculated. Then, X†=VxΣx−1UxT\bm{X}^{\dagger}=V_{x}\Sigma_{x}^{-1}U_{x}^{T}. and it can be checked that rank(YVx)=r∗=rank(YX†)\text{rank}(\bm{Y}V_{x})=r^{*}=\text{rank}(\bm{Y}\bm{X}^{\dagger}). Let YVx=U^yΣ^yV^yT\bm{Y}V_{x}=\hat{U}_{y}\hat{\Sigma}_{y}\hat{V}_{y}^{T} be a compact SVD of YVx\bm{Y}V_{x}. It then can be shown that the problem (3) is equivalent to

To be more precise, if Z∗\bm{Z}^{*} is a solution (the best n∗n^{*}-rank approximation to YVx\bm{Y}V_{x}) to the above, W∗=Z∗Σx−1UxT\bm{W}^{*}=\bm{Z}^{*}\Sigma_{x}^{-1}U_{x}^{T} is a solution of (3), which can be explicitly written as

where s=min⁡{n∗,r∗}s=\min\{n^{*},r^{*}\} and Ds\bm{D}_{s} is the principal submatrix consisting of the first ss rows and columns of Σ^y\hat{\Sigma}_{y}. We remark that in general, (20) and the best n∗n^{*}-rank approximation to YX†\bm{Y}\bm{X}^{\dagger} are not the same.

Appendix B Gradient of the loss

Appendix C Proof of Theorem 3.1

For a matrix A\bm{A} of size m×nm\times n and a matrix B\bm{B} of size k×sk\times s where m≥k,n≥sm\geq k,n\geq s, we say A\bm{A} is equivalent to B\bm{B} upto zero-valued padding if

It then follows from the gradient descent update

which completes the proof for the balanced initialization.

Let Wj\bm{W}_{j} be a matrix of size nj×nj−1n_{j}\times n_{j-1} and nj≥max⁡{n0,nL}n_{j}\geq\max\{n_{0},n_{L}\} for all 1≤j≤L1\leq j\leq L. Suppose

Appendix D Proof of Theorem 3.3

For notational convenience, for j>ij>i, let

By definition, it follows from the update rule that

where X†XXT=(X†X)TXT=(XX†X)T=XT\bm{X}^{\dagger}\bm{X}\bm{X}^{T}=(\bm{X}^{\dagger}\bm{X})^{T}\bm{X}^{T}=(\bm{X}\bm{X}^{\dagger}\bm{X})^{T}=\bm{X}^{T} is used in the 4th equality.

Thus, with the optimal learning rate of (23), we obtain

Note that from the relation of ∥M∥F2=Tr(MMT)\|M\|_{F}^{2}=\text{Tr}(MM^{T}), we have

By recursively applying the above, we obtain

Appendix E Proof of Lemma 3.7

Then for any W\bm{W} satisfying ∥WX−W∗X∥F≤∥Wk0X−W∗X∥F\|\bm{W}\bm{X}-\bm{W}^{*}\bm{X}\|_{F}\leq\|\bm{W}^{\textbf{k}_{0}}\bm{X}-\bm{W}^{*}\bm{X}\|_{F}, we have

From Theorem 3.3, since ∥WkjX−W∗X∥F≤∥Wk0X−W∗X∥F\|\bm{W}^{\textbf{k}_{j}}\bm{X}-\bm{W}^{*}\bm{X}\|_{F}\leq\|\bm{W}^{\textbf{k}_{0}}\bm{X}-\bm{W}^{*}\bm{X}\|_{F} for any jj, we obtain σmin⁡(WkjX)≥c>0\sigma_{\min}(\bm{W}^{\textbf{k}_{j}}\bm{X})\geq c>0.

that σs(C)>c∥AB∥\sigma_{s}(C)>\frac{c}{\|AB\|}. Similarly, σs(A)>c∥BC∥\sigma_{s}(A)>\frac{c}{\|BC\|}.

By applying the induction on the number of iterations of the BCGD, we claim that there exists 0<R<10<R<1 such that

The recursive relation with respect to ss gives

where h(L)=LRL(1−RL)2L−2(1+RL)3L−1h(L)=\frac{LR_{L}(1-R_{L})^{2L-2}}{(1+R_{L})^{3L-1}}, we have

Therefore, under the above assumption on ∥Wk0−W∗∥F\|\bm{W}^{\textbf{k}_{0}}-\bm{W}^{*}\|_{F}, we have

that lim⁡L→∞LRL=15\lim_{L\to\infty}LR_{L}=\frac{1}{5} and lim⁡L→∞RL=0\lim_{L\to\infty}R_{L}=0. Also, since LRLLR_{L} and RLR_{L} are decreasing functions of LL, we have

Appendix F Proof of Theorem 3.9

where cc is defined in (10), it follows from Lemma 3.7 and Theorem 3.5 that ∥WL:j(s)∥≠0\|\bm{W}_{L:j}^{(s)}\|\neq 0 for all jj and ss, and

Note that (1−1κ2(X))s−1\left(1-\frac{1}{\kappa^{2}(\bm{X})}\right)^{s-1} is from the fact that ∥WL:2(s)∥≠0\|\bm{W}_{L:2}^{(s)}\|\neq 0 for all 1≤s1\leq s. Hence, we have

Appendix G Proof of Theorem 3.11

For notational convenience, for j>ij>i, let

It follows from the BCGD update rule that

It then can be checked that the learning rate which minimizes the above upper bound is

Appendix H Proof of Theorem 3.13

For notational convenience, for j>ij>i, let

By definition, it follows from the update rule that

Let E=Y−W∗X\mathcal{E}=\bm{Y}-\bm{W}^{*}\bm{X} and E:,ik:=yik−W∗xik\mathcal{E}_{:,i_{k}}:=\textbf{y}^{i_{k}}-\bm{W}^{*}\textbf{x}^{i_{k}}. Then

By summing up with respect to jj, we have

References