Hacker News new | ask | show | jobs
by cauch 17 days ago
Did Terence Tao really pretend that the LLM, which is the bit without tools (such as basic math calculator and Lean verification), can do math?

And if Tao mentions LLM, does he really mean "the bit without tools" or is he conflating the two?

I know that Tao is saying that current AI is useful to advance research in math (and I fully agree with that), but 1) that is part of a whole framework, LLM is just part of it, and I think that it is not the part that "know how to do math", 2) even if you obtain the correct mathematical output, it does not mean that the LLM part itself can do math (the same way that someone who throws 10000 basket balls and misses 9999 of them should be considered as unable to play basketball even if you just have a process where you ignore the 9999 misses and only record the one that made it)

1 comments

Are you sure you know what math is, or are you thinking about arithmetic?

Tao and others don't sit around working out what 12,483,324,281/188,553.37463286*(243+2-983) is all day. There is a reason most people don't consider mathematics education to really start until you stop needing to bring a calculator to class.

You seems to have scanned the message and notice one word ("basic math calculator") and stopped there.

Just next to this word, there is "Lean verification", which is not about arithmetic but about the logic.

But the problem is not even there. LLM are not able to do math not because they fail to do 12,483,324,281/188,553.37463286 * (243+2-983), but they are not able to do math because they don't _understand_ 12,483,324,281/188,553.37463286 * (243+2-983).

I cannot do 12,483,324,281/188,553.37463286 * (243+2-983) myself just like that, yet I can do advanced math. Because I understand this expression. I know what it means. When the LLM was not able to produce the correct number, it was not because it knew what this expression meant and was "distracted" and forgot to report a 1 when doing the mental calculation. It was because the LLM was seeing the expression and was trying to guess the answer based on the answers of other texts that had similar expressions. It did not _understand_ the expression itself: it had no idea what it meant, it was just guessing the answer by copying the rough relationship it extracted from outputs it has seen in the wild.

And this is why it was a good element to demonstrate that LLM cannot do math: if they don't understand the expression 12,483,324,281/188,553.37463286 * (243+2-983), then they don't understand the expression f(t)=\sum_{k=-\infty}^{\infty} c_k e^{j k\omega_0 t}, \qquad \omega_0=\frac{2\pi}{T}.

And that is why the AI framework to do proper math and help mathematicians needs harness with tools like Lean. The LLM part does not understand what the expression means, it needs a tool to discard, internally, all the LLM outputs that are just non-sense.

"The AI can't understand because AI doesn't understand anything"

So what is understanding then, so we can check this hypothesis?

"It's the thing that AI can't do!"

What's the thing?

"Understanding!"

And what is understanding?

"It's the thing that AI can't do! I just said that!"

FYI, this isn't a serious argument without a clear testable definition of "understand" or "know".

And if you think you're gonna trounce two millennia of philosophy right now in a reply to me, best of luck.

Oh dear, not this again.

First, the claim has nothing to do with "understanding" itself. "understanding" here is just a short cut for "is doing the math", "is doing the computation", "knows what is correct and what is not correct". Replace it by that if you are confused by the word "understanding".

The claim is "LLM cannot do math". LLM. Not LLM + tools and harness. Not LLM but we get plenty of answers, run a program to remove the non-sense ones and pretend the LLM got only one answer.

And this is true: the LLM part cannot answer correctly these math questions. It answers with a first answer, check it, if not validated, came up with another answer, and so on. It has no idea which one is correct and which one is non-sense. It needs a specialised harness that will remove the non-sense ones.

But secondly, this incapacity to grasp something very simple is really annoying.

This is really not complicated. If you tell someone "what is 2+3" and that this person is going in the next room, write on their pocket calculator "2+3=1", click "ok", and the calculator says "Error", then "2+3=2", click "ok", and the calculator says "Error", then "2+3=3", click "ok", and the calculator says "Error", then "2+3=4", click "ok", and the calculator says "Error", then "2+3=5", click "ok", and the calculator says "Correct", and come back and say "2+3 is 5", it is clearly not the same as if you ask someone who understand math.

No need for "philosophical question" excuses. Call it "understanding math", or "able to do math", or "has learnt arithmetic", ... It does not matter. The reality is that this person, ON THEIR OWN, is unable to do math. They are not the one who know the math, the calculator who tells them if it works or not is the one knowing the math. (and again, if you are confused because this simplified example is using arithmetic, just replace "pocket calculator validating the sum" by "Lean software validating the mathematical proof")

We've had the ability to brute force solution spaces for decades, without AI.

Perhaps you picked up the belief that LLMs are just brute forcing these problems, but they aren't. They are creating hypotheses and checking them, which is the same thing humans do.

The solution spaces for problems is so massive that brute forcing it is beyond what even "every atom in the universe is a super computer running for 13B years could crack"

You need to understand the problem to know where to search for the solution.

They are not "simply brute forcing". They are constructing hypotheses based on their training on other examples. So, it's not a simple brute force, it's an "educated by historical data brute force".

If you ask "1224245 * 12345332", it will not try "tomato", it has observed other cases where such numbers are like that in such expression, and it will try answers that "looks like" those. Sometimes picking up on good relationship ("when the first number ends in 5 and the second number ends in 2, the solution ends in 0"), sometimes picking up bad relationship ("in my examples, I see that in the solutions, the fourth digit has 22% chance to be a 1").

But still, it does not really matter. A LLM, without harness or tool, cannot do math: it returns answers that are "reasonnable guesses based on historical data" without knowing which ones are non-sense or not, and it needs tools and harness that "do the math" to rejected the non-sense.

> You need to understand the problem to know where to search for the solution.

"What you mean by understanding"

you: "well, that thing that LLM does"

"what's the thing"

You: "Understanding!"

"And what is understanding?"

You: "It's the thing that AI do! I just said that!"

But, no, the "logic", the "structure", of math, is not inside the LLM. The LLM regularly returns outputs that are very good, because turns out that some relationships that the LLM extracted from historical data was also the relationships that happen to work here. And sometimes, the LLM returns outputs that are totally crazy, incompatible with "understanding the problem". Because the LLM is just doing "educated brute force" and applied a set of relationships that someone who is familiar with the problem would immediately consider inadequate, but the LLM still does it because it does not understand the problem, just tries to guess the direction of the answer based on historical direction of answers, without any idea if these directions are non-sense or not.