by Scene_Cast2 · 1y ago · 0 comments
Let's say that we have 15k unique tokens (going by modern open models). Let's also say that we have an embedding dimensionality of 1k. This implies that we have a maximum 1k degrees of freedom (or rank) on our output. The model is able to pick any single of the 15k tokens as the top token, but the expressivity of the _probability distribution_ is inherently limited to 1k unique linear components.
12288 dimensions (GPT3 size) can fit more than 40 billion nearly perpendicular vectors.
However, I'm talking about the probability distribution of tokens.
Detecting and preventing unargmaxable outputs in bottlenecked neural networks, Andreas Grivas (2024)
If I remember correctly, that's not true because of the nonlinearities which provide the model with more expressivity. Transformation from 15k to 1k is rarely an affine map, it's usually highly non-linear.