English

On the Nonlinearity of Layer Normalization

Machine Learning 2024-06-04 v1 Artificial Intelligence

Abstract

Layer normalization (LN) is a ubiquitous technique in deep learning but our theoretical understanding to it remains elusive. This paper investigates a new theoretical direction for LN, regarding to its nonlinearity and representation capacity. We investigate the representation capacity of a network with layerwise composition of linear and LN transformations, referred to as LN-Net. We theoretically show that, given mm samples with any label assignment, an LN-Net with only 3 neurons in each layer and O(m)O(m) LN layers can correctly classify them. We further show the lower bound of the VC dimension of an LN-Net. The nonlinearity of LN can be amplified by group partition, which is also theoretically demonstrated with mild assumption and empirically supported by our experiments. Based on our analyses, we consider to design neural architecture by exploiting and amplifying the nonlinearity of LN, and the effectiveness is supported by our experiments.

Keywords

Cite

@article{arxiv.2406.01255,
  title  = {On the Nonlinearity of Layer Normalization},
  author = {Yunhao Ni and Yuxin Guo and Junlong Jia and Lei Huang},
  journal= {arXiv preprint arXiv:2406.01255},
  year   = {2024}
}

Comments

42 pages, accepted to ICML 2024

R2 v1 2026-06-28T16:51:00.819Z