Depth Laws for the Precision Floor of Trained Neural Networks: Amplification, Residual Scaling, and a Quantization-Aware Training Paradox
Organizations: Faculty of Information Technology Mutah University Al-Karak, Jordan
Abstract
How many bits does a network need before its accuracy collapses, and how does this grow with depth? We study the precision floor, the perturbation level or bit-width at which accuracy falls halfway to chance, in MLPs, CNNs, Vision Transformers and nine pretrained language models, under post-training quantization (PTQ) and quantization- or noise-aware training (QAT). (i) A first-order theory sets the floor through one full-precision quantity, the predictive amplification : , and grows linearly in depth at a rate proportional to the squared residual branch scale. (ii) The predicted equality of depth exponents holds within 95% intervals in twelve of thirteen trained architectures and in GPT-2 from 12 to 48 layers, with across trained architectures. (iii) Residual branches scaled by and pre-normalisation remove the depth penalty, and each quantizer turns noise into bits at a rate fixed by its step rule, giving . (iv) A QAT paradox: noise-aware training roughly doubles the tolerable noise of shallow networks, but the gain decays with depth, so the depth law steepens (- on two datasets, ten seeds each). Decision margins, cross-layer error cancellation and heavy tails do not set the floor.
Figures & tables
| Family | Variant | Branch scale | Depths | Data, training |
| MLP, width 32 | plain | – | 4, 6, 8, 12, 16, 24 (32) | Fashion-MNIST, MNIST 20k train, Adam, 3 epochs |
| residual | 8, 16, 32, 64 | |||
| residual | 8, 16, 32, 64 | |||
| CNN, 64 channels | plain | – | 4, 8, 16 | CIFAR-10, Adam + cosine, 15 epochs (30 in control), flip + crop augmentation |
| residual | 4–64 | |||
| residual | 4–64 |
| Family | Architecture | (amplification) | (collapse) | bit slope | ||
|---|---|---|---|---|---|---|
| MLP | plain | [+0.50, +0.60] | [+0.63, +0.76] | 1.39–1.81 | ||
| MLP | res. | [+0.23, +0.36] | [+0.15, +0.49] | 1.67–1.77 | ||
| MLP | res. | [-0.10, -0.02] | [-0.09, +0.01] | 1.69–1.78 | ||
| CNN | plain | [-0.10, +0.05] | [-0.10, +0.07] | 1.40–1.43 | ||
| CNN | res. | [-0.06, +0.01] | [-0.11, -0.05] | 1.40–1.65 | ||
| CNN | res. | [-0.03, +0.06] | [-0.10, -0.02] | 1.34–1.68 |
| Model | layers | width | accuracy | linearity | |||
|---|---|---|---|---|---|---|---|
| GPT-2 small | 12 | 768 | 0.387 | 0.146 | 7.26 | 1.00 | 1.06 |
| GPT-2 medium | 24 | 1024 | 0.429 | 0.205 | 5.49 | 1.01 | 1.13 |
| GPT-2 large | 36 | 1280 | 0.442 | 0.261 | 3.85 | 1.00 | 1.01 |
| GPT-2 XL | 48 | 1600 | 0.449 | 0.301 | 3.39 | 1.00 | 1.02 |
| Pythia-70m | 6 | 512 | 0.339 | 0.050 | 84.82 | 1.87 | (4.22) |
| Pythia-160m | 12 | 768 | 0.396 | 0.080 | 52.70 | 1.56 | (4.21) |
| Dataset | Architecture | seeds | ||||
|---|---|---|---|---|---|---|
| Fashion-MNIST | MLP plain | 10 | [1.37, 1.57] | [+0.27, +0.37] | ||
| MNIST | MLP plain | 10 | [1.37, 1.54] | [+0.29, +0.37] | ||
| Fashion-MNIST | MLP res. | 10 | [1.39, 1.83] | [+0.14, +0.23] | ||
| MNIST | MLP res. | 10 | [1.62, 2.17] | [+0.20, +0.28] | ||
| Fashion-MNIST | MLP res. | 10 | n/a | [+0.04, +0.09] | ||
| CIFAR-10 | CNN res. (15 epochs) † | 3 | n/a |
Appendix figures & tables1 asset
Supplementary material from the paper’s appendix.
Appendix
| Architecture | width | |||
|---|---|---|---|---|
| plain | 32 | [1.79, 2.31] | ||
| plain | 128 | [0.19, 0.30] | ||
| plain | 512 | [0.03, 0.04] | ||
| residual, | 32 | [1.20, 2.17] | ||
| residual, | 128 | [0.53, 0.69] | – | |
| residual, | 512 | [0.14, 0.17] | – |
Neural Network Quantization
Neural network quantization represents weights, activations, and states with fewer bits to reduce memory use, computation, and deployment costs.
See all 394 papers