Sunday, December 6 · What's taking off in AI, and why Get the weekly breakout →
VAIRALITY
29%Fewer layers and parameters for the same LM1B perplexity
Breakout: architecture

Google's DeepCrossAttention rewires how transformers remember

A Google Research architecture lets each layer choose which earlier layers to draw on. In the team's tests, that reaches the same quality up to three times faster, with almost no added parameters.

Most of the AI efficiency race is fought over chips, data and scale. A Google Research paper aims at something smaller and older: the wiring between a transformer's layers.

The paper is called DeepCrossAttention, or DCA. It was presented at ICML 2025 by researchers at Google and academic partners. The headline claim is that models reach the same quality up to three times faster, with a negligible increase in parameters.

The problem with the shortcut

Deep networks rely on residual, or skip, connections. Each layer's output is added to its own input, so the original signal is never lost as data passes through dozens or hundreds of layers.

The catch, as Google's researchers describe it, is that the addition treats everything that came before with equal weight. Fine detail from early layers gets averaged out, and later layers cannot easily pull it back. The network ends up recomputing what it already knew, which wastes learning effort.

DCA replaces that fixed sum with learned routing. A lightweight module in each layer decides, token by token, how to combine the outputs of earlier layers. Each layer can reach back and take what it needs.

The skip connection was built to be simple. The next gains may come from making it choose.

What the numbers say

The team tested on synthetic setups, language modeling benchmarks and image classification. On two language datasets, C4 and LM1B, DCA matched standard transformers in up to five times fewer training steps. Given the same budget, it reached lower perplexity, the standard measure of how well a model predicts text.

The clearest example is depth. To get LM1B perplexity under 14, a standard fixed-width transformer needed 42 layers. DCA beat that mark with 30, a 29% cut in depth and parameter count.

The overhead is small. DCA adds less than 0.2% to total model size. There is a trade-off: it raises memory bandwidth use, because representations from different layers stay separate instead of being blended together.

It can also be retrofitted. DCA can be set up to behave like a standard residual network at the start, so an already trained transformer can be converted. After brief continued training, LM1B perplexity fell by 0.19, against 0.02 for continuing standard training.

Why it matters

The gain here is in training efficiency and parameter count. The post does not claim faster inference, so the link to serving costs is an open question. Extra memory bandwidth could cut either way. The benchmarks are also language and image tasks at the scales the team tested, not a frontier-scale run.

Still, the direction is notable. Google says DCA and similar dynamic residual techniques are already seeing significant adoption. It points to Moonshot AI's attention residuals, which also swap fixed addition for selective retrieval across layers. It also says Thinking Machines' Inkling 2 model adopted that design along with DCA's cross-attention split. Those are Google's claims, and the sources do not independently confirm them.

A related line of work widens the residual stream into parallel channels, called hyper-connections. Google's post says their unconstrained mixing can destabilise training at scale. A variant that constrains the mixing matrices is meant to fix that. So several groups are converging on the same question: how should layers share information?

This suggests the residual connection, a fixture of transformers, is now being treated as a design variable rather than a given. If that holds, architecture changes that cost almost nothing in parameters could become a routine source of efficiency, alongside bigger clusters and better data.

Google's own forecast is that next-generation models will route across layers based on the specific tokens being processed. That is a prediction, not a result. The evidence so far is a well-controlled set of benchmarks, and the real test is whether the gains hold at larger scale.