Ask HN: What Do LLMs Learn
I'm struggling to understand what these models are actually learning. They can be applied to all sorts of problems, but what fundamental things are beng encoded in the model?
I'm struggling to understand what these models are actually learning. They can be applied to all sorts of problems, but what fundamental things are beng encoded in the model?
But what rules are they discovering - how do they become so good at text continuation?
1. https://www.newyorker.com/tech/annals-of-technology/chatgpt-...
The point of ML is that you don't think about the rules explicitly, you let the algorithm figure them out from the data.
> how do they become so good at text continuation?
Good underlying algorithm (transformers do better than other algorithms we've tried) + lots of data.
I guess this isn't very satisfying but you're looking for some super deep and profound answer and there is none.
The next step of training is Human Feedback Reinforcement Learning. They get rewarded for certain outputs and punished for other outputs. This is how they learn to be agreeable, to attempt to answer people's questions, not write Hitler speeches, etc.
To be pedantic, "predict the next token" was what we were trying to do with RNNs 7-8 years ago. People are training transformers on "mask out 15% of the words randomly and guess what they were" which is a big difference because that task is symmetrical in the forward and backwards directions whereas the single-direction nature of RNNs was a major limitation (e.g. when they start out they have no state so if a model was writing fake abstracts for clinical case reports, something I tried, it decides what disease the patient had based on what letters or words it picked early on whereas it really should start out with a "latent state" that includes the characteristics of the patients including the disease the same way the clinical encounter did and the way the author did when they wrote the abstract.)