Skip to content
AI.info

The Pulse

Google Research says residual-connection design speeds model training

Google Research described DeepCrossAttention, a transformer architecture that selects information from earlier layers rather than weighting their outputs equally. The researchers say it reached comparable model quality up to three times faster in language-modeling experiments.

Google Research says residual-connection design speeds model training

A transformer architecture that selects information from earlier layers reached comparable model quality up to three times faster in language-modeling experiments, according to Google Research. In a November 23 post, the researchers described the design, called DeepCrossAttention, or DCA, and its changes to the residual connections used in transformer networks.

The work appeared in the proceedings of the 2025 International Conference on Machine Learning. The post was written by Google Research staff research scientist Kyriakos Axiotis and principal engineer Thomas Fu.

Changing the shortcut

A standard residual connection adds a layer’s input to its output, providing a shortcut around the layer. The Google Research authors say that summing earlier representations with equal weight can dilute useful details, making them harder for later layers to retrieve.

DCA instead uses a module to decide how to combine previous layer representations for each token being processed. For each token, it calculates mixing weights from a learnable base and an input-dependent projection.

The architecture also applies cross-attention across the depth of the network. Rather than using attention solely across tokens in a sequence, it allows each token to query a weighted mix of earlier layer representations.

Language-model results

The researchers tested the approach in controlled synthetic settings, language-modeling benchmarks and image classification tasks. On the C4 and 1 Billion Word Language Model Benchmark, or LM1B, datasets, DCA reached the performance of standard transformers in up to five times fewer training steps, according to the post.

The post also says DCA achieved lower perplexity than standard transformers and alternative connection designs under the same parameter and training budgets. Perplexity measures how well a probability model predicts a sample.

In one LM1B comparison, a fixed-width standard transformer needed 42 layers to reach perplexity below 14, the researchers report. The DCA model achieved a lower perplexity with 30 layers, a 29% reduction in depth and parameter count.

Parameters and existing models

Google Research says DCA adds less than 0.2% to the total model size. The post describes the additional compute and memory footprint as negligible, while noting that keeping representations from different layers intact increases memory bandwidth.

The approach can also be initialized to behave like a standard residual network, allowing it to be fitted to a transformer that has already been trained. In a test on LM1B, briefly continuing training after that change reduced perplexity by 0.19, compared with a reduction of 0.02 from continuing standard training, according to the researchers.

Other routing designs

The post also describes attention residuals, a design developed by Moonshot AI that uses learnable attention to weight and retrieve representations from earlier layers. A variant called Block AttnRes partitions layers into blocks to reduce memory overhead, the authors say.

Google Research says Thinking Machines’ Inkling 2 model adopted that design alongside DCA’s cross-attention mechanism. The post also discusses hyper-connections, which use parallel residual channels, and a constrained version designed to address training instability.

Sources

  1. Original source · Blog post Google Research “Supercharging transformer residual connections” research.google

Other pages read

  1. Proceedings of Machine Learning Research “DeepCrossAttention: Supercharging Transformer Residual Connections” proceedings.mlr.press

Companies in this story

Related stories

Explore

More articles