[Paper Review] Slowing Down the Weight Norm Increase in Momentum-based Optimizers
The paper identifies that momentum-based optimizers like SGD and Adam exacerbate uncontrolled weight norm growth when used with batch normalization due to scale invariance, leading to suppressed effective learning rates and suboptimal performance. It proposes SGDP and AdamP—modified optimizers that remove the radial component of weight updates to prevent unnecessary norm increase, resulting in improved training stability and performance across diverse deep learning tasks.
Normalization techniques, such as batch normalization (BN), have led to significant improvements in deep neural network performances. Prior studies have analyzed the benefits of the resulting scale invariance of the weights for the gradient descent (GD) optimizers: it leads to a stabilized training due to the auto-tuning of step sizes. However, we show that, combined with the momentum-based algorithms, the scale invariance tends to induce an excessive growth of the weight norms. This in turn overly suppresses the effective step sizes during training, potentially leading to sub-optimal performances in deep neural networks. We analyze this phenomenon both theoretically and empirically. We propose a simple and effective solution: at each iteration of momentum-based GD optimizers (e.g. SGD or Adam) applied on scale-invariant weights (e.g. Conv weights preceding a BN layer), we remove the radial component (i.e. parallel to the weight vector) from the update vector. Intuitively, this operation prevents the unnecessary update along the radial direction that only increases the weight norm without contributing to the loss minimization. We verify that the modified optimizers SGDP and AdamP successfully regularize the norm growth and improve the performance of a broad set of models. Our experiments cover tasks including image classification and retrieval, object detection, robustness benchmarks, and audio classification. Source code is available at this https URL.
Motivation & Objective
- To investigate the negative impact of weight norm growth in momentum-based optimizers when combined with batch normalization.
- To analyze how scale invariance in batch-normalized layers leads to excessive weight norm increases during training.
- To address the resulting suppression of effective step sizes that hinders convergence and model performance.
- To develop a simple, effective method to regularize weight norm growth without modifying network architecture.
- To empirically validate the proposed method across diverse deep learning tasks and models.
Proposed method
- At each optimization step, the method projects out the radial component of the update vector—i.e., the component parallel to the current weight vector—before applying the update.
- This is achieved by subtracting the projection of the update vector onto the weight vector, effectively removing changes that only increase the norm without improving loss.
- The approach is applied to standard momentum-based optimizers such as SGD and Adam, resulting in SGDP and AdamP, respectively.
- The modification is lightweight and compatible with existing training pipelines, requiring no hyperparameter tuning beyond standard optimizer settings.
- The method preserves the beneficial scale invariance of batch normalization while preventing destabilizing norm growth.
- The radial component removal is mathematically equivalent to enforcing a constraint that the update vector lies in the tangent space of the weight norm sphere.
Experimental results
Research questions
- RQ1How does the combination of batch normalization and momentum-based optimizers affect weight norm dynamics during training?
- RQ2Why does excessive weight norm growth degrade model performance in deep networks despite scale invariance?
- RQ3Can removing radial updates from the optimization process stabilize training and improve generalization?
- RQ4How do the proposed SGDP and AdamP optimizers compare to standard SGD and Adam across diverse architectures and tasks?
- RQ5Does the proposed method maintain or improve performance on robustness benchmarks and downstream tasks?
Key findings
- The proposed SGDP and AdamP optimizers successfully regularize weight norm growth in batch-normalized networks, preventing excessive increases during training.
- The modified optimizers achieve better generalization and faster convergence on image classification, object detection, and audio classification tasks.
- SGDP and AdamP outperform standard SGD and Adam on multiple benchmarks, including ImageNet and Cifar-100, with consistent improvements in top-1 accuracy.
- The method improves robustness to distribution shift and adversarial examples, demonstrating stronger generalization under perturbations.
- The radial update removal has minimal computational overhead and is effective across a wide range of models, including ResNets, Vision Transformers, and EfficientNet.
- Empirical results confirm that the suppression of effective step size due to norm growth is mitigated, leading to more stable and efficient training.
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.