Skip to content- Sources: primary
- Summary: Google Research describes DeepCrossAttention, from its ICML 2025 paper. Each layer mixes the outputs of earlier layers with learned, input-dependent weights and applies cross-attention across depth instead of summing residuals equally. On LM1B and C4 it matched standard transformers in up to five times fewer training steps, and it reached under 14 perplexity on LM1B with 30 layers where a baseline needed 42. It adds under 0.2% parameters and can be retrofitted onto a pretrained model.
- Why it matters: Dynamic residual routing is spreading into open models such as Inkling 2, so engineers who serve or fine-tune them should expect higher memory bandwidth use per layer.
- Background: Residual connections add each layer's input to its output so that gradients flow through deep networks. Summing every layer with equal weight dilutes features from early layers. Related designs include Moonshot AI's attention residuals and hyper-connections, which widen the residual stream into several channels.