Can We Understand How Large Language Models Reason? (cacm.acm.org)

45 points by adunk 3 hours ago

40 comments:

by antleys 11 minutes ago

This article is not about "reasoning" in the abstract, philosophical sense but is talking about "mechanistic interpretability" research. The title is more like, "can we understand if the 'knowledge' encoded into a neural networks actually corresponds to reasoning-like concepts" and doing that with actual experiments like tweaking weights and activations.

There's an interesting example where researchers saw a model approached clock time calculations and calendar month-day calculations using the same methodology. So then is this because an underlying concept of "cyclical measures" has emerged in the network?

by warumdarum an hour ago

They dont. They have input that runs through a invisible stochastic canyon. As long as there is previous experience the stochastic canyon never ends. If there is none or isignificant one, or it runs out of tokkens, it hallucinates and the illusion falls apart. There is no reasoning, just the invisible grand canyon of all of human experience and knowledge. PS: try to get it to retell you a clichee movie or book and you can see life near the end, how the delta of all the same movies opens up into wildly different endings.

To advance further it would need the ability to abstract away the general situation shape and pattern recognize similar situations.

by smokel 9 minutes ago

It's probably helpful in this discussion to make a difference between two definitions of reasoning:

1. phenomenal reasoning, requiring consciousness and subjective experience

2. functional reasoning, transforming premises into conclusions using logic

I think you are attacking this using definition 1, whereas the article is obviously aiming at a different type of reasoning, and trying to formalize what is actually going on. It seems to be a genuine effort.

by Lomlioto 14 minutes ago

Compression is the trick. Its even philosophed about if compression = intelligence.

The LLM has to compress everyy question/prompt into its system. It does so by creating rules and ways of processing data (this can lead to AGI, world models or an architecture of sub architectures like an LLM + something else). So if it should respond in a way that only reasoning people can achieve, it might be able to learn a representation of what we call reasoning.

It read enough text in itself to even know about the concept of reasoning and how you would do that.

Even if this is only stochastic, it shouldn't be so devalued as your comment comes across.

Who says that we are doing anything more magic?

by red75prime 35 minutes ago

Stochastic gradient descent can be likened to traveling down a billion-dimensional canyon. But inference? Hardly.

by alchemist1e9 26 minutes ago

It’s curious how they solve unsolved math problems without reasoning. Maybe I have a different definition of reasoning than you.

by crewindream a minute ago

Jury is still out on this one.

This needs to be routine to be given asevidence…

…Unless you know exactly how the llm was trained and then how it was applied

by emp17344 23 minutes ago

Guess what? SAT solvers have also solved unsolved math problems. Do you believe they are “reasoning”?

by wizzwizz4 11 minutes ago

The question of whether a SAT solver can reason is about as interesting as the question of whether a submarine can swim. (EWD867, EWD898)

by rvba 16 minutes ago

There is a streamer who plays Diablo 2 by listening to the AI advice and it is quite funny since it is pretty clear that most of the advice is an amalgamation of random, often incorrect advicem

I wonder if it is the same for programming or not, but I vibe coded an android app just to see if I can and it just works. It required a lot of "build the code and correct the errors" pushing though. For example requested code in kotlin but received something else.

by mexicojalisco 3 minutes ago

As somebody who uses Claude heavily and heavily plays D2R it’s clear he wasn’t using Claude opus…… maybe Haiku or something. Opus isn’t as brain dead as what was being displayed

by CrzyLngPwd an hour ago

My toaster doesn't reason, and neither do the current clankers.

by CamperBob2 7 minutes ago

How'd your toaster do at IMO last year?

by gfody an hour ago

there's a 2MP about the related paper: https://www.youtube.com/watch?v=l72ufA-4SzE

by calf an hour ago

One plausible reason I thought of that we may not understand neural nets is that by their nature their power grows with ever-more complex connections and weights.

So it is like the opposite of logical systems, in that the very design of neural net architecture is a mess of parameter "spaghetti code" which renders the entire thing a metaphorical encrypted black box. The more powerful an AI/AGI the more this would be the case, and this is analogous a complexity curve.

And so any effort to make sense of such black box computation would be like trying to reverse entropy, analogous to trying to recover information lost in waste heat. And that could be one fundamental barrier to understanding both human and artificial brains alike, relative to their internal complexity.

(Just thinking aloud my handwavy pet theory recently, I am not an expert and could be totally mistaken on this)

by analog31 2 hours ago

Do LLMs have Qualia?

by wat10000 29 minutes ago

Do people?

by emp17344 16 minutes ago

Yes.

by wat10000 15 minutes ago

How do you know?

by otabdeveloper4 an hour ago

They don't reason.

by CamperBob2 5 minutes ago

What would change your mind?

by chrisjj an hour ago

Clickbait article title.

The article body does not presume they reason.

by JackSlateur 2 hours ago

Do they ?

by azakai an hour ago

The article answers this question, at least to the extent it can be answered, at this time.

We see some signs of reasoning, but also we understand little about how they work.

by michaelchisari an hour ago

Do we see actual signs of reasoning or is it anthropomorphism? We have an innate tendency to do so as humans.

by blooalien an hour ago

> Do we see signs of reasoning or is it anthropomorphism?

This is the part that so many folks just don't seem to understand (probably because it's been labeled as "thinking" or "reasoning" mode, and people assume that words have meaning). It's not reasoning or thought. It's spewing tokens pretending to "think", but it's actually just generating extra "context" to help the final answer be more coherent. The model isn't doing anything it doesn't already do. It's just doing more of it to improve the quality of the final answer displayed to the user.

by Leonard_of_Q 36 minutes ago

You're describing a process by which a 'thinking' entity uses cognition to refine a solution to a stated problem. That's a lot of words so usually we shorten this to 'reasoning'.

Do LLMs 'think'? I 'think' they do in a way. I don't really know how I think myself but I know I do and therefore I am (thanks, Descartes). I have a somewhat better grasp of the way LLMs 'think'. They do so sequentially, building a chain of descriptors which best fit the problem and the preceding descriptors. I suspect I do something not entirely dissimilar- i.e. I imagine 'worlds' which are like the current one changed in some way so they the problem I'm working on is reduced, then refine those until it is resolved - but in a massively parallel way.

by blooalien 9 minutes ago

Fine. Whatever. I give up. LLMs think. Believe what you want. I literally no longer care, and this argument is beyond exhausting. Go ask the LLM to explain itself to you. It will happily spew out a pretty solid explanation of the details and math involved if you ask it the right questions in the right way. It'll also happily play along with you if you want to roleplay that it is an actual thinking machine. It's designed that way. But hey, whatever. It's a thinking intelligent machine and we're all doomed. I accept that my many decades of working with and learning about computers was wasted and I know nothing about them at all.

by dataflow 36 minutes ago

Honestly, people need to get over this debate. It's pretty irrelevant in a lot of cases. When people ask "what is the model thinking?", they're really asking "what caused the model to produce this response (as opposed to a bunch of other plausible ones)?"

Whether it's thinking or word prediction or whatever you want to call it, people are trying to understand the causal chain.

by throw310822 18 minutes ago

It's not just a nominalistic debate though, as the people who are vocal against the idea that LLMs might "understand" or "think" also claim that because of this, they are fundamentally limited in what they can achieve, in contrast to human beings. Therefore any possibility of actual intelligence (or even superintelligence) is, according to them, just a fantasy.

by wat10000 28 minutes ago

Angry diatribes about whether submarines swim or not.

by azakai an hour ago

Yes, we do see signs of actual reasoning, see the papers linked in the article. (There are many others too.)

Yes, we have a tendency to anthropomorphize, but (most) researchers are aware of this.

by michaelchisari an hour ago

The papers linked in the article discuss the mechanical operations that simulate reasoning. Intelligence is data efficiency and I don't see a strong argument that reasoning can exist if it requires a world's worth of data.

That doesn't mean that simulated reasoning isn't useful, it's wildly useful. But a thing is not its simulation.

by throw310822 2 minutes ago

> a thing is not its simulation.

"The King leaned over, looked and saw, yes, the Middle Ages simulated to a T, all digital, binary , and nonlinear, and there was the land of Dandelia, The Icicle Forest, the palace with the Helical Tower, the Aviary That Neighed, and the Treasury with a Hundred Eyes as well, and there was Ineffabelle herself, taking a slow, stochastic stroll through the simulated garden, and her circuits glowed red and gold as she picked simulated daisies, and hummed a simulated song."

(Stanislaw Lem, Cyberiad)

by arcanemachiner an hour ago

Yes, there is an LLM feature that we have anthropomorphized as "reasoning" or "thinking", where an LLM has a scratch space where it can dump tokens that help to improve the final output.

by otabdeveloper4 an hour ago

> that help to improve the final output

Do they actually help? Are you sure?

by throw310822 2 hours ago

Of course they do, how else do you think they manage to implement new features in large codebases, or to prove new theorems? But you don't even have to assume they do because of the results- you can read their chain of thought.

by chrisjj an hour ago

The Eliza effect.

by throw310822 40 minutes ago

It's indeed so powerful that even my compiler and my unit tests fell victim of this delusion.

by RobRivera 17 minutes ago

Well, if you read the foundational paper 'All you need is Attention', review the full stack trace of any LLM system call, and have insight to the ad hoc training process to ingest additional data and knowledge, you will gain greater understanding.

If you enjoy such content, please like and subscribe to my channel: xxXNoobSmasher69Xxx

Data from: Hacker News, provided by Hacker News (unofficial) API