Google's DeepCrossAttention: Rethinking How Transformers Route Information Across Layers
Since the original Google paper that introduced transformers in 2017, one architectural detail has passed almost unnoticed amid the hype of increasingly large models: the residual connection. That direct line connecting a layer's input to its output — the skip connection that allows gradients to flow through networks of hundreds of blocks without vanishing — seems so simple that almost no one questions it. But what seems obvious in 2017 is not necessarily the best approach in 2026.
Last week, Google Research published a technical deep-dive on DeepCrossAttention (DCA), an approach first presented at ICML 2025, which proposes replacing the classic point-wise summation with a learned dynamic routing mechanism. The core idea is elegant in its simplicity: rather than fusing all representations from previous layers into a single sum, each token should decide, based on its own context, which previous layers are most relevant to it.
Information dilution
The problem DCA seeks to solve is what the authors call "information dilution" — a phenomenon that emerges in deep transformers and that, paradoxically, is a direct consequence of the very residual connection that makes them possible. When a transformer has 42, 64, or more layers, each block produces a representation that is added to the previous block's output. Over time, the fine details from early layers are gradually diluted by successive transformations. High-resolution information doesn't disappear — it simply becomes indistinguishable from the accumulated noise.
Imagine a room where each person whispers what they heard to the next. The second person repeats what they heard. The third, what they heard from the second. After a hundred steps, what remains? Nothing that couldn't have been heard directly from the first. This is essentially what happens with representations in a deep transformer, and that's why modern models need so many parameters: part of the network spends effort reconstructing information that was already processed but got lost in the summation.
Routing by token, not by network
DeepCrossAttention proposes something fundamentally different. Instead of a fixed sum, DCA introduces a lightweight module before each block that learns dynamic weights to combine outputs from previous layers. The crucial detail: these weights are computed per token. Two different tokens — say, "bank" in a financial context and "bank" in a river context — can receive completely different routes, privileging different layers.
The mechanism uses depth-wise cross-attention: while self-attention traditionally operates along the sequence of tokens, DCA operates along the depth of the network. Each token generates three independent projections (query, key, and value), each based on a dynamic combination of all previous layers. Instead of asking "what's relevant in the input sequence", DCA asks "what's relevant in the representations I've generated in previous layers".
The numbers are impressive. On language modeling benchmarks (LM1B and C4), a 30-layer DCA model achieved lower perplexity than a conventional 42-layer transformer — a 29% reduction in depth. The additional parameter cost is less than 0.2%. And for teams that have already trained models, the most relevant feature: DCA can be retrofitted to pre-trained checkpoints. Adding the DCA module to a trained transformer and briefly continuing training, perplexity on LM1B dropped by 0.19 — versus 0.02 for standard continued training.
The trade-off: memory instead of compute
Like any architecture, DCA has trade-offs. The main cost is memory bandwidth. For each token to query representations from previous layers, those representations must remain intact — not summed, not diluted. In a model with 64 layers of 4,096 dimensions, this means keeping 64 full tensors in memory for each batch during forward propagation, instead of just one summed tensor. Practically, this increases the memory footprint per token during training, which can limit batch size on GPUs with finite memory.
The authors also note that the benefit shrinks as the model grows. On C4, the perplexity advantage falls from 1.44 points in models of 75 million parameters to 0.40 points in models of 449 million. The tests stop at 449 million parameters — far from frontier-scale models (which now run with tens of billions). Whether DCA's advantage holds at 100 billion parameters or more is an open question.
The broader context
DCA is not the only dynamic residual routing approach. Moonshot AI published a technical report on Attention Residuals, which uses softmax attention over preceding layer outputs with a layer-specific pseudo-query. Thinking Machines combined Attention Residuals with DCA's split-Q/K/V variant in its Inkling 2 model — an indication that the community is actively exploring this direction.
The ICML 2025 was the original venue for DCA's presentation. Google Research only detailed the work on its blog on November 23, 2026, 11 months later. The delay between academic publication and internal disclosure could indicate a deliberate timing strategy — or simply that the blog was prioritized when editorial interest turned to training efficiency. Either way, DCA represents a signal of change: efficiency is no longer just about "how to train faster" or "how to scale more parameters", but about "how to do more with less". In an ecosystem where the cost of training a frontier model already exceeds hundreds of millions of dollars, any 20-30% gain in depth or training steps matters.
The question: will DCA become standard in next-generation architectures, or will it remain another optimization that proved its worth at limited scale? The ability to retrofit without full retraining is a distinctive feature that could accelerate adoption — provided the memory pressure isn't prohibitive for the industry's largest models.
Sources: Google Research, arXiv, Unite.AI
✓ Independent sources cross-checked and verified before publishing