All You Need is Beyond a Good Init: Exploring Better Solution for Training Extremely Deep Convolutional Neural Networks with Orthonormality and Modulation

Di Xie, Jiang Xiong, Shiliang Pu

Introduction

Deep convolutional neural networks have improved performance across a wider variety of computer vision tasks, especially for image classification , object detection and segmentation . Much of this improvement should give the credit to gradually deeper network architectures. In just four years, the layer number of networks escalates from several to hundreds, which learns more abstract and expressive representations from large amount of data, e.g. . Simply stacking more layers onto current architectures is not a reasonable solution, which incurs vanishing/exploding gradients . To handle the relatively shallower networks, a variety of initialization and normalization methodologies are proposed , while deep residual learning is utilized to deal with extremely deep ones.

Though other works, e.g. , have also announced that they can train an extremely deep network with improved performance, deep residual network is still the best and most practical solution for dealing with the degradation of training accuracy as depth increases. However, it is substantial that residual networks are exponential ensembles of relatively shallow ones (usually only 10-34 layers deep), as an interpretation by Veit et al. , it avoids the vanishing/exploding gradient problem instead of resolving it directly. Intrinsically, the performance gain of networks is determined by its multiplicity, not the depth. So how to train an ultra-deep network is still an open research question with which few works concern. Most researches still focus on designing more complicated structures based on residual block and its variants . Anyway, dose there exist an applicable methodology that can be used for training a genuinely deep network?

In this paper, we try to find a direct feasible solution to answer above question. We think batch normalization (BN) is necessary to ensure the propagation stability in the forward pass in ultra-deep networks and the key of learning availability exists in the backward pass which propagates errors with a top-down way. We constrain the network’s structure to repetitive modules consisted by Convolution, BN and ReLU layers (Fig. 1) and analyze the Jacobian of the output with respect to the input between consecutive modules. We show that BN cannot guarantee the magnitude of errors to be stable in the backward pass and this amplification/attenuation effect to signal will accumulate layer-wisely which results in gradients exploding/vanishing. From the view of norm-preserving, we find that keeping the orthonormality between filter banks within a layer during learning process is a sufficient and necessary condition to ensure the stability of backward errors. While this condition cannot be satisfied in nonlinear networks equipped with BN, this orthonormal constrain can mitigate backward signal’s attenuation and we prove it by experiments. An orthonormal regularizer is introduced to replace traditional weight decay regularization . Experiments show that there is 3%4%3\%\thicksim 4\% gains for a 44-layer network on CIFAR-10.

However, as depth increases, e.g. deeper than 100 layers, the non-orthogonal impact induced by BN, ReLU and gradients updating accumulates, which breaks the dynamic isometry and makes learning unavailable. To neutralize this impact, we design a modulation mechanism based on the quasi-isometry assumption between two consecutive parametric layers. We show the quasi-isometry property with both mathematical analysis and experiments. With the modulation, a global scale factor can be applied on the magnitude of errors a little unscrupulously during the backward pass in a layer-wise fashion. Combined with orthonormality, experiments show that a plain CNN shown in Fig. 1 can be trained relatively well and match the performance of its residual counterpart.

The contributions of this paper are summarized as follows. 1) We demonstrate the necessity of applying BN and explain the potential reason which results in degradation problem in optimizing deep CNNs; 2) A concise methodology equipped with orthonormality and modulation is proposed to provide more insights to understand learning dynamics of CNNs; 3) Experiments and analysis exhibit interesting phenomenons and promising research directions.

Related Work

Initialization in Neural Networks. As depth increases, Gaussian initialization cannot suffice to train a network from scratch . The two most prevalent works are proposed by Glorot & Bengio and He et al. respectively. The core idea of their works is to keep the unit variance of each layer’s output. Sussillo & Abbott propose a novel random walk initialization and mainly focus on adjusting the so-called scalar factor gg to make the ratio of input/output error to be constant around 11. Krähenbühl et al. introduce data-dependent initialization to ensure all layers training at an equal rate.

Orthogonality is also in consideration. Saxe et al. analyse the dynamics of learning in linear deep neural networks. They find that the convergence rate of random orthogonal initialization of weights is equivalent to unsupervised pre-training, which are both superior to random Gaussian initialization. LSUV initialization method is proposed which not only takes advantage of orthonormality but also makes use of the unit-variance of each layer’s output.

In our opinion, a well-behaved initialization is not enough to resist the variation as learning progresses, which is to say, to have a good initial condition (e.g. isometry) cannot ensure the preferred condition to keep unchanged all the time, especially in extremely deep networks. This argument forms the basic idea that motivates us to explore the solutions for genuinely deep networks.

Signal Propagation Normalization. Normalization is a common and ubiquitous technique in machine learning community. The whitening and decorrelation of input data brings benefits to both deep learning and other machine learning algorithms, which helps speeding up the training process . Batch normalization generalize this idea to ensure each layer’s output to be identical distributions which reduce the internal covariate shift. Weight normalization is inspired by BN by decoupling the norm of the weight vector from its direction while introducing independencies between the examples in a minibatch. To overcome the disadvantage of BN that dependent on minibatch size, layer normalization is proposed to solve the normalization problem for recurrent neural networks. But this method cannot be applied to CNN, as the assumption violates the statistics of the hidden layers. For more applicable in CNN, Arpit et al. introduce normalization propagation to reduce the internal covariate shift for convolutional layers and even rectified linear units. The idea of normalization each layers’ activations is promising, but a little idealistic in practice. Since the incoherence prior of weight matrix is actually not true in the initialization phase and even worsen in iterations, the normalized magnitude of each layer’s activations cannot be guaranteed in an extremely deep network. In our implementation, it even cannot prevent the exploding activations’ magnitude just after initialization.

Signal Modulation. Few work is done in this field explicitly, but implicitly integrated the idea of modulation. In a broad sense, modulation can be viewed as a persistent process of the combination of normalization and other methodology to keep the magnitude of a variety of signals steady at learning. With this understanding, we can summarize all the methods above with a unified framework, e.g. batch normalization for activation modulation, weight normalization for parameter modulation, etc.

Methodology

Since the complexity dynamics of learning in nonlinear neural networks , even a proven mathematical theory cannot guarantee that a variety of signals keeping isometrical at the same time in practice applications. Depth itself results in the “butterfly effect” with exponential diffusion while nonlinear gives rise to indefiniteness and randomness. Recently proposed methods which utilize isometry fail to keep the steady propagation of signals in over-100-layer networks. These methods try to stabilize the magnitude of signals from one direction (forward/backward) as a substituted way to control the signals in both directions. However, since the complexity variations of signals, it is impossible to have conditions held on both ways with just one modulation method.

An alternative option is to simplify this problem to constrain the magnitude of signals in either direction, which we can pay the whole attention to another directionFor a specified weight that connected iith neuron in llth layer and kkth neuron in (l+1)(l+1)th layer, wij(l)w^{(l)}_{ij}, its gradient can be computed as  wij(l)=ai(l)×δj(l+1)\nabla~{}w^{(l)}_{ij}=a^{(l)}_{i}\times\delta^{(l+1)}_{j}. If the two variables are independent from each other, then the magnitude of gradient can be directly related with just one factor (activation/error).. Batch normalization is an existed solution that satisfies our requirement. It does normalization in the forward pass to reduce internal covariate shift with a layer-wise wayMethods modulate signals without a layer-wise manner, e.g. , will accumulate the indefiniteness with a superlinear way and finally the propagated signals will be out of control., which, in our opinion, make us to focus all the analyses on the opposite direction.

Equation 1 represents a kind of “pseudo-normalization” transformation for error signals δi\delta_{i} compared with its forward operation. If the mean of distribution of input error δi\delta_{i} is zero and symmetric, we can infer that the mean of distribution of output error is approximately zero. It centralizes the errors and the last term x^imj=1mδjx^j\frac{\hat{x}_{i}}{m}\sum_{j=1}^{m}\delta_{j}\hat{x}_{j} will bias the distribution but these biases may be cancelled out from each other owing to the normalized coefficient x^i\hat{x}_{i} which is normal distribution. Besides, errors are normalized with a mismatched variance. This type of transformation will change error signal’s original distribution with a layer-wise way since the second order moment of each layer’s output errors loses its isometry progressively. However, this phenomenon can be ignored when we only consider a pair of consecutive layers. In a sense, we can think the backward propagated errors are also normalized as well as its forward pass, which is why we apply “Conv-BN-ReLU” triple instead of “Conv-ReLU-BN”Another reason is that placing ReLU after BN guarantees approximately 50%50\% activations to be nonzero, while the ratio may be unstable if putting it after convolution operation..

The biased distribution effect will accumulated as depth increases and distort input signals’ original distribution, which is one of several reasons that make training extreme deep neural network difficult. In next section we try to solve the problem to some extent.

2 Orthonormality

Norm-preserving resides in the core idea of this section. A vector xdx\textbf{x}\in\Re^{d_{\textbf{x}}} is mapped by a linear transformation Wdx× dy\textbf{W}\in\Re^{d_{\textbf{x}}\times~{}d_{\textbf{y}}} to another vector ydy\textbf{y}\in\Re^{d_{\textbf{y}}}, say, y=WTx\textbf{y}=\textbf{W}^{T}\textbf{x}. If y=x\|\textbf{y}\|=\|\textbf{x}\|, then we call this transformation norm-preserving. Obviously, orthonormality, not the normalization proposed by alone, is both sufficient and necessary for holding this equation, since

Given the precondition that signals in forward pass are definitely normalized, here we can analyse the magnitude variation of errors only in backward pass. To keep the gradient with respect to the input of previous layer norm-preserving, it is straightforward to conclude that we would better maintain orthonormality among columnsBeware of the direction, which results in the exchange of notations in equation 2. So the rows and columns of the matrix are also exchanged. of a weight matrix in a specific layer during learning process rather than at initialization according to Eq. 2, which equivalently makes the Jacobian to be ideally dynamical isometry . Obviously in CNN this property cannot be ensured because of 1) the gradient update which makes the correlation among different columns of weights stronger as learning proceeding; 2) nonlinear operations, such as BN and ReLU, which destroy the orthonormality. However, we think it is reasonable to force the learned parameters to be conformed with the orthogonal group as possible, which can alleviate vanishing/exploding phenomenon of the magnitude of errors and the signal distortion after accumulated nonlinear transformation. The rationality of these statements and hypotheses has been proved by experiments.

where λ\lambda is the regularization coefficient as weight decay, DD is total number of convolutional layers and/or fully connected layers, I is the identity matrix and Wlfin× fout\textbf{W}_{l}\in\Re^{f_{in}\times~{}f_{out}} where fin=W× H× Cf_{in}=W\times~{}H\times~{}C and fout=Mf_{out}=M. F\|\cdot\|_{F} represents the Frobenius norm. In other words, equation 3 constraints orthogonality among filters in one layer, which makes the learned features have minimum correlation with each other, thus implicitly reduce the redundancy and enhance the diversity among the filters, especially those from the lower layers .

Besides, orthonormality constraints provide alternative solution other than L2L2 regularization to the exploration of weight space in learning process. It provides more probabilities by limiting set of parameters in an orthogonal space instead of inside a hypersphere.

3 Modulation

The dynamical isometry of signal propagation in neural networks has been mentioned and underlined several times , and it amounts to maintain the singular values of Jacobian, say J=yx\textbf{J}=\frac{\partial\textbf{y}}{\partial\textbf{x}}, to be around 11. In this section, we will analyze the variation of singular values of Jacobian through different types of layers in detail. We omit the layer index and bias term for simplicity and clarity.

For linear case, we have y=WTx\textbf{y}=\textbf{W}^{T}\textbf{x}, which shows that having dynamical isometry is equivalent to keep orthogonality since J=WT\textbf{J}=\textbf{W}^{T} and JJT=WTW\textbf{J}\textbf{J}^{T}=\textbf{W}^{T}\textbf{W}.

Next let us consider the activations after normalization transformation, y=BNγ,β(WTx)\textbf{y}=\textrm{BN}_{\gamma,\beta}(\textbf{W}^{T}\textbf{x}), which we borrow the notation from . Given the assumption that input dimension equals output dimension and both are dd-dimension vectors, the Jacobian is

where each Jkk\textbf{J}_{kk} is a m×mm\times m square matrix, that is

Here yi(k)xj(k)\frac{\partial y_{i}^{(k)}}{\partial x_{j}^{(k)}} denotes partial derivative of output of iith sample with respect to jjth sample in kkth component. The Jacobian of BN has its speciality that its partial derivatives are not only related with components of activations, but also with samples in one mini-batch. Because of each component kk of activations is transformed independently by BN, J can be expressed with a blocked diagonal matrix as Eq. 4. Again since the independence among activations, we can analyse just one of dd sub-Jacobians, e.g. Jkk\textbf{J}_{kk}.

From equation 1 we can get the entries of Jkk\textbf{J}_{kk}, which is

where ρ=γσB2+ϵ\rho=\frac{\gamma}{\sqrt{\sigma_{B}^{2}+\epsilon}} and Δ()\Delta(\cdot) is the indicator operator. Here we still omit index kk since dropping it brings no ambiguity.

Eq. 6 concludes obviously that JJTI\textbf{J}\textbf{J}^{T}\neq\textbf{I}. So the orthonormality is not held after BN operation. Now the correlation among columns of W is directly impacted by normalized activations, while the corresponding weights determine these activations in turn, which results in a complicated situation. Fortunately, we can deduce the preferred equation according to subadditivity of matrix rank , which is

where P is the matrix consists of eigenvectors of J. λ1\lambda_{1} and λ2\lambda_{2} are two nonzero eigenvalues of U, say Uij=1+x^ix^j, i=1m, j=1mU_{ij}=1+\hat{x}_{i}\hat{x}_{j},~{}i=1\cdots m,~{}j=1\cdots m.

Eq. 7 shows us that JJTρ2I\textbf{J}\textbf{J}^{T}\approx\rho^{2}\textbf{I} The Jacobian after ReLU is amount to multiply a scalar with J , which we can merge it into ρ\rho instead.. The approximation comes from first two diagonal entries in Eq. 7 which may be close to zero. We think it is one of reasons that violate the perfect dynamic isometry and result in the degradation problem with this kind of non-full rank. Since value of ρ\rho is determined by γ\gamma and σB\sigma_{B}, it is bounded as long as these two variables keep stable during the learning process, which achieves the so-called quasi-isometry .

Notice that ρ\rho changes with γ\gamma and σB\sigma_{B} while γ\gamma and σB\sigma_{B} will change in every iteration. Based on the observation, we propose the scale factor ρ\rho should be adjusted dynamically instead of fixing it like . According to , when the nonlinearity is odd, so that the mean activity in each layer is approximately , neural population variance, or second order moment of output errors, can capture these dynamical properties quantitatively. ReLU nonlinearity is not satisfied but owing to the pseudo-normalization we can regard the errors propagated backwardly through BN as having zero mean, which makes the second order moment statistics reasonable.

Implementation Details

We insist to keep the orthonormality throughout the training process, so we implement this constraint both at initialization and in regularization. For a convolution parameter Wlfin× fout\textbf{W}_{l}\in\Re^{f_{in}\times~{}f_{out}} of llth layer, we initialize subset of W, say finf_{in}-dimension vectors, on the first output channel. Then Gram-Schmidt process is applied to sequentially generate next orthogonal vectors channel by channel. Mathematically, generating nn orthogonal vectors in dd-dimension space which satisfies n>dn>d is ill-posed and, hence, impossible. So one solution is to avoid the fan-ins and fan-outs of kernels violating the principle, say finfoutf_{in}\geq f_{out}, in designing structures of networks; another candidate is group-wise orthogonalization proposed by us. If fin<foutf_{in}<f_{out}, we divide the vectors into foutfin+foutmodfin\frac{f_{out}}{f_{in}}+f_{out}\textrm{mod}f_{in} groups, orthogonalization is implemented within each group independently. We do not encourage the hybrid utilization of L2L2 regularization for those parameters of fin<foutf_{in}<f_{out} and orthonormal regularization for those of finfoutf_{in}\geq f_{out}. Forcing parameters to retract into inconsistent manifolds may cause convergence problems. Details can be referred in experiments.

For signal modulation, we compute the second order moment statistics of output errors between consecutive parametric layers (convolutional layer in our case) in each iteration. The scale factor ρ\rho is defined as the square root of ratio of second order moment of higher layer, say ql+1q^{l+1}, to that, say qlq^{l}, of lower layer. However, if we modulate all the layers as long as ql+1qlq^{l+1}\neq q^{l}, then the magnitude of propagated signal will tend to be identical with the input error signal, which probably eliminate the variety encoded in the error signal. So we make a trade-off that the modulation only happens when the magnitudes of propagated signals of consecutive layers mismatch. Experiments show that it is a relatively reasonable and non-extreme modulation mechanism which has a capability of maintaining magnitude constancy for error signals.

Experiments

First of all, we must demonstrate that the core idea of this paper is to show that the proposed methods can be used to train extremely deep and plain CNNs and improve the performance drastically compared against prevalent stochastic gradient descent (SGD) with L2L2 regularization rather than achieving state-of-the-art performance in a certain dataset by all manner of means. Moreover, we try to show that the degradation problem of training a plain network reported in can be partially solved by our methods.

Two representative datasets, CIFAR-10 and ImageNet , are used in our experiments.

CIFAR-10. CIFAR-10 consists of 60,00060,000 32×3232\times 32 real world color images in 1010 classes split into 50,00050,000 train and 10,00010,000 test images. All present experiments are trained on the training set and evaluated on the test set. Top-1 accuracy is evaluated.

ImageNet 2012 classification. For large-scale dataset, ImageNet 2012 classification dataset is used in our experiments. It consists of 10001000 classes and there are 1.281.28 million training images and 5050k validation images. Both top-1 and top-5 error rates are evaluated.

Protocol of CIFAR-10. To demonstrate that our proposed method can partially solve the degradation problem and show that the gap between deeper plain network and the shallower one can be shrunk or even removed, we aim to have fair comparison with the plain network in . So we directly adopt their proposed architectures with minor modifications for both plain networks and residual networks. Specifically, the network inputs are 32×3232\times 32 images, with the per-pixel mean subtracted and standard deviation divided. The first layer is 3×33\times 3 convolution and then following a stack of 6n6n 3×33\times 3 convolution layers, in which each convolution layer is accompanied by a BN layer and a ReLU layer (Fig. 1). While in the residual case, when size of feature maps doubles, e.g. 1616 to 3232, we use 3×33\times 3 projection shortcuts instead of identity ones. All the hyperparameters such as weight decay, momentum and learning rate are identical with . Horizontal flip is the only data augmentation.

Protocol of ImageNet 2012 classification. The architectures in this protocol are also with a slight variation. Detailed architectures can be referred in Table 1. The hyperparameters are identical with those of CIFAR-10 protocol. 224×224224\times 224 crops are randomly sampled on 256×256256\times 256 images plus horizontal flip and color augmentation . Mean of RGB is subtracted then scaling with a factor 0.0170.017 (standard deviation of RGB). The mini-batch size is 256256. Only the performances on validation set are reported.

2 Orthonormality Regularization Enhances the Magnitude of Signals

In this section, we design experiments to show that orthonormality can indeed enhance the magnitude of propagated signals in deep plain networks through decorrelating learned weights among different channels. A 44-layer plain network and CIFAR-10 dataset is adopted.

First we make statistics of average correlation among different channels over all the layers between two types of methods, say “msra” initialization plus L2L2 regularization (abbr. as “msra+L2L2 reg”) and our proposed orthonormal initialization and orthonormality regularization (abbr. as “ortho init+ortho reg”). Cosine distance Dcos(x,y)D_{cos}(\textbf{x},\textbf{y}) is considered to compute this value:

where vi(l)fin\textbf{v}_{i}^{(l)}\in\Re^{f_{in}} denotes iith kernel of Wl\textbf{W}_{l} in llth layer and NN is total computation count. From Fig. 2 we can see the variation of correlation among weights with iterations. Under the constraints of orthonormality, correlation of learned weights are forced into a consistent and relatively lower level (about 6×1036\times 10^{-3}). On the contrary, “msra+L2L2 reg” cannot prevent from increasing correlation among weights as learning progresses. Finally, the correlation of “msra+L2L2 reg” is about 2.52.5 times higher than that of “ortho init+ortho reg”, which demonstrates the effectiveness of orthonormality constraints.

Next we make statistics of variation of second order moments of back-propagated errors. Since the empirical risk will convergence as learning progresses, which results in smaller magnitude of loss value hence unscaled magnitude of error signals, we actually plot the ratio of second order moment of output error signals (input errors of first convolution layer) to that of input error signals (input errors of last convolution layer). Fig. 3 tells us that in first training phase (when learning rate is relatively large) the evolution of signal propagation is more insensitive than the in second and third training phases (when learning rate is small) because of mismatched order of magnitudes between learning rate and decay coefficient of regularizer (0.10.1 to 0.00010.0001). However, it shows the advantage of orthonormal regularization against L2L2 regularization no matter in which phase, especially in later phases. The magnitude of propagated signals is enhanced one order of magnitude by orthonormality. It is important to note that we omit the ratios of first five iterations in Fig. 3 since the disproportional order of magnitude. An interesting phenomenon is that all the magnitude of error signals is vanishing, e.g. ratio is less than 11, except for the initialization phase, in which the signals are amplified. We think randomness plays the key role for this phenomenon and it also provides evidence that makes us introduce orthonormality beyond initialization in optimizing extremely deep networks.

3 The Rationality of Modulation

In this section, we present our findings in training deep plain networks and aim to demonstrate modulation is a promising mechanism to train genuinely deep networks.

We find that a 44-layer network can be trained well just with orthonormality but a 110-layer one incurs seriously divergence, which states the accumulation effect mentioned in Sec. 3.1 by evidence. The proposed modulation is applied to train the 110-layer network and achieves distinct performance improvement against other one-order methods (see Table 2). The training methodology is a little tricky that we first apply with both orthonormality and modulation at the first nn iterations, then the signals are regulated only through orthonormality until it converges. Keeping the magnitude of error signals to be isometric can easily be done by our modulation, but it is observed that this strategy undermines propagation of signals (81.6%81.6\% vs. 73.5%73.5\% on CIFAR-10). So when and how to modulation is an interesting and key research topic to totally solve the degradation problem.

In this paper the value of nn is somewhat heuristic, which is derived from our observation to the evolution of ratios of second-order moment of output errors of each layer to the second-order moment of input errors at each iteration of training a 44-layer network. Fig. 4 reveals that it probably exists a potential evolution pattern in training deep networks. Actually we just shrink the degradation gap instead of eliminating it in training genuinely deep networks and one of our future work will focus on the methodology of modulation.

4 Results of Plain and Residual Network Architecture

To prove our proposed method has advantage against other methods integrated with the idea of adaptivity in training extremely deep plain networks, we compare it with six prevalent one-order methods in this section. We do not compare with second-order methods in consideration of implementation and memory practicality. Table 2 shows the performancesWe should mention that since the particularity of AdaDelta, which is less dependent on the learning rate, for more reasonable comparison, we ignore this hyper-parameter.. We can see that most methods cannot handle relatively shallow networks well other than SGD and ours and all the methods except for ours cannot even converge in the deeper version. As pointed by , most one-order methods can only be a very effective method for optimizing certain types of deep learning architectures. So next we will focus on making comparison against more general SGD method. We also do not compare our method with other modulation methods, e.g. , because of they will fail convergence at the very first few iteration in such deep architecture

Then we compare the performance with different regularizer in identical network architecture (ortho vs. L2L2 of a plain network), and further compare the performance of plain networks with residual networks have similar architectures (plain network with orthonormality vs. residual network with L2L2). Results are shown in Fig. 5. We can conclude that our proposed method has distinct advantage in optimizing plain networks and the orthonormality indeed can enhance magnitude of signal which alleviates gradient vanishing in training process.

To emphasize that orthonormality can be general to prevalent network architectures and large-scale datasets, we extend the experiments on ImageNet dataset. From Fig. 5 it shows the decreasing performance boost in ResNet-34 and almost comparative performance in ResNet-110. Compared with architectures on CIFAR-10, they have more channels, e.g. 64 vs. 2048, which introduces more redundancies among intra-layer’s filter banks. Fig. 6 can be used to explain above results, so it probably be difficult for orthonormality to explore in parameter space with so many redundancies. The right sub-figure in Fig. 6 shows more noise-like feature maps than the left one, which inspires us to design thinner architectures in the future work.

Discussion and Conclusion

Recently we find that has proposed similar ideas. They unify three types of kernel normalization methods into a geometric framework called kernel submanifolds, in which sphere, oblique and compact Stiefel manifolds (orthonormal kernels) are considered. The differences exists in three aspects: 1) The intrinsic explanations about the performance improvement is different, of which they mainly focus on regularization of models with data augmentation and learning of models endowed with geometric invariants; 2) The orthogonalization is different, of which they orthogonalize convolutional kernels within a channel while we do this among channel; 3) As the second statement tells, we believe that their proposed method still cannot handle the extremely deep plain networks. Besides, all the details and key steps to implement their methods are ambiguous that prevents from understanding and verifying it further.

Intrinsically, one can regard our proposed modulation as assigning each parametric layer an individual and adaptive learning rate. This kind of modulation can be more practical than local methods, e.g. second-order methods, while be more flexible than global ones, e.g. SGD. Besides, if we can approach some strategies to compensate the evanescent orthonomality as learning progresses, we believe that training a genuinely deep network will be available.

We propose a simple and direct method to train extremely deep plain networks with orthonormality and modulation. Furthermore, orthonormality reveals its generalization capability which can be applied in residual networks. Great performance boost is observed in experiments. However, the degradation problem is still not totally solved, which may be on condition understanding more comprehensively about the insights of signal modulation, reparametrization and novel constraints, etc. We hope our work will encourage more attentions on this problem.

References

Quasi-isometry inference with Batch Normalization

For batch normalization (BN) layer, its Jacobian, denoted as J, is not only related with components of activations (dd components in total), but also with samples in one mini-batch (size of mm).

Let xj(k)x_{j}^{(k)} and yi(k)y_{i}^{(k)} be kkth component of jjth input sample and iith output sample respectively and given the independence between different components, yi(k)xj(k)\frac{\partial y_{i}^{(k)}}{\partial x_{j}^{(k)}} is one of m2dm^{2}d nonzero entries of J. In fact, J is a tensor but we can express it as a blocked matrix:

where each Dij\textbf{D}_{ij} is a d×dd\times d diagonal matrix:

Since BN is a component-wise rather than sample-wise transformation, we prefer to analyse a variant of Eq. 9 instead of Dij\textbf{D}_{ij}. Note that by elementary matrix transformation, the m2m^{2} d×dd\times d matrices can be converted into dd m×mm\times m matrices:

and the entries of each Jkk\textbf{J}_{kk} is

The notations of ρ\rho, Δ()\Delta(\cdot) and x^k\hat{x}_{k} have been explained in our main paper and here we omit the component index kk for clarity. Base on the observation of Eq. 12, we separate the numerator of latter part and denote it as Uij=1+x^ix^jU_{ij}=1+\hat{x}_{i}\hat{x}_{j}.

Let x^=(x^1,x^2,...,x^m)T\hat{\textbf{x}}=(\hat{x}_{1},\hat{x}_{2},...,\hat{x}_{m})^{T}, e=(1,1,..1)T\textbf{e}=(1,1,..1)^{T}, we have

Recall that for any column vector v, rank(vvT)=1\verb"rank"(\textbf{v}\textbf{v}^{T})=1. According to the subadditivity of matrix rank , it implies that

Eq. 15 tells us that U actually only has two nonzero eigenvalues, say λ1\lambda_{1} and λ2\lambda_{2}, and we can formulate U as follow:

combined with Eq. 14, finally we get the equation of Jkk\textbf{J}_{kk} from the eigenvalue decomposition view, which is

To show that Jkk\textbf{J}_{kk} probably is not full rank, we formulate the relationship between U2\textbf{U}^{2} and U

Note that x^iN(0,1)\hat{x}_{i}\thicksim N(0,1), so we can regard the one-order and second-order accumulated items in Eq. 18 as approximately equaling the corresponding one-order and second-order statistical moments for relatively large mini-batch, from which we get U2mU\textbf{U}^{2}\approx m\textbf{U}.

The relationship implies that λ12mλ1\lambda_{1}^{2}\approx m\lambda_{1} and λ22mλ2\lambda_{2}^{2}\approx m\lambda_{2}. Since λ1\lambda_{1} and λ2\lambda_{2} cannot be zeros, it concludes that λ1λ2m\lambda_{1}\approx\lambda_{2}\approx m therefor 1λ1m01-\frac{\lambda_{1}}{m}\approx 0 and 1λ2m01-\frac{\lambda_{2}}{m}\approx 0 if batch size is sufficient in a statistical sense.