Saturday, 28 November 2026
Rīga TV

World and Latvian news in one place

TechnologyPublished: 28 November 2026 at 05:31

Google's DeepCrossAttention Matches Model Quality With Fewer Parameters and Faster Training

Google researchers have developed DeepCrossAttention, a redesign of residual connections in transformer models. In experiments it matched standard models up to five times faster while adding under 0.2% more parameters.

Foto: Hacker News (≥150 p.)

Google researchers presented DeepCrossAttention (DCA) in a paper at ICML 2025. It is a modification of the transformer architecture used in AI language models. It changes residual, or "skip," connections, which help deep networks train, and can deliver similar model quality with fewer parameters.

The problem

A standard residual connection simply adds a layer's input to its output and weights all earlier representations equally. The authors say this dilutes information in deep networks. Fine detail from earlier layers gets averaged out or distorted, so the network has to recompute it, which lowers learning efficiency.

How DCA works

DCA turns this into dynamic routing. For each token it computes its own mixing weights, combining a static learnable base with an input-dependent projection. The second element is depth-wise cross-attention: each token queries a dynamically weighted mix of embeddings from all earlier layers.

Results

On the C4 and LM1B datasets, DCA reached the performance of standard transformers in up to five times fewer training steps. With the same training time or step count, it achieved lower perplexity. To reach perplexity below 14 on LM1B, a standard transformer needed 42 layers, while the DCA model needed 30, a 29% reduction. DCA adds less than 0.2% of the total parameters. When it was retrofitted onto an already pre-trained model, brief further training cut perplexity by 0.19, against 0.02 for continued standard training.

The researchers also point to related approaches: Moonshot AI's attention residuals, hyper-connections and manifold-constrained hyper-connections. Thinking Machines' Inkling 2 model uses the attention-residual design together with DCA's cross-attention mechanism. The work was carried out with academic partners.

Comments

0/1500

Comments are automatically moderated. No hate, threats, personal data or spam.

Loading comments…

More in this category