Live data from Hacker News

Some thoughts on autoregressive models

wonderfall.dev

51–60 of 60 posts

Re: Some thoughts on autoregressive models

#51

> The context window can be compared to working memory in humans: it’s fast, efficient but gets rapidly overloaded. Humans manage this limitation by offloading previously learned information into other memory forms, whereas LLMs can only mimic this process superficially at best. This is just silly. Humans forget things all the time! If I want to remember something I write it down. > The nature of hallucination is ver…

> There's not much signal here, just basic facts about LLMs and then leaps to very bold statements. The article wasn't supposed to be informative for people who already know how LLMs work. Like the title said, just wanted to write down some thoughts. > This is just silly. Humans forget things all the time! If I want to remember something I write it down. The opposite was never stated. Human memory is of course select…

You seem to continue to make a lot of claims without basis.

> they purely rely on pattern matching

Yes.

> because they don't have the internal representation of what they really deal with (algebra)

Wait what? No. You can't claim this yet as it's an open question. It may well be the case they do have an internal representation of algebra, and even a world model for that matter, if flawed.

I think you need to be more aware of the current research in LLM interpretability. The answers to these questions are hardly as definitive as you make it seem.

Re: Some thoughts on autoregressive models

#52
post #46

Earlier quoted context omitted.

> what is going on internally in the reasoning layer. We literally know exactly what is going on with every layer. It’s well defined. There are mathematical proofs for everything. Moreover it’s all machine instructions which can be observed. The emergent properties we see in LLMs are surprising and impressive, but not magic. Internally what is happening is a bunch of matrix multiplications. There’s no internal though…

> We literally know exactly what is going on with every layer. Unless I missed a huge break in the observability problem, this isn't correct. We know exactly how every layer is designed and we know how we functionally expect that to work. We don't know what actually happens in the model at time of inference. I.e. we know what pieces were used to build the thing but when we actually use it its a black box - we only kn…

> We don't know what actually happens in the model at time of inference.

How could we not know? Every processor instruction is observable.

What we specifically don’t have a good view is the causal relationship between input tokens, a model’s weights, and the output.

We don’t know specifically what weights matter or why.

That’s very different than not understanding what processes are taking place.

Re: Some thoughts on autoregressive models

#53

Earlier quoted context omitted.

> There's not much signal here, just basic facts about LLMs and then leaps to very bold statements. The article wasn't supposed to be informative for people who already know how LLMs work. Like the title said, just wanted to write down some thoughts. > This is just silly. Humans forget things all the time! If I want to remember something I write it down. The opposite was never stated. Human memory is of course select…

You seem to continue to make a lot of claims without basis. > they purely rely on pattern matching Yes. > because they don't have the internal representation of what they really deal with (algebra) Wait what? No. You can't claim this yet as it's an open question. It may well be the case they do have an internal representation of algebra, and even a world model for that matter, if flawed. I think you need to be more a…

I do actually read a lot about LLM interpretability, and this is my own conclusion (should've phrased it like "they don't seem to have"). I do actually consider this an open question, so I'm a bit confused as to why you think this way - perhaps due to my phrasing (I just had a very long flight), but know that is not the case and I always doubt things. In fact I said after the text you quoted that the question is actually quite open (mentioning reasoning models, but to be honest, it's not exclusive to them, just more apparent in some ways).

I might also clarify (here and probably in my article when I have the time to do so). LLMs "do" build internal models in the sense that, at the same time:

- They organize knowledge by domain in a unified network

- They're capable of generalization (already mentioned and acknowledged at the very beginning of the article)

However these models, while they share parallels with human cognition, lack substance and can't replicate (yet) the deep integrated cognitive model of humans. That is where current interpretability research is at, and probably SOTA LLMs too. My own opinion and speculation is that autoregressive models will never get to a satisfying approximation level of the human-level cognition since humans' thinking process seems to be more than autoregressive components, aligning with current psychology. But that doesn't mean architectures won't evolve.

Do not misunderstand that because I said they're pattern matching machines, that they will be unable to properly "think". In fact, the line between pattern matching and thinking is actually quite blurry.

Re: Some thoughts on autoregressive models

#54
post #52

Earlier quoted context omitted.

> We literally know exactly what is going on with every layer. Unless I missed a huge break in the observability problem, this isn't correct. We know exactly how every layer is designed and we know how we functionally expect that to work. We don't know what actually happens in the model at time of inference. I.e. we know what pieces were used to build the thing but when we actually use it its a black box - we only kn…

> We don't know what actually happens in the model at time of inference. How could we not know? Every processor instruction is observable. What we specifically don’t have a good view is the causal relationship between input tokens, a model’s weights, and the output. We don’t know specifically what weights matter or why. That’s very different than not understanding what processes are taking place.

This paper [1] may be an interesting place to start.

We only know how the structures are designed to work, and we have hypothesise of how they likely work. We can't interpret what actually happens when the LLM is actually going through the process of generating a response.

That seems pedantic or unimportant on the surface, but there are some really important implications. At the more benign level, we don't know why a model gave a bad response when a person wasn't happy with the output. On the more important end, any concerns related to the risk of these models becoming self-directed or malicious simply can't be recognized or guarded against. We won't know if a model becomes self-directed until after it acts on it in ways that don't match how we already expect them to work.

Both alignment and interoperability were important research topics for decades of AI research. We effectively abandoned those topics once we made real technological advancement - once an AI-like tool was no longer entirely theoretical we couldn't be bothered focusing resources on figuring out how to do it safely. The horse was already out of the barn.

Does this mean they will turn evil or end up going poorly for us? Absolutely not. It just means that we have to cross our fingers and hope because we can't detect issues early.

[1] https://arxiv.org/abs/2309.01029

Re: Some thoughts on autoregressive models

#55
post #52

Earlier quoted context omitted.

> We don't know what actually happens in the model at time of inference. How could we not know? Every processor instruction is observable. What we specifically don’t have a good view is the causal relationship between input tokens, a model’s weights, and the output. We don’t know specifically what weights matter or why. That’s very different than not understanding what processes are taking place.

This paper [1] may be an interesting place to start. We only know how the structures are designed to work, and we have hypothesise of how they likely work. We can't interpret what actually happens when the LLM is actually going through the process of generating a response. That seems pedantic or unimportant on the surface, but there are some really important implications. At the more benign level, we don't know why a…

> We can't interpret what actually happens when the LLM is actually going through the process of generating a response.

There are 2 things we’re talking about here.

There’s the physical, mechanical operations going on during inference and there’s potentially a higher order process happening as an emergent property of those mechanical operations.

We know precisely the mechanical operations that take place during inference as they are machine instructions which are both man-made and very well understood. I hope we can agree here.

Then there’s potentially a higher order process. The existence of that process and what that process is still a mystery.

We do not know how the human brain works, physically. We can’t inspect discrete units of brain operations as we can with machine instructions.

For that reason, it is uncritical to assume that there is any kind of “thought” process occurring at inference which is similar to our thought processes.

Comparing the two is like apples and oranges anyway and is pedantic in a non-useful way, especially with our limited understanding of the human brain.

Re: Some thoughts on autoregressive models

#56
post #15

Earlier quoted context omitted.

> while we literally watch reasoning models say things like "oh that's not right, let me try a different approach". Not saying I disagree with your premise that errors can’t be corrected by using more and more tokens, but this argument is weird to me. The model isn’t intentionally generating text. The kinds of “oh let me try a different approach” lines I see are often followed by the same approach just taken. I would…

> The model isn’t intentionally generating text. What's the mechanistic model of "intention" that you're using to claim that there is no intention in the model's operation? > Just because a model generates text doesn’t mean that the text actually represents anything at all, let alone a reflection of an internal process. Generating text is the trace of an internal process in an LLM.

> What's the mechanistic model of "intention" that you're using to claim that there is no intention in the model's operation?

You can’t prove intention, but I can show examples of LLMs lacking intent (as when repeating the same solution even after being told it was incorrect)

> Generating text is the trace of an internal process in an LLM.

Not really sure precisely what you mean by trace, but the output from an LLM (as with any statistical model) is the result of the calculations, not a representation of some emergent internal state.

Re: Some thoughts on autoregressive models

#57
post #55

Earlier quoted context omitted.

This paper [1] may be an interesting place to start. We only know how the structures are designed to work, and we have hypothesise of how they likely work. We can't interpret what actually happens when the LLM is actually going through the process of generating a response. That seems pedantic or unimportant on the surface, but there are some really important implications. At the more benign level, we don't know why a…

> We can't interpret what actually happens when the LLM is actually going through the process of generating a response. There are 2 things we’re talking about here. There’s the physical, mechanical operations going on during inference and there’s potentially a higher order process happening as an emergent property of those mechanical operations. We know precisely the mechanical operations that take place during infer…

> There are 2 things we’re talking about here.

I was never actually talking about the physical mechanisms. Sure we can agree that GPUs, logical gates, etc physically work in a certain way. That just isn't important here at all.

> For that reason, it is uncritical to assume that there is any kind of “thought” process occurring at inference which is similar to our thought processes.

I wasn't intending to raise concerns over emergent consciousness or similar. Whether thought goes on is a bit less clear depending on how you define thought, but that still wasn't the point I was making.

We have effectively abandoned the alignment problem and the interoperability problem. Sure we know how GPUs work, and we don't need to assume that consciousness emerged, but we don't know why the model gives a certain answer. We're empowering these models with more and more authority, not only are they given access to the public internet but now we're making agents that are starting to interact with the world on our behalf. Models are given plenty of resources and access to do very dangerous things if they tried to, and my point is we don't have any idea what goes on other than input/output pairs. There's a lot of risk there.

> Comparing the two is like apples and oranges anyway and is pedantic in a non-useful way, especially with our limited understanding of the human brain.

Comparing the two is precisely what we're meant to do. If the comparison wasn't intended they wouldn't be called "artificial intelligence". That isn't pedantic, if the term isn't meant to imply the comparison then they were either accidentally or intentionally named horribly.

Re: Some thoughts on autoregressive models

#58
post #55

Earlier quoted context omitted.

> We can't interpret what actually happens when the LLM is actually going through the process of generating a response. There are 2 things we’re talking about here. There’s the physical, mechanical operations going on during inference and there’s potentially a higher order process happening as an emergent property of those mechanical operations. We know precisely the mechanical operations that take place during infer…

> There are 2 things we’re talking about here. I was never actually talking about the physical mechanisms. Sure we can agree that GPUs, logical gates, etc physically work in a certain way. That just isn't important here at all. > For that reason, it is uncritical to assume that there is any kind of “thought” process occurring at inference which is similar to our thought processes. I wasn't intending to raise concerns…

> I wasn't intending to raise concerns over emergent consciousness or similar

Oh jeez, then we may have just been talking past each other. I thought that’s what you were arguing for.

> That just isn't important here at all.

It is, though. The fact that the underlying processes are well understood means that, if we so wished, we could work backwards and understand what the model is doing.

I recall some papers on this, but can’t seem to find them right now. One suggested that groups of weights relate to specific kinds of high level info (like people) which I thought was neat.

> the comparison wasn't intended they wouldn't be called "artificial intelligence"

Remember “smart” appliances? Were we meant to compare an internet connected washing machine to smart people? Names are all made up.

I do actually think AI is a horrible name as it invites these kinds of comparisons and obfuscates more useful questions.

Machine Learning is a better name, imo, but I’m not a fan of personifying machines in science.

Too many people get sci-fi brain.

Re: Some thoughts on autoregressive models

#59
post #58

Earlier quoted context omitted.

> There are 2 things we’re talking about here. I was never actually talking about the physical mechanisms. Sure we can agree that GPUs, logical gates, etc physically work in a certain way. That just isn't important here at all. > For that reason, it is uncritical to assume that there is any kind of “thought” process occurring at inference which is similar to our thought processes. I wasn't intending to raise concerns…

> I wasn't intending to raise concerns over emergent consciousness or similar Oh jeez, then we may have just been talking past each other. I thought that’s what you were arguing for. > That just isn't important here at all. It is, though. The fact that the underlying processes are well understood means that, if we so wished, we could work backwards and understand what the model is doing. I recall some papers on this,…

Haha, well its funny sometimes when you realize too late there were two different conversations happening.

I definitely agree on the term machine learning - it seems a much better fit but still doesn't feel quite right. Naming things is hard, but AI seems particularly egregious here.

> The fact that the underlying processes are well understood means that, if we so wished, we could work backwards and understand what the model is doing.

I'm not sure we can take that leap. We understand pretty well how a neuron functions but we understand very little about how the brain works or how it relates to what we experience. We understand how light is initially recognized in the eye with cones and rods, but we don't really know exactly how it goes from there to what we experience as vision.

In complex systems its often easy to understand the function of a small, more fundamental but of the system. Its much harder to understand the full system, and if you do you should be able to predict it. For LLMs, that would mean they could predict a model's output for a given input (even if that prediction has to account to randomness added into the inference algorithm).

Re: Some thoughts on autoregressive models

#60
post #56

Earlier quoted context omitted.

> The model isn’t intentionally generating text. What's the mechanistic model of "intention" that you're using to claim that there is no intention in the model's operation? > Just because a model generates text doesn’t mean that the text actually represents anything at all, let alone a reflection of an internal process. Generating text is the trace of an internal process in an LLM.

> What's the mechanistic model of "intention" that you're using to claim that there is no intention in the model's operation? You can’t prove intention, but I can show examples of LLMs lacking intent (as when repeating the same solution even after being told it was incorrect) > Generating text is the trace of an internal process in an LLM. Not really sure precisely what you mean by trace, but the output from an LLM (…

> You can’t prove intention, but I can show examples of LLMs lacking intent (as when repeating the same solution even after being told it was incorrect)

I don't think that shows lack of intent, any more than someone who has dementia forgetting why they entered a room shows they lack intent.

Post reply on HN