How the BRAIN of an AI Works: Shockingly Simple but Genius!
Arvin Ash Arvin Ash
967K subscribers
114,153 views
0

 Published On May 27, 2023

Skip the waitlist and invest in blue-chip art for the very first time by signing up for Masterworks: https://www.masterworks.art/arvinash
Purchase shares in great masterpieces from artists like Pablo Picasso, Banksy, Andy Warhol, and more.
How Masterworks works:
-Create your account with your traditional bank account
-Pick major works of art to invest in or our new blue-chip diversified art portfolio
-Identify investment amount
-Hold shares in works by Picasso or trade them in our secondary marketplace
See important Masterworks disclosures: https://www.masterworks.com/about/dis...

WANT All YOUR QUESTIONS ANSWERED guaranteed, and provide video subject input?
Join Arvin's Patreon:   / arvinash  

REFERENCES
(Prior video) How ChatGPT works:    • So How Does ChatGPT really work?  Beh...  
Sigmoid functions: https://tinyurl.com/2pqeg7ag
How to build a Neural Network: https://tinyurl.com/yfxscyum
Simple guid to Neural Networks: https://tinyurl.com/2gn6wvmc

CHAPTERS
0:00 What this video is about
1:12 What is a neural network?
3:42 How do neural networks work?
6:17 How nonlinearity is built into neural networks
9:00 Masterworks offer: https://www.masterworks.art/arvinash
10:47 How Artificial intelligence can be "scary"
13:45 What is the real threat of AI?

SUMMARY
In this video, I explain how AI really works in detail. An artificial neural network, also called neural network, is at its core, a mathematical equation, no more. It’s just math. The term neural network comes from its analogy to neurons in our body. Neurons in neural networks also serve to receive and transmit signals, just like a biological neuron. Like in the brain, we connect multiple neurons together and form a neural network which we can train to perform a task.

A neuron in a neural network is a processor, which is essentially a function with some parameters. This function takes in inputs, and after processing the inputs, it creates an output, which can be passed along to another neuron. Like neurons in the brain, artificial neurons can also be connected to each other via synapses. While an individual neuron can be simple and might not do anything impressive, it’s the networking that makes them so powerful. And that network is the core of artificial intelligence systems.

How do these artificial neurons work? Well, essence of an artificial neuron is nothing but this simple equation from elementary school, Z(X)=W*X + B, where x is the input, w is a weight, b is a bias term and the result or output is Z(x). This allows the AI system to map the input value x to some preferred output value Z(x).

How are W and b determined? This is where training comes in. We have to train the parameters w and b into the AI system, such that the input can be modified into the most appropriate or correct output. How is the training done? I do a simple example to illustrate how this works. The input is controlled and the output is known. If the output is not what it should be, then W and b are modified until the output does match. After many iterations, the network "learns" by adjusting W and b in the various nodes of the network.

Note that equation above is linear, which is limiting. Nonlinearity is introduced into the network by adding a mathematical trick called an activation function. An example of such a function is the sigmoid function. I show an example of this in the video.With an appropriate activation function, the AI can answer much more complex questions.
#artificialintelligence
#ai
#neuralnetworks
There is one thing about this neural network that some find scary. When a network is trained, the adjustments that the system makes to the W and b in the training process is a black box. This means that when we train the system using known inputs and known outputs, we are having the system self-adjust its internal networking results from the various nodes, to match what the known result should be. But how exactly the network adjusts the various layers of intermediate outputs, to achieve the final output we want is NOT really known. The input and output layers are known. But the stuff inside is not. And so these intermediate layers of neurons are called “hidden” layers. The hidden layers are a black box.

We don’t really know what these various layers are doing. They are performing some transformation of the data which we don’t understand. We can find the calculated intermediate results, but these look meaningless.

No AI technology based on neural networks today could become something like Skynet in the Terminator movies, that suddenly becomes conscious and threatens mankind. The real threat of AI is in its power to do things that humans do today, and thus potentially eliminate jobs.

show more

Share/Embed