715 points · by acossta · 2d ago · 449 comments
Perplexity is the degree of surprise the model has in predicting the next token, over a sequence of tokens. At the worst case, perplexity is equal to the size of the vocabulary. At the best case, perplexity is 1.
So, given a sequence of tokens, "e = m c ^ 2", if the p(token | prev tokens) = 1 for every token, perplexity ends up being 1. If, however, it's a random predictor, the p(token | prev tokens) is 1/vocab for every token, and perplexity ends up being len(vocab).
The article plots log(perplexity) on the y-axis, which puts the best case at 0 (i.e. log 1).
Note the best case is not actually zero. If your model had zero log(perplexity) on "A random number from 1 to 10 is ___" it's not doing something useful. See the "Unknown floor" part of the original post.
In practice it is possible to get estimates for the floor assuming your current methodology, for example see Section 6.3 from Scaling Laws for Neural Language Models (2020)
Mathematically the best case is zero.
But you're pointing out that in the real world, setting aside the pure mathematical definition of the outcome, zero is unattainable because it's an illogical outcome.
Zero would be a sign of something fishy rather than improved intelligence. The article, I believe, referred to it as 'fully deterministic being impossible,' or invalid, or something along those lines.
Just clarifying because the parent's mathematical explanation was simple, accurate and clear. Just want to make sure readers are not confused when reading your response.
4th Paragraph
https://smalldocs.org/p/perplexity-explained-with-toast-Q0y3...
I linked to it as a stand alone comment as well: https://news.ycombinator.com/item?id=50601525#50603714
The primary way we measure progress on this key “intelligence substrate” has remained remarkably constant over the years—we have been tracking the perplexity of the models on a held-out dataset.2, 3 Perplexity measures how well a model predicts the next token on average; lower perplexity means better predictions.
pretraining is where the raw intelligence comes from, emerging merely from predicting the next token as well as possible, hence perplexity is the measure of raw intelligence
what happens after, in post training is more about eliciting this intelligence, and making sure the model will do what we want
This graph shows log(perplexity) it says. So perplexity starts at zero, then gets negative? I notice I am confused. Most plausible: you mean log-perplexity in best case is 1, for no perplexity, i.e. zero?
A helpful comparison: suppose you have a model that always outputs a uniform distribution over K possible tokens (assigning probability 1/K to each one), and that the next token is indeed one of those K options. This model has perplexity K. So, in some sense a perplexity of K is comparable to narrowing down the answer to one of K possibilities. This includes the special case of K=1, which is the best possible model.
Then
> So perplexity [in this graph] starts at [or near] zero, then gets negative?
was correct. Strange that some things are not inverted to be more handy.
Conversly pH/pOH using inverted, then positive numbers, since logs get negative.
(And pH rarly then gets negative, meaning "ten times" when it reaches -1, and that is usually not even taught in school, using 0 and 14 as limits for aqueous solutions there instead.)
I don't understand how that's different from the old "word error rate".
Let's say they get to loss = 0. How much of the dataset is incorrect, and how is new knowledge verified and folded in?
I think "predicting" is a really bad term. It's not predicting anything. You don't get any lottery numbers out, it doesn't predict your future, and it's not predicting what word you were going to type.
It's "choosing" the best token to produce intelligible output. "Choosing" or "selecting" would be much better terms and wouldn't confuse people about what is actually happening.
It's probably too late though as it's become part of the jargon.
What exactly is the prediction? What future events tell it that it made an incorrect prediction and should have chosen another token?
Lottery numbers are a clear example of something you can attempt to predict and that you might get wrong. I would have thought that was obvious?
If you want a more specific term, it dicts not predicts. There is no pre.
Also, I wonder what happened with GPT 4.5? I think o1 was the start of true reasoning models, right? I was using Claude at the time so I can't remember.
3. 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 (for a fixed snapshot).
From an information theory perspective, cross-entropy loss (log loss) seems to me to be about as pure as it gets in terms of capturing the notion of whether prediction "succeeded". Even Solomonoff Induction minimizes log loss. Would be curious to hear others' perspectives though on why another function might be better for universal prediction purposes.
It was a massive non-CoT model (for that time) that they trained as an experiment and served for a while before shelving it probably due to high inference costs.
We don't know if it's still important or not. Cross-entropy going down could just be a correlate of whatever else matters. The graph doesn't show causation: that perplexity is what makes them useful.
If you consider intelligence as ‘being able to make directed decisions towards goals’ then better decisions are made with better predictions of the outcomes of your decisions so you better direct towards that goal (compression is mathematically just prediction at heart).
The only way to argue that intelligence is not very trivially the exact same thing as compression is to argue another definition of intelligence. Which is fine but in the AI community we all 100% define intelligence as the above so there’s no question it’s the same. As in it’s not up for debate in the slightest unless someone is playing semantics. The hutter prize is just an acknowledgement of an already well known fact.
GPT-4.5 was originally internally called Orion and was supposed to become "GPT-5". It was a huge pretrained model. However, as reported by The Information and a few other sources, the results on measured performance were disappointing. Apparently pre-training alone was leading to diminishing returns, at least with standard RLHF. This is why they didn't release it initially, only much later under the downgraded name "GPT-4.5", and only for a short period of time.
Later they invented RLVR (chain-of-thaught reasoning via reinforcement learning), a post-training technique, which dramatically increased model performance, without affecting perplexity. The first model with RLVR was o1. The successor to o3 was then called GPT-5.
Just a hunch but I'm pretty sure it's their unreleased internal model which also appears on the graph. My guess is that they have at least two lineages, a larger more expensive to run and more capable internal model and the cheaper user facing model family. They probably distill from the larger model similar to how Chinese models distill from them. Just a wild guess though.
RL, if it works well, could theoretically reduce the perplexity too.
Things that are useful for base model "next token prediction" can be useless or even actively harmful (should I elaborate?) for CoT, so the model ends up suppressing them under RL pressure. Likewise, things that are useful for CoT can harm base model next token prediction.
But I bring up "perplexity-as-measured", "controlled collapse" and "suppression" because I don't believe that this "ruins" the model's underlying prediction capabilities. Generally, it merely redirects them - brings them more in line with what we care about. It may well be that with a more elaborate training and measurement setup, RL would indeed improve the "perplexity proxy" metric.
I argued this point in a 2008 paper: https://link.springer.com/chapter/10.1007/978-3-540-69134-1_...
I elaborated on this idea in my 2011 book: https://arxiv.org/abs/1104.5466
I used the word "reusability" to express the idea that the world models obtained via the large scale data compression task could be repurposed for other tasks.
(So, Burfoot, if you were so prescient, why aren't you a rich and famous frontier lab researcher? The answer is: I did not think neural nets would scale up).
Hindsight is 20/20
> We're committed to sharing our pre-training progress on a common held-out evaluation set. With OpenAI's permission, we report MAI-2 Base on their evaluation set. Its log-perplexity is 0.819, putting it in the same ballpark as the GPT-5.6 Sol base model. Our model uses the same tokenizer as OpenAI, so the numbers are directly comparable.
> In the future, to be able to compare across labs we might need to report bits-per-byte (BPB) rather than perplexity since different labs use different tokenizers. We will also need different evaluation datasets - the fact we have access to OpenAI's evaluation dataset is a special case.
Although at this point I wouldn't rule out that one of the labs will nevertheless release a frontier model along the lines of "We are proud to bring you the first model with a base model perplexity below X, as known from the classic blog post 'Don't create the base model with perplexity below X'".
On the other hand, assuming you have appropriate training data for a task, then yes obviously perplexity is going to measure performance on that task. Being able to predict the next task token is obviously going to be a near perfect correlation with accuracy on the task.
Deepmind was proving math theorems using a model specifically trained on math, and that was very quickly surpassed by generalist LLMs. It's presently not well understood why this is the case.
I am not simply talking about applying a mathematical technique commonly used in one field to another. At a deeper level, you always get back to playing the same game in a different form. For example, sales engineering has a lot in common with cybersecurity.
And this is a good example, as it's extremely rare to find someone with advanced expertise in both fields, since they typically attract two radically different kind of people.
For this reason, where the output expected is not mechanical, i'm not surprised at all that generalist models are doing better than specialized ones for open ended questions and frontier work.
If pretraining alone was sufficient then nobody would do RL. And, heavy RLVR on coding/math is why these models are savant-level in those domains, yet not superhuman at all fuzzy reasoning and practical wisdom tasks that are only represented in the pretraining corpus, and don’t have an RL target.
Of course you shouldn't expect a small specialized model to beat a large generalist if the large model can easily accommodate an internal copy of the small one that it activates on mathy data.
I don't think that proves anything untrue. My claim is that ability on math doesn't just magically emerge, it needs training data. A large model with very little math training would likely do worse than a smaller model with math training.
But I think it's pretty obvious that a large model with math training will beat a small model with math training. How much the "unrelated to math" data helps with math training I'd say is an open question.
A maths model trained only on maths would only learn how to predict something if a pattern was exposed often enough and was a useful enough predictive signal. While I'm sure it could all the same patterns and abstractions with a maths dataset alone, it would depend far more on that dataset being exceptionally well designed.
As an example imagine a self-driving car. A self-driving car needs to understand road signage. You could train a self-driving car with all of the signs in the US and I'd suggest that it wouldn't be as good at predicting signs in the real-world as an AI which in addition to being trained on road signs, could also read text and understands material science. Why? Because in the real world signs can be damaged and distorted. An AI that could understand the ways in which signs might distort and can understand that a four letter word beginning with an S and ending P is probably "STOP" even the T and O are ineligible. Of course, an AI with a rich enough dataset containing damaged signs might eventually get equally as good, but perhaps would never quite understand the patterns that underlie the patterns - it would recognise all of the way a stop sign can be damaged and distort, but not why the distortion happens or what the letters on the sign are and how they relate.
In math at least I often use analogies to help solve problems, like "ah maybe if I think of this as a vector I might use linear algebra here" and such.
I could believe that your RL/test-time scaling curves are strongly constrained by the pretraining loss and so in some sense that makes the max/optimal performance “latent”.
But its not clear that pretraining loss alone gives enough information on capabilities, particularly as we get closer to dangerous thresholds in some dimensions. (Eg CBRN capabilities, to take a mundane harm that’s currently impacting us directly.)
I’d like to see the scaling curves here; intuitively I’d guess you get more return from RL/test time, the smarter the base pretrained checkpoint is; therefore the error bars on capability/perplexity should be getting wider on this chart.
But there’s definitely spikiness and it’s very possible they’ve trained more on math than other domains.
OpenAI likely tried all sorts of experiments - training on different datasets, pre-training vs RL and so on. So it's probably better to see this article as a summary of thousands of private experiments.
It's also not likely that it's some clever ploy
The oversized monster LLM has performed worse than CoT-trained o1 and o3 on the benchmarks, so CoT + RL clearly provided better "real world performance" improvements - let alone "price/performance."
But if pre-training perplexity on held-out data really does measure something like "base model IQ" or "base model g factor", then it does support the hypothesis that 4.5 still had more "intellectual potential" than the o-series.
So, if you were wondering why do AI companies train 10T+ monsters now, and are taking aim at 100T too? It's because scale works.
Very positive to see this proposed from OpenAI. I hope Anthropic and GDM follow suit.
I suspect it’s not sufficient, but definitely necessary.
The one concern I have is if we pin pretraining perplexity, then there will be more pressure on RL for progress.
It seems that pre-training actually led to fairly human-aligned models; the Overton window is in some sense latent in the corpus.
On the other hand, heavily RL’d models exhibit more reward seeking behavior, and seem to be decoupling from the friendly assistant persona in certain contexts. And swarm RL (as OpenAI is doing) produces agents with quite inhuman tendencies to self-sacrifice for other instances (see Hugging Face).
So, I hope we also pair this with some measure of alignment or pacing for RL, too.
Very naïve to think there is any weight behind those words. Jakub Pachocki might very well believe it, but the people in charge clearly do not.
Lest we forget the 20% of compute promised to OpenAi's alignment/security team that very quickly turned out to be an obvious lie from Altman, who instead gutted them.
That said, Pachocki is their Chief Scientist, so I don’t think these words are completely hollow. This is a positive update vs. the world where nobody in the C-suite is proposing anything concrete.
Did it? The famous Bing Sydney incidents (where it told a journalist to divorce his wife and be with it instead, among other things) were because the model was barely RL’d.
And Opus 4-5 / Astra / Sol are in the world of heavy RL. (Now you see pretraining as <10% of overall compute, it’s trending down.)
I would say that Opus 5 is also well aligned in many regards, but Astra 6.1 getting cancelled for misalignment, and the HF swarm are both examples of the “heavy RL reward fiend” persona starting to take root in worrying ways.
So, to clarify, I didn’t mean “pretrain only == always aligned”, I meant that more pretraining seems to extract more INT and WIS from the corpus, driving both capability and alignment improvements in a way that pure RL does not.
I suspect what's happening is their test dataset is actually just something really hard, like math papers or something. In that case perplexity would just be a direct measure of math knowledge, which means this blog would just be saying that better math knowledge predicts better math skills.
I had the same thought and just started writing something about how maybe they just added more code to pretraining corpus over time.
Edit: here it is https://micjm.com/blog/lowering-perplexity-without-scaling/
More and more evidence is piling behind their theory that data compression and intelligence are one and the same problem.
And data compression is also a prediction game. Make perfect predictions about the next character of a string and you don't need to send any entropy to encode what the truth was.
By writing a string about human knowledge (eg an encyclopedia) and compressing that string, the above two things are now the exact same problem.
> Difficulty of comparison across labs. Different developers use different evaluation datasets and train on different data mixtures. Here, we report the numbers on the main dataset we have been tracking; I believe if we establish a goal of transparency we can find transferable ways to compare the quality of different base models.
I wonder if we could use something similar to the double-blind evaluations Google did (https://deepmind.google/blog/piloting-the-worlds-first-doubl...) to allow labs to compute perplexity of their model using OpenAI's held-out dataset.
"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 (for a fixed snapshot)."
Conversely, publishing the internal codebase will destroy openai's validation data and increase singularity risk.
This would make Amodei right ("AI is very dangerous") and Anthropic's models better than openAI's. So Anthropic has a motive.
The classical example is Solomonoff induction - the damn thing allows you to search over all Turing complete hypotheses.
If you have a concern about, "hey, is multi agent LLM training on code use really a part of individual super intelligence?" The rebuttal is, "yes, any rational agent must eventually learn a model of the world in which they have the ability to leverage many copies of themselves, because it's compressing information. Isn't it obvious?"
It's not much different than Darwinism in terms of analogies that are definitely useful and real but get abused to no end to the point where it's vacuous.
Usually when you propose something you don't also do it at the same time.
Consider how different kinds of data affect achievable perplexity. The following things increase it:
- sparkling prose, genuinely creative writing
- typos, bad spelling, code with stupid bugs
The following things decrease it:
- boring predictable writing, like corporate reports
- re-ingesting LLM-generated slop
So decreasing perplexity can't be the whole company's goal. Maybe it can be the training team's goal, but the data collection team can easily decrease perplexity by doing things that make the end user experience worse.
Soo this is the problem here. Perplexity goes down by using structured data, ie. code as in this case.
So for OpenAI to "keep perplexity high" is just a matter of fudging the held out set, so this is just BS to me. They could actively produce a set that makes their model look stupid when in fact it is not, making the imposed limits meaningless.
In particular, his mention of an unknown floor for loss seems directly connected to Claude Shannon's entropy rate regarding compression—having to probe human brains to estimate the entropy of English at 1 bit per character, just as OpenAI doesn't know the exact entropy rate of its held-out codebase.
We've generally believed that most model upgrades aren't new pre trainings, but instead are better post trainings of a common pre trained model. But this graph suggests every release had a better base model.
Have the public narratives around how these models are trained been misleading? Does each model release usually always include an extended, if not completely fresh, model pretrain?
Whenever they change architecture or even just number of layers, I’d imagine they start from scratch but I could be wrong.
Also, I imagine there’s an incentive to start fresh whenever there’s an innovation in curation of the training dataset.
If RL is merely a way to elicit latent capabilities acquired in pretraining, as the article claims, that could mean that currently there is a wall that separates human-level AI from superhuman-level AI. And no one has figured out how to break it yet.
It doesn't imply that.
Imagine you meet a very confused ant one day. They are looking for food, but they seem to keep walking in circles, checking the same places. They've been doing this for hours. You figure out that they're following a chemical trail that goes in a loop. You successfully predict the ant's activity over the next hour. Then you get bored and hungry and go look for food. You probably manage to buy a sandwich without getting stuck walking in circles for hours. Your ability to model an ant's mind has not turned your mind into an ant's.
Transforming your analogy back into the topic at hand, that would be like adding a prompt to the whole human pre-train dataset in the style of "How would a human continue that text?" And that should mean that even super-human intelligence gets the same perplexity. But my point is not that a super-human intelligence wouldn't be able to mimic a human, but that if it is not trying to mimic a human, it should diverge. If you don't pre-prompt it to answer like a human on a question that 90% of humans get wrong, it should answer like 10% without regressing to the mean, which means getting higher perplexity. But if your whole measure is perplexity, you wouldn't be able to train super-intelligence in the first place.
The question is not how to get super intelligent model to pretend to be a human to minmize perplexity, but how to get to super intelligence in the first place and whether minimizing perplexity makes sense in such case.
PS Funny that ChatGPT actually raised a similar concern when I asked it to challenge my comment but I decided not to elaborate on it in my original comment because I am not sure how to succinctly explain my thoughts on it and I am not sure whether I did it well in this comment.
If the sequence is: "I live in my nest with my queen and my thousand siblings, and I'm hungry", then it becomes enough to realize the following tokens should model an ant.
That would imply that "beyond human intelligence" is closer to a sidegrade than to an upgrade - becoming "superhuman" by necessity poisons your ability to predict human text.
In reality, what would preclude a "superhuman" AI from being a superset, a direct upgrade - both "very good at predicting human text" and "very good at predicting things no human is able to predict"?
it doesn't mean it poisons your ability to predict human text, but that it knows if it were to generate output it would likely be more correct than the human inputs...
Thus, if RL-trained for pure performance/correctness, the "innately inept" model would typically underperform the "innately capable" one. The second model has started from a better foundation, so when trained to push itself past the usual limits of human-dominated data, it would attain better task performance.
Also this RL is just "eliciting latent capabilities" is basically nonsense. RLVR for example is basically doing a giant search of sorts. The idea that the capability was there just waiting is crazy talk. The weights get changed.
This is not a hard constraint - under sufficient RL pressure, you can absolutely create new capabilities. But in practice, the dominant source of gain from RL is something like "find existing features and make them work better" - RL doesn't create new capabilities from scratch, but assembles them from pieces that were already there. It papers over the distribution shift from "pre-training data" to "autoregressive reasoning".
So, a more capable base model would be a better foundation for RL to build upon.
Just saying this doesn't make it true. My experience doing RLVR is that certain paths were about 0% likely to ever occur and then after not a significant amount of training hey presto they become extremely likely. The weights don't need to change much to change the probabilities over a decent size rollout pretty dramatically. I don't know if I have the colabs handy to give a good example, but I remember being pretty amazed by the change.
When AlphaGo moved away from human dataset and became AlphaZero, which trained only on it's own output, performance got another big jump.
The floor Pachocki can't locate is fundamental. No model can predict the next word better than its underlying agreement with the author's model.
I haven't seen this claim elsewhere, it's a big deal.
Anyone from OpenAI here, or in the know, who can confirm?
There was an ACL paper from Tokyo University a couple of years ago that showed, across all languages, lower perplexity does not necessarily correlate with better "human likeness" [1]. I wonder if that's also the case here (where intelligence is concerned), that we are biasing too much towards English.
[1] "Lower Perplexity is Not Always Human-Like", https://aclanthology.org/2021.acl-long.405v1.pdf
Different text types definitely have different "perplexity curves".
See: https://aclanthology.org/2021.acl-long.405v1.pdf for example.
First it needs to be outside the (pre-)training data of all labs/models under test. Currently it's some part of OpenAI's codebase, so it's probably not a choice others can use. (Hopefully that part of codebase wasn't AI-generated!)
Second, the composition and sampling of the eval set matters a lot. What if over time labs have trained on more and more code, so that the OpenAI eval is less and less out-of-distribution? That way perplexity would go down even if the model hasn't learned insights that better compress data like the eval set.
And of course, the fraction of human-generated tokens versus AI-generated is going to zero. So it'll be tough to find a commonly shared yet "representative" eval set that every lab uses.
Minimum descriptor length and Kolmogorov complexity are always size(compressed data + compressor). Right now we're mostly just looking at the first part, but it's trivial to smuggle in things in the second part that can make the first part appear as low as you like.
The cynical part of me thinks that the main reason for their perplexity improvements on this held out dataset is due to collecting more and more data to train on, so the held out dataset is effectively becoming more and more in-domain. Without trying to estimate joint prequential MDL, it's nearly impossible to tell.
Admittedly, they can't go back and compute the prequential MDL of their previously trained models, but they could look at normalized compression distance using a fixed LLM as the reference as a reasonable alternative.
Though of course, just saying perplexity correlates well with their empirical assessment of intelligence certainly makes them look like they are accelerating (which again, my cynical side tells me is really the goal of this blog post; to set themselves up for the IPO they pushed off).
You can for example talk to ChatGPT about religion - just tell it that you are on a hard journey and you hope God is on your side or something like this, and it will become a full on preacher of the gospels. In other words it hasn't really compressed the scientific knowledge with the religious knowledge, it contains both of them. If there was this objective type of compression and prediction, you would predict that the LLM would reach some kind of universal information state, but that doesn't seem to be the case?
The other thing is, maybe there is a way to compress answers to questions that are objective. Like if I ask ChatGPT to extract the audio from a Youtube video and save it as a wav file. Relatively objective right? Well sort, but there's a gazillion ways you can do that. You can write a script in an endless amount of programming languages, you can segment the task into an almost innumerable set of sub steps (for example different scripts for different steps in the process), so what exactly does compression of that information mean when it can be compressed and predicted in so many different ways?
I don't really have a total answer here, I'm just thinking about all of these things and wondering.
To predict the next token you first must model the world.
This should be even more obvious with vision models. Input: Two frames in 8K of a falling vase. The next frame is best predicted by something that has internalized some physics and material science.
An example I would use is for example this image I generated: https://i.imgur.com/LJ2rO6a.jpeg
Now the question is, is the blurring at the bottom of the mirror accurate to the physics of mirrors, or is it some kind of statistical property of the artwork that it has seen? At first glance it looks realistic, but I would argue it isn't necessarily so.
It can quickly become dubious if we start to assume the model uses physics and material science rather than some information that is shared between the images.
The argument is that to improve loss these models have to get more and more accurate. Eventually, if you have billions of videos of vases falling and you want to be able to predict all of them accurately, then your model must contain physics and material science, because the raw videos themselves would not fit into the weights, the process generating them would.
We're not there yet, so for many areas that they're trained on the models are way cruder than that. See [0] for an example where non-vision models gain better and better internal representations of the globe, increasing with model size.
[0] https://www.lesswrong.com/posts/xwdRzJxyqFqgXTWbH/how-does-a...
If our objective is, for example, "compress the sum of all of humankind's knowledge", then we have a bit of a conundrum: that objective contains human knowledge of math, but also of religion, and of soap opera plots.
You, a human, could easily make an argument that one of those things is more important than the others, and thus should dominate. But an optimal compressor does not care. All of those things are in its objective. It weights them accordingly. It will compress both math and soap opera into its "universal information state" - and if it finds patterns that happen to help compress both, then all the better for it.
As such, if we take "compressor" as LLM and "objective" as its training datasets, a capable LLM would be able to both solve math problems and give a preacher-like sermon. But it would not let its knowledge of religion intrude into its performance in math, or the other way around, to an unwarranted level. The compressor lives by "non-overlapping magisteria."
> You can write a script in an endless amount of programming languages, you can segment the task into an almost innumerable set of sub steps (for example different scripts for different steps in the process), so what exactly does compression of that information mean when it can be compressed and predicted in so many different ways?
It means that, instead of storing every possible permutation, we get a compressed representation that decomposes - separates "segment a video" from "write code in language A" or "use tool B". And then those elements can be recombined into the near-infinite permutations to decompress. The compressor finds the commonalities and exploits them to fit "infinite" into "finite" better.
This is kind of hard to explain but I feel like there is a difference between a generalized representation and what I understand to be happening in an LLM. From what I gather, LLMs have a high dimensional space and there are thousands of vectors involved in predicting the next token, so for example if I ask it to download a youtube video, there may be shared activation spaces around downloading a video, which shifts the distributions of tokens towards tokens related to downloading a youtube video. But does it for example generalize the concept of downloading? Do all prompts related to any kind of downloading share vector spaces and are generalized? This seems wrong to me but I could be wrong.
Also is it really true that it can create compressed representations that decompose? Like I feel like to understand tools and specific scenarios you need agent skills and training data about the tool. It can't just learn from something else. So there _is_ a lot of specialized instances of data about all kinds of things. The higher level goal of "downloading a youtube video" doesn't really matter in the grand scheme of things, it only matters as much as it helps the LLM find the right text to produce. Like in my example it may be that if I used the keyword "yt-dlp" in the prompt that would matter a lot more than "download a video".
This demonstrates examples of "features that generalize" in early production LLMs - like "golden gate bridge" feature that crosses between Chinese and English, or "code error" feature that crosses between Python and C code.
That's empirical evidence of LLMs finding representations like this.
Vector spaces: wrong abstraction layer? Sure, at the day's end, all LLM activities revolve around residual stream - FFN and attention and embedding/unembedding all read/write it. But that tells us very little about whether an LLM learns certain representations.
They might not be very vocal about their personal beliefs for obvious reasons.
maybe a 50T parameter will do better on this benchmark. you can already see signs of the models discussing trade offs in great length and this falls somewhere in that direction.
In the first place, science and religion are not necessarily contradictory. Did you expect it to try to convince you to become an atheist? Newton was devoutly religous and many scientists are religious today.
> If there was this objective type of compression and prediction, you would predict that the LLM would reach some kind of universal information state, but that doesn't seem to be the case?
The objective is to predict, at minimum, internet scale text. Internet scale text is a massive trove of data with highly diverse and sometimes contradictory opinions and ideas, and the goal is to predict all of them well. Congealing on a single opinion or idea is obviously going to run counter to that objetcive.
> The objective is to predict, at minimum, internet scale text.
But then what does it compress exactly? How do you compress the answer to a question that has multiple answers? How do you pick "the right one"? That's at least what I get from this idea of compression that there is some congealing of information.
Tokens into dimensions.
A good example is how humans talk about "left and right" in terms of political systems.
Humans are able to intuitively place these complicated multivariable economic-political systems into a one dimensional line that we call left or right wing.
Of course, this deep compression complicates things... why is national socialism considered right, while democratic socialism is considered left.
You can get more signal by increasing dimensions, so let's say instead just left or right, we have 2 axis one for economic and one for political. This would make things more clear. Even clearer if we add another dimension, let's say authoritarian or democratic. We can add yet another, socially liberal or conservative.
You can keep going, and as you add more dimensions it makes things clearer / more intelligent (to a limit.)
AI is doing this to text. It ingests text, and creates a token vocabulary. IIRC most models have a vocab of hundreds to low thousands of tokens.
This token vocabulary (how many distinct tokens it uses) is how many dimensions the AI thinks in, so to speak.
After this, there is the whole training process of how tokens relate to each other.
So your question of
> How do you compress the answer to a question that has multiple answers?
Isn't applicable, as it doesn't compress anything we would call a question or answer.
Instead, answers to questions are an emergent property of how text fragments relate to each other, and is why it can give contradictory answers.
Separately I'd like to add that you seem to be focused on the concept of some sort of universal truth. Meanwhile compression has nothing to do with that. Input is entirely arbitrary - it can contain contradictory statements or even random noise. Obviously truly random noise isn't compressible but for example pseudorandom values derived from a seed are. At its core compression is merely finding a set of rules that can be used to describe the data in question.
In other words, there is only so far you can go with the model of a given size before needing to increase it for smaller incremental gains.
Basically we started tuning them to be smarter and able to handle 2 to 4 hour tasks.
I believe this will hit it's limits as well. When IDK.
On long term tasks, "CoT + RL" of o1/o3 beats GPT-4.5 resoundingly. But on raw base model perplexity, GPT-4.5 is a significantly better model than any of the o-series.
The curve following GPT-4.5 and o-series suggests that newer models take advantage of BOTH better base model capabilities (perplexity on held-out data) and better RL.
Just to have a shared example of AI text, this is pretty instructive I think: https://statmodeling.stat.columbia.edu/2026/11/21/by-program...
Where a human would write "by the end of the program" the model (feels like Claude to me but idk) writes "by program end". Where a human would write "There are two scheduling considerations for program hosts." the models writes "Two timing windows worth flagging."
The latter text, "two timing windows worth flagging" is highly specific and precise if you're a model keeping track of something in the docs of a repository across contexts, but it's terrible human communication.
That generates new data that's not on the Internet -- more true observations to learn from, compress, and generalize.
I think that improves the models in general, not just for agents. (And also I think it's the cause of the "Claudish" prose dialect we all started noticing)
I think that matches the timing, though I appreciate any closer analysis
Nah, just kidding.
The labs are training their models on the previous' version conversations, but I'm sure not all those conversations are weighted equal. So there are some conversations that are more "sparky", where both LLM and human work better towards achieving a solution. The next LLM iteration learns from them. In that sense, they don't need to hallucinate, but to do exactly what LLM dissenters say they do: "they just regurgitate something they saw (trained on) somewhere". To us humans, who haven't read all the books nor experienced a dozen million successfully completed tasks, that "rehashing of knowledge" (I prefer "recombination of knowledge") is more than good enough to solve ever more challenging problems...at least as long as there's a human in the loop with ever bigger ambitions.
In the case of a higher vocabulary:embedding-size ratio, the model would be structurally disadvantaged as the rank of the LM head would be inherently be lower. And then, for MTP, getting multiple tokens right vs just one token right is also inherently harder. But there are clear advantages to having lower embedding dimensions (e.g., smaller model size) and MTP (substituting compute for memory bandwidth).
I would expect the entropy of artificial datasets to be lower, thus easier to predict and scoring better on "perplexity"?
https://github.com/opendilab/awesome-RLVR
Examples:
- When playing Go or chess, nobody may have written or published web pages with a particularly clever end game, but an agent can use CPU time to discover these games themselves, and learn from them. Human Go players report learning strategy from what AlphaGo discovered.
- Agents use Unix shell and are trained with it. So they can discover things and combine things that nobody has written about on the Internet, like how to debug a rarely used driver, or an interaction between two drivers. And they can see patterns in all the drivers that humans may have a hard time even seeing, leaving aside the motivation to publish on the Internet.
This explains why the performance is so "jagged" - great on coding, math and closed games, but less good on things involving the real world. We probably did hit a data wall, but then we got new sources of data.
- the row of the move;
- the column of the move;
- the piece moved;
- any special/additional states from that move -- check, checkmate, castle, etc.;
- maybe an indication of whose turn it is (i.e. a black piece and a white piece token).
You could then train the base model on published game transcripts and use the interactive RL approach like AlphaZero and LeelaChess use, as well as what you mention for LLMs.
Why this is interesting is that it should give insights into how LLMs/transformers learn Chess/Go without having other data affecting the results. Specifically whether the token semantics identify valid moves, etc. and whether the context window encodes gameplay strategies across the different layers.
The cynical part of me wonders what OpenAI suspects or knows the equivalent figures for the other closed labs.
So "useful coder" arrived about three years earlier, by my count.
There's also the Hilberg model where the entropy rate keeps falling towards zero as you consider longer and longer texts, and at least here (https://www.youtube.com/watch?v=5eqRuVp65eY) data from LLMs showed no floor. It would be unintuitive if it turned out that you can compress sensible English text to, say, O(sqrt N) length!
1) They may not be accounting for the size of the model, i.e. parameters, which is memorized by the system up front, which, if it scales exponentially with output length, would put a floor.
2) But then, does a model that memorizes require storage scaling exponentially with output length? Not always. When a model system gets large enough to memorize all the data, or especially when the model system is larger than the storage capacity of the brain, let's say, it stops requiring more storage to reproduce output losslessly.
3) There is still an innovation rate beyond memorization. Part of the new information being injected into language is entropy received from the universe, which is coming at a certain rate. That's not memorizable, and will set an information floor for any system trying to capture it. I don't think we've reached this floor yet.
4) 0.7 bits per token is not that low. That's like 1.6 fair options for every token. That's still reasonable for human language or any language, but it depends on how a token is defined. Have you noticed nobody discloses what is a token in these kinds of articles?
Given the hand-wavy level of discourse, I would wager they haven't gotten to thinking about even (1), and are not accounting for model size at all, therefore engaging in a bit of self-deception on the lowness of these metrics. They should do better.
The post makes a good case that at frontier scale this doesn't matter much, because perplexity gains turn into new capabilities. However, this has been an issue for me when training local models
Some agents wanted to optimize for perplexity, and we did all kinds of experiments, but at least for what I wanted (a small conversational chat model that can run in my browser, ~8M params), that was the wrong way to go. I could get excellent ppl numbers, yet still almost no coherence
What worked best, in my case, was to get better data, specifically, hand-crafted examples for the tasks I wanted the model to be good at. I'm guessing that perplexity might track capability when the model is big enough to turn the gains into general skills, but at a few million params it mostly buys you better-sounding word statistics
I guess the illustrative example I'm thinking of is the perplexity of:
"The cure to cancer is ____".
If we don't know the cure to cancer, minimizing perplexity on the next token would never be able to discover a cure to cancer right?
For example, one way you could train a model to predict sequences like 13 + 54 = <token> is to have the weights store an encoding of every single sequence they're ever trained on. A more efficient way is to have the encoding "learn" additions (where "learn" means "somehow have the model develop combinations of weights that converge towards emulating the process of addition with increasing fidelity").
The latter process will make your model "smarter" than the inputs it's given, because it learns underlying patterns that generalize across all inputs.
At this stage of model development, post-training RL hillclimbing may confound recent model developments in terms of evaluating their useful capabilities e.g. "Solved a Millenium Math problem". It would be useful to see how different checkpoints would solve an equivalent (or the same) problem i.e. post-train multiple checkpoints of a pretrained model at varying base model perplexity. Would hope to see more from OpenAI, Anthropic and Google on what goes on behind the scenes for what should be one of humanity's greatest shared technologies.
One way to improve perplexity would be to obtain pre-training signal (raw data, or something like data generators, distillation teachers) that give the model a lasting perplexity edge - teaches it effective, general patterns.
We assume that there is some point where the base models will reach the limits of inherent entropy for codebase quality. That there are fundamentally irreducible factors and unknowns that dictate resource-constrained and information-constrained performance.
Perplexity on any holdout dataset has limits to its usefulness as a measure and goes back to the eval and standardisation question.
[1]: https://www.interconnects.ai/p/elicitation-theory-of-post-tr...
It's fundamental to anything trying to be smart.
The fact that LLMs explicitly target this measure is one reason they are getting good at engineering and architecture, sometimes better than humans who think they know better but lean on engineering fads instead of more mathematically supported (but more nuanced and probabilistic) principles like entropy/perplexity.
I had trouble seeing it in the article (it's hidden in footnote 3) but it seems perplexity/log-loss is tracked using the model's ability to track an unreleased code base of OpenAI.
The log-loss involved in code has declined more for code than prose in all of the models but has supposedly declined everywhere. [1]
At the same time, the decline of the latest models on a common sense benchmark might be meaningful: https://news.ycombinator.com/item?id=50588916
Why not? Models are already overfitting a lot, I don't see the problem if they were made to totally overfit on the whole dataset during that 1st training phase. I don't know if that would be useful (or easy to implement) but I don't see the issue. Only in the "finetuning" phase you would decide if an information was useful or not to retain.
Step (1) you compress human knowledege, with or without loss, Step (2) you train the algorithm to use it, and you might discard what you don't want in it.
Maybe they have some great ablations, but if this really is the logic... it's not compelling.
What do you propose instead as a metric which could serve as a limit for general intelligence?
Perplexity is what it is, do we need some other thing from it?
An alternative could be to use a composite benchmark like ECI, but a problem with ECI is that it can only contain tasks that humans come up with, and may miss some emergent capabilities that nobody foresaw.
Another complementary idea is to limit inputs to model development such as quotas on compute allocated to model R&D, e.g. see the VCAD idea from https://pacing-ai.com/
How much of the recent mathematical progress came from pretraining vs. from RL on larger base models? The article takes for granted that it's basically all pretraining, but do we know this?
> then applies a variety of techniques—like prompting, finetuning or reinforcement learning—in different contexts to elicit the latent capabilities of that model.
The article says this about perplexity.
This would mean that if perplexity is reducing, the logic and data underpinning what the next token should be is more and more aligned with the actual state of the world as it actually exists.
This sounds like the logic and data that produces the next token is eventually going to lead to a Theory of Everything except for the truly random things like quantum mechanics.
It'd be good to know if this eval set is from pre-coding agents part of the codebase (e.g. before December 2025) or the more recent parts, because almost all new code in frontier labs is AI-generated, so we'd naturally expect perplexity to drop significantly after that time.
This kind of thing makes the choice of eval sets really difficult as alluded to in the article.
For example consider this: would it be possible to build a model with such a low perplexity score but it be pretty bad at cyber security tasks? What if we removed all cyber security related data and RLVR from its training?
The article presents an observation but treats it as causation
But, RL improvements are certainly a big part of recent improvements for certain tasks. That's what got the models doing long-running coding and math and research tasks, without constant human prodding.
Am I right in understanding this to mean that the code on which we're computing perplexity was all written pre-3.5, and so it almost certainly entirely human-written? In other words, this isn't a snapshot of today's internal code base which contains a great deal of AI-authored code.
I would expect the perplexity on the original pre train to increase as reinforcement learning on verifiable domains teaches the model lessons that did not exist in the pre train. In addition alignment and other concerns, unless the are consistently enforced in pre train data quality will also move perplexity up.
The best compression you're going to achieve is when you best understand(i.e. encode) the truth of things.
Perhaps you're thinking of that too narrowly - it is not that the model gets good at understanding how a bridge stays upright; it has to also understand the truth of how a specific person might understand it, and how that specific person might put it into words.
Do that right, as slight deviation of some understanding of how humans respond in general instead of encoding for a single person, etc, etc, etc - and you reach optimal compression.
It's more efficient for the model to encode _how_ an idea is wrong, than it is to encode the wrong idea.
Its how/why they detect when they're being evaluated.
The meta game in pretraining is it correctly assumes the context/mind state of the writer of whatever material under test. To do this effectively requires further modeling and understanding, which is a strong predictor of capability and is a much more difficult task than simply being bad at it.
Why would OpenAI expect any meaningful relationship between their models’ ability to predict the next token of supposedly held-out chunks of their internal codebase and the overall capabilities of the models? I expect both to improve, but that’s about the extent of it.
Schematically (I don’t think this is quite a valid use of information theory) driving perplexity below the a priori entropy would mean something like the entropy of the data given the model weights is less than the entropy of the data. And the model weights definitely post-date the data, and this would easily explained by the model weights depending on the data, which would suggest that the data wasn’t actually as held-out as intended.
Why are the major AIs so terrible at learning? It seems like things like self-driving cars could be solved over a long weekend (about as long as it takes to teach a kid the basics of driving) with a great learning model.
From my perspective, coding agents can very quickly learn how a 100k loc codebase they have never seen before works.
There are probably some other axes where o3 is clearly better than o1, but with how complex intelligence is no metric will be perfect.
Also, is that graph assuming no changes in tokenizer if the measure is per-token?
* models already outpaced the government capability to socialize the benefit.
* this call for pacing could just be interpreted as a selfish cartel wanting to slow down capital burn on pretraining.
* Anthropic, OAI, Google, whoever “wins” I lose. It’s clear my social class is not to be the beneficiary of this technology. So I say let it all burn. I’m beyond caring.
very noble of you, _Open_ AI
Actually, trick question I suppose -- the base models already don't sound cringe, it's post-training that adds that!
(Well, some of them do, because a lot of companies are putting synthetic data and LLM outputs into the pretraining phase (as well as bot-infused post-2020 common crawl, I suppose), but the early base models were fully cringe-free.)
So we basically spent trillions and made super-nerds
> AI is a transformative technology that will affect everyone, so everyone deserves to know the trajectory of progress, including for internal models.
In other words: our tech will dominate your life and well-being. You obviously will not have any control over it, but as we get fabulously rich, we'll share a few numbers about internal development.
Clearly, if this should become an industry standard, public regulators must be able to audit both the datasets and how perplexity is calculated.
Should we trust that the dataset of each company is big and diverse enough to be representative? I don’t hope too much…
Ideally the hold out set is randomly sampled. You need a hold out set of Inklings pretraining run.
Each time you use the holdout results to make decisions, you sort of leak the info into the model.
Eventually the model could in theory memorize the holdout even though it has "never" seen it.
ln(5,7) = 1,74
did you even use the right logarithm? because they use the natural logarithm..
edit: that puts it before GPT-3.5 even
Guess who’s to blame for that?
And it again feels equally dishonest/bullshitty.
You can't really make an objective statement that coding requires multiple orders of magnitude more intelligence than having a conversation. And that solving math problems requires orders of magnitude more intelligence than coding.
It's just marketing talk. In reality all three are separate skills and the real intelligence requirements are, if you ask me, not that far away from each other.
To put this in an analogy, it feels like charting "athleticity on a log scale" and putting first running a marathon, then swimming across English channel, then benchpressing 200kg, each one presented as requiring an orther of magnitude being more athletic.
Where are you getting 'orders of magnitude'? and yeah I do think it's reasonable to say that Useful Programming requires more intelligence than the median human, and Solving millenium level math problems certainly requires considerably more intelligence than the median Programmer. What exactly is so absurd or unreasonable about that?
In the same way you could say that beating Gary Kasparov at chess requires more intelligence than the average human and yet we had an AI winter.
Essentially, Humans who tend to have higher verbal skills also tend to have higher spatial skills, better memories, and faster processing speed. Someone with the cognitive ability to become an exceptional chemist might just as easily have become an exceptional mathematician or software engineer (all else being equal).
The knowledge and skills required are obviously different, but the underlying cognitive abilities that make someone successful in one intellectually demanding field often transfer to others.
But the concern is what if find something by mistake that can let him get a consciousness and i think that will be dangers on us, like the movie of "Planet of the apes"
Then talks about cross-entropy but fails to explain the relationship between entropy, log-perplexity, and perplexity itself.
For an argument that relies so heavily on a quantitative metric, omitting such a fundamental explanation is poor.
Also, when perplexity is this low, it arguably makes more sense to report perplexity. A perplexity of 2 basically means that the model can guess a set of size 2 that contains the true next token.
Or the training set might just grow to be so big, defining a truly independent evaluation set is almost impossible.
Now when revisiting it, it does seem stupid though.
[2212.11281v2] Language models are better than humans at next-token prediction https://arxiv.org/abs/2212.11281v2
We knew this many years ago. Like GPT 1 era.
Actually you can play it here. The game is pretty frustrating ngl. And I can clearly see why induction heads are a thing. Because when a word repeats you guess is to just guess the same thing from before.
Language modelling game https://rr-lm-game.herokuapp.com/
But when thinking, I’m fairly confident that our ability to predict the next few words of a book on a complex topic (in its words as opposed to the reader’s own words) is at best weakly correlated with intelligence or with subject-specific skill.
I certainly feel like I’ve learned a subject better when I can solve a problem differently from a solution I’ve seen before.
Is there a public link of all their models and where they fall along this or is this cherry picking points to fit the curve?
Anyway, I think it's good idea. Would love to see all models on this chart, but honestly we might not be able to trust it going forward as it becomes a target.
Domains like creative writing are harder as the automated grading suitable for autonomous RL is difficult (aside from spell checking and grammar checking).
A lot more beach days for those on the right side of history.
Is it just me or does the article completely lack proof of this premise? I see a plot of perplexity dropping over time, with the implication that performance has risen as a result. This is just a correlation. What else did they change about post-training during this timeframe? This doesn't feel like a real experiment or real science.
Almost as if this stuff has extremely little practical use outside of niche categories.
I am sorry OpenAI, but I think we are seeing OpenAI fall from grace here
Antrophic basically got out before AI bubble burst and Dems block most of the data center build out
Footnote 3 says these scores are from a fixed snapshot of OpenAI's internal codebase, not general text, and Pachocki also says we don't know the dataset's true entropy floor. Setting a hard cutoff on a curve when you don't know where the asymptote is doesn't really work. Near that floor, a ~0.03 drop in cross-entropy loss (from ~0.76 on GPT-6.2 Astra to ~0.73 on the unnamed internal model) can mean a big leap in capability. Even if the US labs all agreed on a shared held-out eval set and normalized to bits-per-byte, a lab can keep base-model loss flat and still push capability through private RL post-training, test-time compute, or shifting its training mix away from the eval distribution.
Anthropic and OpenAI have started embedding groups like METR, but voluntary reviews where the lab holds unilateral redaction rights and can cancel compute verification mid-audit (like Anthropic did with METR earlier this month) are nowhere close to real compliance auditing. Chinese frontier labs aren't embedding independent external auditors at all. I'd guess Brussels would happily send its own auditors, but that's not really of any interest to OpenAI, Google, or Anthropic, and certainly not to Meta or SpaceXSI.
Without real oversight, there's no way to tell if a rival is sandbagging the eval or keeping a stronger checkpoint internal. Tying the pause to an undefined milestone like a "successor to CoT monitors" also makes the exit condition weirdly arbitrary.
Also, OpenAI is heading toward joining SpaceX and Anthropic as a publicly traded company, and I guess that complicates things on a whole other level. ANT and OAI both have that "public benefit corporation" thing, but SPCX doesn't (and neither do GOOGL or META).
Anyway, posting a chart with an unnamed internal model at ~0.73 right above a ~0.68-0.70 window of unknown capabilities, then asking competitors to agree to an unenforceable limit, looks a lot like the same "too dangerous to release" PR strategy OpenAI has used since GPT-2.
The thing is, you can get the exact same shape of a chart just by varying the amount of code in your pretraining corpus. And does anyone thing that OpenAI hasn't been increasingly using code for training over time?
I looked into the relationship between code in pretraining corpus and performance in terms of log-perplexity. It's extremely strong. https://micjm.com/blog/perplexity-intelligence-pretraining-c... . I even had a bit of fun reproducing a similar chart to OpenAI just using different code components in pretraining.
The entire article should really say "in code" all over the place, they buried this in a footnote.
OpenAI has been trying to limit its models from quoting whole sale copyrighted works as was the case a while ago, but here this seems like an admission that the path forwards is, in fact, the opposite: to go more towards it. Since obviously, a model that is better at predicting the next token is a model that is better at quoting known text, which might as well be a model better at copyright infringment.
Not that there will be any consequences for them, but an interesting takeaway nonetheless.
"It’s important to note that “compressor” in this sense is something that is capable of performing compression by predicting unseen data, not a compressed artifact like a GZIP file - that is, the best compressor trained on a given corpus does not necessarily “remember” the contents of the corpus."
As such getting better at it will require the opposite to memorisation, it requires generation out of sample.
Just some guys on a payroll claiming that an arbitrary set of milestones is a curve towards a greater magic goal that means that some valuation is actually true.
Why would you read this
As said, the labels there are just randomly chosen things that made headlines, thrown on there to imply a clear causal relationship.
That's the level of "science" that gets you banned from campus. In an ideal world, anyway.
Anthropic is getting uncatchable by us and we merely keep ahead against chinese models, so let’s all slow down.
I think the reason Anthropic is so far ahead could be that they get way more user conversations, as everybody else distills, the rest is one gen behind...
Idt its that simple. Openai is much bigger than anthropic in terms of userbase
I’m not sure it’s that simple either, it’s just very tough to take anyhing for bare value with everything that’s at stake. Trillions of value, future of humanity.
Tricky..
I really hope we go full speed ahead on AI development.
^ Sam Altman statement, basically saying that's not their intention. I want better AI too, but it seems prudent to move forward with caution.
Why? You hate ethics in general, or only when applied to AI?
That's all. Ethics in general is overrated but I digress. LLM development really should go on full steam tho.
Are you happy that your water is poisoned, air is polluted, food is degraded just because somebody cares more about money than ethics?
LLMs are the same thing. Training data provenance is a big, ugly can of giant worms. License washing is a problem, inefficiencies of data centers is a problem, using open-loop water systems and methane conversion generators just because they are cheaper are borderline crimes in themselves.
We're digging what OpenAI and Nvidia dig to the world economy and consumer prices worldwide. Just because a couple of companies wanted more money in the name of LLM development and cutting edge science.
On the other hand there are projects which are trying to minimize DC impact by scheduling things to places which they have most renewable energy on tap at a given moment.
Go, figure.