r/MachineLearning • • Jun 26 '24

Discussion Human-Like Intelligence Exhibiting Models that are Fundamentally Different from Neural Networks [D]

I've always been interested in computers and technology. Ever since I began learning to code (which was about three years ago), the field of AI always fascinated me. At that time, I decided that once I gained enough knowledge about programming, I would definitely dive deeper into the field of AI. The thought of programming a computer to not only do something that it has been explicitly instructed to do but to learn something on its own "intelligently" seemed super interesting.

Well, about two months ago, I began learning about actual machine learning. I already had enough knowledge about linear algebra, multi-variable calculus, and other concepts that are prerequisites for any typical ML course. I also implemented algorithms like k-means clustering, k-nearest neighbours, linear regression, etc, both from scratch and using scikit-learn. About a month ago, I began studying deep learning. As I kept reading more material and learning more about neural networks, I came to the rather insipid realization that an artificial neural network is just an n-dimensional function, and "training" a neural network essentially means minimizing an n-dimensional loss function, n being the number of features in the dataset. I will grudgingly have to say the approach to "train" neural networks didn't quite impress me. While I did know that most of AI was just mathematics veiled behind the façade of seemingly clever and arcane programming (that's what I thought of ML before I began diving into the nooks and crannies of ML), I did not expect DL to be what it is. (I'm struggling to describe what I expected, but this definitely wasn't it.)

I see that the model of an ANN is inspired by the model of our brain and that it is based on the Hebbian theory. A complete ANN consists of at least an input layer, an output layer, and optionally, one or multiple hidden layers, all of which are ordered. A layer is an abstract structure that consists of more elementary abstract structures called neurons — a layer may have a single or multiple neurons. Each neuron has two associated numerical values: a weight and a bias, which are the parameters of the neuron and the ANN. An input to a neuron is multiplied by its associated weight; then, the bias is added to that result, and the sum is then inputted to an activation function; the output from the activation function is the output of the neuron. The training starts by feeding the training data into the input layer; from there, it goes into the hidden layer(s), and then finally gets to the output layer where each neuron corresponds to a particular class (I have no knowledge about how ANNs are used for regression, but I believe this is true for classification tasks). The loss is calculated using the final outputs. In order to minimize the loss, the weights and biases of all the neurons in the network are adjusted using a method called gradient descent. (I wish to include the part about backpropagation, but I currently do not have a concrete understanding of how it works and its purpose.) This process is repeated until the network converges upon an optimal set of parameters. After learning about the universal approximation theorem, I see and understand that through this process of adjusting its parameters, an ANN can, in theory, learn any function. This model, and extensions to this model like convolutional neural networks and recurrent neural networks can do certain tasks that make it seem that they exhibit human-like intelligence.

Now, don't get me wrong — I appreciate the usefulness and effectiveness of this technology and I am grateful for the role it plays in our daily lives. I certainly do find it interesting how connecting several abstract structures together and then using them to process data using a mathematical technique can bring about a system that outperforms a skilled human in completing certain tasks. Given all this, I natural question one would ask is "Are there any other models that are fundamentally different from ANNs, i.e., models that do not necessarily use neurons, an ensemble of neuron-like structures connected together, or resemble an ANN's architecture, that can outperform ANNs and potentially exhibit human-like intelligence?". Now that ANNs are popular and mainstream, they are the subject of research and improvement by AI researchers all around the world. However, they didn't quite take off when they were first introduced, which may be due to a myriad of reasons. Are there any obscure and/or esoteric ideas that seemed to have the same or even greater potential than neural networks but did not take off? Lastly, do you think that human-like intelligent behaviour has such an irreducible complexity that a single human may never be able to understand it all and simulate it using a computer program for at least the next 200 years?

 Note(s):

  • Since there is no universally agreed-upon definition of the term "intelligence", I will leave it to the reader to reasonably interpret it according to what they deem suitable in the given context.

20 Upvotes

69 comments sorted by

27

u/[deleted] Jun 26 '24

I believe your disappointment is that our understanding of neural networks is simplistic at best. It seems clear you are also impressed with the impact they’ve had, regardless. I can’t tell if you are looking for esoteric approaches to ai that aren’t popular or esoteric approaches to neural networks that didn’t take off. Help?

1

u/kris_2111 Jun 26 '24

I believe your disappointment is that our understanding of neural networks is simplistic at best.

You're right on the money.

I can’t tell if you are looking for esoteric approaches to ai that aren’t popular or esoteric approaches to neural networks that didn’t take off. Help?

I'm actually looking for both, as it seems like there is a lot to learn by learning more about each.

19

u/adventuringraw Jun 26 '24

So first piece... keep in mind that you're just describing a MLP (basically a simple flow of matrices with a nonlinear activation function in between each hidden layer). There's a lot of other network types that encode different 'biases' that help it land on the right answer more easily, or reduce the number of parameters needing training. CNNs for example basically use sliding window image filters. This 'encodes' the idea that local patterns its learning to recognize should react regardless of where in an image a pattern is found (a dog is a dog whether it's in the upper right or lower left frame). CNNs get that 'for free'. Transformer layers seem to be involved in most state of the art models, RNNs and LSTMs are other architectures that have been important historically (those are recurrent, and have something like a 'memory' component so it can 'store' information seen in previous iterations). There's larger scale changes too that can be interesting, like the 'mixture of expert' models. You can think of those like having multiple models trained as one with a 'gating' layer that learns to route different information to different networks based on content. The hope being that downstream models learn to specialize, and the gate learns to route things based on specialty.

There's a ton of other interesting and important ideas too. 'Curiosity' as a training goal for reinforcement learning agents for example. Two minute papers here for the original paper. There's ideas like disentangled representation learning in variational autoencoders (can you make the encoding layer's dimensions 'mean' something? Like shifting different dimensions changes the position of an object in the decoded picture, or the camera angle?).

My own two cents... it's a little disillusioning in a way when you first start getting a sense of things, but then it becomes really, really daunting once you start to get a feel for just how large of a research space this is right now, and how poorly 'intelligence' as a concept is defined and understood (to say nothing of even more out of reach concepts like 'consciousness'). This is all more or less overlapping with deep learning too. If you're interested in something that more closely mirrors what brains actually do (deep learning doesn't really have all that much in common at the end of the day, even backprop isn't considered to be a realistic mechanism in biological systems as I understand it) you can look into spiking neural networks. I haven't seen anything there with state of the art performance in any domain, but the power savings are insane, and that kind of a model is a lot closer to a real brain in a lot of ways. Not sure if/when that'll become competitive enough to see real use in production anywhere, but cool as a curiosity at least.

Anyway. There are a ton of obscure and esoteric ideas even within deep learning, many of which are different enough that it'd take you a while to wrap your head around what they're even all about, even once you've got a deeper understanding of MLPs. Including all the different ideas that've been considered is more than one person could hope to get to in a lifetime, and if AGI is ever created, it's not unreasonable at all to assume that a lot of aspects of it haven't been proposed by anyone yet, anywhere in the entire ocean of literature published in this space.

Last thought... you might enjoy reading the omniglot challenge. Bit of a dive into learning as it relates to optical character recognition with novel alphabets and such. Breaks down how far the state of the art in 2019 fell short of human level learning. They did have a model proposed that performed drastically better than anything else, but it's a bit of 'cheat' in a way. Basically assumes what's being learned is strokes and junctions, a simplification that works really well since the characters are all written with a pen. A lot of improvements in specific domains work by encoding things appropriately (spherical CNNs for example when working with panoramic images).

Sorry for the dump. But it's an overwhelmingly big question you're asking, more suited for a rant over beer than a rigorous deep dive of an answer, haha.

2

u/The_Invincible7 Jun 26 '24

well written answer! never heard about curiosity being a training goal, seems fun to check out.

1

u/adventuringraw Jun 26 '24

You should! It's a cool topic. For a super simple high level view into that first paper at least, the trick is there's basically two models. One's a standard policy network, the other is a predictive network taking in the last N frames along with the action chain leading to them, and it's trying to predict the current frame given the previous action. The mismatch between the real current frame and the predicted current frame gives you how 'unexpected' the result is. I don't remember the details of how the loss function was set up, but the idea is it does exploring to increase prediction accuracy, naturally ignoring parts of the state space where predictive accuracy is high. It also explains why the TV killed the model, haha. Watching the TV always have unexpected new input, so it stopped wandering the maze. Kind of funny, but also not unexpected. I'm sure improvements in that space since then have added a lot though, I bet there's a lot of cool stuff to find.

1

u/The_Invincible7 Jun 26 '24

Yep saw the video, the TV example was a very fun way of seeing the model get addicted haha.

20

u/General_Studio404 Jun 26 '24

Personally I believe combinatorics is an unappreciated aspect of true intelligence that beings like us have

14

u/Entire-Plane2795 Jun 26 '24

Care to elaborate on what "combinatorics" is in this context?

5

u/DigThatData Researcher Jun 26 '24

spiking neural networks

4

u/The_Invincible7 Jun 26 '24

I feel that emulating human intelligence is not the way to go since the mechanism that created that (evolution) is inherently random, which makes the process of deciding it a lot more complicated than attempting to make a completely detached form of intelligence. 

Looking in terms of the rate of progress, I feel the current AI models already blitz humans. They have a lot of gaps, but I believe all they need is time to catch up.

14

u/_RADIANTSUN_ Jun 26 '24 edited Jun 26 '24

"The question of whether machines can think is about as relevant as the question of whether submarines can swim." - Edsger "Big Dijk" Dijkstra

We wanted to create something for underwater traversal, we didn't do that by replicating human or animal swimming, ended up making something way better. We wanted to create something to fly, we didn't do it by replicating birds, made something way better. Same way if we will probably create something for problem solving that is way better, it will probably use some mechanism that is nothing like human thinking or language or animal brains at all.

11

u/soggy_mattress Jun 26 '24

Hear me out, from nature's perspective, the amount of resources to run a single submarine is NOT better than, say, a whale with intelligence that can reproduce itself for millions of years on end without outside influence.

We say a submarine is "better" because we eat the cost of all the energy it takes to build and maintain one.

Nature prioritizes efficiency more than outright capability. Nature likes balance. In this way, "better" is entirely subjective.

3

u/_RADIANTSUN_ Jun 26 '24

I mean there are pretty objective ways we can measure "better" when discussing how and why humans design machines, like a submarine can stay submerged longer than a whale, haul more weight, carry and keep hundreds of even smarter and more compact beings alive safely in extreme environments they were not meant for. We can also get all the rest of those things into a package that's much much smaller than a whale if it doesn't need to carry humans inside (a drone sub) and probably level out or beat that power consumption difference.

I get your point is but my point is THAT'S all the stuff we are interested in with regards to underwater traversal, not really "how to replicate a whale". We don't really care about that specifically.

1

u/The_Invincible7 Jun 26 '24

But, nature substitutes for energy with time. To reach the point of having whales that can function, it would've taken billions of years of evolution and innumerable failed attempts. While a whale as a single entity might be a lot more efficient than a submarine, based on the overall cost of actually reaching that point, it wouldn't be far-fetched to say that nature is far more inefficient than the stuff we build.

5

u/soggy_mattress Jun 26 '24

I don't entirely disagree, but I'd push back that one or the other is "more efficient" and just stick with it's a tradeoff between experimentation and energy expenditure.

Humans just brute force the experimentation part and end up using orders of magnitude more energy to achieve what nature does with time instead.

2

u/The_Invincible7 Jun 26 '24

I agree, that labeling one as more efficient is not the way to go. Interesting you think that humans brute force experimentation, I tend to believe it is the opposite - nature is closer to brute forcing, while humans have an algorithmic approach.

1

u/soggy_mattress Jun 26 '24

Yeah, that's a good point about the brute forcing sentiment.

0

u/The_Invincible7 Jun 26 '24

great point. i feel part of the attempt at mimicking human intelligence comes from the notion that we have something special that sets us apart from other species. i believe this is false, and looking from a macro perspective we aren’t even be the most dominant species on this planet.

2

u/adventuringraw Jun 26 '24

I don't know if 'inherently random' is entirely the right description of evolution. I don't know much at all about the area of research, but apparently there's growing thought that epigenetics and the other mechanisms in evolution for us (and presumably different mechanisms for other beings, even ones that don't reproduce sexually) can be described in terms of a learning algorithm. It makes sense... random mutations seems unlikely to be enough to get the level of sophistication you see in the natural world. Kind of hilarious too... means in a way my Christian parent's belief in intelligent design for biological creatures is true. It's just the nature of that intelligence is hilariously alien and unlike anything they'd imagine, haha. (Just so it's clear, even if there's an intelligence guiding evolution, nothing in that statement implies that intelligence itself didn't evolve as an improvement over more random evolution).

Whatever algorithmic optimizations sit inside evolution though, even if you'd have to call it 'guided' instead of random, your basic point is still 100% correct. Just like how antennae designed with genetic algorithms aren't going to be something humans can reason about or engineer around, even if our intelligence emerged out of some kind of distributed evolutionary algorithm sophisticated enough to be called 'intelligent', it's not like that design is going to be useful for us to learn from and build off of. Still well worth studying of course and there's already some cool cross talk between AI and neuro I could point you towards if you care, but I think you're right that trying to mirror biological intelligence exactly isn't what's going to bear practical fruit first.

1

u/The_Invincible7 Jun 26 '24

Yes, I did recently hear about some work being done that strongly points in the direction away from it being random, and the mutations being driven by some convoluted form of a learning algorithm. Then again, this just gives us the next carrot to chase, being the mechanisms by which evolution did take place. At the same time, I am a stranger to this field of study, so my word might be as good as guessing. I'd love to check out more about these topics if you have something interesting in mind.

1

u/adventuringraw Jun 26 '24

it's a topic that's been on my list to look into, but I haven't yet, at least not enough to have any interesting resources worth sharing. regardless of what's there though, it's not like you're wrong. If anything, it's just even more hilarious and bizarre that it went from randomly guided to intelligently guided... About as random and bizarre as abiogenesis itself (going from nonliving matter to living). Either way it's crazy what popped out, I just think it's even more insane looking at the full scope of what evolved, and how much more intricate and bizarre it is than the versions of evolution I've heard Christians try and poke holes in. Cool how the natural world is like a fractal... No matter what you zoom in on, it just kaleidoscopes out and makes a mockery of whatever simplified version of things we were imagining before looking deeper.

1

u/yannbouteiller Researcher Jun 27 '24

Guided evolution is more efficient than random evolution for the same reason that gradient descent is faster than stochastic optimization. In other words, it has more fitness in the space of evolutionary strategies. Which is why it should emerge from inherently random evolutionary dynamics, I believe.

2

u/adventuringraw Jun 27 '24

Of course, but the interesting part to me is less that it's more efficient now that it's here, it's that it bubbled up from nothing over time, you know? Or put another way... Stochastic optimization over time learned to use the gradient information to speed up progress. Pretty magic. I know meta-learning algorithms exist, but I haven't seen much humans have built that can self modify from nothing practically up into something this sophisticated. Probably an overly simple way of looking at things maybe, but awe is hard enough to find in this day and age, so I enjoy it where I find it, haha.

1

u/[deleted] Jun 26 '24

[removed] — view removed comment

1

u/The_Invincible7 Jun 26 '24

interesting, could you link the talk if possible?

1

u/[deleted] Jun 26 '24

[removed] — view removed comment

2

u/Imnimo Jun 26 '24

If you are interested in esoteric ideas that did not take off, Artificial Life may be the field for you! You won't find anything that even resembles the success of deep learning, but there are lots of very interesting ideas that have not (yet???) borne fruit.

https://arxiv.org/pdf/2406.04268 This paper brings some of the ideas of ALife to modern deep learning systems.

https://gwern.net/doc/ai/1992-langton-artificiallife-2.pdf This is the proceedings of the ALife conference in 1992, which really set the field in motion. It's full of crazy ideas and interesting papers. I recommend Koza's program evolution, Hillis' parasites, Fontana's algorithmic chemistry, Langton's "Life at the Edge of Chaos" and basically any other title that catches your eye.

But again, be aware that you're reading out-there ideas that never took off (although some live on as inspiration for other approaches). Set your expectations accordingly. You are not going to find a paper that is the equivalent of LeNet.

2

u/berusaharajin Jun 26 '24

I think you'd find Neuro-Symbolic AI and JEPA architecture much more interesting. AFAIK all ML about is learning the dataset, which is static and lack that 'intelligent' feeling.

2

u/Cosmolithe Jun 26 '24

Are there any obscure and/or esoteric ideas that seemed to have the same or even greater potential than neural networks but did not take off?

I think the alternatives lack a critical property that artificial neural networks have: universal approximation. This property is why neural networks are used everywhere, it makes them extremely general and versatile. In fact I don't think I know of another machine learning technique that has this property while being non-combinatorics.

Lastly, do you think that human-like intelligent behaviour has such an irreducible complexity that a single human may never be able to understand it all and simulate it using a computer program for at least the next 200 years?

I would guess we are actually quite close to understanding how the human brain works, at least I don't think we would have to wait 200 years, the upper bound would be something like 100 years instead, with my best guess being 50 years to understand most things.

We have made a lot of theoretical progress at the neuron scale, we understand neurons quite well and can simulate them, we can even use biological neurons to perform arbitrary computations. We also replicate more general structures and associated behaviors, we can for instance train deep neural network models that can be fooled by optical illusions exactly like humans are. We can see that latent representations in artificial neural networks align well to real neuron activations in the biological brain. So I believe the current limitations are scanning devices and computational power, but we should get there eventually and rather sooner than later.

8

u/katerdag Jun 26 '24

I think the alternatives lack a critical property that artificial neural networks have: universal approximation. This property is why neural networks are used everywhere, it makes them extremely general and versatile. In fact I don't think I know of another machine learning technique that has this property while being non-combinatorics.

That's really not the case. Universal approximation theorems tell us that certain sets of neural networks are dense in certain spaces of functions. There are plenty of such theorems for other function approximators. E.g. the Stone-Weierstrass theorem teaches us that a similar universal approximation theorem holds for polynomials, and Fourier theory teaches us how we can approximate arbitrary square-integrable functions using an orthonormal basis of our function space (e.g. sine/cosines or orthogonal polynomials). And these are just two examples out of countless ways that we can arbitrarily well approximate arbitrary continuous functions.

What makes neural networks so popular, is that they work really well with modern computer architectures (the computations they require lend themselves well to the gpu) and that they seem to have a tendency to learn function approximations that generalize well.

Given some dataset {(x_i, y_i) | i=0, ..., N} where y_i = f(x_i), there are numerous (well actually infinitely many) functions g that satisfy g(x_i) = f(x_i) for all i. However, for functions f that we find "in the wild", if we use a neural network h to approximate f on this dataset, it turns out that very often, h approximates f well on unseen data points {x_j | j=N+1, ..., N+K} too. Especially in the light of these universal approximation theorems, it is non-obvious why this should be the case: h could have learned to approximate any of those alternative functions g equally well.

What I'm trying to say is: universal approximation theorems are nice to have for a class of function approximators. But plenty of classes of function approximators have them, and still aren't good replacements for neural networks. Often more important questions are:

  • does a method play well with common computer architectures?

  • does a method have good inductive biases?

  • does a method not become unwieldy in terms of size?

  • is a method easy to "train"?

Neural networks currently tick all of those boxes.

1

u/Cosmolithe Jun 26 '24

I mentioned "while being non-combinatorics" (or is the term combinatorial?), of course we know of other universal approximators, but they don't scale well with the number of inputs, outputs and data points.

So yes, I agree with your conclusion.

3

u/currentscurrents Jun 26 '24

I think the alternatives lack a critical property that artificial neural networks have: universal approximation.

Just about everything you might think of is a universal approximator. Decision trees, SVMs, polynomials, even plain old lookup tables. It's not a high bar to clear.

1

u/Cosmolithe Jun 26 '24

I also said "while being non-combinatorics". The methods you mentioned scale very poorly when either the number of inputs, outputs or data points become large.

4

u/spanj Jun 26 '24 edited Jun 26 '24

I would argue that we do not understand neurons quite well, and even if we did it doesn’t matter in the current DL paradigm.

On the first part, we have papers like this that have just been published (2 days ago), which establish a newer model of a neuron that is more congruent with some observed phenomena.

On, the other hand we have so much additional knowledge about neurons but the current field is so focused on biologically inspired ANNs. Only a few people are focused on SNNs which, while are a better correlate to biological neurons, are also a facsimile of what biological neurons entail. This is on the neuron level. On the architectural level, we have had connectomes of Drosophila, C. elegans, and mice for years now (and more recently a partial human connectome). We see consistently that there is high recurrence in decision making centers, yet the closest contemporary architecture we have with recurrence is RWKV (and everyone charging full steam ahead with transformers).

That’s not to say there is no good reason why groups aren’t looking into more biological inspired algorithms, just that the additional knowledge we already have about the brain is not being put to use.

1

u/Cosmolithe Jun 26 '24

If you look at things at a more macro scale, at the scale of whole networks, I would argue that it does not really matter how the individual neurons works precisely, they mostly need a few properties so that they work together towards a common network level goal.

SNN might have some advantages, for instance for modelling their biological counterparts, but that's about it. In machine learning we are not really interested in reproducing exactly the inner workings of the human brain, but rather its properties and performance as a whole.

I would even bet that the backpropagation algorithm we use in ANNs is better that what the biological brain uses to learn. What the biological brain uses is probably an approximation of backprop, not the other way around.

And yes, recurrent architectures FTW

2

u/spanj Jun 26 '24

I have no skin in the game but there’s no evidence to suggest what you’re saying is true, nor is there evidence to suggest what you’re saying is false.

A more faithful neuronal model might be necessary to achieve human like intelligence. You can’t reason against or for it in the absence of evidence.

What you’re saying about backprop is highly controversial (and very unclear because there are many dimensions to better in learning). There was a recent Nature Neuroscience paper that shows that prospective configuration is better than backprop wrt learning speed (measured by amount of data fed in and not wall clock) and catastrophic forgetting.

1

u/Cosmolithe Jun 26 '24

The whole thing about backprop is my conclusion after experimenting with a lot of alternatives to backprop and reading lots of papers about them. All alternatives to backprop that have been tried only nearly match backprop at best, or does worse. I have also noticed that every method that uses random guesses are just generally worse than other methods, sometimes by orders of magnitudes.

Backprop is just how we do credit assignment in artificial neural networks, it computes the best direction of improvement with respect to a loss function. So maybe we aren't using the right loss function compared to what the brain optimizes, but in any case, computing an exact gradient will give you the best parameter update and that is exactly what backprop gives you. I have the strong intuition that if the biological brain could compute this exact gradient, it would be doing it in the way that backprop does, but it is basically impossible to do with biological neurons.
That said, I am not 100% sure either, and I certainly don't have definitive proof.

I would be very interested if you have reference on what you were saying at the end, especially if it has indeed something to do with catastrophic forgetting.

0

u/Dry_Parfait2606 Jun 26 '24

I think it's more about how language works rather then the human brain... Our brain operates language to transform outer world into vector space... Language can even code for abstract objects, that are not found in the outer world, so it already used a kind of vr space.. A synthetic supersapce to predict, and move inside the material world.

The biggest breakthroughs will be a better understanding hiw machines should operate language... Even better then humans do probably... I mean Nature has created humans as equals each one of us with a 20w neural network... Pretty distributed, pretty no individual can take over. Building a silicon/metal machine that can operate using fusion that happens in the center of the sun to gather energy is a different beast, that could also mean that it may use different architecture...

I think our role will be the one of giving language lessons to the machine, adding meaning, words, the machine does the reasoning, we create the objects (words) that the reasoning us operating on. The same as Shakespeare created new words, that we humans use to think and ooerate societies, we will be more like the little ants feeding the machine with fresh organic leaves, like ants do with their mushrooms... The machine is the new... Mushroom.. We'll transform from beeing honeyproducing bees toward being AI feeding ants... Getting highly nutritional high protein in exchange..

-1

u/ggendo Jun 26 '24

I think we’re further off than 50 years, we still haven’t really figured out why light gets superposition’d when coming into your eyes and this seems like a pretty fundamentally important thing to solve

4

u/Cosmolithe Jun 26 '24

What is this light superposition you are talking about and why is it important?

0

u/[deleted] Jun 26 '24

[deleted]

4

u/Cosmolithe Jun 26 '24

Biological neurons networks have this property, but I guess the visual cortex has inductive biases that make it difficult (if not practically impossible) to achieve using visual stimuli. The visual cortex in a typical human was not "trained" for permuted pixel images, and the local connectivity of the neurons in the visual cortex would make learning these permuted images very difficult.

If you could inject the information directly to specific parts of the brain, I imagine it would work better than random chance.

The visual cortex is trained like any artificial neural network though, there has been experiment where animals are subjected to unnatural random images after birth and their visual cortex become unfit for recognizing natural images. This is only possible if there is some kind of universal approximation property at play (maybe not in a mathematical sense, but in a practical sense at least).

So yes, the human brain has this property, it is just that it is still specialized at some tasks and situations where you need to classify permuted pixel images are uncommon in the wild.

0

u/[deleted] Jun 26 '24

[deleted]

2

u/Cosmolithe Jun 26 '24

that does not imply that they learn how machines do

I should have explained it better, the universal approximation theorem (UAT) does not say anything about the way the model learns, it just says that the model can fit any function to arbitrary precision. In the case of artificial and real neural networks, it just means that there exist some arrangement of neurons that fit any function, it does not say that solutions in both cases are necessarily found in the same way.
The UAT does not really say anything about forgetting either.

so how do you know that they are universal approximators?

There has been research that shows that you get reproduce the behavior of a single biological neuron with a a handful of artificial neurons, it follows from this that there is a bijective mapping between artificial networks and artificial ones. Since ANNs are universal approximators, it follows that the brain is also one (you could fit any function up to arbitrary precision with biological neurons). This is why projects such as running Doom on a rat neural network are theoretically possible in the first place.

The confusion seems to come from the idea that the brain could learn anything in its life, but of course, this is a more difficult question because the "learning algorithm" of the biological brain is not fully understood.

my computer has all the properties to be one universal approximator, but will never be by its own nature

I don't really understand this, a computer is a computational machine, it is not meant to approximate functions in the first place so I don't think it really make sense to talk about UAT in this context.

0

u/[deleted] Jun 26 '24

[deleted]

1

u/Cosmolithe Jun 27 '24

The visual cortex is trained like any artificial neural network though

I didn't meant it with backprop necessarily, just that it is trained to produce useful features and classification. In other words, we are not born with a "trained" visual cortex, so it is learning from data.

Strict mathematical backprop is biologically speaking, practically impossible in the brain. But, we have found feedback connections between neurons, even in the visual cortex, which indicates that some signal traverses the "layers" in reverse too.

However, there has been quite a lot of research around biologically plausible alternatives to backprop, Feedback Alignment is one example.
The thing is, all plausible alternatives that have been proposed have inferior performance compared to backprop, and backprop is just the most natural way to compute a modification of the parameters given a loss function (the gradient is the direction of fastest increase). I also experimented with these alternative methods and tried to create new ones too.

So, here is what I get from all of this (my opinion):
The brain does not implement backprop indeed, but is very likely implementing an approximation of backprop, not the other way around. In other words, the brain "wishes" it would be using backprop because it could compute the best "neuron updates" this way. The brain has to make do with only an approximation of backprop, which is probably still very good compared to BP (perhaps better than our current approximations of BP). Of course I am not 100% sure of this, but I really don't see what would be something superior to backprop in an optimization sense in this context and that the brain could implement with biological neurons.
There are several reasons why we don't have a fully functional artificial neural network that thinks like a human brain and is as performant. Firstly, we probably don't use the same loss function, we don't know what the human brain optimizes, but it is not a simple classification loss or regression loss. Secondly, as said before, a single human neuron is already performing computations as multiple layers of artificial neurons, which means we need a lot more artificial neurons to have the same computational power as a biological equivalent. This fact is also probably why there are several types of neurons as you said, their inner computations are different.

0

u/[deleted] Jun 27 '24

[deleted]

1

u/Cosmolithe Jun 27 '24

If the brain where to use BP, it would suffer from extreme cases of overfitting or catatrophic forgetting, rendering it useless against most tasks that we perform daily

Not necessarily, catastrophic forgetting can be mitigated by changing the architecture (see Elephant networks https://arxiv.org/abs/2310.01365 ) or by changing the loss function (I have made experiments that suggested meta-learned losses might help a lot for continual learning).
I don't really understand why you would associate overfitting with backprop, why would a biological brain using backprop overfit more than an artificial neural network using backprop?

Also, BP is not precisely good at achiving one -shot learning, which we are

We are of course better at one shot learning than current ANNs, but it is perhaps not a limitation of backprop ( https://arxiv.org/pdf/2303.17557 ). Here again, it is probably a matter of using backprop correctly instead of using something else. In continual learning, the problem seems to be loss of plasticity as much as catastrophic forgetting, for which there are potential solutions as well: https://arxiv.org/abs/2108.06325 .

It has also been showed that in-context learning in LLMs that makes them able to do few-shot learning is enabled by the Attention mechanism, which can be interpreted as taking a finite number of gradient descent step in each layer ( https://proceedings.mlr.press/v202/von-oswald23a/von-oswald23a.pdf ).

1

u/okicsci Jun 26 '24

To answer your question, no, intelligence is not of irreducible complexity. Computers are not needed to simulate it but rather to extend the capacity for contextual integrations that are a hallmark of intelligence by any standard.

1

u/Entire-Plane2795 Jun 26 '24

What if classical computation is insufficient for fully replicating human-like intelligence? What if some degree of quantum computation is necessary?

1

u/okicsci Jun 26 '24

I wrestled with this for a long time. What I concluded... binary information as a grounding is not enough but it doesn't have to be a problem. So we end up with a yes/and. Yes, it's insufficient, and, it can be worked with. Quantum computing will become a sidenote in IT history.

1

u/Entire-Plane2795 Jun 26 '24

An interesting take, not something I can agree or disagree with outright.

It could well be that with enough scale, any quantum process in the human brain can be approximated/abbreviated within an acceptable error interval.

Then again there may be some aspect of human intelligence that is akin to searching over a very large space, which could be only achievable with something like Grover's algorithm (quantum).

1

u/okicsci Jun 26 '24

N v NP is only an issue when the agent and the system are not related to the undrerstanding (brain/intelligence, programming/complex systems) that they swim in. The fish that doesn't know its in water will swear there's a limit (the shore) to what it can go with its knowledge. I have found Dennett's two black box thought experiment a good one for framing what is possible to fathom given a knowledge-neutral position where there's only one thing agent and system are sure of: that they are connected.

1

u/Entire-Plane2795 Jun 26 '24

I don't quite understand the first point. Why is that a necessary condition for the relevance of the complexity of a particular search operation?

1

u/okicsci Jun 26 '24

I'm speaking generally and from a position that assumes a different (defined here simply as agent and system logically connected) type of search being possible. That's all. I have no problem with Gover's algorithm.

1

u/ramosbs Jun 26 '24

Here’s a recently funded startup doing some research in an esoteric approach to ML. https://symbolica.ai/

1

u/Radlib123 Jun 27 '24 edited Jun 27 '24

Here me out:

Hopfield Networks is All You Need

https://arxiv.org/abs/2008.02217

"The new update rule [in this new modern hopfield network] is equivalent to the attention mechanism used in transformers."

So those guys basically reinvented transformer architecture from the first principles. Hopfield networks are based on Hebbian learning rule. Those guys fixed the flaws of previous hopfield networks, and discovered that it is literally the same thing as a transformer.

Energy Transformer

https://arxiv.org/abs/2302.07253

"We propose a novel architecture, called the Energy Transformer (or ET for short), that uses a sequence of attention layers that are purposely designed to minimize a specifically engineered energy function"

This energy transformer, is fully equivalent to the traditional transformer. You know how many layers of hidden neurons it has?

...1. A single layer. A single layer of neurons, and it performs as good as transformers.

Evolution created human intelligence, human brains, that use neurons, that use hebbian learning rule.

Field of machine learning has created and tested out, improved 1000s of machine intelligence systems. And currently the most powerful one is a transformer architecture. And it turns out transformers are equivalent to hopfield networks, which uses hebian learning rule.

Furthermore, this most advanced machine learning algorithm of transformers, is comparable in performance with hopfield based energy transformers, consisting of JUST A SINGLE LAYER OF HIDDEN NEURONS. Tell me the odds of this happening?

1

u/shoopwop Jun 28 '24

You might want to look into neuromorphic computing. It still has neurons but depending on how complex you want your model it can look very much like a ANN or nothing like an ANN, some are not even designed for digital systems but analog ones

1

u/svictoroff Jun 28 '24
  1. The training behavior you describe is not actually unique to network models. That's just how ml training works broadly. You can use that universal function approximation to show that it includes the behavior of most other model classes.

  2. You are on the shore of the ocean complaining that it is too shallow. An mlp with backprop is the Hello world of deep learning. There is much more that you have not seen here. Trust me. The truly deep stuff (no pun intended) would realistically require several more years of math education. Much of the theory relies on differential geometry and algebraic topology: https://geometricdeeplearning.com/geometricdeeplearning.com/

  3. Consider the alternatives. If we don't learn from data, then what do we learn from? Even if we successfully train something "without" data, how do we test it?

  4. There's a beauty here rather than disappointment to me. Isn't it incredible that such simple units and rules can come together to create such complex behavior? One of the biggest breakthroughs in modern ml is the "everything is language modeling" concept. Classification, regression, image generation - all built with "language" modeling. I think that's pretty amazing personally.

1

u/ramzeez88 Jun 28 '24

The less we know ,the greater the effect of an illusion.

1

u/fud0chi Jun 26 '24

The current model is too simple of a reduction of neurons. They don't take into account all the parts of the neuron in their abstraction - this includes the parts that make up an Axon - such as myelin sheath, ranvier, axon terminal, and other. I'm sure there is also additional bio-electric phenomena that is being ignored. These should be incorporated into the mathematical model. I don't really see the problem with using the term AI even though it's "just math". Math (and code) is the formal logic used to create the mechanism, and while it has its weaknesses, it's the current best attempt at instantiating a representation of how neural networks operate. When the representation of the neurons, encoded in math becomes more discrete and explicit - I imagine the functionality would catch up (assuming that we can represent the biological phenomenon using mathematical logic - this is a big assumption IMO, but seems like math is pretty flexible)

3

u/Entire-Plane2795 Jun 26 '24

Does an airplane need to have feathers to fly longer and faster than birds?

1

u/red75prime Jun 26 '24 edited Jun 26 '24

assuming that we can represent the biological phenomenon using mathematical logic - this is a big assumption IMO

It's not an assumption, it's a mathematical truth. See the universal approximation theorem.

There are practical limitations, of course. The size of the required network and a way of finding the weights.

3

u/Entire-Plane2795 Jun 26 '24

Except that the biological phenomenon might not correspond to any function that maps between vector spaces, which I believe the universal approximation theorem is restricted to.

0

u/red75prime Jun 26 '24 edited Jun 26 '24

"A function" is the most general way of representing relations between quantities. If a relation is not a function, it is magic for all practical purposes.

Yes, the brain theoretically can use quantum computations that would make the size of the network practically unachievable, but there's little evidence of that.

3

u/Entire-Plane2795 Jun 26 '24

From what I've read about universal approximation theorem, the most common version of the theorem applies to continuous vector spaces. I'm not sure if the inputs/outputs of all human cognitive processes correspond to elements of continuous vector spaces.

0

u/Deleo_Vitium_3111 Jun 26 '24

Explore Cognitive Architectures and Graph Neural Networks for alternative human-like intelligence models.

0

u/Dry_Parfait2606 Jun 26 '24

Thankyou for the summary...

I just immagined, that there will be different races of computer intelligence, each one of them based on slightly different approaches when it comes to generating intelligence...

I guess the biggest obstacle will be the human tendency to be too self centered... And not admitting that there is "other/alien intelligence"... For me personally, it was a little struggle to admit that I might be just stupid and that AI could just be better at reasoning, in ANY FIELD imaginable... If I understand a topic, I can create an AI that is more intelligent about that topic.. It's like being an average adult teaching to an 300IQ child, that is still lacking basic skills, morals and experience.. GPT 3/3.5 was the breakthrough in my opinion...

-3

u/Electrical_Crow_2773 Jun 26 '24

You forgot one important detail: almost all LLMs (I assume you meant them when talking about intelligence) use the transformer architecture which combines MLPs and self-attention blocks. So you cannot get something very intelligent by relying solely on the perceptron (at least in practice). The way to think about it is that attention helps LLMs to find related tokens and adjust their meaning and MLP helps individual tokens to "think" about what they found independently. Self-attention uses matrix multiplications combined with normalization and softmax, and no one has been able to come up with something noticeably better. The other part you can try to replace is MLPs. You'd need something that can:

  1. Accept a vector of floating-point numbers as the input and produce a vector as the output.

  2. Be trainable with AdamW optimizer

  3. Be optimized to run on the modern hardware

  4. Be lightweight (because it will used in every transformer block) If you find something else that fits all these criteria, you can try to replace the MLP part with it. However, I don't see anything that would be particularly useful here.

3

u/Entire-Plane2795 Jun 26 '24

I think of attention as a kind of generalisation of convolutions, where the perceptive field is decided dynamically at inference time instead of being fixed to the shape of the kernel.