AI glossary · Basic · Language models · Efficiency & infra
DeepCrossAttention
DeepCrossAttention (DCA) is an architecture that changes the residual connections of a transformer. Instead of adding the outputs of all earlier layers with equal weight, it selects and mixes information from the layers each token needs and passes the result to the next layer.
About this term
- Level
- Basic · Technical terms you often meet in AI news
- Category
- Models & generation
- Added
- 2026-11-29
What it is
A transformer is a stack of many layers, and between layers there is a shortcut called a "residual connection." A residual connection adds a layer's input directly to its output so that the original information reaches deep into the network. The problem is that this addition treats information from all earlier layers with equal weight. As layers get deeper, fine-grained information from the early layers gets diluted, and the model has to recompute it. DCA aims to reduce this problem by replacing the fixed addition with "selective retrieval."
Residual connection vs DCA
Standard residual connectionPlain addition
- Adds earlier outputs with equal weight
- Simple, fast computation
- Early-layer information gets diluted
DCASelective retrieval
- Gives different per-layer weights to each token
- Retrieves early-layer information directly
- Increases memory bandwidth load
공통 Both are shortcuts that pass earlier information forward in deep transformers
How it works
DCA does not merge the outputs of earlier layers into one; it keeps each of them separate. A small module attached to each layer then computes per-layer weights for the token being processed. These weights combine a learned default value with a value that changes depending on the input (dynamic layer routing). On top of this, attention is applied along the layer depth dimension rather than between tokens (depth-wise cross-attention). As a result, each token can directly find and retrieve the information it needs from the outputs of earlier layers.
How it has developed
The starting point is the paper "DeepCrossAttention: Supercharging Transformer Residual Connections" (posted on arXiv on 2025-02-10). The paper introduced the idea of replacing simple additive residual connections with input-dependent weighted combinations and cross-attention between layers. According to community summaries, the paper appeared at ICML 2025. In November 2026, Google Research presented the method again, and it was covered by several media outlets. The same community post says that Moonshot AI's Attention Residuals shares the principle of "selective retrieval instead of fixed addition."
Why it is getting attention
The paper reports that DCA adds almost no parameters but reaches the same model quality up to 3x faster. With the same training time, perplexity (a metric of how much less uncertain a model is about the next word; lower is better) was also reportedly lower. According to community summaries, the extra parameters are less than 0.2% of the total. It can also be initialized to behave exactly like a standard residual connection at the start, so it can reportedly be added to an already trained model followed by a short period of further training. For LLMs, where training is expensive, reaching the same quality faster is significant on its own.
Things to know
The speedup figures are experimental results reported by the researchers themselves and come from specific datasets and settings. There is no guarantee they will hold for every model and scale. Although parameters barely increase, the layer outputs are carried separately rather than merged, which increases memory bandwidth load. So how much training time is actually saved can vary by hardware. There is not yet much confirmed evidence on how widely it is used in commercial large models.
Example
In November 2026, this site published the news item "Google DeepCrossAttention (DCA): selects and combines earlier layer outputs per token instead of residual connections… reaches the same quality up to 3x faster." A team training models that adopts this method would put DCA modules in place of the residual connections in a standard transformer. It would then check both how much training time is saved to reach the same perplexity target and how much memory bandwidth load increases. If the team already has a trained model, it can also try adding DCA and doing a short period of further training instead of training from scratch.
Where it came up on this site
Related terms
References
- Google DeepCrossAttention reaches equivalent model quality up to 3x faster (GeekNews)
- DeepCrossAttention: Supercharging Transformer Residual Connections (arxiv.org)
- Google Research Details DeepCrossAttention’s Dynamic Layer Routing (Unite.AI)
- DeepCrossAttention (DCA): Google Fix for Deep Transformers (explainx.ai)
- Google revives DeepCrossAttention, where layers choose what to reuse (Pasquale Pillitteri)
- Google DeepCrossAttention cuts the training time needed for the same model quality to as little as one-third (GeekNews)