News for hackers. Stuff that matters.
Re:Transformers struggle with generalizing tasks beyond pre-... by andy99 on Tuesday November 07, 2023 @12:11PM (#38179568)
It would be news is somebody showed transformers could generalize beyond the training data. Deep learning models generally cannot, so it's not a surprise this holds for transformers.
Re:Transformers struggle with generalizing tasks beyond pre-... by GaggiX on Tuesday November 07, 2023 @12:15PM (#38179628)
It depends on what does "generalize beyond the training data" means. If I invent a new programming language and I teach (in-context) the language to the model and it's able to use it to solve many tasks, is it generalizing beyond the training data?
Re:Transformers struggle with generalizing tasks beyond pre-... by andy99 on Tuesday November 07, 2023 @12:25PM (#38179796)
No. The way I'd look at it is that generalization or specifically extrapolation would mean that different features are needed to make a prediction (here, the next token) than what is seen in the training data. Something like a made up language could still result in the same patterns being relevant. That's why out-of-distribution research often uses mathematical extrapolation as a task.
Re:Transformers struggle with generalizing tasks beyond pre-... by og_kalu on Tuesday November 07, 2023 @12:30PM (#38179878)
"Supercharged Interpolation" is not something that actually exists.

Learning in High Dimension Always Amounts to Extrapolation

https://arxiv.org/abs/2110.09485

What you're asking for is not "generalization" but magic and humans would also fail.

Re:Transformers struggle with generalizing tasks beyond pre-... by andy99 on Tuesday November 07, 2023 @12:40PM (#38180032)
I'm not going to argue with LeCun. I think my point still stands though even it the terminology is wrong re extrapolation vs interpolation in high dimensions. Is there any evidence for NNs learning outside of the data distribution. We humans can be flexible about the features we choose based on what we are trying to accomplish. I don't ML models doing that.
Re:Transformers struggle with generalizing tasks beyond pre-... by spywaregorilla on Tuesday November 07, 2023 @12:37PM (#38179992)
Can you provide a real world example? Because this sounds like nonsense. As in, not a weakness of any architecture but just the very concept of pattern matching.

What you might be asking for is a system that simply continually learns.

Re:Transformers struggle with generalizing tasks beyond pre-... by vidarh on Tuesday November 07, 2023 @01:43PM (#38180990)
Can humans do this?

Because I'm not convinced humans can do this.

Or that it reasonably means anything.

Re:Transformers struggle with generalizing tasks beyond pre-... by Swizec on Tuesday November 07, 2023 @12:17PM (#38179656)
> somebody showed transformers could generalize

I read an interesting paper recently that had a great take on this: If you add enough data, nothing is outside training data. Thus solving the generalization problem.

Wasn’t the main point of that paper, but it made me go ”Huh yeah … I guess … technically correct?”. It raises an interesting thought that yes if you just train your neural network on everything, then nothing falls outside its domain. Problem solved … now if only compute was cheap.

Re:Transformers struggle with generalizing tasks beyond pre-... by andy99 on Tuesday November 07, 2023 @12:21PM (#38179724)
Compute and data collection. This is the long tail problem.
Re:Transformers struggle with generalizing tasks beyond pre-... by sharemywin on Tuesday November 07, 2023 @12:51PM (#38180231)
doesn't the long tail just need to be a little outside the range of human capability for it to be AGI?
Re:Transformers struggle with generalizing tasks beyond pre-... by andy99 on Tuesday November 07, 2023 @01:13PM (#38180564)
Not sure I understand but people don't need the long tail because we don't write rules and then blindly act on them when we encounter new things. We can reason about stuff we haven't seen before.
Re:Transformers struggle with generalizing tasks beyond pre-... by cosmojg on Tuesday November 07, 2023 @12:47PM (#38180153)
Has it even been shown that the average human can generalize beyond their training data? Isn't this the central thrust of the controversy around IQ tests? For example, some argue that access to relevant training data is a greater determinant of performance on IQ tests than genetics[1].

[1] https://www.youtube.com/watch?v=FkKPsLxgpuY

Re:Transformers struggle with generalizing tasks beyond pre-... by sudosysgen on Tuesday November 07, 2023 @12:52PM (#38180239)
Just because we can be genuinely creative in some way doesn't mean that having access to data doesn't make it easier.
Re:Transformers struggle with generalizing tasks beyond pre-... by cosmojg on Tuesday November 07, 2023 @12:57PM (#38180344)
Indeed! And even then, can we be genuinely creative? As far as I can tell, everything is derivative.
Re:Transformers struggle with generalizing tasks beyond pre-... by czzr on Tuesday November 07, 2023 @02:14PM (#38181392)
Considering the human race bootstrapped itself from nothing, what’s your mental model here? Where did everything come from?
Re:Transformers struggle with generalizing tasks beyond pre-... by kridsdale3 on Tuesday November 07, 2023 @03:39PM (#38182507)
Nature.
Re:Transformers struggle with generalizing tasks beyond pre-... by throwaway092323 on Wednesday November 08, 2023 @09:58AM (#38191248)
Humans and AIs both evolve as the result of some iterations dying. In both cases, we tacitly erase the ones who don't make it (by framing the discussion around the successful, alive ones). The difference is that humans have had a broader training set.
Re:Transformers struggle with generalizing tasks beyond pre-... by cosmojg on Tuesday November 14, 2023 @07:02PM (#38271589)
Remembering the outcomes of accidents and remixing those memories to produce derivative works.
Re:Transformers struggle with generalizing tasks beyond pre-... by YetAnotherNick on Tuesday November 07, 2023 @12:59PM (#38180370)
Define "generalize beyond training data" please. Because in my opinion asking a model to produce avacado chair is generalizing beyond training data.
Re:Transformers struggle with generalizing tasks beyond pre-... by huijzer on Tuesday November 07, 2023 @05:28PM (#38183905)
OpenAI showed it in 2017 with the sentiment neuron (https://openai.com/research/unsupervised-sentiment-neuron). Basically, the model learned to classify the sentiment of a text which I would agree is a general principle, so the model learned a generalized representation based on the data.

Having said that, the real question is what percentage of the learned representations do generalize. For a perfect model, it would learn only representations that generalize and none that overfit. But, that's unreasonable to expect for a machine *and* even for a human.

Maybe we just don't know. We are staring at a black box and doing some statistical tests, but actually don't know whether the current AI architecture is capable enough to get to some kind of human intelligence equivalent.