96 points · by andre15silva · 4mo ago · 78 comments
The model only has partial observability of the program it is working on (whatever tool call outputs are present in the context), as well as the trajectory of actions it has taken, and from this is building up some internal beliefs about the program - the probes used were looking for pretty crude things like "is this program well-formed" and "is this program correct (will it pass tests)".
The paper says that these program "properties" (beliefs) predict future state of the program up to 25 "steps" ahead, but given the setup this seems to be expected. An agent is trying to fix a program and/or maintain it in a working state, so it doesn't seem surprising that current well-formedness and correctness persist into the future, or that the model is correctly "optimistic" about the outcome of the next action it is planning/predicting.
This incremental belief building from partial observability reminds me of the ability of LLMs to predict valid chess moves when only given a truncated history of the games moves so far (e.g. last 20 moves, not all moves back to start of the game).
concretely, what's the difference here?
(I suppose you could define "thinking ahead of time" as explicitly using something like "thinking tokens" which might be roughly analogous to system1/system2 thinking, but note that we still call system 1 thinking "thinking")
My hunch is that the model isn't thinking/planning head in order to achieve these probe results, but rather that they just reflect the models current take/beliefs on "how it's going" right now, and any correlation with "how it's going" in 25 steps time is just due to the inherent biases in the setup - well-formed programs tend to stay well-formed, etc.
A lot of philosophers, mathematicians, scientists, etc. effectively say, "Yeah, everything's just f(inputs of world) -> outputs!" That 'f' is doing a lot of heavy lifting. Which is kind of the point of mechanistic interperability - to make sure we're not jumping ahead of ourselves, and to make sure we're careful when we claim what "deep" and "structure" means, when it pertains to that 'f'.
I’m still hesitant to interpret this as “thinking ahead” without at least seeing some more back-and-forth in the literature first, though. This just seems like one of those spots where it makes sense to give other researchers some time to come up with additional hypotheses to explain the observations instead of focusing on the first one anyone proposes in isolation.
The model would construct/hallucinate pre-conditions to satisfy some final output value that the model was predisposed to.
A lot of that signal could be much simpler stuff. This task is hard. The agent seems stuck. The tests are getting better. The current approach looks promising. All of those things make future success easier to predict without the model actually "knowing what comes next" in any strong sense.
Also, their 25 steps are agent turns, not 25 code edits. The median run had something like 52 steps but only two edits, and the program label stays the same between edits. So "25 steps ahead" may sometimes just mean basically the same codebase, with a bunch of reading and test output in between.
So yeah, I'd say it's consistent with Sutskever's view. But "consistent with" and "confirmatory of" are doing very different amounts of work here.
And that's all it needs. Not reasoning.
Babbage’s Analytical Engine didn’t actually analyze anything, and terminology hadn’t gotten any more clear-cut since.
I suspect exact and/or universal definitions for intelligence, self-awareness, 'feelings' etc will prove to be elusive, and best we'll get is systems/robots etc behaving as if possessing those qualities. With some tests to put a number on them.
Downside is that may apply to us humans too.
But this has only been shown on simple tasks, so I think this paper is still quite neat. The interesting thing is that they show "future horizon length" varies across models.
Of course, an interesting question what part of this internal computation is modeling for the future compared to guessing based on the given context (the past).
I know people, who initialize all required variables and write the logic after. which used to feel bonkers to me until I realized, they've done enough practice and memorization to be able to figure what they would need 10 steps down the line.
this does show that, models have a better model of the task and the expected end state.
That after a model has context about a project, the probes indicate a state that validates that?
Seems that the paper is highlighting the very nature of what LLMs are and what we expect them to be?
And that there is no 'thinking' here, it's just the state of the model?
Just below your question is a very confidently incorrect take about "parroting"... So, not obvious at all, at least for some people :)
> you're suggesting there's some kind of information flow from the anticipated body of the script back up to the imports
Yes, I am suggesting this. I don't think it is possible to write programs without either anticipating what you're going to write down below before you get there, or else being able to go back and edit what you already wrote.
Of course agent harnesses allow the latter, but raw models without a harness can still do an exceptionally, superhumanly, good job of straight-line programming with no editing.
> Infer imports from context, infer body from context + imports. All strictly causal.
Of course it's causal, that's kind of a reductive way to look at it.
Just infer the entire program from context and then type what you inferred.
well, yeah, I'm not a large language model
Reasoning models perform better than non-reasoning models because they’re able to refine their code in multiple steps. That allows any part of the program to influence any other part of the program, not just from start -> end.
Human thinking serves a similar purpose. Basically intelligence needs to be able to backtrack if you want better performance.
Non-reasoning models were still surprisingly good at generating working programs. I think it makes sense when you consider that it's still iterative; it doesn't have to generate the entire import block in a single pass, for example, more like decide at the end of each line whether there are more libraries it should import or whether to move on to the body of the program. It's less surprising that a single forward pass is able to make that type of decision IMO.
Taking Python as an example, you see LLMs use a lot of scoped imports and I think this is partly because it makes the output more resilient against failure to think forward at the start. Even a reasoning model will write out (the first iteration of) an entire file in one tool call, so once it starts generating it still has to keep going until it finishes, no pausing for breath.
Also it's interesting that non-reasoning models can still do quite well in a harness that lets them test and fix up their code. Like you said, it gives them the ability to iterate.
Finally there is evidence that the model kinda actually knows the correct token spend on each method.
Are these probes effectively run in parallel? The way this reads is more about predicting a future outcome than keeping the current token relevant based on past tokens.
Then how do humans create something 'creative'—something that didn't exist before? I think it might be because the process of simplifying the complex system of nature differs between individuals. The data being learned now is all labeled by humans and simplified through human cognition. Within that kind of information, creativity seems hard to emerge.
Ultimately, with data that already contains interpretation, no matter how much you repeat the learning, it just becomes an encyclopedia that only explores within human knowledge, repeating predictions within human interpretation. So I wonder if we actually need a different encoder that interprets raw data—not based on human interpretation.
In reality, what changed Newton's absolute time to Einstein's relativity was a conclusion derived simply from observing the world. Newton's interpretation was supported by a lot of evidence in its time. If an AI studied all the medieval data from Newton's era, could it actually come up with the theory of relativity?
I'm always curious about this. I think AI is already very good at coding and will soon become better than humans. Logical structures are ultimately human interpretations, and reasoning within that framework is something AI can probably do more logically than humans. In other words, once humans create the framework, stacking the logical Jenga blocks within it—AI will be better at that.
But true creativity lies in breaking the framework itself, and I'm skeptical about whether AI can do that. The encoder also seems insufficient. There will likely be limits. I might be trapped in my own biases.
But the limitations of the current approach seem too clear to ignore.
When I look at the approach of these papers, it feels like an argument that adding shadows that imitate the world will eventually make them become the objects themselves.
I think the text, code, images, papers, and conversations that humans leave behind are not the world itself, but rather shadows of the world that have passed through human cognition and language. No matter how much you learn from those shadows, whether that leads to the ability to actually engage with the objects themselves seems like a separate issue.
I feel like something different is needed. But I'm not intellectually sharp enough to reason this through logically.this is just my intuition
That will still not create anything new-new, just more new, still dound by just being "an encyclopedia that only explores within the universe" at best.
Why didn't humans 10,000 years ago make a car or a spaceship? We had the same minds back then from what we can tell biologically. Why in the 1500's did the precursors of these ideas start to come about? Data is needed, along with some method of analogy. Quite often when big breakthroughs happen there has been a massive amount of information gathered over the years. This is why said breakthroughs are not generally random. They are by people with the time, wealth, and information ability to put the pieces together.
>The data being learned now is all labeled by humans and simplified through human cognition.
Eh, that was a 'few years ago' thinking at this point. AI learning is working with a large amount of self gathered/generated training data now. At the same time almost everything you gather information wise is based on the interpretation of the society you live in. Reality tunnel is the term for this. Entire societies, millions of people, can be blind to something you see as obvious. Humans are not standalone machines, throw us in the woods as babies and you don't get a person that sees the world differently, you get a feral child that may never be capable of higher learning.
In this sense AI may be hobbled for some time. There are very few large models and they have a lot of the same biases, it's like a world that only 10 people live in for AI. Maybe over time training models will get far cheaper and then we'll be able to explore the frontier of having models 'do crazy shit for the fun of it' kind of like humans do quite often.
No. That's simple PR hype. Parrotry is not reasoning.
No one is disputing that, but there is an enormous difference between evidence of 'something that looks like a thing' and evidence of the thing itself.
Convincing ... people who believe chatbots are intelligent? Well sure.
Why couldn't parroting, after a certain level and complexity of the parroting infrastructure, be reasoning? What a priori restriction forbids it from being such?
Flipping a NAND is not calculation either. Billions of them? Things change.
The LLM is not copying someone else's process. All it knows it someone else's product, and its only process is to compute the most likely next token within that.
The perhaps surprising thing is that it works so well some of the time - specifically for math and coding.