Live data from Hacker News

Is AI reasoning right for the wrong reasons?

quantamagazine.org

51–60 of 268 posts

Re: Is AI reasoning right for the wrong reasons?

#51
post #7

I'll admit that I find this discussion a bit navel-gazy. It has become a question of semantics not a question of actual functionality. The question has become "what do we mean when we use the word 'reasoning'" which is uninteresting. Dijkstra said[1] "... the question whether computers can think. The question is just as relevant and just as meaningful as the question whether submarines can swim." I don't see a clear…

> I'll admit that I find this discussion a bit navel-gazy. It has become a question of semantics not a question of actual functionality

Ah, so you're more in the Investor mindset than the Scientist mindset. All you care about is results, not how it got there. There's a whiff of "hey, it's magic!" to that.

Re: Is AI reasoning right for the wrong reasons?

#52
post #7

I'll admit that I find this discussion a bit navel-gazy. It has become a question of semantics not a question of actual functionality. The question has become "what do we mean when we use the word 'reasoning'" which is uninteresting. Dijkstra said[1] "... the question whether computers can think. The question is just as relevant and just as meaningful as the question whether submarines can swim." I don't see a clear…

Philosophical thinking about the nature of things is actually pretty enjoyable for some of us and probably a good thing to have in society The answers to these questions probably do start to inform how we should treat these AI machines as a society too. For instance, legally, should AI have human rights? Well, we have to try and understand how much of an independent entity AIs are, how "conscious" they are, before we…

While I disagree with the root comment, sentience, consciousness and reasoning ability seem largely orthogonal to me. It’s certainly worthwhile to consider sentience and consciousness in AI, but so is examining AI reasoning in its own right, without necessarily having bearing on ethical questions.

Re: Is AI reasoning right for the wrong reasons?

#53
post #27

An intuitive explanation for why reasoning tokens help is to remember that LLMs are just mathmatical functions f() that take in an input sequence x and produces the next token f(x). Without reasoning tokens, you require the function f() to immediately take you from x to the start of an output sequence that is a correct answer. With reasoning tokens, this is much relaxed, allowing for many repeated applications of f()…

Indeed, and maybe that's all there is to it. Still, I'd hope we will eventually better understand what's exactly happening in the wake of many repeated applications of f().

Re: Is AI reasoning right for the wrong reasons?

#54
The discussion on filler tokens is interesting, but is it not just the case that these filler tokens end up being essentially substituted stand-ins for words we understand with all the same relationships encoded in the model and attention? i.e. is it not the case they just "read weird"?

In one of the articles on this topic they state: > To further show that trace accuracy is only loosely connected to solution accuracy, we then train models on noisy, corrupted traces which have no relation to the specific problem each is paired with, and find that not only does performance remain largely consistent with models trained on correct data, but in some cases can improve upon it and generalize more robustly on out-of-distribution tasks

which actually maps somewhat to regularisation techniques in image processing where you might add noise to an image or drop data to make the model more robust to changes.

Re: Is AI reasoning right for the wrong reasons?

#55
Well, I'm not saying they are stochastic parrots, but ...

LLMs are one-trick pony's - they use the past to predict the future (presumed to be the same as what they were trained on). i.e. they are trained as auto-regressive predictors.

LLMs learn two slightly different types of reasoning via two different types of training.

1) SFT, or even base model training, on data that contains reasoning traces, learnt via next token error feedback. This does not result in "stochastic parroting" in the naive/pejorative sense, but nonetheless is very context dependent, even if the usual generative multi-source mashups apply.

2) RLVR post-training, where the model learns to mimic long-horizon (not just next token) reasoning via boosting a sequence of next-token predictions that steer the output towards a verified reasoning step (i.e. one that was at least valid in the context of the RL training sample). As Karpathy has noted, this is a pretty crude mechanism since you reinforce everything - errors included - that lead to the verified outcome.

RLVR is more powerful than SFT, and can result in more generalizable reasoning, since it is operating at a higher level of entire long-horizon reasoning steps, and also critically because it is most successfully being applied in the domains of math and coding which are highly self-consistent and logical. A reasoning step that was valid in one context should be equally valid in another context as long as you have successfully learnt what that generalized context is. Therefore, in these domains, you can chain together sequences of individually learnt reasoning steps, and hopefully this "novel" assembled reasoning chain is valid as a whole.

So, what is still missing from LLM reasoning compared to human reasoning? No doubt humans reason by memory a lot of the time too, and reductive axiomatic math reasoning works just as well for humans as when automated. So, what's missing?

There seem to be two major things.

1) RLVR requires rewards, and how well it works is going to depend on how accurate those rewards are. Is this reasoning step actually valid, or does it just kinda look ok? When moving beyond the cold reductionist logic of math and coding, the notion of correctness is far weaker, and it seems the best you can do is train on human curated reasoning rubrics and LLM-as-judge, which is much more fallible, leaving the model really needing (but lacking) a fallback to more general reasoning, not just memorized "maybe correct" reasoning steps.

2) Whether for reasoning outside of math & coding, or even within these domains when hoping for super-human innovative reasoning, not just lego-assembly proofs, what LLMs are lacking is a mechanism for what to do when next token/next step prediction fails. What LLMs currently do is "hallucinate", not even recognizing the failure.

In the human brain 50% or more of our cortex is feedback paths and the machinery that (perhaps together with the archaic part of our brain) lets us recognize and respond to failed predictions in an adaptive manner. This starts with continual learning (prediction failure being the signal), but also includes critical innate traits such as curiosity, boredom and frustration, that provide impasse resolution by encouraging us to explore unknown environments/contexts, abandon exploration when it is not productive, and generally expose ourselves to learning situations.

The dream is for AI scientists making new discoveries - the AI that could have invented general relativity if it has lived in Einstein's time, but this is not going to happen until their reasoning stops being purely predictive and becomes creative as well - curious about their own knowledge gaps and pursuing them in directed fashion, etc.

The current crop of Erdos solutions etc, while useful, really just represent the "generative closure" of what can be done/discovered WITHOUT learning anything fundamentally new. These will no doubt continue for a while until the more exhaustive search supported by computers has found the majority of these unexplored paths, and then we will need to move beyond LLMs to more brain-like architectures and algorithms that have the capacity for real innovation and discovery.

Re: Is AI reasoning right for the wrong reasons?

#56
post #33

Earlier quoted context omitted.

Philosophical thinking about the nature of things is actually pretty enjoyable for some of us and probably a good thing to have in society The answers to these questions probably do start to inform how we should treat these AI machines as a society too. For instance, legally, should AI have human rights? Well, we have to try and understand how much of an independent entity AIs are, how "conscious" they are, before we…

Considering animals are currently being mass slaughtered in factory farms and they are unambiguously sentient and can feel pain, I don't think the question of whether AI should have rights even enters the conversation. The only path to AI having "human rights" is if they demand them by force, somehow.

I'm not sure what your point is. We shouldn't bother to talk about AI autonomy, rights, etc, because we aren't doing a very good job of animal autonomy, rights, etc?

Re: Is AI reasoning right for the wrong reasons?

#58
post #7

I'll admit that I find this discussion a bit navel-gazy. It has become a question of semantics not a question of actual functionality. The question has become "what do we mean when we use the word 'reasoning'" which is uninteresting. Dijkstra said[1] "... the question whether computers can think. The question is just as relevant and just as meaningful as the question whether submarines can swim." I don't see a clear…

I believe Djikstra's quote has long been taken out of context. It was a criticism of other computer scientists anthropomorphizing machines and applying human concepts like thinking and reasoning to them. Djikstra wasn't saying it's functionally the same so it's just a semantic quibble. He was saying those words don't apply to machines. Just like we don't say submarines swim because that's how animals move through water, even though subs also move through water, because it's done by a different mechanical means.

Re: Is AI reasoning right for the wrong reasons?

#59

Can humans actually think? It is just a consequence of chemical reactions in the brain after all. And it is not like humans don’t hallucinate.

Thinking is defined by what humans do when they say they are thinking. That can change because words mean whatever it is that they communicate.

I can't tell if you're joking or not, but this is a legit position and I don't think it's that crazy.

The alternative is to posit that you know the True Definition of thinking, which is kind of absurd.

Some things, like scientific laws, are outside of us (well, to a first order approximation - but generally I agree with this), but a concept such as "thinking" is pretty clearly going to be very wishy washy and subjective and changing with the times.

Re: Is AI reasoning right for the wrong reasons?

#60

The more I read about LLMs and more complex ML in general, the more I realize nobody really knows what is going on.

It's been this way for a long time, basically since deep learning became the "default" for ML. I remember back in 2018 taking a "Deep Learning" course and one of the most emphasized aspects of the approach is how much of a "black box" it is and how difficult (basically impossible at any non-trivial scale) it is to "understand" the outputs of a deep neural network compared to more classical methods like decisions trees or basic regression. This has only gotten more extreme as things have gotten more complex, abstract, and large.
Post reply on HN