News for hackers. Stuff that matters.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by caturopath on Monday October 09, 2023 @03:47PM (#37824593)
I see remarks like this a lot, and I don't know what to do with them.

Talking about "real understanding" without fleshing out what we mean by the phrase doesn't strike me as at all insightful in this context. In day-to-day use, the term is imprecise but usually easy enough to talk about, but I'd struggle to apply it to dogs, let alone to LLMs or AGIs or whatever.

You say that _of course_ they cannot self-correct because of this. If Deepmind's tests showed the opposite result, would you say that the system they were testing did have "real understanding"? It seems likely to me that future systems will demonstrate self-correction using Huang et al.'s methodology...will we think those systems are different in some way involving understanding?

> The LLM I was using gave me code that worked, but did not do what I wanted. I pointed this out, so I then got code that syntactically did what I wanted, but could never work. This went back and forth twice, before I gave up.

> The LLM was incapable of recognizing the falsity of its answers. It certainly wasn't capable of suggesting a different approach that would work (and yes, there was one, I found after a bit more research).

I really don't know what to do about these sorts of anecdotes. Often with slightly different random values or temperature or phrasing, the same LLM will give different results for the same problem. I've repeatedly seen people make much more narrow claims about what LLMs get wrong or what their biases are, where simply regenerating will give a dramatically different answer.

Your pain here sounds like something I see in humans all the time. If we trained a human harder never to ask follow-up questions, I imagine it would be even worse. There are clearly important differences between an LLM and a human being, but I don't think it's always easy to describe what they are in useful ways.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by graeme on Monday October 09, 2023 @04:40PM (#37825230)
One example. I asked ChatGPT to take 7 letters and find all the word combos.

There were about 80 possible. It maxed out at 19 or so.

Now clearly this is a hard task. Humans can’t do it well and none of the text corpus would offer training on this sort of thing.

If I asked a human to do it they would say “here’s what I got, I don’t think that is all of them”

ChatGPT would apologize when corrected and make a new, equally wrong list with full confidence.

That’s how I interpret understanding. Self awareness and doubt.

Oddly enough the code interpreter seems much stronger on this point. Now that I think about it I don’t think I was using it for the letter combo task.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by fragmede on Monday October 09, 2023 @04:55PM (#37825383)
ChatGPT will happily tell you it doesn't know anything after January 2022, and it'll say "jdnrirmd-gurlksjd" is not a recognizable term, instead of trying to bullshit a definition of that, if that's your bar for "understanding",
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by jiggawatts on Monday October 09, 2023 @05:36PM (#37825834)
Current LLMs use an optimisation of processing data one word at a time. This makes them bad at solving puzzles involving individual letters or digits.

This is a well known, well understood limitation that can be overcome (Facebook punished a hierarchical model that can parse individual characters), but this technique isn’t used by ChatGPT.

Whenever I see a criticism like this, it says more to me about the hubris of humans and the falsify of their assumed superior intelligence.

You’re criticising the intelligence of a thing you don’t understand yourself!

You didn’t “read the manual”. You didn’t go find out why the AI is failing. You just spouted an angry comment and gave up without gaining any understanding.

PS: the “stupid AI” understands all of this. Just ask it to explain it to you: https://chat.openai.com/share/7bc1c1cb-d888-4ccb-904a-79e9ae...

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by klyrs on Monday October 09, 2023 @04:37PM (#37825197)
> Often with slightly different random values or temperature or phrasing, the same LLM will give different results for the same problem.

You're fundamentally describing a stochastic parrot here, and not an intelligence. When you say that humans can also make the same mistake, you're ignoring the fact that every human testing these systems and finding it lacking are also comparing their experience to a lifetime of interacting with human intelligence. Every anecdote of this sort is an example, typically based on repeatedly trying an assortment of prompts (eliminating two of your variables -- random values & varying prompts), which is curated down to a single example for the sake of brevity.

To say that "oh maybe it would have gotten the right answer if you got lucky or tried harder or twiddled a knob that you don't have access to" is simply nowhere near the extraordinary evidence that is required to prove the extraordinary claim of "real understanding." The reason that you don't know what to do about these anecdotes is that you lack the evidence to properly rebut them. You can only wave your hands at ill-defined properties and gaslight about the user holding it wrong. Perhaps you should ask your parrot buddy what to do.

But if you were really serious about this, you wouldn't be going after the strawfolk down in the comments, you'd rebut the paper itself.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by yawnxyz on Monday October 09, 2023 @05:16PM (#37825599)
This is super interesting because you’ll end up with different people with different opinions on “what is the best answer” if they all have different experiences.

Most of us when using LLMs feel it should only produce the one correct answer; sometimes that’s the right way to think about it, but other times we might want an opinionated answer, when there is no true answer.

So I think if we get better learning and self correcting machines, we also get more opinionated and sometimes incorrect machines. Kind of like people. And sometimes they’re stubborn or confidently incorrect, but that I think actually points to more intelligence (in people at least), since it points to people deciding based on their experiences.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by lossolo on Monday October 09, 2023 @08:28PM (#37827165)
> This is super interesting because you’ll end up with different people with different opinions on “what is the best answer” if they all have different experiences.

In context of grandparent comment it's code, so while we can have different solutions to the same problem, we can verify if the solution is correct because it's not an opinion on some subject.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by aarong11 on Monday October 09, 2023 @09:17PM (#37827517)
There's no such thing as "one correct answer" to most tasks in any language. In mathematics, maybe. If you're asking it to recall a specific quote verbatim, yeah. But other than that there are many (infinite?) different ways you can paraphrase differently to get the same point across (at least in English).
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by caturopath on Monday October 09, 2023 @10:35PM (#37827963)
> Every anecdote of this sort is an example, typically based on repeatedly trying an assortment of prompts

"Data" isn't the plural of "anecdote" -- you can systematically test things, as the authors of the study the article reports did, or you can say "I tried something and got result ~X, therefore LLMs cannot X", which is my honest understanding of what I've heard people say repeatedly.

> But if you were really serious about this, you wouldn't be going after the strawfolk down in the comments, you'd rebut the paper itself.

I don't know the details of the paper, but I suspect it's right. My actual problem was with someone explaining that the result was trivial and offering what I thought was a non-helpful explanation of why.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by soco on Tuesday October 10, 2023 @03:51AM (#37829534)
And I assume there's no understanding of what "real understanding" means. In this so limited context "real understanding" looks like "did what I wanted without me really explaining what I wanted". Although in real life I seldom know from the start what I really want either and takes me a few iterations to clarify it even to myself - so "real understanding" seems to be something even I am missing (and I shouldn't blame poor AI for lacking it). Or maybe I'm an AI myself just unaware of it?
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by jfim on Monday October 09, 2023 @04:39PM (#37825219)
You can see it in various tasks where the answer for a text generator would be incorrect, yet simple reasoning or understanding yields the correct answer. For example, the everything fits in the boat variant of the farmer across the river problem: https://chat.openai.com/share/7d2de1c4-1cd6-4d7d-97e4-645830...
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by throwaway4233 on Monday October 09, 2023 @04:55PM (#37825381)
I do not think that answer would correctly solve the original riddle. The LLM blindly just gave an answer without raising the question of which pair of objects together would be a problem if left alone.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by jfim on Monday October 09, 2023 @05:32PM (#37825793)
Good catch, it actually leaves the goat with the cabbage in the answer above.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by fragmede on Monday October 09, 2023 @05:02PM (#37825441)
It figures it out if you point out the difference much like a human would when faced with a riddle they didn't get.

https://chat.openai.com/share/34df3eb0-c41c-4c5b-80d2-48f5d0...

I'll be honest, the only reason I knew to read your variation of the farmer-boat problem carefully is because you set me up for success - I knew it wasn't going to be the original.

Curiously, I haven't been able to get it to one-shot the question, even by prefixing it with instructions.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by godelski on Monday October 09, 2023 @05:13PM (#37825566)
Except the problem here is that you spoiled the solution. It is quite difficult to provide hints that don't spoil. Or rather, don't provide hints but rather tell it that it is wrong.

Here, I'll demonstrate it. First I'll prod it with vague responses about it just generally being wrong. Trying to leak no information to the model. We'll try to slowly add a bit more and then use your followups. Notice that the model cannot escape the overfit regime without your strong hints. You told the model specifically what to consider. You told it that it is a trick question of a trick question. This is not how a human would handle the situation. To my followups they wouldn't spit out the same answers. They'd actually likely followup with questions if they were confused. Which is a behavior I've never seen from an LLM: asking clarifying questions.

https://chat.openai.com/share/57ab9bca-326d-45cb-9257-7fb8c2...

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by godelski on Monday October 09, 2023 @05:06PM (#37825481)
I love this example! I've been using a different one and GPT has been getting better at it (unconvinced they aren't training on my reporting that it gets the wrong answer. Or that I've posted this question dozens of times here and some have gotten pretty high up. But it's been a year now and we're still in stochastic phase). The question I ask is variants of "Which weighs more, a pound of feathers or a kilogram of bricks?" Similar to yours it is just a slight variant on a standard logic puzzle.

For those wondering why ask these questions, we're testing for overfitting. Yes, you can overfit even if your training and validation curves don't diverge. If the model fails these questions, they've clearly overfit. But the solution space is very large and complex, so overfitting in one regime doesn't mean it didn't underfit another.

GPT 3.5: https://chat.openai.com/share/328cc39d-7fb3-4726-92a2-29437c...

LLaMA 2 70B chat: https://hf.co/chat/r/KX5H3P2

Falcon 180B Chat: https://hf.co/chat/r/V8XxdYh

None of these models can consistently get the answer right. GPT used to actually explain to me the difference between a pound and kilogram (correctly) and then use that answer to justify why they are the same. Such an answer is very clearly a demonstration of a lack of understanding as it isn't even remotely self consistent.

LLMs are powerful and amazing technologies. But we can also critique them. Hyping up models hinders the ability to improve them because every thing (LLMs, humans, governments, whatever) has limitations and is worthy of critique. But criticism isn't saying something is garbage and too many people confuse this.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by jfim on Monday October 09, 2023 @05:31PM (#37825789)
Agreed, there's definitely a lot of value in LLMs even if they don't really have an understanding of the world.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by godelski on Monday October 09, 2023 @08:21PM (#37827119)
It is quite interesting to me that people latch onto the world model so much as if it is highly significant or a lack of a world model invalidates LLMs. Personally I still believe they're magical (in the proverbial sense) and amazing tools even though I also believe they are just complex stochastic machines that have very little understanding of the things they are doing. That just tells me how cool and amazing that statistics is. I honestly don't know anyone that thinks LLMs are useless things, despite knowing a large number of people that are highly critical of them. But those are very different metrics. I don't know why we can't have nuance in things, why they need to either be a gift from god or a pile of shit.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by spdustin on Tuesday October 10, 2023 @08:43AM (#37831324)
I was pleased to see GPT-4, combined with my custom ChatGPT instructions, had no problem with this: https://chat.openai.com/share/726d5c7b-761f-462e-8a6a-61904a...
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by godelski on Wednesday October 11, 2023 @12:57PM (#37847028)
You should refer to this comment I made[0], as your prompt is spoiling the problem. It is far too specific. Hacking the answer in is not a means of getting correct answers. It won't scale and won't generalize.

[0] https://news.ycombinator.com/item?id=37825566

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by glitchcrab on Tuesday October 10, 2023 @02:04AM (#37828978)
But that isn't a correct solution - it leaves the cabbage with the goat.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by jfim on Thursday October 12, 2023 @01:08AM (#37853640)
The correct solution is that everything fits in the boat, the farmer can just go across the river with everything at once.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by all2 on Monday October 09, 2023 @04:09PM (#37824867)
> I see remarks like this a lot, and I don't know what to do with them.

There's no "reasoning loop" built into LLMs yet. Keyword, yet. For now we're left with single-shot answers from "memory" rather than a reasoning loop akin to what a human would do, which is read the docs, try some stuff out, discover that what you're asking for is impossible, and then telling you that it isn't possible.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by abm53 on Monday October 09, 2023 @04:29PM (#37825098)
These models produce correct answers to many problems that require “reasoning” (for any sensible meaning of the word), that are not in their training set.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by all2 on Monday October 09, 2023 @04:54PM (#37825369)
That just shows that parroting will solve a number of problems that require reasoning, that is "reasoning" as we think of it can be reduced to a statistical process.

Kids parrot their parents before they understand the meaning of what they are doing or saying. Meaning arises from a much more complex process than seeing/repeating. I think the same will be true with LLMs. True reasoning capabilities will be another revolution entirely.

---

This just occurred to me; LLM's have a cargo cult level understanding of anything they've been trained on. Correct answers are actually statistical flukes -- purposeful because that's how we trained the models -- but not actually significant in terms of reasoning.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by a_wild_dandan on Monday October 09, 2023 @06:06PM (#37826064)
How do we test this alleged distinction between "true reasoning" and statistical parroting? What experiments can we perform on SotA models to make this idea falsifiable?

Commonplace hypotheses like these give me strong "No True Scotsman" vibes, but I'm often wrong. Let's agree on a method, and I'll test it.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by Art9681 on Monday October 09, 2023 @06:48PM (#37826424)
There is none. No one understands what intelligence really means or self-awareness. Which is why they feel threatened by anything that challenges their self proclaimed uniquely human trait. The goal posts WILL move a lot more before this debate is settled. Inevitably the success rate and accuracy of LLM responses is going to get better and better, quite possibly to the point where it is indistinguishable from a human. But it wont matter, because some humans will redefine intelligence to be something else so their place at the top of the intelligence pyramid remains in place.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by all2 on Monday October 09, 2023 @07:32PM (#37826789)
You can coax LLM's into reasoning. I recall someone on here posting a link to prompts that instruct the LLM to reason through a request, and this improves its output significantly.

I think what our models are missing is recursion on themselves. You and I can be self-referential, and we are capable of meta thought. We are also capable of "internal dialogue" where we speak and reason internally.

The LLMs at present lack even state or memory. Arguably those aren't necessary for "reasoning" capabilities.

I wonder how far off "stochastic parrot" is from what we do naturally. I have an image in my head of how we think using associated words/concepts/pictures for learning and I can't imagine it is too different from statistically associated concepts/words.

---

This is sort of scatterbrained, and I apologize. I don't have enough time to write a more concise response.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by kahnclusions on Monday October 09, 2023 @05:02PM (#37825447)
That doesn’t mean it does any “reasoning”. It generates a response text that looks like a response to the input text. The whole point is that it generates responses that aren’t in the training set. But the fact that the response is actually a correct one is just coincidence.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by a_wild_dandan on Monday October 09, 2023 @05:40PM (#37825857)
So when a model succeeds on a reasoning task it's not positive evidence, but when it fails it's negative evidence? The good ol' confirmation bias feedback loop!
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by a_wild_dandan on Monday October 09, 2023 @05:33PM (#37825811)
It’s also unclear that LLMs have no “reasoning loop”, or that a “loop” abstraction is necessary for all reasoning, or that eyeballing wrong answers is a sufficient metric to categorically dismiss “reasoning." A "reasoning loop" argument is especially odd when applied to LLMs...which explicitly have architectural loops, and their output generation is a literal loop.

Folks, we don't understand our own minds. You think we already understand a potential alien mind? With our n = 1 examples of generally intelligent mind architectures (ours)? Fat chance.

Anyone confidently claiming sweeping, nebulous conclusions about these new models is likely revealing more about their biases than the model's inner workings. We just don't know much. Hot takes on ML are just anthropocentrism Rorschach tests.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by all2 on Monday October 09, 2023 @07:36PM (#37826819)
> A "reasoning loop" argument is especially odd when applied to LLMs...which explicitly have architectural loops

Oh, I understood that the current crop of LLMs didn't have a way to push data back into itself. I know so little about LM architecture at this point. I need to work my way through the freeAI course that's out there. Maybe a tutorial or two on building one from scratch.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by jaidhyani on Monday October 09, 2023 @04:19PM (#37824988)
Alternatively, the prior on "this is not possible" is very low because RLHF & Friends have targeted metrics that, inadvertently or not, discourage that outcome.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by robertlagrant on Monday October 09, 2023 @04:34PM (#37825163)
I think that's the right answer - human trainers prefer an answer, even a made up one, to "I don't know".
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by Jensson on Monday October 09, 2023 @04:38PM (#37825206)
Dataset as well. In a forum if you don't know the answer you simply don't post. Only people who think they know will post an answer. In a dialogue you see a lot more "I don't know" since there they are expected to respond, but there isn't a lot of dialogue data to be found on the internet compared to open forum data.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by SAI_Peregrinus on Monday October 09, 2023 @06:51PM (#37826449)
Amazon product Q&A has a lot of "I don't know" answers. Unlike just about everywhere else on the internet.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by danielmarkbruce on Monday October 09, 2023 @04:51PM (#37825339)
It's trivially easy to build a reasoning loop using the GPT-4 API.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by lawlessone on Monday October 09, 2023 @04:55PM (#37825378)
How?
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by danielmarkbruce on Monday October 09, 2023 @05:11PM (#37825537)
example:

Initial Prompt:

"Here is the schema for a database: CREATE TABLE persons ( id INTEGER PRIMARY KEY AUTOINCREMENT, first_name TEXT NOT NULL, last_name TEXT NOT NULL, age INTEGER NOT NULL ); CREATE TABLE Y(blah blah blah)

I'll pose a question and I want you to: Respond with JSON which has two fields, Query and Error. Query: A SQL query to get the required information Error: An error message to pass back to the user if it's not possible.

Question: Show me all the people who are over 40. "

Response from prompt: {Query: "Select years_old from persons where age > 40", Error:""}

Now, in your "agent": Get that response, run it against your db, get the error message. Go back to the GPT-4 api with the initial prompt and response, and add "this doesn't work and gives the following error message. Correct your response and responde in JSON again."

And so on.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by Art9681 on Monday October 09, 2023 @06:43PM (#37826371)
People who are having trouble getting good results from LLMs are still trying to figure them out. Most folks are using the product and not the model. Where it really shines is when you use the API and build a platform of workflows around it, starting with a real solid prompt template and working your way through various methods to achieve an outcome. There is no magic wand to get a full solution in one shot, but guiding the LLM towards that ultimate outcome is the type of thing a lot of nerds dont have the attention span for and instead move on to the next weekly JS framework to get their fix.

Which is good for us who stick with the process.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by danielmarkbruce on Monday October 09, 2023 @07:34PM (#37826807)
Yup, agree.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by brandall10 on Monday October 09, 2023 @06:30PM (#37826266)
Any agent that uses a tool (ie. repl/apis) essentially has a reasoning loop just like this. Microsoft Research recently got their Autogen framework up to point where the results are much better than AutoGPT/BabyGPT and the like through more optimal tool use, showing the ability to do rather sophisticated research and problem solving.

This new research focuses on responses just using its own corpus of knowledge. And this totally makes sense if that's all you do without giving a hint to what is incorrect, if indeed anything is incorrect. It's akin to asking a child after they produce an answer they feel sure about an "are you sure?", and then receiving another answer out of a state of confusion.

The main takeaway for me is if you can somehow get better performance on followup queries from simply telling it to more carefully review its approach, that your initial prompt wasn't as efficient as it could be.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by caturopath on Monday October 09, 2023 @10:39PM (#37827981)
The article is about work to add a loop somewhat to that effect
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by layer8 on Monday October 09, 2023 @04:25PM (#37825059)
You are right that “understanding” requires further explanation.

In the anecdote above, however, it seems to be clear that the LLM didn’t realize a number of things, such as:

– It might not have sufficient information to answer the question.

– It’s just making a guess of what a correct answer might plausibly look like.

– The fact that this is different from actual correctness.

– That by asking questions back, it might actually be able to come up with a working answer, with the help of its collocutor.

Even after being informed multiple times that it made an error, it doesn’t seem to realize any of the above. This apparent lack of self-reflection, of addressing and working with the conversational situation — i.e., what a human would typically do — is what people usually mean by LLMs lacking an understanding of what they output.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by godelski on Monday October 09, 2023 @04:44PM (#37825264)
To add to this list of things LLMs don't understand:

- Numbers (LLMs still can't do math and the ones that "can" are very brute forced and don't generalize)

- Commutative properties (The (idk why anyone was surprised) "reversal curse": https://arxiv.org/abs/2309.12288)

- Associative properties

- World models (i.e. can understand some basic physics and causality. Not mathematically, but the same way a child understands that letting go of something in their hand falls to the ground and not up)

- How to say "I don't know"

- Any form of meaningful generalization (GPT 3.5 and most LLMs still have difficulties with "Which weighs more, a pound of feathers or a kilogram of bricks". GPT4 gets it, but I'm not convinced it isn't because I've asked it that question too many times and they specifically trained on it.)

And a whole load of things. With basically all these things being quite relevant to the collective interpretation of "understanding." They aren't hard to tease out either. You ever have a problem that isn't easy to google because the search terms are too close to a different problem? The LLM will give you very similar results, even if you probe with corrections and specify that your problem is different. Like layer8, many many times I've corrected (many different) LLMs and cannot tease out the correct answer. Because the correct answer is too low likelihood and often the RLHF has decreased the distribution in that region to get to it. Because this is exactly what RLHF does, on purpose.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by og_kalu on Monday October 09, 2023 @05:00PM (#37825430)
> Numbers (LLMs still can't do math and the ones that "can" are very brute forced and don't generalize)

These seem to generalize.

https://arxiv.org/abs/2211.09066

https://arxiv.org/abs/2308.00304

> Commutative properties (The (idk why anyone was surprised) "reversal curse": https://arxiv.org/abs/2309.12288)

This was a retrieval from training issue not an inference one. and make no mistake, people will fail these sort of answers too (perhaps not to the same extent). Very often someone will learn a fact in a certain why and fail to recall that when asked in a reverse or roundabout way.

Communicative properties are not something that occur in the vast majority of text or language. It's not "generalization" for training to treat it as such lol. Since they can answer such questions just fine during inference, It makes little sense to say an LLM doesn't understand communicative properties.

> How to say "I don't know"

There's quite a lot of indication that the computation can distinguishing hallucinations. It just has no incentive to communicate this. Don't blame the LLM here. Blame the very human data that doesn't encourage this.

GPT-4 logits calibration pre RLHF - https://imgur.com/a/3gYel9r

Just Ask for Calibration: Strategies for Eliciting Calibrated Confidence Scores from Language Models Fine-Tuned with Human Feedback - https://arxiv.org/abs/2305.14975

Teaching Models to Express Their Uncertainty in Words - https://arxiv.org/abs/2205.14334

Language Models (Mostly) Know What They Know - https://arxiv.org/abs/2207.05221

I'm not trying to say that LLMs are perfect. and as long as people understand that saying an LLM doesn't understand x doesn't mean an LLM doesn't understand anything at all, i'll happily state weaknesses.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by godelski on Monday October 09, 2023 @08:16PM (#37827079)
> These seem to generalize.

I'm not convinced. Zhou et al explicitly is teaching the model to decompose the longer chain addition into a windowed problem. Which yeah, that is good and how we humans do this. But that is limited, see Figure 10. It is a pretty heavy prompt. Figure 3 is showing that the method is not very robust (aka, not generalizing). We see changing symbols really hurts performance, subtraction and multiplication are not great. But even a 90% accuracy is not suggesting great generalization when we're talking about a pretty simple algorithm, especially one that is natural to computers. Chen et al is doing a better job, but their prompting still shows a lack of generalization and appears to be dependent on how much the model was originally tuned for mathematical tasks in the first place, with GPT having explicitly been tuned for this (if we are to believe OpenAI claims of working on making the model better at math). But this is convincingly a better method, just not convincingly generalized.

I'll note that an important aspect of generalization is not just extending to the OOD but also: not requiring fancy prompts at inference, working with arbitrary symbols in few shot exampling (<5 examples -- not batches -- it should know), and without significantly affecting the rest of the knowledge base. If you taught a LLM to only be good at math and nothing else I would both be impressed but also not call it a generalized model.

I'm not a NLP person so I don't know the nuances of the specific datasets used here, but I'd also be careful at evaluation, especially with GPT. Datasets like these are incredibly difficult to generate in ways that do not result with training data in the test set. As an example, I'll point to our classic HumanEval dataset, which is often used for testing code performance. A paper with 60 authors thought that simply by writing code by hand that it would result in unspoiled data. But they chose code problems that were similar to the style of interviews/leet code. Guess what, you can search github for similar strings and find them (pre-cuttoff). You can either explore yourself or search my chat history if you'd like specific examples. Clearly such an evaluation is not a great one.

> This was a retrieval from training issue not an inference one.

Actually I disagree. We know (likely) why this happens -- because the autoregressive nature biases a model towards a specific sequence direction -- but that doesn't mean it isn't generalization issues. And I very much disagree that humans will fall prone to these same issues. You keep using this claim with very little evidence. An explicit example from that work is the LLM getting correct the answer to "Who is Tom Cruise's mother?" (Mary Lee Pfeiffer) but not getting the correct answer to "Who is Mary Lee Pfeiffer's son?" Humans naturally handle this difference trivially. The thing is that this specific knowledge is probably not known to most people so the latter question is more likely to confuse the person. But this is different.

And we need to also recognize that humans are even explicitly evaluated this way. Learning history, in a textbook or lecture you'll be presented information like "On December 7, 1941 the Japanese attacked Pearl Harbor." But then on a test you'll be asked "What day did the Japanese attack Pearl Harbor?" That's specifically a reversal. When was X? Why is the day X important? These are explicit ways that people test other people, at a very early age, so I disagree that it is a highly common occurrence for people to fall prone to this. I'm sure you'll find example, but I'm willing to bet that those examples have another factor (you also won't be able to test the examples I gave on LLMs because they will have specifically seen both directions __because__ we do this kind of testing).

> It just has no incentive to communicate this. Don't blame the LLM here. Blame the very human data that doesn't encourage this.

You're right that we can probably do a better job at training the models to respond this way. But they naturally don't. But that is the clear demonstration of not understanding. I'd equally claim that a person doesn't understand something if they rambled off bullshit and were trying to talk their way into a solution or post hoc explain why their wrong answer is correct. Either way, it doesn't challenge the claim that it doesn't demonstrate a lack of understanding. Especially when you see these ramblings not be self consistent.

> Links

I'm not sure what you're showing here. They're kinda supporting my explicit point of RLHF messing with the distribution. I'll add more that this is a crazy hard problem to even evaluate because what is being shown as metrics are extremely aggregated. Aggregation is the bane of evaluation but so is dimensionality.

> I'm not trying to say that LLMs are perfect. and as long as people understand that saying an LLM doesn't understand x doesn't mean an LLM doesn't understand anything at all, i'll happily state weaknesses.

Just to be clear, no one has claimed that an LLM has 0 understanding. Those of us critiquing the understanding claim are pretty well aligned with that the model has some understanding. Of course it does. That's what a fitting function is. But we're challenging the claim of understanding in the generalized context which is what you've been pointing towards. Things like an LLM having a world model. Things like an LLM understanding how addition works (compared to understanding how addition works for 2-6 digit numbers). These things are quite different and I've been trying to be very clear that I'm not claiming LLMs are a load of bullshit. I've explicitly stated as much in other comments, but the prior comment wasn't as necessary given the context. (not that this statement should be necessary in the first place. It is only a result of over hype that people binarize critique. I really don't want to see more of this religious nature around ML, it is harmful to our community)

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by YeGoblynQueenne on Monday October 09, 2023 @04:15PM (#37824945)
>> I've repeatedly seen people make much more narrow claims about what LLMs get wrong or what their biases are, where simply regenerating will give a dramatically different answer.

It will, but what's the point of a random answer generator? What's useful is a system that gives correct answers, and can discriminate correct answers from incorrect answers. Otherwise, you can only know that an answer is correct when you already know it, and that's not very useful at all.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by LASR on Monday October 09, 2023 @05:04PM (#37825460)
Assuming “correctness” as being a hard criterion will greatly limit your ability to get powerful and very useful output from LLMs.

A person doing some knowledge work will fail on this criterion. But they still are employable and generally regarded as being useful.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by caturopath on Monday October 09, 2023 @10:46PM (#37828008)
I think usefulness is a different question than capabilities. "LLMs can't do X" is an interesting claim, and it takes some level of systematic work to make it. If the capability exists at all, this is interesting, even if it's not useful. That being said, it doesn't mean such an existing capability will not prove useful. If something is fallible, it might be above a threshold worth using, it might be improved by doing the same techniques that are already being used, or it might be improved by adding on some sort of system to filter or refine responses.

> you can only know that an answer is correct when you already know it, and that's not very useful at all.

This statement makes sense on the surface, but I don't think it's true. All the time I get told things that I don't know the answer to beforehand, but judge pretty well whether it's right or not.

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by RandomLensman on Monday October 09, 2023 @04:08PM (#37824844)
An LLMs can explain a concept but is unable to apply said concept to a given problem - for me that shows a lack of "real understanding".
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by godelski on Monday October 09, 2023 @04:32PM (#37825137)
Let me give an example[0]

> Before LLMs, we had a very crisp test for having, or not having a world model: The former could answer certain questions that the latter could not, as shown in #Bookofwhy. LLMs made it harder to test, for the latter could fake having a model by simply citing texts from authors who had world models, see https://ucla.in/3L91Yvt The question before us is: Should we care? Or, can LLMs fake having a world model so well that it wouldn't show up in performance? If not, we need a new mini-Turing test to distinguish having vs. not-having a world model.

The thing here is that LLMs are trained on most of the internet. Some people are surprised by some results but don't seem to know what kind of content is on the internet or in the training set (to be fair, we don't know what all the training sets are). There's lots of people that believe LLMs have world models (there have even been papers written about this!) but it's actually pretty likely that the LLMs were trained on similar examples, and this also helps explain why it is easy to break the world model (it isn't a world model if it is very brittle). We can see similar things with our tests like LSAT and GRE subject tests. Well guess what, there are whole subreddits and stack exchanges dedicated to these. Reddit is is most of these datasets and if you're testing on training data you're spoiled (there's a lot of spoiling that happens these days, but like Judea said, does it matter?)

The problem with hyping up LLMs/ML/AI up too much is that we can no longer discuss how to improve the system. If you are convinced that they have everything solved then there's nothing to do. But no system is perfectly solved. Never confuse someone criticizing a tool with someone saying a tool is useless. I'm pretty critical of LLMs and am happy to talk about their limitations. That doesn't mean I'm also not wildly impressed and use them frequently. There's too much reaction to criticism as if people are throwing the thing in the dumpster rather than just discussing limitations.

FWIW, I wouldn't change my mind if DM's test showed the opposite result. You can check my comment history. I'd probably dig in and rather comment why DM's tests were bullshit. I've even made comments about how chain of thought is frequently a type of spoiling. The reason being not because I don't think we can't create AGI (I very much do), but because I have a deep experience with these models and ML in general and nothing in my experience and understanding leads me to even believe half the things people claim. You'll see me make many comments ranting about the difficulties of metrics and how there's this absurd evaluation that people do (not just in ML) of using a proxy test set and using some proxy metric and saying performance on it is enough to claim a model is better. It is a ridiculous notion.

[0] https://twitter.com/yudapearl/status/1710038543912104050

Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by somewhereoutth on Monday October 09, 2023 @06:38PM (#37826335)
You have it backwards - there might be some similarities between LLMs and humans. I don't think any such almost certainly superficial similarity is meaningful in any way.
Re:LLMs can't self-correct in reasoning tasks, DeepMind stud... by tnecniv on Thursday October 12, 2023 @04:06AM (#37854637)
Typically, when people say it lacks real understanding, they seem to mean it lacks an understanding of any object’s semantic meaning. In the above example, the person asked for an example of X API solving problem Y, and X lacked the functionality needed to solve Y. If the AI understood the formal specifications of the API, it would be able to know that functionality doesn’t exist and reply as such. However, the AI is just a next token predictor here, it only knows certain words tend to follow others. Thus if you never told it that X API can’t do Y in training, it’s unlikely to reply as such. Instead it might give you a fictional function call in the style of X API to solve your query.