[Paper Review] Training Deep Neural Networks Without Batch Normalization
This paper demonstrates that deep residual networks can be successfully trained without batch normalization by employing weight normalization, adaptive gradient clipping, and a warm-up learning rate schedule. Despite lower accuracy than batch-normalized counterparts, especially in deeper architectures like ResNet-50, non-BN networks achieve stable training with high learning rates and significantly reduced memory usage—proving that batch normalization is not strictly necessary for effective training when optimization is carefully adapted.
Training neural networks is an optimization problem, and finding a decent set of parameters through gradient descent can be a difficult task. A host of techniques has been developed to aid this process before and during the training phase. One of the most important and widely used class of method is normalization. It is generally favorable for neurons to receive inputs that are distributed with zero mean and unit variance, so we use statistics about dataset to normalize them before the first layer. However, this property cannot be guaranteed for the intermediate activations inside the network. A widely used method to enforce this property inside the network is batch normalization. It was developed to combat covariate shift inside networks. Empirically it is known to work, but there is a lack of theoretical understanding about its effectiveness and potential drawbacks it might have when used in practice. This work studies batch normalization in detail, while comparing it with other methods such as weight normalization, gradient clipping and dropout. The main purpose of this work is to determine if it is possible to train networks effectively when batch normalization is removed through adaption of the training process.
Motivation & Objective
- To investigate whether deep neural networks can be trained effectively without batch normalization by modifying the training process.
- To evaluate the impact of alternative normalization techniques such as weight normalization, gradient clipping, and dropout on training stability and performance.
- To determine if large learning rates can be used in non-BN networks without compromising model accuracy.
- To analyze the computational and memory efficiency of non-BN networks compared to batch-normalized baselines.
- To explore the transferability of non-BN training strategies across deeper architectures like ResNet-34 and ResNet-50.
Proposed method
- Replaced batch normalization layers in ResNet-18, -34, and -50 with weight normalized convolutional layers.
- Applied adaptive gradient clipping to control gradient explosion and vanishing issues in non-BN networks.
- Used a warm-up learning rate schedule followed by linear decay to stabilize training with high initial learning rates.
- Trained models using stochastic gradient descent with modified optimization dynamics to maintain gradient magnitude stability.
- Compared training dynamics and performance across multiple configurations: unnormalized, vanilla BN, non-BN with fixed learning rates, and non-BN with adaptive schedules.
- Measured training time, GPU memory consumption, and generalization performance across all variants.
Experimental results
Research questions
- RQ1Is it possible to achieve similar performance without batch normalization if gradient magnitudes are maintained to prevent vanishing or exploding gradients?
- RQ2Can large learning rates be used effectively in non-batch-normalized networks without degrading model performance?
- RQ3Do alternative normalization methods like weight normalization and gradient clipping provide comparable training stability and accuracy to batch normalization?
- RQ4How does the performance of non-BN networks scale across deeper architectures such as ResNet-34 and ResNet-50?
- RQ5What is the computational and memory efficiency of non-BN networks compared to batch-normalized models?
Key findings
- Non-BN ResNet-18 with adaptive gradient clipping and warm-up learning rate achieved a validation accuracy within 1.4% of the original batch-normalized ResNet-18.
- The non-BN ResNet-34 model performed reasonably well, but showed a ~2% drop in both training and validation accuracy compared to its BN counterpart.
- The non-BN ResNet-50 model exhibited significant overfitting and poor generalization, indicating that the same modifications are not directly transferable to deeper architectures.
- Non-BN networks could use learning rates as high as 0.017 with the warm-up schedule, whereas unnormalized networks diverged above 0.00001.
- Despite higher training time, non-BN networks consumed only 20% of the peak memory used by batch-normalized models.
- The results suggest that with further hyperparameter tuning and architectural adaptation, non-BN networks could potentially close or surpass the performance of batch-normalized models.
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.