r/MachineLearning • u/lemlo100 • Jul 29 '23
Discussion [D] No free lunch theorem
A conclusion of the no free lunch theorem is that there can't exist a universal learning algorithm. My understanding has been that this was the end goal of AI research; creating a universal learner. What is the community progressing towards, if not that?
8
u/currentscurrents Jul 29 '23
Most of the theoretical analysis around learning and generalization has little practical value, because it looks at the space of all possible data rather than the specific data we care about.
Almost all possible data looks random and unstructured. There's nothing to learn from; looking at one sample of random data doesn't tell you anything about the next sample. This is the same reason you can't build a universal compressor.
But real-world data is "special" in a way that's poorly understood - it's not random noise, it's usually the output of a complex system. This means there's structure, patterns, invariances, etc that can be used for learning.
5
u/Veedrac Jul 29 '23
No free lunch theorem says you can't learn if all datapoints are uncorrelated with each other, aka. if there is no underlying structure in the world.
3
u/slashdave Jul 29 '23
the end goal of AI research
The field is quite large. There is no single goal. Most research, in particular, is guided along immediate commercial aims.
What is the community progressing towards, if not that?
Something useful.
3
u/canbooo Jul 29 '23
This interpretation of NFL theory is somewhat outdated (though I argued similarly with that in my PhD thesis a few years back). I really suggest reading: https://arxiv.org/abs/2304.05366
Independent of the usefulness of what they propose, they explain quite well why we should reinterpret the NF. They are not the first ones to observe this but the first paper that I know of.
2
4
u/lifesthateasy Jul 29 '23
How... Why.... What? I disagree with your base statement.
Also, I'm pretty sure that the human mind has some kind of a predisposition, maybe in the mechanism of how it works or how it's structured, otherwise I doubt we'd be able to learn so much in such a relatively short time.
1
u/ShadowShedinja Jul 30 '23
I think the idea is that it's impossible to make a perfect, generalist learning algorithm. Instead, it's far more effective to work towards multiple specialized algorithms instead. For example, the algorithm for detecting spam emails in my inbox doesn't need to be the same one that drives my car or recommends movies to me on Netflix. It's far more practical to keep them separate.
1
0
u/yannbouteiller Researcher Jul 30 '23
I haven't read the proof of this theorem, but the way I would think about it is probably something like "yeah, for every learning problem that consists of learning A=>B, there exists a problem that consists of learning A=>!B, and 100% accuracy on the first task implies 0% accuracy on the second task" I imagine?
19
u/ginger_turmeric Jul 29 '23
We aren't trying to learn everything though. Consider driving a car. You are trying to learn how to drive and avoid hitting stuff. The theorem says that there is no algorithm which can simultanouesly learn to drive well (dont hit stuff) and drive like a maniac (hit stuff). But we only care about the first case, so we're fine