AI NewsModels & agentsAnnouncement

Google says DeepCrossAttention trains a transformer 3x faster

Google Research posted DeepCrossAttention, a new transformer layer routing scheme. Its authors say it reaches the same quality in five times fewer steps.

AI News

Editorial2 min read

LinkedInX
Transformer architecture with cross-layer routing

Why it mattersA model that trains faster at the same quality lowers the cost of pretraining. The method adds less than 0.2 percent parameters.

Pretraining a transformer costs a lot, and most of the cost pays for depth. Google Research published a new layer routing scheme its authors say reaches the same quality with far fewer training steps. The method is DeepCrossAttention. The paper was at ICML 2025.

The target is the residual connection, the skip link that passes a layer's output on to every later layer. Google's authors say the standard connection "treats all prior representations with equal weight, leading to information dilution in deep networks". The new method lets each token learn its own mix of the earlier layers.

How DeepCrossAttention works

DeepCrossAttention replaces the sum with learned routing. Each token gets its own weights for mixing earlier layer outputs. The weights come from a small base matrix plus an input-dependent projection. On top of that, attention now runs across layers rather than across tokens. Each token queries a weighted mix of earlier layer embeddings before the next step.

The authors are Kyriakos Axiotis and Thomas Fu, both at Google Research. They credit Mike Heddes, Adel Javanmard, MohammadHossein Bateni and Vahab Mirrokni on the work.

The numbers Google reports

Google's own figures, from the post and the ICML paper:

  • The same model quality with "up to three times faster" training on language modelling.
  • Standard transformer quality reached in "up to five times fewer training steps".
  • On LM1B, 30 layers matched a 42-layer baseline. Google calls that a 29 percent cut.
  • Retrofitted on a pretrained model, perplexity dropped by 0.19 on LM1B. A matched standard training run dropped it by 0.02.
  • The extra parameters are "less than 0.2 percent of the total model size".

Google reports the gains on LM1B and C4, and also on image classification and a synthetic test. The chart in the post shows C4 perplexity falling from 15.14 to 14.35.

What Google will not say

The post states one cost. Memory bandwidth goes up, because the earlier layer outputs stay available rather than merging into one sum. Google calls the compute and memory footprint negligible.

Three things the post does not say. There is no reported run at frontier scale. The datasets listed are academic sized. The page names no open-source release of the training code. A team that wants to copy the method today needs to read the ICML paper and write it.

Pretraining compute is still the single largest line item for most model builders. Five times fewer training steps at the same quality would cut that bill. The method adds 0.2 percent parameters. Someone will try it at 70 billion parameters first. That run decides whether it matters for people picking a base model next year.

Source

Supercharging transformer residual connections on Google Research, DeepCrossAttention on arXiv.

This item was written by an AI system from the linked source. Reveneau is responsible for what it publishes.

Share
LinkedInX
Start a project