Research ·
Supercharging transformer residual connections
Google Research introduces DeepCrossAttention (DCA), a transformer architecture that replaces fixed residual connections with learnable depth-wise cross-attention, matching standard transformer quality up to three times faster with fewer parameters.

Google Research has presented DeepCrossAttention (DCA), an architecture change for transformers described in an ICML 2025 paper by Kyriakos Axiotis and Thomas Fu. Traditional residual connections add a layer's output to its input with equal weighting, which the authors say causes information dilution in deep networks: high-resolution details from earlier layers get averaged out or distorted. DCA instead treats residual learning as a dynamic routing problem, letting each layer select and combine features from the history of preceding layers.
The architecture has two mechanisms. Dynamic layer routing computes per-token mixing weights from a static learnable base plus an input-dependent projection, letting processing shift between purely sequential and fully parallel based on the token's context. Depth-wise cross-attention with split Q/K/V applies attention across layers in depth rather than across tokens, so each token queries a weighted mix of all prior layer embeddings without the usual computational penalty.
Experiments covered synthetic setups, language modeling, and image classification. On C4 and LM1B, DCA matched standard transformers in up to five times fewer training steps, and at equal budgets it achieved lower perplexity than baselines including LAUREL-PA, 1x1-DenseFormer, and Hyper-Connections. Reaching perplexity below 14 on LM1B took a standard transformer 42 layers versus 30 layers for DCA, a 29% depth and parameter reduction; the team also cites same quality up to three times faster and 30-40% fewer parameters. For builders, DCA suggests meaningful training-cost savings without changing scale, though it requires adopting a modified architecture rather than a drop-in tweak.
References
- Google Research · research.google
Read the full story at Google Research ↗Like, save or discuss on Buzz