News for hackers. Stuff that matters.
Re:Transformers struggle with generalizing tasks beyond pre-... by og_kalu on Tuesday November 07, 2023 @01:02PM (#38180409)
This is wrong. The token predictor will learn algorithms for math.

You can ask GPT-4 arbitrary arithmetic it could never see in it's training set. Even when it's not completely correct, it's extremely close. It is clearly computing algorithms even if those algorithms are not quite right.

Re:Transformers struggle with generalizing tasks beyond pre-... by spywaregorilla on Tuesday November 07, 2023 @03:31PM (#38182394)
It is clearly not computing these algorithms. Getting close is more evidence of that than otherwise.

Being able to infer answers to math problems is a thing that humans can do, and that's fine. It's not as good as doing the math though.

Re:Transformers struggle with generalizing tasks beyond pre-... by og_kalu on Tuesday November 07, 2023 @03:49PM (#38182629)
It is computing algorithms. There's no debate here.

The question is whether it is computing the right ones.

Re:Transformers struggle with generalizing tasks beyond pre-... by spywaregorilla on Tuesday November 07, 2023 @04:06PM (#38182827)
It is not computing the right ones. There is no debate there. These algorithms do not map inputs to outputs reliably.
Re:Transformers struggle with generalizing tasks beyond pre-... by og_kalu on Tuesday November 07, 2023 @06:02PM (#38184319)
The point is that this is just blatantly wrong.

>Asking a token prediction model to do math is like asking a human to do math without doing the math. What's 9 times 9? I can tell you it's 81 from sheer memorization. I can probably invoke 9 x 9 + 1 = 82 without needing to do any calculation either. But if you ask me 32 * 64, that's very difficult to do without doing calculations. Implicitly doing math is not sensible.

It's not about memorization. It's trivial to test on instances that would not appear in training and see GPT-4 be better than a human who would attempt the problem without a tool or pad.

The biggest problem with LLM arithmetic is tokenization. https://arxiv.org/abs/2310.02989

Other than that, the algorithms it uses for arithmetic will continue to converge during training until it is correct.

Re:Transformers struggle with generalizing tasks beyond pre-... by spywaregorilla on Tuesday November 07, 2023 @07:54PM (#38185359)
I'm not claiming it's about memorization. I have not memorized 9 x 9 + 1 is 82. I can simply do it without invoking any calculation. That is a close equivalent to trying to do with math token prediction.

Humans doing things "without a pad" is not the same thing as doing mental math vs. trying to intuit an answer.

Token predictions will not converge on correct arithmetic algorithms.

Re:Transformers struggle with generalizing tasks beyond pre-... by og_kalu on Tuesday November 07, 2023 @09:13PM (#38185921)
>I'm not claiming it's about memorization. I have not memorized 9 x 9 + 1 is 82. I can simply do it without invoking any calculation.

>What's 9 times 9? I can tell you it's 81 from sheer memorization. I can probably invoke 9 x 9 + 1 = 82 without needing to do any calculation

Performing math how you suggest is little more than memorization except you've just memorized a different chain in the process.

>That is a close equivalent to trying to do with math token prediction.

This isn't going to become true no matter how much you repeat it. You've consistently made assertions that are trivially proven false.

>Token predictions will not converge on correct arithmetic algorithms.

Yes it will. It literally will. This isn't some debate. This is something that has been researched.

https://www.alignmentforum.org/posts/N6WM6hs7RQMKDhYjB/a-mec...

You think you have an understanding of Language Models and token prediction. Unfortunately you don't.

Re:Transformers struggle with generalizing tasks beyond pre-... by spywaregorilla on Wednesday November 08, 2023 @06:20AM (#38188921)
> Performing math how you suggest is little more than memorization except you've just memorized a different chain in the process.

It's synthesis of memory perhaps, but it's not memorizing specific answers; which is different yet from executing steps of an algorithm you have memorized.

> This isn't going to become true no matter how much you repeat it. You've consistently made assertions that are trivially proven false.

Then agree to disagree because I think you're full of shit. actually, not even that, I think you just don't even understand what I'm saying. which is agreeing with you 90% of the way. This article is nice. But Memorization -> Generalization -> Cleaning up Noise -> Stability is STILL NOT THE ALGORITHM. It will never be the algorithm. It's always just "generalization-ish". Which is again, a modality that human brains can use to process problems and works pretty well, and can presumably work very well, but is ultimately inferior to established, perfected algorithms.

but nah. you chose petty arrogance so yay, we get get to be dicks. fuck off.