New Interpretations of Normalization Methods in Deep Learning.
Jiacheng Sun,Xiangyong Cao,Hanwen Liang,Weiran Huang,Zewei Chen,Zhenguo Li
DOI: https://doi.org/10.1609/aaai.v34i04.6046
2020-01-01
Proceedings of the AAAI Conference on Artificial Intelligence
Abstract:In recent years, a variety of normalization methods have been proposed to help training neural networks, such as batch normalization (BN), layer normalization (LN), weight normalization (WN), group normalization (GN), etc. However, some necessary tools to analyze all these normalization methods are lacking. In this paper, we first propose a lemma to define some necessary tools. Then, we use these tools to make a deep analysis on popular normalization methods and obtain the following conclusions: 1) Most of the normalization methods can be interpreted in a unified framework, namely normalizing pre-activations or weights onto a sphere; 2) Since most of the existing normalization methods are scaling invariant, we can conduct optimization on a sphere with scaling symmetry removed, which can help to stabilize the training of network; 3) We prove that training with these normalization methods can make the norm of weights increase, which could cause adversarial vulnerability as it amplifies the attack. Finally, a series of experiments are conducted to verify these claims.