logoalt Hacker News

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

290 points • by ComputedCamp995 • yesterday at 11:06 PM • 109 comments • view on HN

Comments

spankalee • today at 1:56 AM

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?

➕ show 18 replies
pollorollo • today at 4:07 AM

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.

➕ show 1 reply
amluto • today at 4:57 AM

> 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.

➕ show 1 reply
aaa_aaa • today at 6:34 AM

I had both subscriptions. Gemini was yearly and cheaper (also family can use it). Was keeping Claude for coding. Yesterday cancelled it.

gnabgib • yesterday at 11:58 PM

Title: Supercharging Transformer Residual Connections

➕ show 1 reply
ipunchghosts • today at 3:14 AM

Densenet anyone?

octoberfranklin • today at 12:34 AM

(2025)

➕ show 2 replies
ACCount39 • today at 12:33 AM

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.

➕ show 3 replies
starchild3001 • today at 3:33 AM

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

➕ show 1 reply
jhu247 • today at 1:55 AM

what is google doing on the consumer side of things? why don't they have a muse/dots product? they know everything about my life through the last 15+ years of having my email and calendar and photos and they're not doing anything with it. i don't care about the model quality at this point if it's not adding value to my day to day. it's laughable tbh

➕ show 1 reply
yieldcrv • today at 2:02 AM

Where did this go?

MTP + Dflash and other derivatives has gotten me 10x tokens/sec in the last 2 years

but can we get it to 30x with this added too?

➕ show 2 replies
serioussecurity • today at 12:39 AM

If Google published it that means they're probably not using it.

➕ show 3 replies