It's funny how hard it is to create a sizable text corpus that you are pretty sure is not contaminated by text from the internet. It turns out that using a company's private codebases is one of the most reliable ways to do it.
The openai blog also doesn't make clear how much increasing context length of the models plays a role in lowering perplexity. Perplexity is higher at the start of the context window when the model doesn't have enough context to know whats going on yet. The longer the window, the more easy to predict tokens it has to average away the high cost of the first few. Context lengths have gotten much longer since gpt3.5...
They claim "The primary held-out datasets we’ve been using since GPT-3.5 are sourced from our internal codebase, and those are the numbers reported here." This suggests (to me) that the documents they're evaluating cross-entropy on have stayed context, so the longer context lengths of the newer models don't matter too much.
Doesn't this mostly just imply that code has lower entropy per token than natural-language text, which is not all that surprising? I hope the held-out test set used for the recent OpenAI graph was constant and representative of the training data for all models.
The test set cannot both be constant and representative of the training data at the same time if the training data is changing.
Essentially, there are three different ways OpenAI could've dropped perplexity on their held-out data:
1. improving their algorithms to get better outputs from the same inputs
2. increasing their inputs to get better outputs
3. focusing on training data that is more similar to the held-out data.
This article is demonstrating the third possibility. Without controlled experiments (that OpenAI has no doubt done but isn't publishing) it's hard to tell how much each of the different strategies contributed.
Don't forget performativity: since they derive their internal code from the models more and more, the held out set becomes more aligned with the model (in general, performativity refers to an optimisation process aimed at modeling a process increasing it's performance by causing the evaluation to be aligned with the optimisation processes biases instead of aligning with the "pure" process. I think the first example of this in the wild is/was black Scholes https://blogit.utu.fi/futuresofscience/2023/05/17/performati... and Moritz Hardt has a bunch of research on it, as well as other researchers trying to design algorithms robust against this effect)
I occasionally see people complaining that models have gotten worse at "creative writing" over the past year or so. I don't use models for expressive writing, that seems pretty deranged, so I wrote it off as people on the internet being crazy but maybe they were onto something?
Also, I've heard training mix is not supposed to be zero sum and this seems to contradict that? Yeah it's nonlinear and the are more important things than predicting code but it seems the balance of shit in the model is rather important.
Not an expert, but isn't the current discussion around the likelihood of improved coding models leading to RSI, and safety implications of that? In which case perplexity on a fixed dataset of code is probably still a relevant benchmark.
RSI will result from models specifically trained on ML development. Training on typical software development is not likely to move the needle much, IMO.
It's a reasonable question, but I have no idea what's in the code mix they're using to evaluate, nor how much correlation they're seeing with improvements in the ability of the models to aid ML development. Since the post appears to be fundamentally about the idea of establishing a cross-industry indicator of AI progress, my assumption is that they are assuming the correlation is high.
Nothing material to contribute other than to say I love this. Read the blog post yesterday and also saw the 3blue1brown videos on "compression is intelligence" but you just debased many arguments here.
It's funny how hard it is to create a sizable text corpus that you are pretty sure is not contaminated by text from the internet. It turns out that using a company's private codebases is one of the most reliable ways to do it.
The openai blog also doesn't make clear how much increasing context length of the models plays a role in lowering perplexity. Perplexity is higher at the start of the context window when the model doesn't have enough context to know whats going on yet. The longer the window, the more easy to predict tokens it has to average away the high cost of the first few. Context lengths have gotten much longer since gpt3.5...
They claim "The primary held-out datasets we’ve been using since GPT-3.5 are sourced from our internal codebase, and those are the numbers reported here." This suggests (to me) that the documents they're evaluating cross-entropy on have stayed context, so the longer context lengths of the newer models don't matter too much.
Doesn't this mostly just imply that code has lower entropy per token than natural-language text, which is not all that surprising? I hope the held-out test set used for the recent OpenAI graph was constant and representative of the training data for all models.
The test set cannot both be constant and representative of the training data at the same time if the training data is changing.
Essentially, there are three different ways OpenAI could've dropped perplexity on their held-out data:
1. improving their algorithms to get better outputs from the same inputs
2. increasing their inputs to get better outputs
3. focusing on training data that is more similar to the held-out data.
This article is demonstrating the third possibility. Without controlled experiments (that OpenAI has no doubt done but isn't publishing) it's hard to tell how much each of the different strategies contributed.
Don't forget performativity: since they derive their internal code from the models more and more, the held out set becomes more aligned with the model (in general, performativity refers to an optimisation process aimed at modeling a process increasing it's performance by causing the evaluation to be aligned with the optimisation processes biases instead of aligning with the "pure" process. I think the first example of this in the wild is/was black Scholes https://blogit.utu.fi/futuresofscience/2023/05/17/performati... and Moritz Hardt has a bunch of research on it, as well as other researchers trying to design algorithms robust against this effect)
Original discussion on the OpenAI blog post referenced in TFA:
https://news.ycombinator.com/item?id=50601525 (446 comments)
I occasionally see people complaining that models have gotten worse at "creative writing" over the past year or so. I don't use models for expressive writing, that seems pretty deranged, so I wrote it off as people on the internet being crazy but maybe they were onto something?
Also, I've heard training mix is not supposed to be zero sum and this seems to contradict that? Yeah it's nonlinear and the are more important things than predicting code but it seems the balance of shit in the model is rather important.
Not an expert, but isn't the current discussion around the likelihood of improved coding models leading to RSI, and safety implications of that? In which case perplexity on a fixed dataset of code is probably still a relevant benchmark.
RSI will result from models specifically trained on ML development. Training on typical software development is not likely to move the needle much, IMO.
It's a reasonable question, but I have no idea what's in the code mix they're using to evaluate, nor how much correlation they're seeing with improvements in the ability of the models to aid ML development. Since the post appears to be fundamentally about the idea of establishing a cross-industry indicator of AI progress, my assumption is that they are assuming the correlation is high.
Maybe reading and memorizing internet comments is bad for intelligence.. hmmm
Seems like any perplexity benchmark will need to be use a fixed dataset. Better yet, they should show the scores for several different kinds of data.
Nothing material to contribute other than to say I love this. Read the blog post yesterday and also saw the 3blue1brown videos on "compression is intelligence" but you just debased many arguments here.