atlas

Research map / Architectures and efficiency / RNNs and normalization

On the Nonlinearity of Layer Normalization

ICML 2024 · Architectures and efficiency › RNNs and normalization · approach: Normalization layer theory · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows theoretically that layer normalization is nonlinear via a linear-invariant SSR bound, that LN-Nets with width 3 and O(m) LN layers can fit any binary labeling (VC lower bound L+2), and that group-based LN amplifies nonlinearity, with small experiments on random-label fitting, ResNet-NA and Transformer/ViT.

Problem

Theoretical understanding of layer normalization has focused on scale invariance and optimization; its nonlinearity and representation capacity are largely unexplored.

Approach

Defines a linear-invariant lower bound (LSSR) on the sum-of-squares ratio between two classes; shows linear networks cannot break it but linear+LN can, establishing LN nonlinearity; constructs width-3 LN-Nets that shatter any labeling via geometric projection-merge algorithms; and proposes group-based LN (LN-G) that amplifies nonlinearity measured by a Hessian-based indicator.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace LN with LN-GTransformer · IWSLT14 German-to-EnglishBLEU: 35.01 ± 0.10 -> 35.23±0.07Helped
Replace all LNs with LN-GTiny-VIT · CIFAR-10 testaccuracy: 88.81% -> 89.26%Helped
Use LN-Net instead of a linear classifier256-neuron network · CIFAR-10-RL training setaccuracy: 18.51 % -> 55.85%Helped
Use LN-Net instead of a linear classifier256-neuron network · MNIST-RL training setaccuracy: 15.38% -> 19.44%Helped
Replace LN with BN (ablation)LN-Net · CIFAR-10-RL and MNIST-RLtraining accuracyHurt
Use group-based LN with group number 32 (ablation)LN-Net · CIFAR-10-RL and MNIST-RL training setstraining accuracyHelped
Increase the LN-G group number to 128 (ablation)LN-Net · CIFAR-10-RL and MNIST-RL training setstraining accuracyHurt
Increase GN group number (ablation)ResNet-NA · CIFAR-10test accuracyHelped
Use LN-G-Position instead of GN (ablation)ResNet-NA · CIFAR-10test accuracyHelped
Increase LN-G-Position group number to 64 (ablation)ResNet-NA · CIFAR-10test accuracyHurt
Replace LN with LN-G-PositionResNet-NA · CIFAR-10test accuracy: 62.85% -> 86.66%Helped

Surprising findings

Limitations

Experimental setup

Datasets: CIFAR-10 MNIST IWSLT14 German-to-English

Benchmarks: CIFAR-10 MNIST CIFAR-10-RL MNIST-RL IWSLT14 De-En

Metrics: training accuracy test accuracy BLEU SSR/LSSR Hessian-based nonlinearity indicator

Baselines: LN BN GN IN linear classifier ResNet-NA without normalization

Builds on: Batch Normalization Group Normalization RMSNorm fairseq

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy