this post was submitted on 10 Apr 2024
1296 points (99.0% liked)
Programmer Humor
19557 readers
1065 users here now
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
See, none of these is statistics, as such.
Weights is maybe closest but they are supposed to represent the strength of a neural connection. This is originally inspired by neurobiology.
Matrix multiplication is linear algebra and encountered in lots of contexts.
Tokenization is a thing from NLP. It's not what one would call a statistical method.
So you can see where my advice comes from.
Certainly there is nothing here that implies any kind of averaging going on.
If there's no averaging, why do they repeat stereotypes so often?
Why would averaging lead to repetition of stereotypes?
Anyway, it's hard to say LLMs output what they do. GPTisms may have to do with the system prompt or they may result from the fine-tuning. Either way, they don't seem very internet average to me.
The TLDR is that pathways between nodes corresponding to frequently seen patterns (stereotypical sentences) gets strengthened more than others and therefore it becomes more likely that this pathway gets activated over others when giving the model a prompt. These strengths correspond to probabilities.
Have you seen how often they'll sign a requested text with a name placeholder? Have you seen the typical grammar they use? The way they write is a hybridization of the most common types of texts it has seen in samples, weighted by occurrence (which is a statistical property).
It's like how mixing dog breeds often results in something which doesn't look exactly like either breed but which has features from every breed. GPT/LLM models mix in stuff like academic writing, redditisms and stackoverflowisms, quoraisms, linkedin-postings, etc. You get this specific dryish text full of hedging language and mixed types of formalisms, a certain answer structure, etc.
That's a) not how it works and b) not averaging.
A) I've not yet seen evidence to the contrary
B) you do know there's a lot of different definitions of average, right? The centerpoint of multiple vectors is one kind of average. The median of online writing is an average. The most common vocabulary, the most common sentence structure, the most common formulation of replies, etc, those all form averages within their respective problem spaces. It displays these properties because it has seen them so often in samples, and then it blends them.
I accidentally clicked reply, sorry.
I don't think that any definition applies to this. But I'm no expert on averages. In any case, the training data is not representative of the internet or anything. It's also not training equally on all data and not only on such text. What you get out is not representative of anything.
You don't need it to be an average of the real world to be an average. I can calculate as many average values as I want from entirely fictional worlds. It's still a type of model which favors what it sees often over what it sees rarely. That's a form of probability embedded, corresponding to a form of average.
Hmm. I'm not really sure why anyone would write such a text. There is no "weighted proportionality" (or pathways). Is this a common conception?
I guess you picked up on the fact that transformers output a probability distribution. I don't think anyone calls those an average, though you could have an average distribution. Come to think of it, before you use that to pick the next token, you usually mess with it a little to make it more or less "creative". That's certainly no longer an average.
You can see a neural net as a kind of regression analysis. I don't think I have ever heard someone calling that a kind of average, though. I'm also skeptical if you can see a transformer as a regression but I don't know this stuff well enough. When you train on some data more often than on other data, that is not how you would do a regression. Certainly, once you start RLHF training, you have left regression territory for good.
The GPTisms might be because they are overrepresented in the finetuning data. It might also be from the RLHF and/or brought out by the system prompt.
You should worry more about whether you have seen evidence that supports what you are saying. So, what kind of evidence do you want? A tutorial on coding neural nets? The math? Video or text?
Text explaining why the neural network representation of common features (typically with weighted proportionality to their occurrence) does not meet the definition of a mathematical average. Does it not favor common response patterns?