Activation-Adjacent Layer Normalization: Effects on Approximation Power
Organizations: State Key Laboratory of Complex and Critical Software Environment, Beihang University, Beijing, China · Hangzhou International Innovation Institute, Beihang University, Hangzhou, China
Abstract
Layer normalization (LN) and root mean square normalization (RMSNorm) depend on their inputs and remain nonlinear at inference. Inserting either next to an activation may therefore change the function a network represents. We study when shallow activation-normalized (AN) and preactivation-normalized (PN) networks can approximate a prescribed width- one-hidden-layer MLP. Viewing RMSNorm as input-dependent scaling, we use width augmentation to locally linearize normalization on compact feature sets. For AN networks, an unbounded activation range allows width , while every continuous nonconstant activation admits width with error . For PN networks, affine parameters or, without them, degree-one positive homogeneity recover width ; general continuous activations admit width with error tending to zero. The corresponding LN constructions use centered coordinate pairs, yielding widths and , respectively. We prove that for RMSNorm and for LN are also the worst-case bound for approximations, and show that applicable universal-approximation theorems for ordinary MLPs transfer to these normalized architectures. Numerical experiments recover the predicted approximation rates for both normalizations across all five settings and illustrate the shifted-ReLU finite-width obstruction.
Figures & tables
| Mode | Parameters | Additional condition on | RMSNorm (UB/LB) | LN (UB/LB) | Error |
|---|---|---|---|---|---|
| AN | unbounded range | ||||
| AN | nonconstant | ||||
| PN | none | ||||
| PN | degree-one homogeneous | ||||
| PN | none |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Construction | Predicted RMS/LN | RMS observed | LN observed |
|---|---|---|---|
| AN, unbounded (ReLU) | ( ) | ( ) | |
| AN, general ( ) | ( ) | ( ) | |
| PN, affine ( ) | ( ) | ( ) | |
| PN, homogeneous (ReLU) | ( ) | ( ) | |
| PN, general ( ) | ( ) | ( ) |
Layer Normalization
Layer normalization centers and scales neural activations to stabilize training, shape representations, and condition inputs across layers.
See all 29 papers