Papers
Topics
Authors
Recent
Search
2000 character limit reached

Scaling Adaptive Depth with Norm-Agnostic Residual Networks

Published 15 Jun 2026 in cs.LG and cs.AI | (2606.16112v1)

Abstract: Residual architectures are ubiquitous in deep learning, but they suffer from a subtle structural limitation: the norm of the residual stream can grow rapidly with depth. As a result, updates from later layers become small relative to the accumulated residual state. This reduces their impact on the representation and limits the benefits of scaling models in depth. To address this, we introduce NAG, a norm-agnostic residual architecture that separates magnitude from directional information in the residual stream, preserving meaningful layer contributions throughout depth and preventing later updates from being systematically suppressed by residual-norm growth. Importantly, NAG introduces only a negligible number of additional parameters and relies on simple operations that are easily kernel-fusible, preserving training efficiency in practice. We show that this architecture outperforms baseline Transformers, with gains that increase substantially as depth grows, enabling effective training of much deeper models. The norm-agnostic formulation also leads to an interpretable Mixture-of-Depths (MoD) mechanism that adaptively skips both attention and MLP layers. Beyond serving as a post-training accuracy-compute tradeoff, this mechanism can be used as a pretraining-time scaling strategy: under iso-FLOP training, compute saved by reducing per-token forward-pass cost can be reinvested into training on more tokens while keeping the total parameter count and KV-cache budget fixed. In our experiments, moderate Mixture-of-Depths rates of approximately 20%-25% match full-depth baseline performance under equal training compute while substantially reducing the number of executed layer parameters and forward-pass FLOPs. These results identify sparsity in depth as a new scaling axis for fixed-compute training, enabling very deep yet FLOP-efficient models.

Summary

  • The paper introduces a Norm-Agnostic Residual Network that decomposes the residual stream into separate norm and direction components to ensure balanced layer contributions.
  • It demonstrates significant improvements in depth efficiency and training loss, achieving a 120× reduction in norm accumulation compared to standard models.
  • The approach enables adaptive compute via a geometric Mixture-of-Depths routing mechanism, facilitating efficient low-precision inference and scalable deep networks.

Scaling Adaptive Depth with Norm-Agnostic Residual Networks

Motivation and Structural Limitations in Deep Residual Networks

Traditional residual architectures enable the stable training of deep networks by providing a direct identity gradient path, thereby circumventing vanishing and exploding gradient issues [he2016deep, vaswani2017attention, elhage2021mathematical]. However, empirical and theoretical analyses increasingly reveal inherent inefficiencies in depth utilization: later layers contribute progressively weaker updates to the representation, tending toward near-identity maps and producing highly correlated residual streams with increased depth [sun2025curse, csordas2025depth, gromov2025unreasonable, men2025shortgpt]. Moreover, deep layers in both standard and pre-norm Transformer variants are often observed to be expendable, with minimal degradation when skipped [veit2016residual, sajjad2022effect]. These phenomena suggest that the additive residual stream structure induces increasing norm growth, effectively diluting the impact of layer updates as model depth increases. While normalization variants (pre-norm, post-norm, sandwich-norm) attempt to mitigate gradient issues, none explicitly control the per-layer influence relative to the residual norm, resulting in architectural bias toward attenuated gradients (especially in early layers) and inequitably allocated compute across model depth [xie2023residual, sun2026cursedepthlargelanguage, brody2023expressivityrole].

Norm-Agnostic Residual Stream Formulation

The proposed Norm-AGnostic (NAG) architecture decomposes the residual stream RlR_l at each layer into separately propagated norm (ρl\rho_l) and direction (Rˉl\bar{R}_l) components. This separation ensures that layer contributions induce controlled rotations in representation space, independent of the residual norm magnitude. Layer outputs are centered and orthogonalized with respect to Rˉl\bar{R}_l, normalized to fixed scale, and modulated by a trainable scalar αl\alpha_l and an input-dependent norm-modulator mlm_l (a convex combination of sigmoid gates aligned to learned preferred directions). Updates are then added exclusively to the direction channel, while the induced norm increase is tracked in the separate norm lane, preserving numerical precision in log-space. This construction facilitates efficient kernel fusion and introduces negligible parameter overhead. Figure 1

Figure 1: Schematic of the norm-agnostic architecture showing explicit separation of norm and direction propagation, layerwise orthogonalization, norm modulation, and transport of the norm update.

At decoding, token logits are computed via cosine similarity between final normalized direction RˉL\bar{R}_L and normalized embedding-table rows, with the decoded distribution's sharpness governed by the transported norm—a learned prediction temperature.

Experimental Results: Depth Efficiency, Geometric Stability, and MoD

NAG delivers improved loss and downstream accuracy relative to matched baselines, with benefits amplifying as depth increases. In depth ablation studies, NAG consistently outperforms baseline Transformers in HellaSwag accuracy, and achieves substantially lower training losses across all width-to-depth ratios. Notably, NAG achieves an approximately 120×120\times reduction in residual-stream norm accumulation compared to baseline models, resulting in effective parameter equality and mitigating norm-dependent inhibition through depth. Figure 2

Figure 2

Figure 2

Figure 2

Figure 2

Figure 2: Model ratio 20 depth analysis illustrates the loss curves and layerwise contribution equalization enabled by NAG.

Figure 3

Figure 3

Figure 3: Baseline comparison reveals norm accumulation and diminished layer effectiveness in standard architectures.

Covariance-spectrum analysis of normalized residual directions demonstrates increased directional concentration (lower total variance) without effective-rank collapse, confirming that NAG suppresses norm-induced noise while preserving representation richness. Layerwise scaling factors αl\alpha_l and realized mean-gain remain invariant with depth, indicating balanced layerwise computational influence. Preferred-direction analysis shows local correlation across depth, suggesting consecutive layers operate in serially-related subspaces and supporting a conditional state-machine interpretation.

NAG substantially improves weight centering, reduces activation outliers, and enhances quantization suitability—key for deploying efficient low-precision inference. Moreover, attention-sink analysis reveals that NAG eliminates vertical-band (sink) patterns in post-softmax attention matrices, instead distributing attention mass broadly without persistent dependence on fixed initial tokens, further facilitating quantization [xiao2024streamingllm, gu2025attentionsink].

Adaptive Compute via Mixture-of-Depths (MoD)

NAG architecture naturally enables an interpretable, geometric skipping criterion for MoD: layer execution is triggered for tokens only if the predicted normalized rotation exceeds a threshold, measured relative to the layer's maximum possible angular update. This geometrically principled routing mechanism obviates the need for an auxiliary learned router, improves loss for MoD compared to standard router approaches, and allows skipping both attention and MLP/MoE blocks with negligible loss degradation up to moderate skip rates (20–25%).

Iso-compute experiments demonstrate that, for fixed parameter count and KV-cache budget, MoD under NAG matches full-depth performance when compute savings are reinvested to train on more tokens. Forward-pass cost and executed parameters are proportionally reduced, enabling adaptive depth scaling and compute-efficient inference, marking MoD as a viable pretraining strategy [raposo2024mixture].

Implications, Theoretical Reflections, and Future Directions

These findings identify residual-stream norm control as a fundamental scaling axis for Transformer architectures. NAG guarantees uniform layerwise influence, eliminates norm-induced inhibition, and paves the way for unbounded scaling in depth—potentially supporting latent program execution of arbitrary length without discrete token bottlenecks. The geometric MoD routing exposes transparent, interpretable compute allocation per token and per layer, and supports simultaneous sparsity in both width (via MoE) and depth. Open problems include optimal tuning of sparsity ratios, system-level tradeoffs, and exploiting NAG for iterative or recurrent residual computation paradigms [csordas2024moeut, geiping2026scaling].

Conclusion

Scaling deep residual architectures necessitates explicit control over residual-stream norm and directional updates. NAG, by decoupling magnitude from direction and enabling adaptive, geometry-driven layer skipping, remedies long-standing inefficiencies in depth utilization and unlocks new paradigms in depth scaling, compute allocation, and quantization robustness. Practically, it enables compute-efficient, extremely deep models compatible with pretraining-time MoD, supporting extensive token throughput and parameter efficiency (2606.16112).

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Collections

Sign up for free to add this paper to one or more collections.

Tweets

Sign up for free to view the 1 tweet with 15 likes about this paper.