November 23, 2026

Google Research has introduced DeepCrossAttention (DCA), an innovative architecture that enhances transformer networks by using learnable weights and depth-wise cross-attention to dynamically combine outputs from previous layers. This advancement addresses the vanishing gradient problem, which can degrade the learning signal in deep networks, and enables models to achieve comparable performance up to three times faster with a negligible increase in parameters.

Traditionally, deep learning models process data through layers, with each layer modifying the information slightly. In networks with many layers, this can lead to the original learning signal becoming severely diluted or lost, a phenomenon known as the vanishing gradient problem. Transformers mitigate this issue using residual connections, or “skip” connections, which act like information highways, allowing the model to maintain access to the original input data.

While standard residual connections use point-wise summation, which is computationally efficient, they treat all prior representations with equal weight. This can result in information dilution, where specific, high-resolution details from earlier layers are averaged out or distorted, making it difficult for the network to selectively retrieve them. DeepCrossAttention (DCA) overcomes this by allowing each layer to dynamically choose and route features from the history of preceding layers.

In their ICML 2025 paper, “DeepCrossAttention: Supercharging Transformer Residual Connections,” researchers Kyriakos Axiotis and Thomas Fu present DCA as a solution to the limitations of traditional residual connections. DCA introduces a dynamic routing mechanism that decides how to best combine previous embeddings on a per-token basis, rather than passing all prior layers forward with equal weight. This approach significantly improves the model’s learning efficiency and final performance.

The DCA architecture uses two primary mechanisms to enhance the model:

1. Dynamic Feature Routing: Each layer can selectively retrieve high-resolution features from earlier layers, preventing information dilution.

2. Efficient Parameter Usage: DCA adds fewer than 0.2% of the total model parameters, making it computationally efficient.

To validate the effectiveness of DCA, the researchers evaluated it across various benchmarks:

Language Modeling Benchmarks: DCA achieved lower perplexity than standard transformers and alternative connection baselines, including LAUREL-PA, 1×1-DenseFormer, and Hyper-Connections.

Image Classification Tasks: The model reached the performance of standard transformers in up to five times fewer training steps, demonstrating improved convergence speed and training stability.

For instance, on the Common Crawl’s web crawl corpus (C4) and the 1 Billion Word Language Model Benchmark (LM1B), DCA required only 30 layers to achieve a perplexity of <14, compared to 42 layers for a standard transformer. This 29% reduction in depth and parameter count highlights DCA’s efficiency.

Moreover, DCA’s performance improved as the connection history increased, with 16-DCA and 24-DCA achieving the lowest perplexity. Retrofitting DCA onto pre-trained transformers further enhanced its performance, reducing perplexity by 0.19 on LM1B compared to 0.02 for continued standard training.

The development of DCA reflects a broader trend in AI research, where dynamic routing and selective feature retrieval are increasingly seen as critical for building efficient and scalable models. Other methodologies, such as attention residuals and hyper-connections, are also gaining traction. For example, Moonshot AI’s attention residuals use learnable softmax attention mechanisms, while Thinking Machines’ Inkling 2 model incorporates DCA’s cross-attention mechanism.

By transitioning from static residual connections to dynamic, attention-based routing, DCA offers a powerful strategy for building more efficient models. This approach allows deep networks to selectively integrate token embeddings across different layers, leading to more expressivity and deeper interactions.

The research was a collaborative effort between Google and academic partners, including Mike Heddes, Adel Javanmard, MohammadHossein Bateni, and Vahab Mirrokni, whose contributions were crucial for the development of DCA.

This work underscores the importance of optimizing large language models and transformer architectures for better performance and efficiency, paving the way for more effective use of deep learning in various domains.

Source: https://research.google/blog/supercharging-transformer-residual-connections/