AI News

Google's DeepCrossAttention Trains Transformers Up to 3x Faster — What It Really Is

By Asad Ali ·

14 min read

Cover illustration for the DeepCrossAttention article: a stylized transformer neural network with layered connections on a dark background.

Yes — Google says its DeepCrossAttention architecture can train a transformer to the same quality up to three times faster, using up to five times fewer training steps, with less than 0.2% extra parameters. And no — this is not a new Gemini model, and it is not something you can download today. It is a research idea from an ICML 2025 paper that Google chose to promote in a blog post on 23 November 2026, and every headline number comes from Google's own runs on two standard language-modeling benchmarks, not from frontier-scale models.

DeepCrossAttention, or DCA, rebuilds the oldest shortcut in the transformer: the residual connection. Since the transformer was introduced, every layer has passed its output forward by simply adding it to what came before. Google's argument is that this simple addition wastes information — and that letting each layer choose what to keep from earlier layers makes training dramatically more efficient. The paper behind it, "DeepCrossAttention: Supercharging Transformer Residual Connections," was presented at ICML 2025 by researchers from Google Research, UC Irvine and the University of Southern California. The November 2026 blog post, written by Google staff research scientist Kyriakos Axiotis and principal engineer Thomas Fu, is what put it on Hacker News, where it reached the front page the same day.

What is a residual connection, and why does it waste information?

Google's blog post opens with an analogy: a traditional deep network is like a giant game of telephone. Data passes through layer after layer, each one changing the information slightly, and after dozens or hundreds of layers the original signal can degrade or vanish — the vanishing gradient problem. Residual connections, also called skip connections, fix this by letting a copy of a layer's input skip past the layer and get added directly to its output. The model always has the raw data to refer back to, and gradients flow cleanly through the shortcut.

The catch is in how that addition works. A standard residual connection does point-wise summation: it adds the layer's output to its input, treating every prior representation with equal weight. In a deep network, that means fine-grained details from early layers get averaged out or distorted as features propagate forward. The network cannot easily reach back and retrieve a specific detail from layer 3 when it is sitting at layer 30 — so it recomputes that detail instead, which costs training time. Google calls this information dilution, and the paper tests it with a deliberately simple question: can a residual network easily learn to recover its own input? For a generative model, that should be a basic task. The paper's answer is that standard residuals struggle with it, and the struggle grows with depth.

That is the problem DCA is built to solve. Instead of a fixed addition, each layer gets a small routing module that decides, for every token, how to combine the outputs of all previous layers — keeping the useful ones at full resolution and ignoring the rest.

How DeepCrossAttention works: two mechanisms

DCA reframes residual learning as a routing problem. It introduces two mechanisms that work together:

Dynamic layer routing. For every token processed, DCA computes a unique set of mixing weights from a static, learnable base combined with an input-dependent projection. In plain terms, the model learns both a default recipe for combining earlier layers and a per-token adjustment to that recipe. This lets the network shift its processing structure — from purely sequential to fully parallel — depending on the specific context of the token. A token that needs a detail from an early layer can pull it forward directly; a token that does not need it can ignore it.

Depth-wise cross-attention (split Q/K/V). Standard transformer attention works across tokens in a sequence: each token attends to other tokens. DCA applies attention across layers in depth instead. Each token queries a dynamically weighted mix of all prior layer embeddings. In the full design, the paper applies three independent instances of the routing mechanism inside each decoder block — one each for the queries, keys and values used in attention — so the queries, keys and values can each combine layer outputs independently.

The paper builds this up through a sequence of generalizations it calls Generalized Residual Networks (GRNs), ending in the full DCA design. The practical detail that matters most for anyone who might try it: DCA can be initialized to behave identically to a standard residual network. That means you do not have to train from scratch to test it — you can bolt it onto an existing model and keep training. Google's blog post makes a point of this, and the retrofit experiment below is the evidence.

The headline numbers, checked

Every number in this table is Google's own claim, from its blog post and the underlying paper, measured on the LM1B (1 Billion Word) and C4 (Colossal Clean Crawled Corpus) language-modeling benchmarks.

What Google reportsThe numberWhat it was measured on
Same model quality, faster trainingUp to 3x fasterLanguage modeling, LM1B and C4
Steps to reach the same perplexityUp to 5x fewer stepsLM1B and C4, vs standard transformers
Layers needed for perplexity under 1430 vs 42 layers (29% less depth)LM1B, fixed-width models
Extra parameters added by DCALess than 0.2% of total model sizeAcross the paper's experiments
Parameters needed for the same learningUp to 30–40% fewerGoogle's blog-post claim
Retrofit onto a pretrained model (perplexity drop on LM1B)−0.19 vs −0.02 for continued standard trainingBrief continued training after retrofit

The depth result is the most concrete of the set. To reach a perplexity under 14 on LM1B — perplexity is how well a probability model predicts a sample, so lower is better — a standard fixed-width transformer needed 42 layers. A DCA model reached a lower perplexity with only 30 layers: a 29% reduction in depth and, Google says, in parameter count for that target. And on both LM1B and C4, DCA beat the alternative connection designs Google compared against — LAUREL-PA, 1x1-DenseFormer and Hyper-Connections — at matched parameter and training budgets.

Standard transformer vs DeepCrossAttentionGoogle's own results on LM1B and C4 — lower is better, except speedLayers to perplexity < 14 (LM1B)42 layers30 layersTraining steps to same quality5x1xTraining speed, same quality1xUp to 3xGrey: standard transformer. Teal: DeepCrossAttention. "Up to" matters — these arebest-case figures on Google's LM1B/C4 runs, not guaranteed gains on every model.

What this is not: the correction

The 23 November post is research communication, not a product announcement. Three things it does not mean:

It is not a Gemini release. Nothing in the post mentions Gemini, a new model, or a product launch. DCA is an architecture idea, and Google published it to share research — the same way it publishes dozens of papers a year. If a future Gemini model uses it, Google has not said so.

The numbers are not frontier-scale results. LM1B and C4 are standard, well-understood language-modeling benchmarks, but they are far smaller and simpler than the data and models behind today's frontier systems. A 3x speedup on LM1B does not automatically mean a 3x speedup on a model trained on trillions of tokens. Google's results were consistent across the model depths and scales it tested, but the paper does not claim frontier-scale validation.

There is no code or release to download. The blog post announces no code, no library, no Hugging Face module and no release date. The paper (arXiv:2502.06785) describes the architecture in full, so researchers can implement it themselves, but there is no official implementation to install. Anyone who wants to try DCA today has to build it from the paper.

There is also a timing detail worth stating plainly: the work itself is not new. The paper was submitted to arXiv in February 2025 and presented at ICML 2025 in July. What is new is Google putting its weight behind the idea in a November 2026 research post — and the timing matters, because training efficiency has become one of the industry's defining questions as models get more expensive to train.

Can you add it to a model you already trained?

This is the most practical part of the post. Because DCA can be initialized to behave identically to a standard residual network, Google tested retrofitting it onto an already pretrained transformer and continuing training briefly. On LM1B, that cut perplexity by 0.19 — versus just 0.02 for continued standard training in the same setup. In other words, the retrofit delivered roughly ten times the improvement of simply training the old architecture a little longer.

That matters because retraining a large model from scratch is the most expensive thing in AI. If an architecture change can be bolted on after the fact, teams can test it cheaply instead of committing to a full retrain. Google is careful to frame this as a single benchmark result, not a general guarantee — but as a signal, it is the part of the post most likely to change what builders actually try next.

There is a cost, and Google states it. DCA increases memory bandwidth, because representations from different layers are presented intact rather than blended together. The parameter increase is negligible (under 0.2%), but the routing machinery moves more data around. On hardware where memory bandwidth is the bottleneck — which is increasingly the case for large models — that trade-off deserves a real measurement before anyone assumes the 3x figure transfers.

The bigger picture: dynamic residuals are becoming a trend

Google's post does not present DCA in isolation. It places the idea inside a cluster of dynamic residual designs that have appeared over the past two years, and the section is worth reading because it shows where the field is heading.

Attention residuals, developed by Moonshot AI, share DCA's core idea of replacing fixed addition with selective retrieval. Each layer uses a learnable softmax attention mechanism with a layer-specific pseudo-query to weight and retrieve representations from earlier depths. Google notes that the recent Inkling 2 model from Thinking Machines adopted this design alongside DCA's cross-attention mechanism — a sign that the idea is already reaching real models.

Hyper-connections expand the residual stream into multiple parallel channels, using learnable mixing matrices to aggregate layer outputs. Google's post is candid about the drawback: unconstrained mixing breaks the traditional identity-mapping property of residual connections, which can amplify or attenuate signals and cause training instability at scale.

Manifold-constrained hyper-connections address that instability by constraining the mixing matrices to live on a defined manifold — specifically, forcing them to be doubly stochastic using the Sinkhorn-Knopp algorithm — restoring stable signal propagation while keeping the richer information flow.

The thread connecting all of them: depth is being treated as representational memory, not just compute. The question is no longer only how many layers a model has, but how well each layer can reach back into what earlier layers already computed.

Who should care — and who can ignore it

Researchers and ML engineers should read the paper. If you train transformers, or fine-tune them, DCA is a small, well-specified change with a strong efficiency signal — and the retrofit result makes it cheap to test on a model you already have. The paper is the source of truth for layer definitions, the limits on connection history, and initialization.

Teams running training budgets should watch this space rather than act on it. A 3x training speedup, if it held at scale, would be one of the most valuable results in AI infrastructure. But it has not been shown at frontier scale, there is no official implementation, and the memory-bandwidth cost is unmeasured at that scale. The right move is to track whether a major lab or open-source implementation adopts it in the next few months.

Everyone else can ignore the details and keep the one-line version: Google found a smarter way to wire a transformer's layers together, and on its own benchmarks it trains up to three times faster. It is not a new chatbot, not a product, and not something you can install — it is a research result that may quietly make the next generation of models cheaper to build.

A minimal sketch of the idea

The core change fits in a few lines of pseudocode. A standard residual block adds its output to its input. DCA replaces that fixed addition with a learned, per-token combination of all previous layer outputs:

# Standard residual connection: fixed addition
x = x + block(x)

# DeepCrossAttention: learned routing over layer history
weights = routing(x, layer_history)   # per-token mixing weights
x = sum(w * h for w, h in zip(weights, layer_history))
# plus depth-wise cross-attention: Q, K, V each
# combine layer outputs independently

Frequently Asked Questions

What is DeepCrossAttention?

DeepCrossAttention (DCA) is a transformer architecture from Google Research that replaces fixed residual connections — which simply add a layer's output to its input — with learnable, per-token routing plus depth-wise cross-attention across earlier layers. It was presented at ICML 2025 and promoted in a Google Research blog post on 23 November 2026.

Does DeepCrossAttention really train transformers 3x faster?

That is Google's own claim: DCA reaches the same model quality up to three times faster than a standard transformer, measured on the LM1B and C4 language-modeling benchmarks. "Up to" is doing real work in that sentence — it is the best case on Google's runs, not a guaranteed gain on every model or dataset, and it has not been shown at frontier scale.

Is DeepCrossAttention part of Gemini?

Google has not said so. The 23 November post is research communication, not a product announcement, and it mentions no Gemini model, no release and no launch. It is an architecture idea that a future model could adopt — not a feature you can use today.

Can I download or install DeepCrossAttention?

No. Google announced no code, library or release with the post. The full architecture is described in the paper (arXiv:2502.06785), so researchers can implement it themselves, but there is no official implementation to install.

How many extra parameters does DCA add?

Less than 0.2% of the total model size, according to Google — negligible in compute and memory footprint. The trade-off is increased memory bandwidth, because representations from different layers are presented intact rather than blended together.

Can DCA be added to a model that is already trained?

Yes — that is one of the paper's most practical findings. Because DCA can be initialized to behave exactly like a standard residual network, Google retrofitted it onto a pretrained transformer and continued training briefly. Perplexity on LM1B dropped by 0.19, versus 0.02 for continued standard training in the same setup.

What is the difference between DCA and attention residuals?

Both replace fixed residual addition with selective retrieval from earlier layers. Attention residuals (from Moonshot AI) use a learnable softmax attention mechanism with a layer-specific pseudo-query; DCA uses dynamic layer routing plus depth-wise cross-attention with separate Q/K/V routing. Google notes the two ideas are complementary — Thinking Machines' Inkling 2 model adopted both.

Sources

  • Google Research blog, "Supercharging transformer residual connections," 23 November 2026, https://research.google/blog/supercharging-transformer-residual-connections/ — the primary source for the mechanism, the numbers and the retrofit result.
  • Heddes, Javanmard, Axiotis, Fu, Bateni and Mirrokni, "DeepCrossAttention: Supercharging Transformer Residual Connections," ICML 2025, arXiv:2502.06785, https://arxiv.org/abs/2502.06785v1 — the paper; abstract confirms "the same model quality up to 3x faster while adding a negligible number of parameters."
  • ExplainX, "DeepCrossAttention (DCA): Google Fix for Deep Transformers," https://explainx.ai/blog/google-deepcrossattention-transformer-residual-connections-2026 — independent summary of the blog post and paper, with the 30-vs-42-layer and retrofit figures.

Want a website or web app that works as hard as your ideas do? Talk to Asad Webs — we build web apps, AI-powered tools and fast, search-friendly websites for teams in the USA, UK, UAE, KSA and Spain.

Related reading: GLM-5.4: Z.ai's 750B Loop Transformer — What It Really Is · Claude Fable 5.2: Anthropic's New Frontier Model · Riemann Hypothesis Solved by Claude? Musk's Superintelligence Claim, Checked · Browse all free tools.

Category: AI News

Tags: ai-news · technology · science

About Asad Ali

Asad Ali is a graphics designer with over 20 years of experience — designing since 2003 — and the founder of Asad Webs, based in Pakistan. He builds the free online tools on this site and writes the guides published here.

LinkedIn Facebook Website
KEEP READING

Next guide

Michael Nielsen Took Down His Famous Neural-Networks Book — Why He Did It →

Related articles

Join the conversation

No account needed. Comments appear only after approval. Your email address will not be published.

Be the first to share a useful question or thought.

You won’t be subscribed to any mailing list.
WELCOME BACK

Sign in

Access your orders, saved products and account.