Rendered at 14:57:39 GMT+0000 (Coordinated Universal Time) with Cloudflare Workers.
SeanAnderson 17 hours ago [-]
Just as an FYI - it looks like this was submitted in 2019.
darkbones 8 hours ago [-]
[dead]
visarga 15 hours ago [-]
Something felt off ... they had very small old models as baselines in their evals.
peter_d_sherman 52 minutes ago [-]
>"self-attention layers are not the only component of transformer networks and they do not explain the effectiveness of transformers by themselves. Each of these layers is followed by a feedforward layer." [...] We introduce a new layer that
merges the self-attention and feedforward sublayers into a single unified attention layer
, as illustrated in Figure 1. As opposed to the two-step mechanism of the transformer layer, it directly builds its representation from the context and a persistent memory block without going through a feedforward transformation. The additional persistent memory block stores, in the form of key-value vectors, information that does not depend on the context. In terms of parameters,
these persistent key-value vectors replace the feedforward sublayer.
This modification dramatically simplifies the structure of the network with no loss of performance.
Brilliant!
(My guess is, however, that LLM's will still be taught and conceptualized as discrete self-attention layers and discrete feedforward layers (i.e., the classical design, as opposed to newer designs) for a number of years to come. In other words, the information that is studied will be lagging the current state-of-the-art...)
For super-extra points though, I'd love to see an LLM reduced down to a single recursive unified layer without losing any performance(!) -- but I'm guessing that that will only happen in the far future...
Anyway, this paper (although released in 2019, a bit "dated" as I write this, although from a purely philosophical viewpoint, "good ideas are never dated" :-) ) seems worth studying...
andy_ppp 16 hours ago [-]
Okay for similar performance this could result in around 45% reduction in weights and should increase token per second accordingly or allow fitting a “larger” effective model into RAM. I would assume it’s probably not working as well as the original FFN transformer in reality because it seems like a huge win otherwise.
svnt 15 hours ago [-]
It probably didn’t really provide those benefits because the comparison is a bit misleading.
The quality vs model size curve is flat there, so the size savings is mostly a consequence of that flatness. They don’t seem to have measured run-to-run variation so 0.01 could be within noise.
It is flat because enwik8 is small (about 90MB of training text), so a model five times larger has little to learn.
It also likely wont be faster because they kept all the parameters and just moved them to attention. And they used softmax vs relu.
E-Reverance 16 hours ago [-]
I think it didn't solve much of a problem at the time it was published, seems promising imo as "continual learning" related problems become more important
Having most of the parameters be token-like might make it easier to treat long context inputs as stored parameters/knowledge
cowlevel 17 hours ago [-]
Having successfully diverted the entire world's supply of attention, what could possibly be next for transformer models?
moffkalast 16 hours ago [-]
"Oops, all attention" transformer.
trilogic 15 hours ago [-]
Welcoming all new efforts, good job. The problem though lays in the transformer, it is all the same sh!t architecture that will always hallucinate and never be able to say IDK genuinely. Not to mention GPT that will always be narratively PRETRAINED. Then people publish papers claiming "intelligence" instead of a mechanic pipeline. Currently working in a prototype that is 4 mb and never hallucinate, is energy friendly and talks a lot :)
merges the self-attention and feedforward sublayers into a single unified attention layer
, as illustrated in Figure 1. As opposed to the two-step mechanism of the transformer layer, it directly builds its representation from the context and a persistent memory block without going through a feedforward transformation. The additional persistent memory block stores, in the form of key-value vectors, information that does not depend on the context. In terms of parameters,
these persistent key-value vectors replace the feedforward sublayer.
This modification dramatically simplifies the structure of the network with no loss of performance.
Brilliant!
(My guess is, however, that LLM's will still be taught and conceptualized as discrete self-attention layers and discrete feedforward layers (i.e., the classical design, as opposed to newer designs) for a number of years to come. In other words, the information that is studied will be lagging the current state-of-the-art...)
For super-extra points though, I'd love to see an LLM reduced down to a single recursive unified layer without losing any performance(!) -- but I'm guessing that that will only happen in the far future...
Anyway, this paper (although released in 2019, a bit "dated" as I write this, although from a purely philosophical viewpoint, "good ideas are never dated" :-) ) seems worth studying...
The quality vs model size curve is flat there, so the size savings is mostly a consequence of that flatness. They don’t seem to have measured run-to-run variation so 0.01 could be within noise.
It is flat because enwik8 is small (about 90MB of training text), so a model five times larger has little to learn.
It also likely wont be faster because they kept all the parameters and just moved them to attention. And they used softmax vs relu.
Having most of the parameters be token-like might make it easier to treat long context inputs as stored parameters/knowledge