Earlier quoted context omitted.
> You have a collection of N things, with some fixed number of features each (doesn't matter how many, but call it d_f). Call that collection {x_i}. You have two learnable matrices Q and K, which learn to project those items into some collection of "questions" and "answers", respectively. Doesn't really matter what those questions or answers are, the NN will figure out what they should be during training. These proje…
Apparently, you're missing the part where they're all defined :) It does take some getting used to, communicating math in English (and visa-versa). For example: "two learnable matrices Q and K ... are d_k by d_f". What more do you need to know about them? Also, "a fixed number of features ... call it d_f", I don't know how to more clearly define what d_f is? I could have called the matrices Joe and Curly, and the fea…
> Also, "a fixed number of features ... call it d_f", I don't know how to more clearly define what d_f is?
Perfect example. I would expect a fixed number to be represented by a single letter, like x. But here, a the fixed number seems to need two letters to represent it: d and f. When I see this, I wonder “what’s d?” “What’s f?” So I scan ahead: I see there is a d_k, so I think there must be some sibling relationship between f and k, but I can’t see what it is. As far as I can tell, Q/q and K/k are the ones that belong in a pair.
It gets very confusing trying to decipher the meaning and relationships.