
DeepCrossAttention Supercharges Transformer Residual Connections
Google Research presents DeepCrossAttention, an architecture that dynamically routes transformer layer history to reduce information dilution, reaching comparable quality in fewer training steps and with fewer layers.
Google Research has introduced DeepCrossAttention (DCA), an architecture that generalizes transformer residual connections by dynamically combining outputs from previous layers. Presented in an ICML 2025 paper by Kyriakos Axiotis and Thomas Fu, DCA uses learnable weights and depth-wise cross-attention to reduce information dilution. The work says models can reach comparable quality with fewer training steps and fewer layers.
How DCA works
Traditional residual connections use point-wise summation, treating prior representations with equal weight and potentially averaging out high-resolution details. DCA reframes residual learning as dynamic routing, with a lightweight layer-wise module that combines previous embeddings on a per-token basis. It has dynamic layer routing, where each token gets mixing weights from a static learnable base plus an input-dependent projection, and depth-wise cross-attention with split Q/K/V, which applies attention across layers rather than only across sequence tokens. This lets each layer query a dynamically weighted mix of all prior layer embeddings while adding less than 0.2 percent of total model parameters.
Experiments and results
The researchers tested DCA in synthetic setups, large-scale language modeling benchmarks, and image classification tasks. On C4 and LM1B, DCA achieved lower perplexity than standard transformers and alternatives such as LAUREL-PA, 1x1-DenseFormer, and Hyper-Connections under the same parameter and training budgets. DCA reached standard transformer performance in up to five times fewer training steps, and when trained for the same duration it consistently achieved lower perplexity. For perplexity below 14 on LM1B, a standard transformer with fixed width needed 42 layers, while DCA achieved lower perplexity with 30 layers, a 29 percent reduction in depth and parameter count. DCA can also be initialized to behave like a standard residual network, and retrofitting it onto a pretrained transformer with brief continued training reduced perplexity by 0.19 on LM1B, versus 0.02 for continued standard training.
Related approaches and outlook
The paper also discusses attention residuals from Moonshot AI, which use learnable softmax attention with a layer-specific pseudo-query, and notes that Thinking Machines' Inkling 2 adopted this design plus DCA's Q/K/V split mechanism. It contrasts hyper-connections, which expand the residual stream into parallel channels but can break identity mapping, with manifold-constrained hyper-connections, which use Sinkhorn-Knopp to keep mixing matrices doubly stochastic and restore stable propagation. The authors expect next-generation models to dynamically route and weigh past layer representations by token, using layers as specialized experts with more information sharing and less redundancy.
Sources: research.google
SiTech — AI-powered web development
We build fast, modern websites and bring AI into real business workflows. Have a project or a question? We'd love to help.