Parallel Layer Normalization for Universal Approximation
Organizations: State Key Laboratory of Complex and Critical Software Environment (SKLCCSE), Beihang University, Beijing, China · Hangzhou International Innovation Institute, Beihang University, Hangzhou, China
Abstract
Layer Normalization (LN) is usually studied for its role in optimization, but it also acts as a multivariate nonlinearity between affine layers. We investigate how grouping LN units affects the approximation power of neural networks as width grows. In Parallel Layer Normalization networks (PLN-Nets), fixed-dimensional LN units are applied independently to groups between two affine layers. We prove that a shallow LN-Net with one LN unit is non-universal regardless of width, whereas PLN-Nets become universal as the number of parallel groups grows. The mechanism extends to deep networks, Root Mean Square Normalization (RMSNorm) variants, position-wise feed-forward networks, and convolutional networks under suitable grouping structures. Controlled MLP and physics-informed neural network (PINN) experiments support PLN's practical viability, while CNN and ViT experiments show that group count shapes the finite-sample fitting envelope but does not act alone: the grouped axes, replacement site, and label structure lead to distinct fitting and generalization behavior.
Figures & tables
| Width | PLN[4] | SAT | Tanh | ReLU |
|---|---|---|---|---|
| 128 | 0.000035 | 0.000104 | 0.000250 | 0.993593 |
| 256 | 0.000036 | 0.000052 | 0.000188 | 0.998485 |
| Operator | Normalization domain | Fitting accuracy (%) |
|---|---|---|
| LN | 24.6 | |
| Best GN | 95.8 | |
| PLN[8] | 100.0 | |
| PLN[4] | 100.0 |
| Setting | Random 20k | Clean train | Clean test |
|---|---|---|---|
| Baseline | 48.2 / 72.8 | 100.0 / 100.0 | 71.6 / 72.3 |
| LN PLN | 75.3 / 92.1 | 100.0 / 100.0 | 72.3 / 72.9 |
| LN Mix-Norm | 89.5 / 91.2 | 100.0 / 100.0 | 73.5 / 74.5 |
| GELU PLN | 73.7 / 97.3 | 99.4 / 100.0 | 69.7 / 71.0 |
| GELU Mix-Norm | 91.7 / 98.2 | 100.0 / 100.0 | 70.2 / 70.7 |
Appendix figures & tables9 assets
Supplementary material from the paper’s appendix.
Appendix
| Nonlinearity | Depth 1 | Depth 4 | Depth 1 | Depth 4 |
|---|---|---|---|---|
| Identity | ||||
| LN | ||||
| PLN[4] | ||||
| PLN[8] | ||||
| ReLU | ||||
| Width | Loss weight | ReLU | PLN[4] | PLN[8] | PLN[16] | PLN[32] | Tanh | SAT |
|---|---|---|---|---|---|---|---|---|
| 128 | 0.999601 | 0.000035 | 0.001120 | 0.001176 | 0.007878 | 0.000250 | 0.000104 | |
| 0.995612 | 0.000941 | 0.002284 | 0.000970 | 0.004231 | 0.003733 | 0.000979 | ||
| 0.993593 | 0.009553 | 0.003912 | 0.004856 | 0.007465 | 0.000440 | 0.000525 | ||
| 256 | 0.998639 | 0.000036 | 0.004040 | 0.001631 | 0.000567 | 0.000188 | 0.000052 | |
| 0.998485 | 0.001416 | 0.005552 | 0.001839 | 0.002643 | 0.002653 | 0.001219 | ||
| 0.999727 | 0.018451 | 0.002966 | 0.002875 | 0.005476 | 0.009267 | 0.000410 |
| Method | Initial 90% rank | Adam error | Adam + L-BFGS error |
|---|---|---|---|
| ReLU | 1 | 0.99999 | 1.00000 |
| Tanh | 1 | 0.0018235 | |
| SAT | 1 | 0.00067438 | |
| PLN[4] | 12 | 0.00067266 | |
| LN | 2 | 0.64416 | 0.62834 |
Layer Normalization
Layer normalization centers and scales neural activations to stabilize training, shape representations, and condition inputs across layers.
See all 29 papers