Google Research's DeepCrossAttention trains transformers up to three times faster
A new routing method for residual connections lets transformer models match standard performance while training up to three times faster and needing fewer layers, Google Research says.
Google Research says a new technique called DeepCrossAttention (DCA) lets transformer models reach the same quality as standard architectures in a fraction of the training time, with almost no added computational cost. The method was detailed in a paper presented at ICML 2025 and described in a blog post by researchers Kyriakos Axiotis and Thomas Fu.
Transformers rely on residual connections, shortcuts that carry a copy of a layer’s input forward and add it to that layer’s output. Google Research explains that this simple addition treats every earlier layer equally, which can blur or dilute fine-grained details as data passes through dozens of layers. DCA replaces that fixed addition with a learned routing system: for each token, the model computes custom weights that decide how much to draw from each previous layer, then applies attention across those layers rather than just across words in a sentence.
In testing on the LM1B and C4 language benchmarks, Google Research reports that DCA matched standard transformer performance using up to five times fewer training steps, and produced lower perplexity, a measure of how well a model predicts text, when trained for the same number of steps. On LM1B, a standard transformer needed 42 layers to reach a perplexity below 14; a DCA model beat that score with just 30 layers, a 29% reduction in depth and parameter count, according to the company.
Google Research says the added routing mechanism costs less than 0.2% more parameters, though it does increase memory bandwidth demands since layer representations are kept separate rather than blended. Because DCA can be set up to initially behave like a normal residual network, it does not require training a model from scratch. Applying DCA to an already trained transformer and briefly continuing training cut perplexity on LM1B by 0.19, compared with 0.02 for the same amount of additional standard training, the company reports.
The blog post also places DCA within a wider trend. It cites Moonshot AI’s attention residuals method and Hyper-Connections, both of which replace fixed addition with more flexible ways of combining layer outputs, and notes that manifold-constrained Hyper-Connections address stability issues in that approach using a mathematical technique called the Sinkhorn-Knopp algorithm. Google Research says Thinking Machines’ Inkling 2 model has adopted elements of both the attention-residuals idea and DCA’s own design.
What this means
If the reported gains hold up outside Google’s own tests, training large language models could become meaningfully cheaper, since fewer steps and fewer layers both translate into less compute per model of a given quality. The ability to retrofit DCA onto an existing pretrained model, rather than starting over, could matter most for labs that cannot afford to retrain from scratch.
The reports do not say whether DCA has been deployed in any production Google model, nor do they give absolute training cost or dollar savings. Independent replication outside Google Research’s own benchmarks is also not addressed in the material released.
Google Research frames DCA as one entry in a broader shift toward dynamic, attention-based routing of residual connections, alongside work from Moonshot AI and other labs, suggesting the technique could influence how future transformer architectures are designed rather than remaining a one-off optimization.
Sources
Google Research