The problem with calling it "just a next token predictor" is not in calling it a "next token predictor", but in the word "just", which hides a number of incorrect insinuations.
The real problem with calling it “ just a next token predictor” is that a bunch of dweebs with an unhealthy fixation on the AI hype ecosystem will jump in to tell you how stupid you are.
That's because it is technically, and functionally, incorrect. That is not how they work.
I think that any reasonable person who understands cars would be annoyed if everyone kept popping up to tell you that cars are "just" next destination predictors.
I elaborate at length beneath the now flagged child comment below, but I'll summarize here for others benefit.
Yes, LLM's generate sequences of tokens based on the input prompt and a huge amount of data, but saying they "predict the next token" completely misses the point and doesn't explain why they're able to solve problems that have stumped the brightest living humans for decades or even centuries. Folks lately have taken to referring to it as "compression", but even that term is lacking. You can't "compress" or "predict" 2+2 and get 4 unless it's already in the training data, but LLM's can and do learn to do math, logic, and other multi-step computational tasks that let them output sequences of tokens that were never in the training corpus every day. I've trained a few myself, and it's relatively trivial to both build or test systems that do this yourself at home now.
If you're curious how that works you can Google reinforcement learning, but the brutally simplified version is:
During training the output they generate is scored based on how well it matches novel data including data that is NOT IN the training corpus. Essentially they have to compress the sum total of human knowledge, give or take a bit, in such a way that it produces an output that answers the prompt without ever being told what the correct answer was until after the fact, that means they have to determine how to generate the correct answer given only the information they have in the weights, the prompt, and a bit of compute. Again, they do this even when the correct answer isn't in the training data.
They can only achieve that "miracle" because they are taught using criteria that typically involve logic, reasoning, math, and other skills that many humans don't even possess. They aren't just databases, they aren't just autocomplete, and they aren't just "predicting" the next token... They are generating a novel output based on the training data, the weights, the prompt - and perhaps most importantly - a great deal of computation.
So yes, they generate sequences of tokens but they aren't "predicting" anything (in the sense that most people mean it) and that phrasing is misleading because it makes the giant bundles of simulated neurons that iterativly crawl/climb through latent space in search of the correct answer sound like it's auto-predict. It's not.
I hope that helps, but if not Google reinforcement learning and Chain of Thought. Others will do better jobs of explaining I'm sure.
It isn't "predicting" the next token any more than you are predicting your next thought. It's probability based, but that's the wrong word to describe what they are doing. It made more sense with GPT-2, but is just totally a bad fit now.
"Compress" is closer, but only in the sense that learning the algothrim required to answer is "compression." it's not a bigass codebook either.
“They’re more than next token predictors” is like saying “it can’t be as simple as a motor that turns the wheels, just look at how fast its going!”
For whatever reason, for some people, it isn’t enough to be fascinated that such interesting emergent behavior can come from predicting the statistically most likely next token. They have to insist that there is some other mechanism at work, not because this is technically the case, but because reducing an LLM to its actual method of action somehow cheapens or diminishes it for people who need to feel that what they’re seeing is important and meaningful.
My objection is that it's wrong. That's literally not what it's doing at a technical level. It has nothing to do with anyone's feelings.
You’re confusing the output mechanism with the training objective.
Yes, the architecture outputs one token at a time—that’s the wheels turning on your car. In pre-training it does predict the statistically most likely next token, and years ago that's all they did. But how can they "predict" an answer that doesn't exist until the model writes it? Predict is the wrong word.
Modern reasoning models though are post-trained with Reinforcement Learning with Verifiable Rewards (RLVR). The model isn't graded on predicting the next token at all—there is no target text to match. There is no precanned answer to compare it to!
It’s graded purely on whether the final output passes an objective verifier (like a compiler, unit test, or proof checker). It is actively rewarded for generating token sequences that are not the statistically likely human response, as long as they solve the problem.
So saying an LLM is "just a next-token predictor" because it outputs tokens sequentially is like saying a self-driving car is "just a motor turning the wheels." You're describing the drivetrain and ignoring the entire control system.
It's literally, technically, incorrect and it ignores the magic that makes it all work.
I think you need the AI enthusiasts to need it to be more than just a tool.
As an AI enthusiast myself, I very much view it as a tool. A new kind of tool, the likes of which the world has never seen before and which has already changed the world forever - but a tool nonetheless.
You are absolutely off your rocker if you think AI is more significant than penicillin. For fuck’s sake I hate it here, I need to stop looking at this godforsaken website once and for all.
It's massively more significant. Among other reasons because it turbocharges medical development.
It's hard to quantify without sounding like a jerk though.
If you simplify to "human work hours saved", use absolutely maximum numbers for all antibiotics (1B lives saved, real estimates are 200m-500m, 60 years of life left, in reality it's more like 30), and absolute dog water numbers for AI with 11% of global work time saved and no discoveries AI will overtake antibiotics in the same 80 years antibiotics have been around.
But none of that is true, AI is already leading to breakneck pace in all knowledge fields, and using a more reasonable but still conservative estimate for antibiotics (350m deaths averted, 30 years saved per death) and AI (25% of work replaced and no new discoveries) the overtake is in 2041. 15 years to antibiotics' 80 ( 100 really but we're being generous )
Now assume a proper hard take off which is very much what we're seeing right now, you can expect mind blowing discoveries every week and even higher replacement rates. And the S curve is just barely starting to show.
It does not need to invent anything as significant as penicillin to be more significant than penicillin. As an accelerant, it merely needs to make enough changes to the world happen faster than they otherwise would have, to be more significant than penicillin.
You are absolutely off your rocker if you can't see how a general purpose accelerant that is going to simultaneously affect every field of human endeavor is far more impactful than a single antibiotic ever was.
How is there no evidence when we've had multiple long standing problems solved in less than half a year?
How is there no evidence when software, which is a major lever to accelerate anything is now trivial to automate?
It's more limited in life sciences for now but give it some time to trickle in before you pass judgment, again: even major discoveries take decades to become important.
Those discoveries are in MATH, not biology or medicine. Math is inherently verifiable and models can be provided with instant feedback. This is not the case for biology. You’re the guy looking at a tractor and going “look at how well it plows this field, soon it’ll be performing neurosurgery!”
Nah, you need to learn how RL works with language models. They simply are not being trained to predict a next token in many/most post training phases. There is no ground truth token to even predict most of the time in those phases.
Sure, but there is collection of them that should make the "ground truth", right? So there was a "wrong" token at some point that cascaded. RL corrects that, so ultimately, the same thing.
"collection of them" is somewhat vague, so possibly not. Regardless, the way post training models currently works renders them not "next token prediction". The optimizer and objective function just don't work that way.
The end answer is what's verified. The intermediate tokens generated are not verified, there is no such concept. If the model produces 7000 tokens to produce "x = 7" at the end, the 7000 tokens aren't verified, there is nothing to verify against.
They act on tokens produced. But each token isn't a prediction of anything. There is nothing to predict. It's closer to search, and why RL models tend to get called a "policy". It's a strategy to produce a sequence that produces maximum rewards, not predict the next token.
>The intermediate tokens generated are not verified
They don't have to. Verification of the "end answer" is the same as verifying all the intermediate tokens, as the end answer is derived from the intermediate tokens.
If the end answer is wrong, then there is an intermediate token that was wrong, that cascaded it into producing the wrong "end answer". Correct that token, and may be the end answer will pass the check.
Nope, it's not the same as verifying all the intermediate tokens. Because there are many paths to the end answer, and there is nothing to verify the intermediate tokens against.
To make it even clearer, in two different rollouts the first 100 tokens could be exactly the same, and in one rollout the end answer is correct, and in another it's incorrect. Clearly "verifying" the first 100 tokens doesn't make sense.
That's not how most answers in real life work. There is almost always more than 1 correct answer, and almost always more than one way to arrive at it. Nobody tells it how to get there... It's forced to learn that on it's own.
You are wrong, and you're being pretty pushy and over-confident about it. Do you have a CS background? Your understanding reminds of way non-technical people try to describe how LLM's work in pop-culture news articles. It's not autocomplete - despite what the "brilliant minds" of social media will tell you.
I mean, they do generate sequences of tokens based on the input prompt and a huge amount of data, but saying they "predict the next token" completely misses the point and doesn't explain why they're able to solve problems that have stumped the brightest living humans for decades or even centuries. Folks lately have taken to referring to it as "compression", but even that term is lacking. You can't "compress" or "predict" 2+2 and get 4 unless it's already in the training data, but LLM's can and do learn to do math, logic, and other multi-step computational tasks that aren't in the training corpus every day. I've trained a few myself.
I might be wasting my time explaining, but I'll try:
During training the output they generate is scored based on how well it matches novel data that is NOT IN the training corpus. Essentially they have to compress the sum total of human knowledge, give or take a bit, in such a way that it produces an output that answers the prompt without ever being told what the correct answer was until after the fact, that means they have to determine how to generate the correct answer given only the information they have in the weights, the prompt, and a bit of compute. They often have to do that without the correct answer even existing in the training data.
They can only achieve that miracle because they are taught using criteria that typically involve logic, reasoning, math, and other skills that many humans don't even possess. They aren't just databases, they aren't just autocomplete, and they aren't just "predicting" the next token... They are generating a novel output based on the training data, the weights, the prompt - and perhaps most importantly - a great deal of computation.
your car does indeed sit on wheels and goes vroom vroom.
at this point I'm sure you'll tell me the dynamics of a combustion engine combines with the radio to produce an emergent consciousness or some nonsense.
Sure. Take AI to mean any system portraying functions usually associated with human intelligence, and in particular what current state-of-th-art solutions offered by AI companies such as OpenAi, DeepMind and Anthropic.
Take magic thinking to mean actions or functions which a system portrays without direct physical or logical causal link. Take mistakes to mean flaws in definitions, flaws in logical arguments, or consequences which do not align with observed reality.
it's almost like we both have a general idea of the definitions for everything we're talking about, including consciousness, and your condescending question was asked in purely bad faith
It was absolutely not in bad faith. I am just wondering for all these people who claim that AI is not consciousness, what they consider consciousness to be.
Because from what I can see, this leads either to magic thinking, or a definition under which AI definitely would qualify
Will you claim that a rock is conscious, and would it be surprising if someone did not agree with that claim, even if they don't have a definition of consciousness?
but that does not imply that an llm is conscious in the way us humans are, and generally the argument being made about llms being conscious is a computational one, not an argument for panpsychism.
I would not be suprised, yet I am pretty sure they have at least ‘some’ definition of consciousness which would include humans and exclude rocks, and not require magic think.
why would you say “make no mistakes” in good faith??
secondly i’m not claiming ai cannot be conscious, but that arguments for LLMs being conscious are rather weak.
and this is relative to the argument that llms are no more that a statistical process of predicting the next token in a loop, given massive compute + data. people who argue that they are more than that can make that case, but that doesn’t necessarily mean they become something else entirely.
>doesn't explain why they're able to solve problems that have stumped the brightest living humans for decades or even centuries
May be it does not explain that to you, but it is no mystery to me. Read through my comment history if you want to read the many explanations I have made regarding the matter....
>They can only achieve that miracle because they are taught using criteria that typically involve logic, reasoning, math, and other skills that many humans don't even possess.
They are not taught any of these. They capture patterns in text that are produced by humans who does have these attributes.
And then they repeat them, generating more text, and check the output using LEAN, and go EUREKA! when it passes. It is that simple.
Yes they are. There are literally hundreds, and maybe thousands of papers about the best ways to do this. Here's a random one I happened to still have open in another tab: https://arxiv.org/abs/2506.14245
> And then they repeat them ...
They literally perform multi-step reasoning and arrive at outputs that did not exist in the training data... Like all of the time, every day. That's what they do most of the time. If you stop the CoT, you get worse results or no result. If you alter it you get different results.
If you don't believe me... It's trivial to test yourself. Download LMStudio and have at it.
You have a hypothesis: "LLM's don't reason, the just memorize and rearrange."
> Literature loosely using terms such as "reasoning" (largely in favor of AI marketing) does not make it so.
Call it something else if that helps you cope. Other people won't understand you, but maybe you'll be happier if that word causes you to feel yucky.
I'll keep calling it reasoning because that is the word that best describes the n-dimensional search for the correct answer by iteratively moving through latent space.
> Ending with this does not automatically justify what you say...
That's right. Testing it would though. Millions of other people have done so. Either take their words or try it your self, you'll find it probably works the same for you as it did for them.
I don't call it reasoning because the behavior as shown by LLM is that it can, simultaneously give complex answers, while being oblivious to the base facts that are required reaching such answers by reasoning.
For example, ability to answer complex math problems, but at the same time impossible to count letters in a word.
>you're seeing a flaw in your assumptions about what is required to reason.
Given the facts `a -> b` and `b -> c` by applying logic and reasoning, we can say `a -> c`. When you can answer `a -> c` by using a large amount of text that only implies `a -> c` (but not `a->b` or `b ->c`), then you are not reasoning.
I am not addressing your fish example, because it does not make any sort of sense and is not connectable to what I said.
I'm honestly not even certain we're talking about the same thing anymore, but LLM's are better at symbolic logic than you or I will ever be now. If you think they can't handle your trivial example for some reason you are very much misinformed.
Seriously, just go try it. Do you really think the machine that produced all of these mathematical proofs, and a significant percentage of all the code on earth can't handle boolean logic? They can also count the "r"'s in strawberry, and have been able to for literal years now.
Regarding the fish example: Your argument amounted to "thing that has never seen a letter can't spell well." I was trying to explain why it doesn't make sense as a criteria for judging the machines. They work with tokens, not letters. Your input and it's output get translated into tokens, so it never sees the real string. So the version it "sees" is less "strawberry" and more some sequence of tokens that represents the concept of a strawberry.
>but LLM's are better at symbolic logic than you or I will ever be now. If you think they can't handle your trivial example for some reason you are very much misinformed.
I am sorry. You are not getting it. Not for a moment I tried to argue that LLMs can't handle what I wrote. May be try reading it again, and give it some thought.
I’d like to give a caveat to this. As part of this computing F(context),
Well, as I understand it, a lot of what it computed in those previous time-steps, while it could recompute them, it is instead cached. And, of course, that doesn’t change the output, just how quickly it is produced, but, I think it highlights how much of the computations it was doing as part of producing those previous tokens, it has access to when producing the current next token.
So, I would argue that in a sense, it does have access to a lot of “what it was thinking” (so to speak) during those previous tokens, even though the output it would give is the same regardless of whether the previous tokens it is given in its context were actually obtained by it producing those tokens previously, or whether they were obtained another way (provided that the tokens in the situation are the same).
So, like, AIUI, if you have it generate some text, and then ask it “what it was thinking” during that text, it will have access to that in a sense, but if you instead randomly generated some bytes that by pure chance happened to be the same bytes, and included that as context for what it previously said, and ask the same question about “what it was thinking”, the (distribution over) response(s) will be the same.
If the headline statement is known to be formalized correctly, whether the formalizations of other concepts the model gave in order to use them in its proof of the headline statement, are correct/“correct”, doesn’t really matter for the correctness of the overall proof. Like, they might not match the human concept that it names the defined symbols after, and so they might be “wrong” in that sense, but this doesn’t cause an issue for the proof checker. And, I don’t mean this in a “well, the concept the model formalized is just as good/useful, and it is just a human bias that blah blah blah”, no. I mean, it is possible that it defines some terms in a way which is genuinely worse, and not what the definition should be. But, if it does that, then if the proof checker is working properly and validates the proof that uses these flawed definitions in its arguments, then the proof must have worked around the flaws in those definitions, and the overall conclusion (the statement which people have confirmed to be correctly formalized) is true.
If you're formalizing existing stuff, then there's probably not much point in formalizing the proofs themselves. You'd just put in the theorems and tell the compiler that it's known to be true so that it can be used with other proofs. So, if we're using AI to formalize existing math, then we're either using AI to check that the humans got it right or we're asking AI to make up theorem statements, which creates shakey foundations for everything that follows.
If you want to use a certain mathematical technique in a new proof, you might need to use definitions (or theorems) that have already been given but not yet formalized in Lean. That’s what I was describing. Not just translating an existing proof/definition as the whole thing, but as part of a new proof of an existing conjecture.
Unless I have missed some major hardware developments, current computer architectures are not physically restricted in the fashion that they would need to be to rule out the possibility of inappropriate memory access, as I understand it there are (I'm very much oversimplifying things) two main ways this access is restricted:
1) The operating system designates what memory a process is allowed to access
2) The system itself obfuscates which memory addresses map to which "real" memory areas.
The first depends upon the security of the system (memory is required to remember what memory is allowed to access what memory) - any flaw in that access or method of subverting that access (such as bit flips) provides the possibility that the operating system level security is rendered irrelevant. Unless you can prove that your system is immune, not only logically, but physically, this is a relatively soft guarantee...
The second is essentially a cipher, which provides a stronger guarantee - if you don't know where any of the "real" memory is, accidentally accessing the right memory cell to subvert the memory access controls becomes computationally (time) prohibitive - you can crack a cipher given enough time and energy, but without finding a mathematical shortcut the cost is prohibitive enough that it is not considered possible (the foundational principle of all cryptography).
As I understand it, escaping a sandbox is difficult, mostly because of the hardware level scrambling that is provided, that makes it nearly impossible to affect the memory in control of the memory access (operating system level access). Given some of the mentioned AI attacks involving agents communicating cross-sandbox on the same systems, they clearly are able to leverage e.g. side-channels to effectively communicate despite 1) and 2)...demonstrating at the very least the inadequacy of the current protections, while leaving the door open to better cryptographic measures.
However, if the cryptographic primitives themselves are broken, the no additional amount of cryptographic protection will help here.
Peano Arithmetic has lesser proof-theoretic strength than ZF. Iirc, if you remove the axiom of infinity from ZF, and then maybe add in its negation or something like that (I don’t remember the details), you get something with the same proof theoretic strength as PA (or a mild strengthening of it?).
In particular, the hereditarily finite sets are in correspondence with the natural numbers.
There’s a fair bit of mathematics that relies on the axiom of infinity. Uh. And a lot also uses the axiom of choice (or something equivalent), though ZFC doesn’t have a greater consistency strength than ZF (both can prove that if either is consistent, then both are).
I think it is fair to say that one’s choice of foundations does matter at least a little bit, though typically not all that much.
That’s not to say that it is always necessary to state what foundations one is using. One can understand a work to be done in any foundations in which it works. Though sometimes it is important to specify.
You’re the one who said “ By definition an LLM cannot create original work”, so I think responding asking for the definitions you are talking about is quite justified?
Often when someone says that something is true by definition, their claim is incorrect.
Depends which way you mean. It is possible to provide a formal specification for a proof verification engine and prove, in the same language that the engine is for, that the engine implements that specification.
Proving that the system it implements is like, logically sound, is a different issue, and for that you do need stronger axioms.
It’s an increasing portion of training month by month. As of this last summer, pretty much all new GPU hardware is going to a combination of inference and post-training model tuning, generally RLVR.
I think 100% code coverage usually means that for every branch, there is some test that results in it going down that branch? Like, there’s no line of code (outside of potential exception handling code?) that isn’t “tested” by any test (where “tested” means “it gets run during the test”).
reply