by mjburgess · 3y ago · 0 comments
Whether these tests, verbatim produce the same response on any given version isn't the point. GPT4 doesn't engage in reasoning if it gets any answers right. Being "right" isn't a sign of reasoning. Given a dictionary mapping from questions to answers the index operation gets answers right, but it isn't reasoning.
The purpose of the paper is to exhaustively list proxy indicators of reasoning. Clearly other tests will fail in every class listed, because the LLM isn't engaged in reasoning. Since LLMs are stocahstic you shouldnt expect "reporduction" in the same sense. The paper provides classes of problems.
To reproduce it you only need to find a minor permutation of the problem in each class. But people subject to gross confirmation-bias seem only to seek out prompts which produce the right answers.
P(next|prev), ie., P(answer word | prompt words) is just a dictionary lookup, and that's the optimisation objective for an LLM.
It turns out sequences of inferences eg., {Socrates is a Man, All men are mortal, thef. Socrates is mortal} can be modelled by dictionary lookups of the above form -- but we're not interested in whether the answer can be found from the prompt. Whether this sequence of props can be stored as a sequence of index operations.
We're interested in whether the system reasons. ie., whether the sequencing operation is inference by logical necessity.
It's incomprehensible to me how gullible people are around AI today -- the Eliza effect coupled with a pseudoscientific impulse to "whatever appears to work".
Does homeopathy work? Well *I* went to a local hospital and saw people recovering by drinking water and resting.
Well, yes, of course you did. That doesnt count as a reply. It misses the claim.
The claim isnt that there arent an infinite number of Q/A prompts where A is correct. Of course there are, rather trivially just from the nature of a generative model.
The claim is that the reason A is generated from Q is because of the co-occurant frequency of Q,A in a corpus, and that this is not a model of eg., logical inference, causal reasoning, abduction, etc.
It's trivial to show that with a handful of cases of failure. Success is irrelevant, it always is.
These arent claims about the engineering rigour of chatgpt, theyre claims about how it obtains A from Q.
Which, if the GPT had remembered all useful Q,As for all of humanity so far, wouldn't be detectable by prompting. Indeed, even if this is so, the reason we care is when there are novel Qs.
Eg., "what is the local post office's telephone number?" isnt answerable with all of human history up til 1900.
Which I agree with.
But also, by observation, it can (at least some of the time) emit token sequences that emulate reasoning (at least on some simple tasks.)
So perhaps it can reason in the same way a submarine can swim.
But validity isn't a statistical notion: P(-A|A) is zero.
Since P(Premise|Contradiction) is frequently above zero in LLMs they engage in randomly "irrational" reasoning. That's what makes them particularly unreliable.
The reason for any given P(premise|contradiction) having any given freq is just that "its that freq in the corpus". This is a pretty insane reason, and so incomprehensibly insane that many -- i guess -- cannot fathom how an LLM can appear to reason without being able to.
I suppose there's a sort of truman show effect: the reality of the underlying mechanism is so outside anything most people could analogise to, they fail to be able to see the trick taking place.
People talk about "human failures" but we never ascribe confidences to propositions based on their frequency in a text corpus; and the apparent "Reasoning" which arises out of this is incomprehensible.
That is without some systematic training in applied stats so you can set up the model and reason about it regardless of its outputs -- which are irrelevant to its mechanism
But the argument is that by dint of repetition, the models actually encode some of the structure of basic logical primitives: syllogisms, entailment, modus ponens/tollens, etc.
This then weights their output so that (for simple enough stuff) they're more likely to emit outputs that are logically sound, than outputs that aren't logically sound. Indeed, this has to be the case, or they couldn't maintain any level of coherency in their output at all (which, like it or not, they can.)
Like you, I'm not comfortable calling this reasoning. But it's also something that is not 100% entirely unlike reasoning, either, at least in terms of output.
The spherical shadow of an object here alas, isnt caused by a spherical object. It's a spikey deformed object whose shadow is spherical with the right prompt. This is easy to show.
Engineers are people who put on light shows. Engineers make the magic lanterns --- theatres of people who believe there's another world in front of them.
Scientists are interested in the quality of the film grain. The spikiness of the suppose sphere. Or, the failure of an LLM's ability to "reason"
But, we have to wonder: when people say "reasoning", do they really, really mean, drawing inferences from axioms and theorems using some set of inference rules? Or do they just mean that they can ask a question and get an answer that makes sense, back?
I certainly think it's the latter. People are imprecise when they speak about reasoning, just as they are imprecise when reasoning. Most people who are going to be using LLMs will not be people looking for precise, correct answers derived by sound inference procedures. Those who need precision will seek it elsewhere, where precision can be obtained. The rest will be happy with "reasoning", quote-unquote.
Basically the use case for LLMs reminds me of a couple pieces of work that were published in the past, where people used neural nets to approximate the results of a precise calculation. One team trained a neural net to predict the chaotic motion of three astronomical bodies ("the three body problem"). Another trained a neural net to approximate an automated planner programmed to drive a drone around in a thicket of trees without crashing. In both cases the trained model could obviously only return approximately correct results, and it could only approximate results that had already been calculated classically, but, at least in the second case, if I remember correctly, there was a significant speedup of the operation of the drone, compared with the automated planner- very reasonably so, since the model approximating the planner didn't have to do all the hard work of actually, you know, calculating a plan.
My bottom line is that no matter what you (or I, or the article's author, or anyone else) can say or show about the true capabilities of LLMs to reason, people are totally going to use them _as if_ they could reason, and the job of proving that they can't is going to get all that much harder for that experience, misguided as it may be.
Ultimately the question of whether LLMs can reason is going to be, outside specialist circles, as relevant as "Does Netflix distribute art?". Sure, it doesn't. But people watch it anyway. Most people seemingly don't need art as much, and they don't need reasoning as much, either.
Which is a tragic conclusion, of course. At least some of us are still working on AI whose purpose is to make humans better at thinking, not that takes away their motivation to think.
A feature indispensable in the generation of a sequence is recovered in the limit of predicting the sequence. So prediction does not exclude higher level cognitive processes. Transformers being universal sequence2sequence modelers give reason to believe they can reach the limit.
No model is "recovered in the limit".
And, more severely, we're blind to the future. So of the infinite models of all of history, we're not even interested in the ones which are maximally retrospectively predictive.
Almost all of those are maximally non-predictive of the future, and indeed, much worse than the ones which fail to predict the past well.
So your 'recovering in the limit' alas is a dangerous kind of pseudoscience: fitting the past.
We want models which are wrong for the right reasons. Not models which are right for the wrong ones.
The latter fail catastrophically.
The models we require enable us to simulate unrealised futures; the causal, abductive models of science (, say).
Only if there is no constraint on the model. But the fixed number of parameters, and the inductive bias of attention limits the space of models that are learnable. In the limit of infinite data but finite capacity for memorization, the only available solution will be to recover the information dynamic of the generating process.
>So of the infinite models of all of history, we're not even interested in the ones which are maximally retrospectively predictive.
Presumably the same processes that operated in the past will operate in the future. So accurately modelling the past is certainly very informative for the future.
(edited second question to make it focused)
If you ask an AI chatbot a question like "count the number of occurrences of 'l' in the word 'lollapalooza'" (and then follow up on its responses), it becomes obvious that it is not "reasoning"; it is simply following a sort-of script. Here is a summarized transcript of this exercise with ChatGPT:
---
Me: Count the number of occurrences of the letter 'l' in the word 'lollapalooza'.
AI: The letter 'l' appears four times in the word 'lollapalooza'.
Me: Describe the process by which you arrived at this answer.
AI: [Provided a description of counting characters and then highlighted the first 'l' in the word four separate times to justify its answer.]
Me: You counted thief first occurrence four times. That is incorrect.
AI: I apologize for the mistake in my previous response. You are absolutely right. Here's the correct count of occurrences of the letter 'l' in the word 'lollapalooza':
AI: [Provided a list of 8 "occurrences" of 'l' in the word 'lollapalooza', including replacing the first 'o' with an 'l' ("occurrence" 3) and counting letters like 'p', 'z', and 'a'.
---
So even though the correct answer was provided at first, the model was not able to faithfully produce responses that backed up how it arrived at that conclusion, and when pressed to double-check its work it simply made things up. Even a toddler would not have claimed 'z' and 'a' were instances of 'l'.
AI chatbots do not reason. They produce text responses to prompts based on stochastic methods. Trying to conflate the issue by suggesting that "we don't know how humans reason, so how do we know AI bots don't reason" is, frankly, absurd. We can easily demonstrate that they are inconsistent and have no concept of what they are writing responses about, as shown above.
The question is not whether an AI can get logical questions right. The question is whether it used reasoning to do it.
And, like it or not, we have a formal definition of reasoning and logic, and long expertise in analyzing how that works.
And it so happens that the paper's author is both a PhD in computer science but also a masters in philosophy and worked on proof engineering and logical deduction systems before.
So the bulk of the paper is not about "ha ha it got it wrong", it's about: how did you get that answer? And the machine is not able to show evidence of reasoning, in fact it shows the opposite, even when it gets it right.
Reasoning is a verb. It's an interactive, dialectical, process. LLMs don't seem to do that. They model a problem based on the relational/linguistic structures within it and related materials, but do not reason about it.
Well then I guess all the humans in this thread would come to the exact same conclusion, because according to some expectations we are perfectly consistent and capable of logical reasoning.
How would you describe the process where if you add context to a prompt - ie, if you prod the AI in a certain direction - you can drastically influence its results? Is it not using this context as an "argument"? Sure, we know for a fact that all they are doing is exploring a certain corner of a high-dimensional space, and that prompting gets us closer to a desired spot where the right answers reside. If this is true, then at least some logic and reasoning is encoded in language. And if this is also true, then perhaps what humans are performing is a similar trick.
The point of comparing it to human cognition is because this reveals that we simply cannot make categorical statements based on how we believe we reason. At our current level of knowledge about the brain and consciousness, it is still a possibility that we are a bunch of neural networks that decode language and, in doing so, produce justification for our actions which, in some contexts, can lead to what you would describe as logical or reasonable output. Sometimes this output is incorrect, and we are definitely not internally consistent. In particular, some of us are very often both incorrect and inconsistent. I doubt you would call a human with an IQ of <60 as incapable of reasoning, for example, and yet I feel such a person would have similar difficulties with most of the tests described in the paper.
So, in short, I would reverse the question here: if your only claim is that AIs don't reason like us, this is a very weak argument in favor of the claim that they are incapable of reasoning.
Then someone comes up with P(A|B) is not reasoning, which seems like an internal mechanism.
How do we square that?
Why not look at what the model does, maybe in all those tensors there are reasoning principles encoded.
It is indeed trivial to show that P(A|B) is a poor model of "B => A" (and B causes A, and many other relata). Software engineers, philosophers and experimental scientists seem pretty good at seeing this --- people who "convert into" engineering are totally dumbfounded by it.
P(A|B) becomes an increasingly 'useful' model of arbitrary relations as the implicit model P_m(A|B) grows to include all instances of A,B. That's what digitising all of human history and storing it in the weights of an LLM does.
This all follows from basic stats you'd be taught in an applied statistics course; one never taken by most in the ML industry.
(Note its still a broken model because there's an infinite number of novel instances of (A,B) pairs in most cases that cannot be modelled with this sort of inductive learning).
Engineering at its heart, is a kind of pseudoscience (or, if you prefer: a magic trick). You find some heuristic which behaves as-if its the target under fragile but engineering-stable conditions.
The problem with engineers who only have magic tricks in their toolkit is this credulousness. Homeopathy worked: you put people in beds and give them water and they recover (indeed, better than leaching them).
How does that human failure to reason affect the evaluation of GPT's reasoning capabilities?
You're being very dogmatic that anyone who has a different opinion than you are "desperate to not thinking clearly" or "gullible", but you're exhibiting errors in reasoning that are rather ironic given the context.
Edit:
You don't know how human reasoning works - no-one does. People tend to assume that our post-hoc conscious ability to "understand" the reasoning process must somehow relate to the actual operations the brain performs when reasoning. But that's not necessarily the case.
Note that I'm not claiming that LLMs are equivalent to human in their reasoning ability: after all, in some cases they're functionally demonstrably superior, especially compared to the average human. But in other significant cases, they're certainly worse.
The point is we shouldn't impose too many assumptions on how reasoning "should" work, and there seems to be a strong tendency to do that, which you're exhibiting.
Imagine you call a friend for help on an essay (on any topic of your choice). But they have access to google and libgen and they're quick at looking.
For awhile, on the call, you think your friend is a genius but then you get suspicious. How would you tell if they knew what they were talking about?
NB. whether they do or not has nothing to do with whatever qs you come up with -- they do or they dont. And, indeed, people are easy to fool.
You might ask, "why care if they know?" but then you have serious questions on things which matter, not just essays. And googling isnt good enough.
Being able to weight information by expertise, engage in reasoning in which contradictions are impermissible, engage in causal inference, in abduction -- in imagining possibilities which have never occurred exactly before ------ these suddenly become vital.
And your friend who is not a PhD in anything, let alone everything, suddenly becomes vastly more dangerous and insidious.
Isn't that your argument? That not knowing how humans reason means that we can't say that GPT isn't reasoning?
Also are we really calling it "denial" now? Because it's a little funny to make the move of simply psychologizing away the criticism, when your actual AI argument, presumably, is that inner consciousness/rationality is black boxes all the way down anyway. Like, how can you presume to look inside the mind of your critic so confidently, to assert they are in denial, but in the same breath say that such a thing is in principal impossible? Don't you think it maybe takes away the force of your argument? Or at least goes against its spirit?
Incomprehensible perhaps, but not even a smidge unpredictable. You knew exactly what you would find in this comment thread.
The paper make a nonsensical claim but fails to back it with results. If anyone isn't doing any thinking here, it's you. How deluded do you have to be to have such strong confirmation bias on a "paper" that doesn't even confirm those biases. Chucking up the simple fact that the model is indeed getting right all the problems that were supposed to indicate a lack of reasoning as "not producing the same response verbatim" is ridiculous. Did you even stop to think about what you just wrote ?
If you're so sure of GPT-4 failing a permutation of these results then by all means demonstrate that.
OP: Paper
Commenters: Reply to paper
Me: Reply to commenters
You'll notice a different burden in each case, since the claim differs. My claim is that confirmation-bias replies to this paper are (at best) poorly founded.
More broadly, the hypothesis that an LLM reasons is not confirmed by an infinite number of correct replies to prompts. It is immediately refuted by a systematic failure across types of reasoning (NOT q/a instances).
What is my burden? As far as I can tell, only to provide what I have.
The question of reasoning in LLMs isn't a question of whether they employ sufficiently strong reasoning capabilities in all instances, but whether it has the capability of sufficiently strong reasoning. You can't confirm general reasoning abilities with many instances of correct responses, but you also can't disconfirm general reasoning abilities through systematic failure unless you have good reason to think it should have engaged those reasoning abilities in the test context. We know that LLMs selectively activate subnetworks based on the content of the prompt. There should be no expectation of any systematic reasoning abilities, but rather what are its capacities in ideal contexts. LLMs are way too sensitive to seemingly arbitrary features of context to rule out capacities from even seemingly systematic failures.
1) LLMs do not reason, they provide sequences of apparent reasoned replies R1...n according to the freq distribution given by P(R1|R2...Rn, TextCorpus)
2) LLMs do reason: in cases where P(Premise|Conclusion, Rule(Conclusion,Premise)) are 1 or 0 forall Rule in {Rules of basic reasoning}, LLMs can reproduce this.
I think (2) is clearly false, and (1) clearly true. LLMs never reason. They're always just sequences of conditional selections of replies. These "follow from" earlier replies just because of the frequency of their coincidences.
"Reasoning" is a claim about the mechanism by which replies are given. It is not a claim about whether those replies are correclty sequenced in some cases. Obviously they are.
Isn't really a well-defined hypothesis, because “reasoning” isn’t well-enough defined for it to be one.
But it's clear that the author of the paper above is using "reasoning" to mean formal reasoning, as in drawing inferences from axioms and theorems using a set of inference rules. I think that makes the article's point very clear and we don't need to be splitting hairs about the different possible definitions or understandings, or misunderstandings of "reasoning".