Guidelines for the Regularization of Gammas in Batch Normalization for Deep Residual Networks

Bum Jun Kim,Hyeyeon Choi,Hyeonah Jang,Sang Woo Kim
DOI: https://doi.org/10.1145/3643860
IF: 5
2024-02-01
ACM Transactions on Intelligent Systems and Technology
Abstract:L 2 regularization for weights in neural networks is widely used as a standard training trick. In addition to weights, the use of batch normalization involves an additional trainable parameter γ , which acts as a scaling factor. However, L 2 regularization for γ remains an undiscussed mystery and is applied in different ways depending on the library and practitioner. In this paper, we study whether L 2 regularization for γ is valid. To explore this issue, we consider two approaches: 1) variance control to make the residual network behave like an identity mapping and 2) stable optimization through the improvement of effective learning rate. Through two analyses, we specify the desirable and undesirable γ to apply L 2 regularization and propose four guidelines for managing them. In several experiments, we observed that applying L 2 regularization to applicable γ increased 1%–4% classification accuracy, whereas applying L 2 regularization to inapplicable γ decreased 1%–3% classification accuracy, which is consistent with our four guidelines. Our proposed guidelines were further validated through various tasks and architectures, including variants of residual networks and transformers.
computer science, information systems, artificial intelligence
What problem does this paper attempt to address?