by bonoboTP · 2mo ago · 0 comments
But yes, a Transformer block can be thought of as basically input-dependently deciding the weight vector of a dense layer. In classical MLP-like networks there was never any multiplication between input-dependent values (there are exceptions, like Squeeze-and-Excitation layers). Multiplication is always between parameters (that don't depend on the input) and activations that depend on the input. With Transformers attention provides a lot of multiplicative interactions between input dependent activations.
Also obligatory: Schmidhuber talked about this a long time ago.
And again recently: https://arxiv.org/abs/2102.11174
That is basically axiomatic ;) (Seriously, Schmidhuber's body of research is mind-blowing)