[Paper Review] How to Initialize your Network? Robust Initialization for WeightNorm & ResNets
This paper proposes a theoretically grounded initialization strategy for weight-normalized ReLU networks, both with and without residual connections, using mean field approximation to prevent gradient explosion/vanish. It demonstrates that the proposed method enables stable training in deep networks, reduces generalization gaps with batch normalization, and allows large learning rates by initializing in low-curvature regions of the loss landscape.
Residual networks (ResNet) and weight normalization play an important role in various deep learning applications. However, parameter initialization strategies have not been studied previously for weight normalized networks and, in practice, initialization methods designed for un-normalized networks are used as a proxy. Similarly, initialization for ResNets have also been studied for un-normalized networks and often under simplified settings ignoring the shortcut connection. To address these issues, we propose a novel parameter initialization strategy that avoids explosion/vanishment of information across layers for weight normalized networks with and without residual connections. The proposed strategy is based on a theoretical analysis using mean field approximation. We run over 2,500 experiments and evaluate our proposal on image datasets showing that the proposed initialization outperforms existing initialization methods in terms of generalization performance, robustness to hyper-parameter values and variance between seeds, especially when networks get deeper in which case existing methods fail to even start training. Finally, we show that using our initialization in conjunction with learning rate warmup is able to reduce the gap between the performance of weight normalized and batch normalized networks.
Motivation & Objective
- To address the lack of formal initialization strategies for weight-normalized deep networks.
- To develop a theoretically motivated initialization that prevents information flow issues (explosion/vanish) in forward and backward passes.
- To improve training stability and generalization performance in deep weight-normalized networks.
- To reduce the performance gap between weight-normalized and batch-normalized networks.
- To validate the method across over 2,500 experiments on CIFAR datasets with varying depth and hyperparameters.
Proposed method
- Derives a novel initialization strategy using mean field approximation for weight-normalized ReLU networks.
- Reparameterizes weights via scale factors (g) and unit-norm direction matrices (Ŵ) to decouple magnitude and direction.
- Establishes theoretical conditions under which hidden activation norms remain stable across layers at initialization.
- Proposes a depth-dependent initialization scaling that maintains norm consistency in both feedforward and residual architectures.
- Employs a power method to compute spectral norms of the Hessian at initialization to analyze curvature.
- Combines the proposed initialization with learning rate warmup to further enhance performance.
Experimental results
Research questions
- RQ1How can we design a theoretically sound initialization for weight-normalized ReLU networks to prevent gradient explosion or vanishing?
- RQ2Does the proposed initialization improve training stability and generalization in deep networks compared to existing proxy methods?
- RQ3Can the proposed initialization reduce the generalization gap between weight-normalized and batch-normalized networks?
- RQ4Why does the proposed initialization allow the use of larger learning rates compared to standard initialization schemes?
- RQ5Is the proposed initialization robust to network depth, hyperparameter choices, and random seed variation?
Key findings
- The proposed initialization reduces test error on CIFAR-10 to 7.20% for ResNet-56 and 6.69% for ResNet-110 when combined with learning rate warmup, matching or surpassing batch normalization performance.
- On CIFAR-100, the method reduces error to 25.31% for ResNet-164 with cutout and warmup, nearly matching the 25.52% error of batch normalization.
- The proposed initialization achieves a log spectral norm of Hessian at initialization of 1.31 (CIFAR-10) and 1.56 (CIFAR-100), significantly lower than other methods, indicating lower curvature.
- The method enables stable training in very deep networks where existing initialization schemes fail to start training.
- The variance in performance across different random seeds is significantly reduced with the proposed initialization compared to standard baselines.
- The method reduces the generalization gap between weight-normalized and batch-normalized networks, especially when combined with learning rate warmup.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.