Google's DeepCrossAttention hits the same model quality up to 3x faster

Google's DeepCrossAttention achieves comparable model quality up to 3x faster

Google's DeepCrossAttention hits the same model quality up to 3x faster

Google researchers introduce DeepCrossAttention, which replaces the fixed summation of standard residual connections with dynamic, per-token routing across prior layers. On C4 and LM1B, DCA matched standard transformers in up to five times fewer training steps, and hit lower perplexity on LM1B with 30 layers instead of 42. It adds under 0.2% more parameters and can be retrofitted onto pretrained models.

To achieve a perplexity of <14 on LM1B, a standard transformer with fixed width required 42 layers, whereas the DCA model achieved a lower perplexity with only 30 layers — a 29% reduction in depth and parameter count.
  1. spankalee

    This week I've been wondering if I should cancel my Claude subscription because Gemini Neon is not obviously better or worse that Opus, and while I regularly use up my Claude subscription, I can't seem to make a dent in my Gemini subscription. Neon is just insanely cheap and fast for how good it is.

    Maybe this has something to do with it?

  2. amluto

    > Depth-wise cross-attention (split Q/K/V): While standard transformer attention operates across tokens in a sequence, DCA applies attention across layers in depth. Each token queries a dynamically weighted mix of all prior layer embeddings, unlocking the model's full historical context without the computational penalty usually required to scale traditional attention.

    I’ve often thought that something like this might lead to a real solution to the infamous strawberry problem.

    Ignoring pesky issues like tokenization, the actual input data is visible to the model as the embedding fed to the first layer, but the first layer is probably nowhere near smart enough to understand that the model is trying to count R instances. But by the time whatever layer is reached that might understand the goal, the non-wasteful part of the low-level memory (the K’s and V’s from the first layer) can’t be queried any more.

    But this cross-depth attention can query them!

    Admittedly, there are holes in this argument. Beyond just tokenization (to the extent that the model can see letters at all, it is reconstructing them), the attention mechanism doesn’t really have a clean “count the hits” operation.

  3. pollorollo

    Pet peeve of mine, but those shouldn't be line graphs. They should be a bar graphs. There is no temporal relation or any other reason to connect those methods in that way.

  4. gnabgib

    Title: Supercharging Transformer Residual Connections

  5. ipunchghosts

    Densenet anyone?

  6. octoberfranklin

    (2025)

  7. ACCount39

    Full paper: https://arxiv.org/abs/2502.06785

    Note that it's from 2025, which, in ML years, is somewhere between four years and one decade ago.

    It's an entry in the long and promising line of attention-like primitives being applied depthwise in a transformer. AttnRes is better known perhaps.

    Which might be even more promising now that looping layers are a go? Having the same layers perform multiple passes can raise the gains from learned, dynamic layer to layer routing.

  8. starchild3001

    Warning: The paper is 1.5 yrs old. God knows why it took 1.5 yrs to publish a blog post about it :)

More from this day

2026-11-28