3 ms·
The "Chain of Thought" Delusions
- karma_pharmer 2y ago[flagged]
- exe34 2y agoHave you tried Chrome or Firefox without any add-ons and a fresh profile?
- hibernator149 2y agoLLMs are really good at system 1 thinking (fast, intuitive) but can't do system 2 (planning, calculating) at all. Just like in Go/Baduk, neural net based AIs were good at tactical play but fell apart against pro players with good long term strategy. Until NNs were combined with Monte Carlo Tree Search and we got AlphaGo with great tactical and strategial play. We need a good search strategy that fits LLMs before we can get AGI. Maybe Chain Of Thought can become such a strategy, but it always felt too clunky to me.
- pona-a 2y agoWe already do beam search, which allows LLMs to backtrack on branches until they find the highest probability path. Discounting things like Toolformer, this is about as good as it's going to get.
- Havoc 2y agoI had assumed this works because it points the model towards more ELI5 like the explanations in the training data rather than imbuing it with any sort of reasoning. If it works…then the why is somewhat secondary though still interesting
- YeGoblynQueenne 2y agoIf it works for easy things, but not for hard things then that's useless. From the tweet: As you can see, the ease of giving CoT advice worsens drastically as we go from domain independent to domain specific to goal class specific to lexicographic goal-specific. So he's arguing that CoT needs a lot of work from the user and it can only solve easy problems anyway.
- djaouen 2y agoCan we just admit already that LLMs were all hype and no substance? I still see articles written as though ChatGPT is doing something groundbreaking when all it does is regurgitate its training data. The only good use (at least as of now) of LLMs is GitHub Copilot (edit: Grammarly also is useful here). Everything else has been a severe let down imo.
- FeepingCreature 2y agoConsider: you might be wrong about LLMs regurgitating their training data.
- djaouen 2y agoMaybe. But I have yet to see (for example) an LLM write a novel. Or build out a web framework. GitHub Copilot + Grammarly are the only two useful apps it has, at least so far. Feel free to convince me otherwise!
- FeepingCreature 2y agoIt seems like you're judging LLMs by human standards. If it could do those things, it would almost definitionally be AGI already. LLMs are "just" pattern-based token prediction engines with large scale. The interesting thing is that it looks like we should be able to build a general intelligence from that - like we're getting at least some facets of intelligence from that alone, that we previously had no idea how to produce - not that we're already there! Treat it as a text-based addon to your brain, IMO. A human brain has many components necessary for general intelligence. Some of those components can now be augmented by a giant neural net; others still benefit from human execution. All the LLM programming work I do is based on a cooperative dialog, where I fill in the gaps where the LLM doesn't have an appropriate pattern. Which are many. (But getting less.) At any rate, the idea that LLMs regurgitate their training data is completely unrelated to this and afaict one of those "true but trivial, or important but false" ones. (True in the sense that humans also represent a reflection of their inputs; false in the sense that what's going on is definitely more than a collage of samples.)
- FeepingCreature 2y agoFar as I can tell, all this demonstrates is there's tasks that CoT doesn't work for (yet)? If that? Or just that there's bad prompts? Really, the Twitter replies have already made these points so there's nothing to add. This just seems like research that's been written conclusion-first. > Ever since I came across the Chain of Though (CoT) for LLMs paper, I wondered how it can possibly make sense given that there is little reason to believe that LLMs can follow procedures and unroll them for the current problem at hand. (After all, if they can do that, they should be able to do verification and general reasoning too--and we know they suck at those). I don't follow. Why would procedure following imply general reasoning?
- amenhotep 2y agoIt struck me as really weird that he seemed to assume implicitly that his Blocksworld problems would be something an LLM should be able to do and presented the failures as shocking; one look at them immediately gives me the impression that they are the kind of problem LLMs tend to be pathologically bad at. Probably he's better tuned in to the tone of the discourse than me but I feel like if you showed CoT helped with Blocksworld then that would be a huge and triumphant result, rather than something taken for granted that we must loudly disprove!
- YeGoblynQueenne 2y agoFrom the tweet: >> And yet the practitioners of CoT swear that any and every problem can be solved with LLM by giving it a bit of a CoT help. For example, see this arxiv paper: Generalized Planning in PDDL Domains with Pretrained Large Language Models https://arxiv.org/abs/2305.11014 https://arxiv.org/abs/2305.11014 Where the authors conclude: In this work, we showed that GPT-4 with CoT summarization and automated debugging is a surprisingly strong generalized planner in PDDL domains. The author of the tweet is an expert on planning and he's responding to that kind of thing.
- FeepingCreature 2y agoI think these scenarios are compatible if we view LLMs as "fragile reasoners": they can occasionally reason, but it is an intermittent state that is easily disturbed. In such a world, we would expect to see that people who want LLMs to work can make them work with difficulty, and people who want or expect LLMs to fail can make them fail easily - or rather, maybe less adversarially phrased, one can generate examples of either outcome.
- superb_dev 2y agoI was under the impression that “chain of thought” was getting the LLM itself to plan out the steps before it solves the problem. Is that not true?
- kromem 2y agoIt is true, but when it's not zero shot there's a possibility that you are introducing additional information with the example. As well, depending on the study there have been issues with effectively a 'halting' assistance where as long as it isn't getting it right it keeps on going until getting it right, which is effectively a post-selection bias. But frankly this post reads like someone that doesn't understand much about CoT in the first place, let alone the various methods that have improved upon it since. It reads like one of the ad nauseum "look at me use this tool poorly, clearly it's a poor tool" examples. In general, I've noticed mathematicians, computer scientists, and engineers tend to be very poor at evaluating LLMs because they just aren't very good at correctly identifying the scope and depth of what was modeled in the training data in the first place. It's getting boring watching people foolishly try to evaluate things like "stack these clear blocks" (because that's something I regularly saw in social media posts) while glossing over or actively sabotaging the unbelievable modeling/simulating of much more complex and higher order critical reasoning behind various applications of things like empathy or psychological modeling. For anyone reading this who wants to have a fun project, try creating two versions of a set of word puzzles with the same underlying logic structure. One where the problem and solution are using engineering-ish language like "clear blocks" and another using emotional/social language like "grieving friends." Even as we wait for the next generation of models, there's a lot of people criminally underestimating and underutilizing the current models because they can't look beyond their own specialized domain languages.
- YeGoblynQueenne 2y ago>> Consider STRIPS planning problems. The thing to keep in mind in all these discussions about LLM planning and reasoning is that, when experts on planning and reasoning say that LLMs can't do planning and reasoning they have a very different, formal definition of those things in mind, than everybody else who hasn't studied them. Even some of the research papers on planning and reasoning with LLMs play very fast and loose with the use of those words and that's probably why there are so many positive results that later prove to be duds. Now is probably a good time to re-educate computer scientists and AI researchers about planning and reasoning. Wikipedia has a very short introduction to STRIPS planning: https://en.wikipedia.org/wiki/Stanford_Research_Institute_Problem_Solver https://en.wikipedia.org/wiki/Stanford_Research_Institute_Pr... And here's a more comprhensive, but still short, introduction to automated planning and scheduling in general: http://www.spacebook-project.eu/pubs/CogSci-13.pdf http://www.spacebook-project.eu/pubs/CogSci-13.pdf
- ilaksh 2y agoIsn't the obvious approach to use thr LLM to write the code or definition for the STRIPS system and then use that system to search for the plan? Have they tried that?
- pona-a 2y agoAnd there comes the fact LLMs are actually terrible at coding beyond advanced regurgitation, precisely because their single-pass architecture does not give them Turing completeness to model a Turing machine, which may also be the reason they model the full chain of cause and effect to formulate a coherent plan...
- FeepingCreature 2y agoTuring machines are an irrelevancy for programming, and LLMs can code ... not well, but at a higher level than regurgitation. ("Advanced" regurgitation can, of course, describe anything.)
- 60654 2y ago
- sega_sai 2y agoMy understanding is that the main limitation of LLM is that their are single pass. I.e. they process once and return they answer. If that answer is correct that's great but if they answer doesn't make sense LLM has no ability to retrace steps. That is exactly why breaking into steps is useful, because each step is easier to quickly answer. I think at some point people will combine the LLM with some kind of LLM-critic that will enable automatic splitting into steps or reruns of the LLM.
- pona-a 2y ago> ...If they answer doesn't make sense LLM has no ability to retrace the steps. Beam search already exists, it precisely allows the model to backtrack on its past tokens and find the global maxima of probability, at least within set depth/breadth. I think this is just a larger limitation of their shallow world model. Perhaps giving transformers registers will remedy this.
- RecycledEle 2y agoLLMs are mostly trained on Internet posts, so they are Internet simulators. If an Internet posts explains its reasoning, step-by-step it reaches a correct conclusion more often than other posts. Therefore LLMs that explain their reasoning and also more likely to reach the correct solution.
- RecycledEle 2y agoFind me good Internet posts that use verification and general reasoning. They are rare. The Internet posts I read suck at verification and general reasoning. Therefore LLMs will suck at verification and general reasoning until we refine or augment our datasets.
- FeepingCreature 2y agoCorrect. Internet posts contain explanations, if at all, rather than reasoning, which is not the right model for LLMs because it starts with the conclusion and then describes in hindsight the steps that have already been taken, invisibly, to reach it. It's a retrospective trace of our own chain of thought, not the chain of thought in itself. We can only write explanations because our actual reasoning is, invisibly, present in our mental context window. But that's exactly the tokens that would actually help a LLM. (That's also why we can explain answers backwards as easily as forwards.)
- RecycledEle 2y agoI always objected to the grumpy old people who complained "this has been covered and answered many times, so let's close this thread." Having said that, this has been covered and answered many times. Can we please create a responder for any HN question that can be answered with "LLMs are Internet simulators, and they do that because that is how Internet posts are."
- leobg 2y agoCoT works because it’s an instruction the LLM has encountered in its instruction-tuning (and, to a smaller extend, in its original training data). You could fine tune a base model to respond to every question by first outlining steps (sub prompts, if you will). Not useful for a general purpose chat model. But useful for some types of tasks.
- subbarao2z 2y ago[I am the one who wrote that tweet thread]. fwiw, a lot of the questions that are being raised in this thread have been answered in this talk I gave for Google/Deepmind LLM reasoning seminar a few days back: https://www.youtube.com/watch?v=hGXhFa3gzBs https://www.youtube.com/watch?v=hGXhFa3gzBs (Also, the preprint paper on the CoT study with all the prompts etc is available at https://arxiv.org/abs/2405.04776 https://arxiv.org/abs/2405.04776 )
- aeternum 2y agoYour inability to carefully prompt an LLM does not indicate an LLM's lack of ability to solve a problem.