7 points · by dreamlessfate · 4y ago · 26 comments
The thought keeps popping into my head over and over again: Just because it works doesn't mean it works well, or that it works in a smart, optimal, or even ontologically truthful/useful/realistic way.
There are no shortage of videos, papers, tutorials, blogs that explain the math & models in detail. But there are exceptionally few sources that explain the underlying assumptions...and why these are useful (or not useful) assumptions.
Why does Machine Learning use these assumptions?
--
1) Sigmoid Functions & Binary Classification - I understand the math and the probabilities.
But rather: WHY would you want to classify using a binary system of classification? WHY would you want to reduce everything to yes/no? Or more accurately, a probability of yes/no? Or even chained probabilities of yes/no?
Is it just due to being stuck in the paradigm of programming on machines built on yes/no logic gates? Trying to perform these very complex tasks (identification, generation, whatever) on CPUs and software that are, in and of themselves, built on binary distinction?
If all you have is a binary logic gate (hammer), then everything looks like a cumulative distribution function (nail)?
Isn't this a totally moronic approach? Or is it just the best we got? I feel like it's stuck back in the signal processing days of trying to "fit" and force a signal to achieve a certain pattern without realizing the what or why. Turning knobs on an oscilloscope.
--
2) Layers - Why are artificial neural networks setup as "layers"?
Isn't this more like an assembly line? Doesn't that seem dumb? Why would someone believe, in their heart of hearts, that intelligence or pattern recognition, or any kind of thinking, happens procedurally?
Doesn't this (again) seem like a very moronic approach? One that is based on the procedural nature of the machine itself? And the programmer themself? And not the nature of thinking, intelligence, or even complex analysis / complex systems?
Complex systems with lots of variables and lots of dimensions don't actually interact like this. They don't have "layers", this is a totally made-up assumption that has major implications on the entire field.
Was this just chosen out of necessity, because software and programs need a beginning and an end? And input and an output? Or is there some really convincing argument, that speaks to the philosophy and ontology of these decisions?
2. To have nonlinearities between the layers, and to have layers with varying complexity and structure. In practice it works much better than all the alternatives that we've tried.
These things are explained very well even at a beginner level, and you aren't really questioning them deeply or proposing any alternatives, instead you seem to be getting into philosophy.
Who says? Who's defining the task?
I promise I'm not trying to get too philosophical here, but this is a long-standing issue in all areas of Science - the tendency towards reductionism.
Keep turning the dials on the oscilloscope to try and eliminate the signal noise...but what if the noise itself is an essential part of the phenomenon you're trying to study and understand? You see where I'm going with this?
> "In practice it works much better than all the alternatives that we've tried."
I was waiting for someone to just come out and say "It's the best we got". I'll grant that it might be true, but I don't like it and I don't accept it.
For the second point, read what I wrote before the sentence you picked to quote. Also, your not liking or accepting some result doesn't really change it.
This isn't how to argue in good faith, and it's overall not very productive for anyone involved.
Most of the tough, interesting, challenging problems in this world don't boil down to binary decisions.
Second, facial recognition doesn't depend (inherently) on artificial intelligence. It's not a great example. It's not a truly interesting, tough problem. It's not in the realm of fuzzy logic, concurrency, periodic or aperiodic behavior, or nonlinear relationships.
Could a Neural Net do it faster? Yeah, sure, maybe. But so what? You have a quicker algorithm, a faster heuristic.
Sometimes you want to do binary classification.
This isn’t all there is.
> Layers - Why are artificial neural networks setup as "layers"?
They aren’t all set up like that. It’s a simplification of the effects of the limitations of the speed limits of synapses firing and vs the distances between them.
Spiking neural networks model the propagation more precisely, and have some promise. Their biggest issue is that it’s hard to get training data into an appropriate format for them… and that once you do... they don’t really seem to do better.
It is common to be like an angry freshman/sophomore who yells why should he take all these difficult classes then 5-10 years later he appreciates whatever he learnt before.
Feels like Economics in undergrad, listening to professors repeat broken, oversimplified models that are so hilariously wrong in their assumptions that they have to invent entirely new definitions to deal with their own failings.
Who put the statistics nerds in charge of AI? Is this really the best we got? Chained probabilities? Gradient descent?
> We're stuck. After decades of research, we've hit a dead end. All we're left with is a byzantine maze of IF/THEN statements. We cannot simulate intelligence using pure logic. We have failed.
> Ok but what if we throw in PROBABILITIES into a byzantine maze of IF/THEN statements??????
>GENIUS!
tl;dr So far things that enable faster search and faster learning win over long run.
Recursive things like backprop in NN and optimizing reward over long trees of states, seem to win despite huge compute requirements.
Personally I think we are still on the right track of trying to do the right thing, then do the thing right, then do the thing faster.
You cannot refute the things you do not understand.
For instance, where should a modern book on digital photography be filed in the library? Should it go in the 000's with computing? In the 700's under art? Or in the 600's with technology (an application of optics, electronics, etc.)
All these answers are right but they are also wrong. (Like why isn't computing filed with electronics in the 600's or math in the 500's?)
If you're physically filing the book in a place in the library you have to assign it one category out of all of those because it can only be in one place.
If you're trying to do anything else and get correct answers it is simultaneously true that a book is about how to use computer software (say Lightroom) and about how to make art, about the optical performance of lenses, but not about asian languages, nuclear energy, or how to play casino games.
There are certain cases where classes are mutually exclusive and in those cases it is usually right to model those as a constraint rather than start with multi-class classification which usually winds up like
https://en.wikipedia.org/wiki/Celestial_Emporium_of_Benevole...
unless there is something structurally special about the problem.
If you approach the classification of books as asking the question "Is this book about this topic?" the problem becomes tractable... Because the reason why a particular book that could be filed in multiple places is filed in one particular place is "because some librarian decided to file it there". You could never train an algorithm to reproduce the same arbitrary decisions that different librarians make arbitrarily, you'd always have a high error rate. If the question is "Is this book about how to use computer software" then you can get close to 100% in accuracy. To attempt the first is to decide to fail at the very beginning.
Also often the math works for binary classification and doesn't work for other kinds. See
https://plato.stanford.edu/entries/arrows-theorem/
for one kind of problem with is trivial for two choices and intractable for more than two.
(Funny there are two kinds of people... the ones who know what the knobs of the oscilloscope do and the ones that don't!)
(2) The visual cortex of your brain has layers much like the layers of a convolutional network.
An anti-aircraft missile system has layers of processing from raw signals, from which are discovered momentary blips, which are assembled into tracks, etc.
Matter is made of quarks and electrons, the quarks form protons and nuclei, which form nuclei, which are the core of atoms, which form molecules, etc.
Insofar as we are not dying at 30, freezing in the dark, frightened of the howling of wolves, and believing everything happens because some god wants it to happen, it's because we see a hierarchical structure in the universe.
If you had a million neurons all wired to each other it would be an intractable problem to solve for the coefficients because there are so many of them not to mention so many symmetries that would let you trade these ones over here for those ones over there which would make it hard to get started. The wiring diagram for your brain is not like the wiring diagram for a TV set, but your genetic code does wire certain populations of neurons in certain areas to other populations in other areas and then the neurons fine-tune their coefficients based on your experience.
And don't dismiss "programs need a beginning and end" and "input and output" as incidental, they're absolutely essential to writing a program.
(2) Regarding: "beginning and end", "input and output"
It's my understanding that neural networks suck at learning from periodic functions, one of the most basic functions of importance to human society and natural science.
I'd argue that this isn't JUST because of the math, it's also the assumptions being made.
Regarding: "visual cortex of your brain has layers".
You're talking about an instrument of data collection & data filtering. Not an instrument of inference.
Keep digging deeper...And deeper...you will never find a neuron that can recognize your Grandma. Or your cat. Or that guy you hate at the grocery store.
https://en.wikipedia.org/wiki/Grandmother_cell
This is part of the problem with reductionist thinking and the reductionist approaches I see in ML.
I'll try to expand and explain more tomorrow on where I'm coming from (nonlinear dynamics, complex analysis and chaos theory)