· via Hacker News – Front Page (native)
Google's DeepCrossAttention matches transformer quality in up to 5x fewer training steps
Google Research's DeepCrossAttention replaces fixed residual sums with per-token routing over earlier layers, reportedly matching standard transformers with fewer layers and far fewer training steps.

Google Research has published details of DeepCrossAttention (DCA), a redesign of the residual connections transformers depend on, which the company says lets models reach standard quality with far fewer training steps and up to 30-40% fewer parameters. The work appeared in an ICML 2025 paper, DeepCrossAttention: Supercharging Transformer Residual Connections, and a blog post that reached Hacker News's front page. The Hacker News framing claims up to 3x faster training, while Google's own post reports up to five times fewer training steps on its language benchmarks — a gap neither the post nor the discussion reconciles.
The problem with plain addition
Residual connections are why networks with dozens or hundreds of layers train at all: a copy of each layer's input is summed into its output, preserving a clean path for gradients to travel backward. The drawback, as Google tells it, is that summation is indiscriminate. Every earlier representation carries the same weight, so as activations climb through the stack, fine-grained detail from shallow layers gets averaged out or distorted. Later layers then burn capacity recomputing information the network already had — a failure mode Google calls information dilution.
How DCA works
DeepCrossAttention treats the residual stream as a routing problem rather than a fixed additive pipeline. It adds two mechanisms:
- Dynamic layer routing: for every token, DCA computes its own set of mixing weights from a static, learnable base combined with an input-dependent projection. The effective structure of the network can shift between purely sequential and more parallel forms depending on the token in hand.
- Depth-wise cross-attention: ordinary attention runs across tokens in a sequence, but DCA runs attention across layers in depth. With a split query/key/value design, each token queries a dynamically weighted mix of all prior layer outputs, retrieving whichever earlier representations matter at that moment.
The overhead is minimal — Google says the added machinery accounts for less than 0.2% of total model parameters. The one cost is memory bandwidth, which rises because representations from different layers are kept intact rather than folded into a single summed stream.
The results
On C4, a cleaned Common Crawl corpus, and the 1 Billion Word benchmark (LM1B), Google reports that DCA matched standard transformers in up to five times fewer training steps, and that at equal training budgets it consistently achieved lower perplexity. To push LM1B perplexity below 14, a fixed-width standard transformer needed 42 layers, while a DCA model got there with 30 — a 29% reduction in depth and parameter count. Google also tested the approach on controlled synthetic setups and image classification, reporting gains in convergence speed, training stability, and final model quality.
The most practically interesting finding may be retrofitting. Because DCA can be initialized to behave identically to a standard residual network, it does not require training from scratch: attaching it to an already pre-trained transformer and briefly continuing training reduced LM1B perplexity by 0.19, compared with 0.02 for ordinary continued training.
A wider turn toward dynamic residuals
Google frames DCA as part of a broader shift. Moonshot AI's attention residuals likewise replace fixed addition with selective retrieval, using a learnable softmax attention mechanism driven by a layer-specific pseudo-query; a Block AttnRes variant partitions layers into blocks to cut memory overhead at scale, and the approach reportedly improves performance on reasoning-heavy tasks such as coding and mathematics. Thinking Machines' Inkling 2 model adopted that design alongside DCA's split Q/K/V mechanism. Hyper-connections, another related idea, expand the residual stream into parallel channels mixed by learnable matrices, though Google notes that their unconstrained mixing gives up the identity-mapping property of classic residuals and can amplify or attenuate signals.
Why it matters
Training compute dominates the cost of modern AI, so an architectural change that delivers even a fraction of the step reduction Google reports — or trims a third of the parameters at equal quality — converts directly into money, energy, and time. The caveats are real: C4 and LM1B are small benchmarks by contemporary pretraining standards, the numbers come from the method's own authors, and the memory-bandwidth overhead is a genuine constraint. The retrofitting result stands out regardless, because it suggests existing pre-trained models could adopt DCA without a full retrain. And the trend itself is the signal: with Google, Moonshot AI, and Thinking Machines converging on the same idea, the residual stream is turning from fixed plumbing into a designed, learnable part of the architecture.
- #transformers
- #deep-learning
- #google-research
- #model-training
- #model-architecture