Live data from Hacker News

Deciphering language processing in the human brain through LLM representations

research.google

101–110 of 111 posts

Re: Deciphering language processing in the human brain through LLM representations

#101

Earlier quoted context omitted.

>I'm not sure what this is supposed to show? If I can predict what you are going to say so what. If the speed of your understanding varies with how frequent and predictable syntactic structures are then your understanding of syntax is a probabilistic process. A strictly non-probabilistic process would have a fixed, deterministic way of processing syntax, independent of how often a structure appears or how predictable…

> If the speed of your understanding varies with how frequent and predictable syntactic structures are then your understanding of syntax is a probabilistic process. In what sense? I don't see how it tells you anything if you have the sentence "The cat ___ " and then you expect a verb like "went" but you could get a relative clause like "that caught the mouse". The sentence is interpreted deterministically not by what…

>In what sense? I don't see how it tells you anything if you have the sentence "The cat ___ " and then you expect a verb like "went" but you could get a relative clause like "that caught the mouse". The sentence is interpreted deterministically not by what what follows after a fragment might contain but what it does contain. If you are more "surprised" by the latter it doesn't tell you that the process is not deterministic.

The claim isn't about whether the ultimate interpretation is deterministic-it’s about the process of parsing and expectation-building as the sentence unfolds.

The idea is that language processing (at least in humans and many computational models) involves predictions about what structures are likely to come next. If the brain (or a model) processes common structures more quickly and experiences more difficulty and higher processing times with less frequent ones, then the process of parsing sentences is very clearly probabilistic.

Being "surprised" isn't just a subjective experience here - it manifests as measurable processing costs that scale with the degree of unexpectedness. This graded response to probability is not explainable with purely deterministic models that would parse every sentence with the same algorithm and fixed steps.

>I have no idea what you are saying: calling grammar a "fiction" was supposed to be a way to undermine it but now you are saying that it was some completely trivial statement that applies to the best science?

None of my comments undermine grammar beyond saying it is not how language works. I preface 'fiction' with the word useful multiple times and make comparisons to Newton.

Re: Deciphering language processing in the human brain through LLM representations

#102

Earlier quoted context omitted.

> If the speed of your understanding varies with how frequent and predictable syntactic structures are then your understanding of syntax is a probabilistic process. In what sense? I don't see how it tells you anything if you have the sentence "The cat ___ " and then you expect a verb like "went" but you could get a relative clause like "that caught the mouse". The sentence is interpreted deterministically not by what…

>In what sense? I don't see how it tells you anything if you have the sentence "The cat ___ " and then you expect a verb like "went" but you could get a relative clause like "that caught the mouse". The sentence is interpreted deterministically not by what what follows after a fragment might contain but what it does contain. If you are more "surprised" by the latter it doesn't tell you that the process is not determi…

> If the brain (or a model) processes common structures more quickly ... then the process of parsing sentences is very clearly probabilistic.

This isn't true. For one more common sentences are probably structurally simpler and structurally simpler sentences are faster to process. You also get in bizarre territory when you can predict what someone is going to say before they say it: Obviously no "parsing" has occurred there so the fact that you predicted it cannot be evidence that parsing is probabilistic. If that is the case then a similar argument is true if you have only a sentence fragment. The probabilistic prediction is some ancillary process just as if I can predict that a cup is going to fall doesn't make my vision a probabilistic process in any meaningful sense. If for some reason I couldn't predict I could still see and I could still parse sentences.

Furthermore, you can obviously parse sentences and word sequences you have never seen before (and sentences can be arbitrarily complex/nested, at least up to your limits on memory). You can also parse sentences with invented terms.

Most importantly it's not clear how sentences are produced in the mind in this model. Is the claim that you somehow start with a word and produce some random most-likely next word? Do you not believe in syntax parse trees?

Finally, (as Chomsky points out in the video I linked) this model doesn't account for structure dependence. For example why is the question form of the sentence "The man who is tall is happy" "Is the man who is tall happy?" and not "is the man who tall is happy?". Why not move the first "is" that you come across?

> In a strictly deterministic model, both continuations ("went" or "that caught the mouse") would be processed through the same fixed algorithm with the same computational steps, regardless of frequency. The parsing mechanism wouldn't be influenced by prior expectations

Correct. You seem to imply that is somehow unreasonable. Computer parsers work this way.

> Being "surprised" isn't just a subjective experience here - it manifests as measurable processing costs that scale with the degree of unexpectedness. This graded response to probability is not explainable with purely deterministic models.

Again, there are two orthogonal concepts: Do I know what you are going to say next or how you are going to finish your sentence (and possibly something like strain or slowed processing when faced with an unusual concept) and what process do I use to interpret the thing you actually said.

> None of my comments undermine grammar beyond saying it is not how language works. I preface 'fiction' with the word useful multiple times and make comparisons to Newton.

Again, I have no idea what the point of describing universal grammar as fiction is if you say the term applies to all other great scientific theories.

Re: Deciphering language processing in the human brain through LLM representations

#103
post #60
post #42

Earlier quoted context omitted.

Yeah, I have always firmly maintained that there is less fundamental difference between LLMs and human brains than most people seems to assume. Going a bit further, I'll speculate that the actions made by a human brain are simply a function of the "input" from our ~5 senses combined with our memory (obviously there are complications such as spinal reflexes, but I don't think those affect my main point). Neural nets a…

> I have always firmly maintained that there is less fundamental difference between LLMs and human brains than most people seems to assume. What is your basis for this? Do you have any evidence or expertise in neuroscience to be able to make this claim? > Neural nets are universal function approximators, so can't a sufficiently large neural net approximate a full human brain? We do not understand the brain well enoug…

Computers can compute anything, with the only limitations being time, space, energy, programming, etc. So far, it seems like all of those things can be increased without bound. I see no reason to believe that there will be some fundamental limitation that prevents us from improving computers to the point that they can compute the equivalent of a human brain. Yes I agree we don't understand the human brain well enough yet, but empirically we can observe that AI agents and human agents behave in similar ways. Sure, it may not end up being a complete copy of a human brain, but if the inputs and outputs are the same, does it make a difference?

Re: Deciphering language processing in the human brain through LLM representations

#104
post #49

Earlier quoted context omitted.

I agree there are issues with the UAT, but I feel like my conclusion is still valid: a neural net, given the memories and senses that a humans has, is capable of approximating a human's response accurately enough to be indistinguishable from another human, at least to another human. I philosophically reject the notion that consciousness is an important factor here. The question of whether or not you have a consciousn…

>a neural net, given the memories and senses that a humans has, is capable of approximating a human's response accurately enough to be indistinguishable from another human, at least to another human. That doesn't remotely follow from the UAT and is also almost certainly false.

I am not saying that follows from the formal UAT, I'm saying that in general, if we assume that the human brain is simply producing outputs in response to inputs, I have no reason to believe that a neural net couldn't be constructed to approximate the same outputs given the same inputs. And specifically, the threshold of "good enough approximation" I chose is effectively just a stronger form of the turing test. AI has arguably already passed a weaker form of the turing test (most people in the world cannot tell the difference between a human-written and an AI-written article, for example).

Re: Deciphering language processing in the human brain through LLM representations

#105

Earlier quoted context omitted.

>In what sense? I don't see how it tells you anything if you have the sentence "The cat ___ " and then you expect a verb like "went" but you could get a relative clause like "that caught the mouse". The sentence is interpreted deterministically not by what what follows after a fragment might contain but what it does contain. If you are more "surprised" by the latter it doesn't tell you that the process is not determi…

> If the brain (or a model) processes common structures more quickly ... then the process of parsing sentences is very clearly probabilistic. This isn't true. For one more common sentences are probably structurally simpler and structurally simpler sentences are faster to process. You also get in bizarre territory when you can predict what someone is going to say before they say it: Obviously no "parsing" has occurred…

>This isn't true. For one more common sentences are probably structurally simpler and structurally simpler sentences are faster to process.

Common sentences are not necessarily structurally simpler and those still get processed faster so yes it's pretty true.

>You also get in bizarre territory when you can predict what someone is going to say before they say it: Obviously no "parsing" has occurred there so the fact that you predicted it cannot be evidence that parsing is probabilistic.

Of course parsing has occurred. Your history with this person (and people in general) and what you know he likes to say, his mood and body language. Still probabilistic.

>Furthermore, you can obviously parse sentences and word sequences you have never seen before (and sentences can be arbitrarily complex/nested, at least up to your limits on memory). You can also parse sentences with invented terms.

So? LLMs can do this. I'm not even sure why you would think probabilistic predictors couldn't.

>Most importantly it's not clear how sentences are produced in the mind in this model. Is the claim that you somehow start with a word and produce some random most-likely next word? Do you not believe in syntax parse trees?

That's one way to do it yeah. Why would I 'believe in it' ? Computers that rely on it don't work anywhere near as well as those that don't. What evidence is there to it being anything more than a nice simplification ?

>Finally, (as Chomsky points out in the video I linked) this model doesn't account for structure dependence. For example why is the question form of the sentence "The man who is tall is happy" "Is the man who is tall happy?" and not "is the man who tall is happy?". Why not move the first "is" that you come across?

Why does a LLM that encounters a novel form of that sentence generate the question form correctly ?

You are giving examples that probalistic approaches are clearly handling as if they are examples that probalistic approaches cannot explain. It's bizarre

>Correct. You seem to imply that is somehow unreasonable. Computer parsers work this way.

I'm not implying it's unreasonable. I'm telling you the brain clearly does not process language this way because even structurally simple but uncommon syntax is processed slower.

>Again, I have no idea what the point of describing universal grammar as fiction is if you say the term applies to all other great scientific theories

What's the point of describing Newton's model as fiction if I still teach it in high schools and Universities? Because erroneous models can still be useful.

>Again, there are two orthogonal concepts: Do I know what you are going to say next or how you are going to finish your sentence (and possibly something like strain or slowed processing when faced with an unusual concept) and what process do I use to interpret the thing you actually said.

The brain does not comprehend a sentence without trying to predict its meaning. They aren't orthogonal. They're intrinsically linked

Re: Deciphering language processing in the human brain through LLM representations

#106

Earlier quoted context omitted.

> If the brain (or a model) processes common structures more quickly ... then the process of parsing sentences is very clearly probabilistic. This isn't true. For one more common sentences are probably structurally simpler and structurally simpler sentences are faster to process. You also get in bizarre territory when you can predict what someone is going to say before they say it: Obviously no "parsing" has occurred…

>This isn't true. For one more common sentences are probably structurally simpler and structurally simpler sentences are faster to process. Common sentences are not necessarily structurally simpler and those still get processed faster so yes it's pretty true. >You also get in bizarre territory when you can predict what someone is going to say before they say it: Obviously no "parsing" has occurred there so the fact t…

> "Of course parsing has occurred. Your history with this person (and people in general) and what you know he likes to say, his mood and body language. Still probabilistic."

This is just redefining terms to be so vague as to make rationality inquiry or discussion impossible. I don't know what re-definition of parsing you could be using that would still be in any way useful or to what "probabilistic" in that case is supposed to apply to.

If you are saying that the brain is constantly predicting various things so that it automatically imbues some process that doesn't involve prediction as probabilistic then that is just useless.

> Common sentences are not necessarily structurally simpler and those still get processed faster so yes it's pretty true.

Well, I'll have to take your word for it as you haven't cited the paper but I would point to the reasonable explanation of different processing times that has nothing to do with parsing I gave further below. But I will repeat the vision analogy: If I had an experiment that showed that I took longer to react to an unusual visual sequence we would not immediately conclude that the visual system was probabilistic. The more parsimonious explanation is that the visual system is deterministic and some other part of cognition takes longer (or is recomputed) because of the "surprise".

> So? LLMs can do this. I'm not even sure why you would think probabilistic predictors couldn't.

It's not about capturing it in a statistics or having an LLM produce it, it's about explaining why that rule occurs and not some other. That's the difference between explanation and description.

> That's one way to do it yeah. Why would I 'believe in it' ? Computers that rely on it don't work anywhere near as well as those that don't. What evidence is there to it being anything more than a nice simplification ?

Because producing one token at a time cannot produce arbitrary recursive structures like sentences can be? Because no language uses linear order? Because when we express a thought it usually can't be reduced to a single start word and statistically most-likely next word continuations? It's also irrelevant what computers do, we are talking about what humans do.

> Why does a LLM that encounters a novel form of that sentence generate the question form correctly ?

That isn't the question. The question is why it's that way and not another. It's as if I ask why do the planets move in a certain pattern and you respond with "well why does my deep-neural-net predict it so well?". It's just nonsense.

> You are giving examples that probalistic approaches are clearly handling as if they are examples that probalistic approaches cannot explain. It's bizarre

No probabilistic model has explained anything. You are confusing predicting with explaining.

> I'm not implying it's unreasonable. I'm telling you the brain clearly does not process language this way because even structurally simple but uncommon syntax is processed slower.

I explained why you would expect that to be the case even with deterministic processing.

> What's the point of describing Newton's model as fiction if I still teach it in high schools and Universities? Because erroneous models can still be useful.

Well as I said this is also true of Einstein's theory of gravity and you presumably brought up the point to contrast universal grammar with that theory rather than point out the similarities.

> The brain does not comprehend a sentence without trying to predict its meaning. They aren't orthogonal. They're intrinsically linked

The brain is doing lots of things, we are talking about the language system. Again, if instead we were talking about the visual system no one would dispute that the visual system is doing the "seeing" and other parts of the brain are doing predicting.

In fact they must be orthogonal because once you get to the end of the sentence, where there are no next words to predict, you can still parse it even if all your predictions were wrong. So the main deterministic processing bit (universal grammar) still needs to be explained and the ancillary next-word-prediction "probabilistic" part is not relevant to its explanation.

Re: Deciphering language processing in the human brain through LLM representations

#107

Earlier quoted context omitted.

> As I said there are universal rules that human language processing follows (like hierarchical structure dependence); you can't have arbitrary syntax/grammars. GP didn't say anything about grammars being arbitrary. In fact, his claim that grammars are models of languages would mean the complete opposite.

I don't think they have a consistent understanding of the word "grammar": they seem to use it in the grade-school sense (grammar for English, grammar for French) but then refer to Chomsky's universal grammar which is different (grammar rules that are common to all languages). The main point of contention is their statement that "grammar follows language" which, in the Chomsky sense, is false: (universal) grammar/synt…

Yes, I was a bit vague. If we are to be serious then we would have to come with definitions of grammar-based approaches vs stohastic approaches.

All I am saying is that grammars (as per Chomsky) or even high-school rule-based stuff are imperfect and narrow models of human languages. They might work locally, for a given sentence, but fall apart when applied to the problem at scale. They also (by definition) fail to capture both more subtle and more general complexities of languages.

And the universal grammar hypothesis is just that - a hypothesis. It might be convenient at times to think about languages in this way in certain contexts but that's about it.

Also, remember, this is Hacker News, and I am just a programmer who loves his programming/natural languages so I look at everything from a computational point of view.

Re: Deciphering language processing in the human brain through LLM representations

#108

Earlier quoted context omitted.

I don't think they have a consistent understanding of the word "grammar": they seem to use it in the grade-school sense (grammar for English, grammar for French) but then refer to Chomsky's universal grammar which is different (grammar rules that are common to all languages). The main point of contention is their statement that "grammar follows language" which, in the Chomsky sense, is false: (universal) grammar/synt…

Yes, I was a bit vague. If we are to be serious then we would have to come with definitions of grammar-based approaches vs stohastic approaches. All I am saying is that grammars (as per Chomsky) or even high-school rule-based stuff are imperfect and narrow models of human languages. They might work locally, for a given sentence, but fall apart when applied to the problem at scale. They also (by definition) fail to ca…

All this comes down to is that language is not a solved problem. By the same logic why not just stop doing any research in physics and just put everything through a neural net which is going to give better predictions than the current best theories?

The fact that a deep-neural-net can predict the weather better than a physics-based model does not mean that the weather is not physics-based. Furthermore deep-neural-nets predict but don't explain while a physics-based model tries to explain (and consequently predict).

Re: Deciphering language processing in the human brain through LLM representations

#109

Earlier quoted context omitted.

You're mostly driven by bodily conditions and hormones. A computer recording of you isn't going to behave the same because it has no particular motivation to behave any specific way in the first place.

If you can simulate a brain, you can simulate hormones.

How do you decide what to set them to? You don't have intrinsic motivations anymore!

Re: Deciphering language processing in the human brain through LLM representations

#110

Earlier quoted context omitted.

If you can simulate a brain, you can simulate hormones.

How do you decide what to set them to? You don't have intrinsic motivations anymore!

Eh? You can have as many intrinsic motivations as you like. You just copy the procedure from the original brain.
Post reply on HN