3 ms·
It's not just compression or decompression but that's a useful mental model. See https://en.wikipedia.org/wiki/Hutter_Prize https://en.wikipedia.org/wiki/Hutt
by PaulHoule 4y ago
It's not just compression or decompression but that's a useful mental model. See
https://en.wikipedia.org/wiki/Hutter_Prize https://en.wikipedia.org/wiki/Hutter_Prize
A major part of the training of LLMs is training to predict the next token, or similarly, they mask out 15% of the tokens randomly to ask the model and predict those. These tasks are closely related to this compression algorithm
https://en.wikipedia.org/wiki/Prediction_by_partial_matching https://en.wikipedia.org/wiki/Prediction_by_partial_matching
There is more to it than that though. If I wanted to make a classifier that answers a question like "Is this an article about a sports game?" I might start with an LLM trained on the above tasks and then give it a small amount of training on that task... Thanks to the patterns it has already learned it has a head start at recognizing the patterns that matter for my task.
ChatGPT uses another form of training which is reinforcement learning based on human feedback. This involves asking it questions and then having people judge the results that it generates. This is the way it learns to go past "predict the next token" and actually do things that please people... But that training on compression-related tasks makes that second stage of reinforcement learning go better just as it makes my classification tasks go better.