Certifying Residual Architectures from Their Primitives: Growth Exponents and Criticality
arXiv:2607.14576
Abstract
Whether a deep residual architecture avoids numerical blow-up in its forward and backward dynamics is typically determined through costly trial-and-error training. Existing stabilization strategies, including normalization and residual scaling, lack a common framework for predicting their effects across architectures. We develop an a priori certification framework based on two exponents derived from architectural primitives: the forward growth exponent and the Jacobian sensitivity exponent . These exponents characterize stability regimes and determine how certified allowable depth scales with the floating-point limit . In particular, marks a sharp threshold: for , certified depth scales as , , and in the regimes , , and , respectively, exhibiting changes reminiscent of phase transitions in statistical physics. The sensitivity exponent further constrains backward stability, even when . Exponent arithmetic enables certification from computation graphs, including heterogeneous residual stacks, and identifies targeted modifications to existing backbones without uniform normalization. Experiments on Mamba, PatchTST, FNO, GPT-2, and a Toto~2.0 proxy support the predicted stability distinctions: controlling superlinear growth prevents divergence in Mamba and Toto~2.0, while reducing attention sensitivity restores stable GPT-2 training. Among stable designs, architectures can outperform normalized counterparts in forecasting and operator-learning extrapolation. Rather than prescribing a single architecture, our framework identifies families of architectures with certifiable stability, narrowing the scope of trial-and-error and enabling systematic, task-dependent exploration before training.